/* ============================================================
   BLG GROWTH BUSINESSES — Premium Design System v6
   Author: Senior Frontend Architect
   ============================================================ */

/* ─── 1. DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Colors — Light */
  --c-bg:          #f8f9fc;
  --c-surface:     #ffffff;
  --c-surface-2:   #f0f2f8;
  --c-border:      rgba(0,0,0,0.08);
  --c-border-hard: rgba(0,0,0,0.14);
  --c-ink:         #0a0a0f;
  --c-ink-2:       #44475a;
  --c-ink-3:       #8b8fa8;

  --c-accent:      #0a0a0f;
  --c-accent-2:    #2d2d3d;
  --c-accent-rgb:  10,10,15;
  --c-on-accent:   #ffffff;

  --c-featured:    #0a0a0f;
  --c-green:       #16c784;
  --c-green-dim:   rgba(22,199,132,0.12);
  --c-wa:          #25d366;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14);
  --shadow-hover: 0 20px 50px rgba(0,0,0,0.15);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-pill: 999px;

  --trans: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --c-bg:          #06070d;
  --c-surface:     #0f111a;
  --c-surface-2:   #161925;
  --c-border:      rgba(255,255,255,0.07);
  --c-border-hard: rgba(255,255,255,0.12);
  --c-ink:         #e8eaf6;
  --c-ink-2:       #9195b0;
  --c-ink-3:       #565875;

  --c-accent:      #e8eaf6;
  --c-accent-2:    #c5c8e8;
  --c-accent-rgb:  232,234,246;
  --c-on-accent:   #06070d;

  --c-featured:    #e8eaf6;
  --c-green:       #16c784;
  --c-green-dim:   rgba(22,199,132,0.14);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.6);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.7);
  --shadow-hover: 0 20px 50px rgba(0,0,0,0.7);
}

/* ─── 2. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s, color 0.4s;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

/* ─── 3. LAYOUT UTILS ─────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad { padding: 7rem 0; }
.bg-surface   { background: var(--c-surface); }
.bg-surface-2 { background: var(--c-surface-2); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 1rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-border-hard);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* ─── 4. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(var(--c-accent-rgb),0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-border-hard);
}
.btn-ghost:hover {
  background: var(--c-surface);
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.05rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-w  { width: 100%; }

/* ─── 5. NAVIGATION ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.25rem 0;
  transition: all 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(var(--c-bg-rgb, 248,249,252), 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(6,7,13,0.88);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height var(--trans);
}
.is-scrolled .nav-logo img { height: 80px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink-2);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans);
}
.nav-links a:hover {
  background: var(--c-surface-2);
  color: var(--c-ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-theme-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border-hard);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-ink-2);
  font-size: 0.95rem;
  transition: all var(--trans);
}
.nav-theme-btn:hover {
  background: var(--c-surface-2);
  color: var(--c-ink);
}

.nav-cta {
  display: none;
}

.hamburger {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-border-hard);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-ink);
  font-size: 1.1rem;
}

/* ─── 6. HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

/* Mesh gradient background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(var(--c-accent-rgb),0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(var(--c-accent-rgb),0.04) 0%, transparent 70%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero-mesh {
  background:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(255,255,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,255,255,0.025) 0%, transparent 70%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border-hard);
  color: var(--c-ink-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--c-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: block;
  transform: translateY(100%);
  animation: lineReveal 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 0.05s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.25s; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--c-ink-2);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--c-ink-3);
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border-hard);
}

/* ─── 7. SERVICES ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  opacity: 0;
  transition: opacity var(--trans);
}

.service-card:hover {
  border-color: var(--c-border-hard);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  color: var(--c-ink);
  margin-bottom: 1.5rem;
  transition: all var(--trans);
}
.service-card:hover .service-icon {
  background: var(--c-accent);
  color: var(--c-on-accent);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--c-ink-2);
  line-height: 1.65;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-ink-3);
  transition: all var(--trans);
  letter-spacing: 0.02em;
}
.service-card:hover .service-card-arrow {
  color: var(--c-ink);
  gap: 0.7rem;
}

/* ─── 8. PRICING ──────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.plan-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans);
  position: relative;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-border-hard);
}

.plan-card.is-featured {
  border: 2px solid var(--c-accent);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(var(--c-accent-rgb),0.08);
  transform: translateY(-6px);
}
.plan-card.is-featured:hover { transform: translateY(-10px); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-on-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan-card.is-premium {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-on-accent);
}
[data-theme="dark"] .plan-card.is-premium {
  background: var(--c-surface-2);
  border-color: var(--c-border-hard);
  color: var(--c-ink);
}

.plan-card.is-premium h3,
.plan-card.is-premium .plan-price,
.plan-card.is-premium .plan-tier,
.plan-card.is-premium .plan-feature {
  color: var(--c-on-accent);
}
[data-theme="dark"] .plan-card.is-premium h3,
[data-theme="dark"] .plan-card.is-premium .plan-price,
[data-theme="dark"] .plan-card.is-premium .plan-tier,
[data-theme="dark"] .plan-card.is-premium .plan-feature { color: var(--c-ink); }

.plan-card.is-premium .plan-desc { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .plan-card.is-premium .plan-desc { color: var(--c-ink-2); }

.plan-card.is-premium .plan-sep { background: rgba(255,255,255,0.15); }
[data-theme="dark"] .plan-card.is-premium .plan-sep { background: var(--c-border); }

.plan-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 0.75rem;
}

.plan-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.plan-price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.plan-price sup { font-size: 1.2rem; font-weight: 600; vertical-align: super; }
.plan-price small { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--c-ink-3); }

.plan-bonus {
  font-size: 0.8rem;
  color: var(--c-green);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.plan-card.is-premium .plan-bonus { color: var(--c-green); }

.plan-desc {
  font-size: 0.88rem;
  color: var(--c-ink-2);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.plan-sep {
  height: 1px;
  background: var(--c-border);
  margin-bottom: 1.5rem;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--c-ink);
  line-height: 1.4;
}
.plan-feature i {
  color: var(--c-green);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.plan-maint {
  font-size: 0.8rem;
  color: var(--c-ink-3);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--c-border-hard);
}

/* ─── 9. ADDONS ───────────────────────────────────────────── */
.addons-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
}

