/* ============================================================
   TLIMC – Professional Website Styles
   Theme: Purple & Violet
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
  --purple-50:  #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6d28d9;
  --purple-900: #4c1d95;

  --violet-400: #818cf8;
  --violet-500: #6366f1;

  --pink-400: #f472b6;
  --cyan-400: #22d3ee;

  --bg-dark:    #0c0a14;
  --bg-card:    #13101f;
  --bg-card2:   #1a1530;
  --bg-section: #0f0d1a;
  --border:     rgba(168, 85, 247, 0.15);
  --border-lg:  rgba(168, 85, 247, 0.25);

  --text-primary:   #f8f4ff;
  --text-secondary: #c4b5fd;
  --text-muted:     #8b6fc4;

  --gradient-main: linear-gradient(135deg, var(--purple-500) 0%, var(--violet-500) 50%, var(--pink-400) 100%);
  --gradient-btn:  linear-gradient(135deg, var(--purple-600) 0%, var(--violet-500) 100%);
  --gradient-hero: linear-gradient(135deg, #13101f 0%, #0c0a14 50%, #160f2b 100%);

  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.15);
  --shadow-md: 0 8px 30px rgba(124, 58, 237, 0.2);
  --shadow-lg: 0 20px 60px rgba(124, 58, 237, 0.25);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--purple-700); border-radius: 3px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55);
}
.btn-outline {
  background: transparent;
  color: var(--purple-300);
  border: 1.5px solid var(--border-lg);
}
.btn-outline:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--purple-500);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-lg);
  color: var(--purple-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(12, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 36px; height: 36px; border-radius: 8px; }
.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.logo-accent { color: var(--purple-400); }
.logo-text-lg {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.1);
}
.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--gradient-btn);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple-600) 0%, transparent 70%);
  top: -200px; left: -200px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--violet-500) 0%, transparent 70%);
  bottom: -150px; right: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-lg);
  color: var(--purple-300);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--purple-400);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: fit-content;
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-circle {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  border: 2px solid var(--border-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spinSlow 30s linear infinite;
}
.hero-circle::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 85, 247, 0.2);
}
.hero-circle::after {
  content: '';
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  border: 1px dashed rgba(168, 85, 247, 0.1);
}
.circle-inner {
  animation: spinSlowReverse 30s linear infinite;
  text-align: center;
}
.floating-card {
  position: absolute;
  background: rgba(26, 21, 48, 0.9);
  border: 1px solid var(--border-lg);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.floating-card .card-icon { font-size: 1.2rem; }
.card-1 { top: 40px; left: 0; animation: float 4s ease-in-out infinite; }
.card-2 { top: 50%; right: -20px; transform: translateY(-50%); animation: float 4s ease-in-out infinite 1s; }
.card-3 { bottom: 40px; left: 20px; animation: float 4s ease-in-out infinite 2s; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--bg-section);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-600), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-btn);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-lg);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(99,102,241,0.1) 100%);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-md);
}
.service-card.featured::before { opacity: 1; }

.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.service-icon {
  width: 52px; height: 52px;
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--purple-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(99,102,241,0.08));
  border: 1px dashed var(--border-lg);
  text-align: center;
}
.cta-card-inner h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.cta-card-inner p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--bg-dark);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-blob {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 40% 40%, rgba(124,58,237,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.about-img-wrap {
  width: 320px; height: 320px;
  border-radius: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  text-align: center;
}
.about-logo-big {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.about-img-placeholder p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.about-tag-box {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-lg);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 3;
  box-shadow: var(--shadow-sm);
}
.box-1 { top: 40px; right: 20px; animation: float 4s ease-in-out infinite; }
.box-2 { bottom: 40px; left: 10px; animation: float 4s ease-in-out infinite 1.5s; }

.about-content .section-tag { display: inline-block; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-text {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.pillar:hover {
  border-color: var(--border-lg);
  transform: translateX(4px);
}
.pillar-icon { font-size: 1.5rem; flex-shrink: 0; }
.pillar strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.pillar p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--bg-section);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-600), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; padding-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.contact-item a, .contact-item span {
  color: var(--purple-300);
  font-size: 0.93rem;
  font-weight: 500;
  transition: var(--transition);
}
.contact-item a:hover { color: var(--purple-400); }

.contact-services-list {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.contact-services-list p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-lg);
  color: var(--purple-300);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.93rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-500);
  background: rgba(168, 85, 247, 0.05);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238b6fc4'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.form-group select option { background: #1a1530; color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -8px;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-success p { color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-text { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 260px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-links a:hover {
  border-color: var(--purple-500);
  color: var(--purple-400);
  background: rgba(168, 85, 247, 0.1);
}
.social-links svg { width: 17px; height: 17px; }

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--purple-400); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}
.chat-bubble { position: relative; }

.chat-toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
.chat-icon-close { display: none; }
.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }
.chat-widget.open .chat-toggle { background: #7c3aed; box-shadow: var(--shadow-md); }

.chat-notification {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: pulse 2s infinite;
}
.chat-notification.hidden { display: none; }

.chat-window {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
  transform: scale(0.9) translateY(10px);
  transform-origin: bottom right;
  transition: var(--transition);
  opacity: 0;
}
.chat-widget.open .chat-window {
  display: flex;
  transform: scale(1) translateY(0);
  opacity: 1;
  animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
}

.chat-header {
  background: linear-gradient(135deg, #7c3aed 0%, #25D366 100%);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-info strong { display: block; color: #fff; font-size: 0.92rem; }
.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
}
.status-dot {
  width: 7px; height: 7px;
  background: #86efac;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
  line-height: 1;
}
.chat-close:hover { color: #fff; }

.chat-body {
  padding: 16px;
  background: #f9f7ff;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg p {
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #333;
  max-width: 85%;
  line-height: 1.5;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.chat-msg.user p {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  border-color: transparent;
  border-radius: 12px 12px 4px 12px;
}
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.quick-reply {
  background: #fff;
  border: 1.5px solid #d8b4fe;
  color: #7c3aed;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}
.quick-reply:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

.chat-input-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #f0e6ff;
  gap: 10px;
}
#chatInput {
  flex: 1;
  border: 1.5px solid #e9d5ff;
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  color: #333;
  transition: 0.2s;
  background: #faf5ff;
}
#chatInput:focus { border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168,85,247,0.12); }
.chat-send {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.2s;
}
.chat-send:hover { transform: scale(1.08); box-shadow: 0 4px 12px rgba(124,58,237,0.4); }
.chat-send svg { width: 16px; height: 16px; color: white; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.15); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spinSlowReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes slideUp {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { gap: 40px; }
  .hero-visual { height: 380px; }
  .hero-circle { width: 220px; height: 220px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form-wrap { order: 1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0; background: rgba(12,10,20,0.97); backdrop-filter: blur(20px); padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius); }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 80px 24px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 16px 20px; }
  .stat-divider { width: 40px; height: 1px; }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 280px; }
  .about-img-wrap { width: 240px; height: 240px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .chat-window { width: 300px; }
  .chat-widget { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