.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--trans);
}
.addon-row:last-child { border-bottom: none; }
.addon-row:hover { background: var(--c-surface-2); }

.addon-left { display: flex; align-items: center; gap: 1rem; }
.addon-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  border-radius: var(--radius-sm);
  color: var(--c-ink-2);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.addon-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--c-ink);
}
.addon-sub {
  font-size: 0.82rem;
  color: var(--c-ink-3);
}
.addon-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-ink);
  white-space: nowrap;
}

/* ─── 10. TIMELINE ────────────────────────────────────────── */
.timeline-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  padding-top: 1rem;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(10% + 1.5rem);
  right: calc(10% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--c-border), var(--c-border-hard), var(--c-border));
  z-index: 0;
}

.t-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
  position: relative;
}

.t-step-num {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface);
  border: 2px solid var(--c-border-hard);
  border-radius: 50%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--c-ink-2);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  transition: all var(--trans);
}
.t-step:hover .t-step-num {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-on-accent);
  transform: scale(1.1);
}

.t-step-icon {
  font-size: 1.35rem;
  color: var(--c-ink-2);
  margin-bottom: 0.75rem;
  transition: color var(--trans);
  position: relative;
  z-index: 2;
}
.t-step:hover .t-step-icon { color: var(--c-ink); }

.t-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 2;
}
.t-step p {
  font-size: 0.8rem;
  color: var(--c-ink-3);
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

/* ─── 11. FAQ ─────────────────────────────────────────────── */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.faq-item.is-open {
  border-color: var(--c-border-hard);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  transition: background var(--trans);
}
.faq-question:hover { background: var(--c-surface-2); }
.faq-question:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }

.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--c-ink-3);
  transition: all var(--trans);
}
.faq-item.is-open .faq-icon {
  background: var(--c-accent);
  color: var(--c-on-accent);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.95rem;
  color: var(--c-ink-2);
  line-height: 1.7;
}

/* ─── 12. CONTACT ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.contact-info > p {
  font-size: 1rem;
  color: var(--c-ink-2);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--c-ink-2);
}
.contact-meta-item i {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface-2);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-ink-2);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--trans);
}
.form-control:focus {
  outline: none;
  border-color: var(--c-accent);
  background: var(--c-surface);
  box-shadow: 0 0 0 3px rgba(var(--c-accent-rgb),0.1);
}
.form-control::placeholder { color: var(--c-ink-3); }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── 13. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-logo {
  height: 95px;
  margin-bottom: 1.25rem;
}
.footer-brand-text {
  font-size: 0.9rem;
  color: var(--c-ink-2);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 1.25rem;
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links-list a {
  font-size: 0.9rem;
  color: var(--c-ink-2);
  transition: color var(--trans);
}
.footer-links-list a:hover { color: var(--c-ink); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--c-ink-3);
}

/* ─── 14. FLOATING ELEMENTS ───────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-wa);
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--trans), box-shadow var(--trans);
}
.float-wa:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.float-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: waPulse 2.5s infinite;
}

/* ─── 15. ANIMATIONS ──────────────────────────────────────── */
@keyframes lineReveal {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes meshShift {
  0%   { opacity: 1; }
  50%  { opacity: 0.7; }
  100% { opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ─── 16. SCROLL REVEALS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── 17. RESPONSIVE ──────────────────────────────────────── */

/* ── 1280px: large desktop ─────────────────────────────────── */
@media (max-width: 1280px) {
  .container { padding: 0 1.5rem; }
  .pricing-grid { gap: 1rem; }
}

/* ── 1100px: medium desktop ────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .timeline-wrap  { grid-template-columns: repeat(3, 1fr); }
  .timeline-wrap::before { left: calc(16.66% + 1.5rem); right: calc(16.66% + 1.5rem); }
  .nav-links { gap: 0; }
  .nav-links a { padding: 0.45rem 0.6rem; font-size: 0.85rem; }
}

/* ── 960px: small desktop / large tablet ───────────────────── */
@media (max-width: 960px) {
  .contact-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .plan-badge     { font-size: 0.65rem; }
  .hero-title     { font-size: clamp(2.4rem, 5vw, 4rem); }
  .section-title  { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .timeline-wrap  { grid-template-columns: repeat(3, 1fr); }
  .timeline-wrap::before { display: none; }
}

/* ── 768px: tablets and mobile ─────────────────────────────── */
@media (max-width: 768px) {
  /* --- Nav -------------------------------------------------- */
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }

  /* Lang & theme buttons stay visible on mobile */
  .lang-toggle,
  .nav-theme-btn { height: 34px; padding: 0 0.6rem; font-size: 0.72rem; }
  .nav-actions { gap: 0.5rem; }

  /* Guarantee logo and buttons stay above the menu overlay at all times */
  .nav-logo,
  .nav-actions {
    position: relative;
    z-index: 50;
  }
  
  /* Critical fix: disable backdrop-filter when menu is open so fixed children are relative to viewport, not header */
  body.mobile-nav-open .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--c-surface) !important;
  }

  /* Mobile menu full-screen overlay (Hidden by default, ready to animate) */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--c-surface);
    padding: 7rem 2rem 3rem;
    z-index: 2; /* Below logo and hamburger */
    overflow-y: auto;
    gap: 0;
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Open state with animation */
  .mobile-nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
  }

  /* --- Logo ------------------------------------------------- */
  .nav-logo img { height: 80px; }
  .is-scrolled .nav-logo img { height: 60px; }
  .footer-brand-logo { height: 70px; }

  /* --- Spacing ---------------------------------------------- */
  .section-pad    { padding: 4rem 0; }
  .container      { padding: 0 1.1rem; }
  .section-header { margin-bottom: 3rem; }

  /* --- Typography ------------------------------------------- */
  .hero-title     { font-size: clamp(1.9rem, 8vw, 2.8rem); letter-spacing: -0.03em; }
  .hero-sub       { font-size: 1rem; }
  .section-title  { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-desc   { font-size: 1rem; }

  /* --- Hero ------------------------------------------------- */
  .hero           { padding: 8rem 1.1rem 4rem; }
  .hero-badge     { font-size: 0.72rem; padding: 0.4rem 0.9rem; }
  .hero-actions   { flex-direction: column; gap: 0.75rem; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats     { gap: 1.25rem; flex-wrap: wrap; margin-top: 3rem; }
  .hero-stat-num  { font-size: 1.6rem; }
  .hero-stat-divider { display: none; }
  .hero-stat-label { font-size: 0.75rem; }

  /* --- Services --------------------------------------------- */
  .services-grid  { grid-template-columns: 1fr; gap: 1rem; }
  .service-card   { padding: 1.75rem; }

  /* --- Pricing ---------------------------------------------- */
  .pricing-grid          { grid-template-columns: 1fr; gap: 1.25rem; }
  .plan-card             { padding: 1.75rem 1.5rem; }
  .plan-card.is-featured { transform: none; margin-top: 0.75rem; }
  .plan-card.is-featured:hover { transform: translateY(-4px); }
  .plan-price            { font-size: 2.2rem; }

  /* --- Addons ----------------------------------------------- */
  .addons-list  { border-radius: var(--radius-md); }
  .addon-row    {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1.1rem 1.25rem;
  }
  .addon-left   { gap: 0.75rem; }
  .addon-icon   { width: 34px; height: 34px; font-size: 0.85rem; flex-shrink: 0; }
  .addon-name   { font-size: 0.9rem; }
  .addon-sub    { font-size: 0.78rem; }
  .addon-price  { font-size: 1rem; align-self: flex-start; padding-left: calc(34px + 0.75rem); }

  /* --- Timeline --------------------------------------------- */
  .timeline-wrap {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    position: relative;
  }
  .timeline-wrap::before {
    display: none;
  }
  .t-step {
    display: grid;
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    row-gap: 0.25rem;
    text-align: left;
    align-items: start;
    padding: 0 0 0 0;
    margin-bottom: 2rem;
    position: relative;
  }
  .t-step:last-child { margin-bottom: 0; }
  /* vertical connector between circles */
  .t-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 1.5rem;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 1rem);
    background: var(--c-border-hard);
    z-index: 0;
  }
  .t-step-num {
    grid-row: 1 / 3;
    grid-column: 1;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-left: 0;
    align-self: start;
    background: var(--c-surface);
    position: relative;
    z-index: 2;
  }
  .t-step-icon { display: none; }
  .t-step h4 {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem;
    align-self: end;
    padding-top: 0.2rem;
  }
  .t-step p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.85rem;
    max-width: none;
  }

  /* --- FAQ -------------------------------------------------- */
  .faq-question   { font-size: 0.9rem; padding: 1.1rem 1.25rem; }
  .faq-answer-inner { font-size: 0.88rem; padding: 0 1.25rem 1.25rem; }

  /* --- Contact ---------------------------------------------- */
  .contact-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-card  { padding: 1.5rem; border-radius: var(--radius-lg); }
  .form-row           { grid-template-columns: 1fr; gap: 0; }
  .contact-info h2    { font-size: 1.6rem; }
  .contact-info > p   { font-size: 0.95rem; }

  /* --- Footer ----------------------------------------------- */
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.25rem 0; }
  .footer-brand-text { max-width: 100%; font-size: 0.88rem; }
  .site-footer    { padding-top: 3rem; }

  /* --- Floating elements ------------------------------------ */
  .float-wa       { bottom: 20px; right: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
  .chatbot-widget { left: 16px; bottom: 16px; }
  .chatbot-panel  { width: calc(100vw - 32px); max-height: calc(100svh - 120px); }
}

/* ── 480px: small mobile ───────────────────────────────────── */
@media (max-width: 480px) {
  .container      { padding: 0 1rem; }
  .section-pad    { padding: 3.5rem 0; }

  .hero-title     { font-size: clamp(1.75rem, 9vw, 2.4rem); }
  .hero-badge     { display: none; }  /* avoid wrapping on very small screens */
  .hero-stats     { justify-content: center; }

  .section-title  { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-eyebrow { font-size: 0.7rem; }

  .service-card   { padding: 1.4rem; }
  .service-icon   { width: 44px; height: 44px; font-size: 1.2rem; }

  .plan-card      { padding: 1.4rem 1.2rem; }
  .plan-price     { font-size: 2rem; }

  .chatbot-panel  { width: calc(100vw - 32px); border-radius: var(--radius-lg); }
  .chat-bubble    { max-width: 90%; font-size: 0.83rem; }

  .btn-lg         { padding: 0.9rem 1.5rem; font-size: 0.95rem; }

  .nav-actions    { gap: 0.35rem; }
  .lang-toggle    { padding: 0 0.5rem; font-size: 0.7rem; }
  .lang-toggle i  { display: none; }   /* show only text on tiny screens */
  .nav-theme-btn  { width: 34px; }
  .hamburger      { width: 34px; height: 34px; }
}

/* ── 360px: extra small ────────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title     { font-size: 1.65rem; }
  .nav-logo img   { height: 55px; }
  .float-wa       { width: 46px; height: 46px; font-size: 1.35rem; }
  .chatbot-toggle { width: 48px; height: 48px; font-size: 1.2rem; }
}


/* ─── 18. LANGUAGE TOGGLE ─────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  height: 38px;
  background: transparent;
  border: 1px solid var(--c-border-hard);
  border-radius: var(--radius-sm);
  color: var(--c-ink-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--trans);
}
.lang-toggle:hover {
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-color: var(--c-accent);
}
.lang-toggle i { font-size: 0.88rem; }

/* ─── 19. CHATBOT WIDGET ──────────────────────────────────── */
.chatbot-widget {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Toggle button */
.chatbot-toggle {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent);
  color: var(--c-on-accent);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--trans), box-shadow var(--trans);
  position: relative;
  order: 2;
}
.chatbot-toggle:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl), 0 0 0 4px rgba(var(--c-accent-rgb),0.12);
}

/* Notification badge */
.chatbot-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
  display: none;
  align-items: center; justify-content: center;
  border: 2px solid var(--c-bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Chat panel */
.chatbot-panel {
  width: 340px;
  max-height: 0;
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.3s ease;
  margin-bottom: 12px;
  order: 1;
}

.chatbot-widget.is-open .chatbot-panel {
  max-height: 520px;
  opacity: 1;
  transform: none;
}

/* Panel header */
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  flex-shrink: 0;
}
.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chatbot-avatar {
  position: relative;
  width: 38px; height: 38px;
  background: var(--c-surface-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--c-ink);
  flex-shrink: 0;
}
.chatbot-online-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  background: var(--c-green);
  border-radius: 50%;
  border: 2px solid var(--c-surface);
}
.chatbot-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1;
}
.chatbot-status {
  font-size: 0.75rem;
  color: var(--c-green);
  font-weight: 600;
  margin-top: 2px;
}
.chatbot-close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  color: var(--c-ink-3);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--trans);
}
.chatbot-close:hover {
  background: var(--c-surface-2);
  color: var(--c-ink);
}

/* Messages area */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--c-border-hard) transparent;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--c-border-hard); border-radius: 4px; }

/* Message bubbles */
.chat-msg { display: flex; }
.chat-msg--user { justify-content: flex-end; }
.chat-msg--bot  { justify-content: flex-start; }

.chat-bubble {
  max-width: 82%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  animation: bubbleIn 0.25s ease;
}

.chat-msg--bot .chat-bubble {
  background: var(--c-surface-2);
  color: var(--c-ink);
  border-radius: 4px 14px 14px 14px;
}

.chat-msg--user .chat-bubble {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 14px 14px 4px 14px;
}

.chat-bubble strong { font-weight: 700; }

/* Typing indicator */
.chat-typing .chat-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.9rem 1rem;
}
.chat-typing .chat-bubble span {
  width: 7px; height: 7px;
  background: var(--c-ink-3);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.chat-typing .chat-bubble span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing .chat-bubble span:nth-child(3) { animation-delay: 0.4s; }

/* Quick replies */
.chatbot-quick-replies {
  padding: 0 1rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}
.chat-quick-btn {
  background: transparent;
  border: 1px solid var(--c-border-hard);
  border-radius: var(--radius-pill);
  color: var(--c-ink);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}
.chat-quick-btn:hover {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-color: var(--c-accent);
}

/* Input area */
.chatbot-input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  flex-shrink: 0;
}
.chatbot-input {
  flex: 1;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--trans);
}
.chatbot-input:focus { border-color: var(--c-accent); }
.chatbot-input::placeholder { color: var(--c-ink-3); }

.chatbot-send {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-accent);
  color: var(--c-on-accent);
  border: none;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
  flex-shrink: 0;
}
.chatbot-send:hover { transform: scale(1.1); box-shadow: var(--shadow-sm); }

/* Animations */
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 480px) {
  .chatbot-widget { left: 16px; bottom: 16px; }
  .chatbot-panel  { width: calc(100vw - 32px); }
}
