/* ================================================================
   CLOVIS AI — Design System CSS
   ================================================================ */

/* ─── CSS Custom Properties ─── */
:root {
  --blue-50: #f0f7ff;
  --blue-100: #e1edff;
  --blue-200: #c3daff;
  --blue-300: #91bcff;
  --blue-500: #0a6fd7;
  --blue-600: #044aac;
  --blue-700: #0a3d8a;
  --blue-800: #082e6b;
  --blue-900: #051e47;

  --red-500: #fc1819;
  --red-600: #e00505;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --white: #ffffff;

  --green-500: #25D366;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-900: #78350f;
  --yellow-400: #facc15;
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-600: #059669;
  --emerald-700: #047857;

  --section-y: 4rem;
  --section-y-lg: 6rem;
  --container-px: 1rem;

  --rounded-sm: 0.5rem;
  --rounded-md: 0.75rem;
  --rounded-lg: 1rem;
  --rounded-xl: 1.5rem;
  --rounded-2xl: 2rem;
  --rounded-pill: 9999px;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;

  --shadow-card: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-card-hover: 0 20px 25px -5px rgb(15 23 42 / 0.10), 0 8px 10px -6px rgb(15 23 42 / 0.10);
  --shadow-cta: 0 10px 15px -3px rgb(4 74 172 / 0.20), 0 4px 6px -4px rgb(4 74 172 / 0.20);
  --shadow-nav: 0 4px 6px -4px rgb(15 23 42 / 0.08);
  --ring: rgba(4, 74, 172, 0.34);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--slate-900);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}
@media (min-width: 640px) { :root { --container-px: 1.5rem; } }
@media (min-width: 1024px) { :root { --container-px: 2rem; --section-y: var(--section-y-lg); } }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.skip-link:focus {
  position: fixed; clip: auto; width: auto; height: auto;
  top: 1rem; left: 1rem; z-index: 100; background: var(--blue-600); color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: var(--rounded-md); font-size: 0.875rem; font-weight: 600;
}

/* ─── Section Heading ─── */
.section-heading { max-width: 48rem; text-align: center; margin: 0 auto; }
.section-heading--left { text-align: left; margin: 0; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--blue-600);
}
.section-title {
  margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 900;
  line-height: 1.1; letter-spacing: -0.025em; color: var(--slate-900);
}
.section-desc {
  margin-top: 1rem; font-size: 1rem; line-height: 1.75; color: var(--slate-600);
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border-radius: var(--rounded-pill);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.025em;
  transition: all 0.2s ease; cursor: pointer; text-align: center;
}
.btn-primary {
  background: var(--blue-600); color: var(--white);
  box-shadow: 0 4px 12px -4px rgb(4 74 172 / 0.35);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); box-shadow: 0 8px 24px -6px rgb(4 74 172 / 0.50); }
.btn-secondary {
  background: transparent; color: var(--blue-600); border: 2px solid var(--blue-600);
}
.btn-secondary:hover { background: var(--blue-600); color: var(--white); }

/* ─── Navbar ─── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200); transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-nav); }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0.75rem var(--container-px); }

.nav-logo { display: flex; align-items: center; }
.nav-logo-text { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo-icon { color: var(--blue-600); display: flex; }
.nav-logo-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--slate-900); letter-spacing: -0.025em; }
.nav-logo-badge {
  display: inline-flex; align-items: center;
  padding: 0.125rem 0.5rem; border-radius: var(--rounded-sm);
  background: var(--blue-600); color: var(--white);
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-toggle { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.5rem 1rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-pill); font-size: 0.875rem; font-weight: 900; color: var(--slate-700); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link { position: relative; font-size: 0.875rem; font-weight: 700; color: var(--slate-700); transition: color 0.2s; padding-bottom: 2px; }
.nav-link:hover, .nav-link.active { color: var(--blue-600); }
.nav-link::after { content: ''; position: absolute; bottom: -1px; left: 0; height: 2px; border-radius: var(--rounded-pill); background: var(--blue-600); transition: width 0.35s cubic-bezier(0.16,1,0.3,1); width: 0; }
.nav-link.active::after { width: 100%; }

.nav-cta { padding: 0.75rem 1.25rem; border-radius: var(--rounded-pill); background: var(--blue-600); color: var(--white); font-size: 0.875rem; font-weight: 900; box-shadow: var(--shadow-cta); transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--blue-700); transform: scale(1.05); }

.mobile-nav { overflow: hidden; border-top: 1px solid var(--slate-200); background: var(--white); }
.mobile-nav:not([hidden]) { display: block; }
@media (min-width: 768px) { .mobile-nav { display: none !important; } }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 0.5rem; max-width: 1280px; margin: 0 auto; padding: 0.75rem var(--container-px); }
.mobile-nav-link { padding: 0.75rem 1rem; border-radius: var(--rounded-xl); font-size: 0.875rem; font-weight: 900; color: var(--slate-700); transition: background 0.2s, color 0.2s; }
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--blue-50); color: var(--blue-700); }
.mobile-nav-cta { padding: 0.75rem 1rem; border-radius: var(--rounded-xl); background: var(--blue-600); color: var(--white); font-size: 0.875rem; font-weight: 900; text-align: center; }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 50%); }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--blue-100) 0%, transparent 70%); opacity: 0.5; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -10%; left: -5%; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%); opacity: 0.6; pointer-events: none; }
.hero-top-line { position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--blue-300)); }
.hero-container { display: grid; align-items: center; gap: 2rem; max-width: 1280px; margin: 0 auto; padding: 2.5rem var(--container-px); }
@media (min-width: 640px) { .hero-container { padding-top: 5rem; padding-bottom: 4rem; } }
@media (min-width: 1024px) { .hero-container { grid-template-columns: 1.1fr 0.9fr; padding-top: 6rem; padding-bottom: 6rem; } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid var(--blue-100); border-radius: var(--rounded-pill); background: var(--blue-50); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--blue-600); }
.hero-eyebrow-pulse { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 3px rgb(4 74 172 / 0.2); animation: hero-dot-pulse 2s ease-in-out infinite; }

.hero-headline { margin-top: 1rem; max-width: 42rem; font-family: var(--font-display); font-size: clamp(1.75rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.025em; color: var(--slate-900); }
.hero-description { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.75; color: var(--slate-600); }
@media (min-width: 640px) { .hero-description { margin-top: 1.25rem; font-size: 1.125rem; line-height: 2; } }

.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; margin-top: 2rem; } }
.hero-actions .btn { padding: 1rem 1.75rem; border-radius: var(--rounded-md); font-size: 0.875rem; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .hero-stats { margin-top: 2.5rem; gap: 0.75rem; } }
.hero-stat { padding: 0.625rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-md); background: var(--slate-50); text-align: center; box-shadow: 0 1px 2px rgb(15 23 42 / 0.04); transition: border-color 0.2s, background 0.2s; }
.hero-stat:hover { border-color: var(--blue-200); background: var(--blue-50); }
@media (min-width: 640px) { .hero-stat { padding: 1rem; } }
.hero-stat dt { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--slate-900); }
@media (min-width: 640px) { .hero-stat dt { font-size: 1rem; } }
.hero-stat dd { margin-top: 0.125rem; font-size: 0.625rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.025em; color: var(--slate-500); }
@media (min-width: 640px) { .hero-stat dd { margin-top: 0.25rem; font-size: 0.75rem; } }

.hero-media { display: none; position: relative; }
@media (min-width: 1024px) { .hero-media { display: block; } }
.hero-media-glow { position: absolute; inset: 2rem; border-radius: 1.5rem; background: var(--blue-100); filter: blur(64px); opacity: 0.5; }
.hero-media-card { position: relative; overflow: hidden; border: 1px solid var(--blue-50); border-radius: var(--rounded-xl); background: linear-gradient(135deg, var(--blue-50), var(--white)); padding: 1.5rem; box-shadow: 0 25px 50px -12px rgb(4 74 172 / 0.15); }
.hero-illustration { display: flex; align-items: center; justify-content: center; }
.hero-illustration-main { max-height: 320px; width: 100%; }
.hero-media-cta { position: relative; margin-top: -1.25rem; max-width: 24rem; margin-inline: auto; padding: 1.25rem; border: 1px solid var(--blue-100); border-radius: var(--rounded-md); background: var(--blue-600); box-shadow: 0 20px 25px -5px rgb(4 74 172 / 0.25); }
.hero-media-cta-title { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.hero-media-cta-text { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.5; color: var(--blue-100); }

/* ─── Pengenalan ─── */
.intro { background: var(--white); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.intro::before { content: ''; position: absolute; top: 0; right: 0; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%); opacity: 0.4; pointer-events: none; transform: translate(30%, -20%); }
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.intro-body { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 1rem; line-height: 1.85; color: var(--slate-600); }
.intro-body strong { color: var(--slate-900); font-weight: 700; }
.intro-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.intro-badge { padding: 0.375rem 0.875rem; border-radius: var(--rounded-pill); background: var(--blue-50); color: var(--blue-700); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.025em; border: 1px solid var(--blue-100); }

.intro-visual-card { overflow: hidden; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); }
.intro-chat-preview { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; background: var(--slate-50); }
.intro-chat-bubble { padding: 0.75rem 1rem; border-radius: var(--rounded-lg); font-size: 0.8125rem; line-height: 1.5; max-width: 80%; }
.intro-chat-bubble--user { align-self: flex-end; background: var(--blue-600); color: var(--white); border-bottom-right-radius: 0.25rem; }
.intro-chat-bubble--ai { align-self: flex-start; background: var(--white); color: var(--slate-800); border: 1px solid var(--slate-200); border-bottom-left-radius: 0.25rem; box-shadow: var(--shadow-card); }

/* ─── Problems ─── */
.problems { background: var(--white); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.problems::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(180deg, transparent 0%, var(--slate-50) 100%); pointer-events: none; }
.problems-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problems-grid { grid-template-columns: repeat(3, 1fr); } }

.problem-card { padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); transition: box-shadow 0.3s, transform 0.3s; position: relative; overflow: hidden; }
.problem-card:nth-child(1) .problem-icon { background: var(--blue-50); color: var(--blue-600); }
.problem-card:nth-child(2) .problem-icon { background: var(--amber-50); color: var(--amber-600); }
.problem-card:nth-child(3) .problem-icon { background: #fdf2f8; color: #db2777; }
.problem-card:nth-child(4) .problem-icon { background: var(--violet-50); color: #7c3aed; }
.problem-card:nth-child(5) .problem-icon { background: var(--emerald-50); color: var(--emerald-600); }
.problem-card:nth-child(6) .problem-icon { background: #fff1f2; color: #e11d48; }
.problem-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-0.25rem); }
.problem-card::after { content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px; border-radius: 0 0 0 80px; opacity: 0; transition: opacity 0.3s; }
.problem-card:nth-child(1)::after { background: var(--blue-50); }
.problem-card:nth-child(2)::after { background: var(--amber-50); }
.problem-card:nth-child(3)::after { background: #fdf2f8; }
.problem-card:nth-child(4)::after { background: var(--violet-50); }
.problem-card:nth-child(5)::after { background: var(--emerald-50); }
.problem-card:nth-child(6)::after { background: #fff1f2; }
.problem-card:hover::after { opacity: 1; }
.problem-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--rounded-md); margin-bottom: 1rem; }
.problem-card-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.problem-card-desc { font-size: 0.875rem; line-height: 1.65; color: var(--slate-600); }

/* ─── Solutions ─── */
.solutions { background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 40%); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.solutions::after { content: ''; position: absolute; top: 10%; right: -5%; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, var(--emerald-50) 0%, transparent 70%); opacity: 0.5; pointer-events: none; }
.solutions-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }

.solution-card { padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); transition: box-shadow 0.3s, transform 0.3s; }
.solution-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-0.25rem); }
.solution-card--featured { border-color: var(--blue-200); background: linear-gradient(180deg, var(--blue-50), var(--white) 60%); }

.solution-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.solution-icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--rounded-md); flex-shrink: 0; }
.solution-icon--blog { background: var(--blue-50); color: var(--blue-600); }
.solution-icon--seo { background: var(--emerald-50); color: var(--emerald-600); }
.solution-icon--ads { background: var(--amber-50); color: var(--amber-600); }
.solution-card-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--slate-900); }
.solution-card-desc { font-size: 0.875rem; line-height: 1.7; color: var(--slate-600); margin-bottom: 1rem; }
.solution-features { display: flex; flex-direction: column; gap: 0.5rem; }
.solution-features li { position: relative; padding-left: 1.25rem; font-size: 0.8125rem; color: var(--slate-700); }
.solution-features li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--blue-200); }

/* ─── Cara Kerja ─── */
.how-it-works { background: var(--blue-50); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.how-it-works::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgb(4 74 172 / 0.04) 0%, transparent 70%); pointer-events: none; }
.steps { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { position: relative; padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); text-align: center; }
.step-number { position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-600); color: var(--white); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700; box-shadow: 0 4px 12px rgb(4 74 172 / 0.35); }
.step-icon-wrap { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin: 0.5rem auto 1rem; border-radius: var(--rounded-md); background: var(--blue-50); color: var(--blue-600); }
.step-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.8125rem; line-height: 1.6; color: var(--slate-600); }

/* ─── Perbandingan ─── */
.compare { background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%); padding: var(--section-y) 0; }
.compare-table-wrap { margin-top: 3rem; overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.compare-table thead { background: var(--slate-50); }
.compare-table th { padding: 1rem 1.25rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; }
.compare-table th:first-child { color: var(--slate-500); }
.compare-before { color: var(--slate-500); background: var(--slate-50); }
.compare-after { color: var(--blue-700); background: var(--blue-50); }
.compare-table tbody tr { border-top: 1px solid var(--slate-100); }
.compare-table tbody tr:hover { background: rgb(4 74 172 / 0.02); }
.compare-table td { padding: 1rem 1.25rem; line-height: 1.5; }
.compare-table td:first-child { font-weight: 600; color: var(--slate-900); }

/* ─── Layanan / Pricing ─── */
.services-section { background: linear-gradient(180deg, var(--slate-50) 0%, var(--blue-50) 50%, var(--white) 100%); padding: var(--section-y) 0; }

/* Tab switch */
.service-tabs { display: flex; gap: 0.5rem; margin-top: 2.5rem; justify-content: center; flex-wrap: wrap; }

.service-tab { padding: 0.625rem 1.5rem; border: 2px solid var(--slate-200); border-radius: var(--rounded-pill); background: var(--white); font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--slate-600); cursor: pointer; transition: all 0.25s; white-space: nowrap; }
.service-tab:hover { border-color: var(--blue-300); color: var(--blue-600); }
.service-tab.active { border-color: var(--blue-600); background: var(--blue-600); color: var(--white); box-shadow: 0 4px 12px rgb(4 74 172 / 0.25); }

/* Pricing grid */
.pricing-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card { position: relative; display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); transition: box-shadow 0.3s, transform 0.3s; }
.pricing-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-0.25rem); }
.pricing-card--popular { border-color: var(--blue-300); box-shadow: 0 10px 30px -12px rgb(4 74 172 / 0.25); }
.pricing-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); padding: 0.25rem 1rem; border-radius: var(--rounded-pill); background: var(--blue-600); color: var(--white); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-card-header { margin-bottom: 1.5rem; text-align: center; }
.pricing-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--slate-900); }
.pricing-desc { margin-top: 0.375rem; font-size: 0.8125rem; color: var(--slate-500); }
.pricing-price { margin-top: 1rem; }
.pricing-currency { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--slate-500); }
.pricing-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--slate-900); line-height: 1; }
.pricing-amount--custom { font-size: 2rem; color: var(--blue-600); }
.pricing-period { font-size: 0.8125rem; color: var(--slate-500); }

.pricing-features { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; flex: 1; }
.pricing-features li { padding-left: 1.5rem; position: relative; font-size: 0.8125rem; color: var(--slate-700); line-height: 1.5; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-600); font-weight: 700; }
.pricing-btn { width: 100%; }

/* Note banner for Clovis Plus */
.pricing-plus-note { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: var(--rounded-md); background: var(--amber-50); border: 1px solid var(--amber-100); }
.pricing-plus-note p { font-size: 0.75rem; line-height: 1.5; color: var(--amber-900); }
.pricing-plus-note strong { color: var(--amber-700); }

/* ─── Clients ─── */
.clients { background: var(--white); padding: var(--section-y) 0; position: relative; overflow: hidden; }
.clients::before { content: ''; position: absolute; bottom: 0; left: 0; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, var(--blue-50) 0%, transparent 70%); opacity: 0.5; pointer-events: none; transform: translate(-30%, 30%); }
.clients-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .clients-logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .clients-logos { grid-template-columns: repeat(6, 1fr); } }

.client-logo-item { display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-md); background: var(--slate-50); transition: border-color 0.2s, box-shadow 0.2s; }
.client-logo-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-card); }
.client-logo-placeholder { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--slate-400); }

.clients-testimonials { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .clients-testimonials { grid-template-columns: repeat(3, 1fr); } }

.client-testimonial { padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.client-quote { font-size: 0.875rem; line-height: 1.7; color: var(--slate-700); font-style: italic; flex: 1; }
.client-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--slate-100); }
.client-avatar { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--blue-600); color: var(--white); font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.client-name { font-size: 0.8125rem; font-weight: 700; color: var(--slate-900); }
.client-role { font-size: 0.6875rem; color: var(--slate-500); }

/* ─── FAQ ─── */
.faq { background: var(--slate-50); padding: var(--section-y) 0; padding-bottom: 6rem; }
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.9fr 1.1fr; } }
.faq-cta { margin-top: 2rem; display: inline-flex; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--slate-200); border-radius: var(--rounded-xl); background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.faq-item:hover { box-shadow: 0 10px 24px -12px rgb(15 23 42 / 0.15); transform: translateY(-2px); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1rem 1.25rem; font-size: 0.875rem; font-weight: 900; color: var(--slate-950); text-align: left; cursor: pointer; background: none; border: none; }
.faq-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 1.25rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq-item.open .faq-answer-wrapper { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer { padding: 0 1.25rem 1.25rem; font-size: 0.875rem; line-height: 1.75; color: var(--slate-600); }

/* ─── Footer ─── */
.footer { background: var(--slate-900); color: var(--white); padding-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer-logo { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-icon { color: var(--blue-300); display: flex; }
.footer-logo-text { line-height: 1; }
.footer-logo-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; letter-spacing: -0.025em; color: var(--white); display: flex; align-items: center; gap: 0.375rem; }
.footer-logo-badge { display: inline-flex; padding: 0.125rem 0.375rem; border-radius: var(--rounded-sm); background: var(--blue-600); color: var(--white); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.05em; }
.footer-desc { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.75; color: var(--slate-400); }

.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 50%; color: var(--slate-400); transition: border-color 0.2s, color 0.2s; }
.footer-social-link:hover { border-color: var(--blue-300); color: var(--blue-300); }
.footer-social-link--wa:hover { border-color: var(--green-500); color: var(--green-500); }

.footer-heading { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-300); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: var(--slate-400); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-links--contact { gap: 1rem; }
.footer-contact-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: var(--slate-500); }
.footer-contact-value { font-size: 0.875rem; color: var(--slate-400); display: block; margin-top: 0.25rem; }
a.footer-contact-value:hover { color: var(--white); }
.footer-contact-value--wa { font-weight: 600; color: var(--blue-300); }
.footer-contact-value--wa:hover { color: var(--blue-200); }

.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.75rem; color: var(--slate-500); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ─── Floating WhatsApp ─── */
.floating-wa { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--green-500); color: var(--white); box-shadow: 0 8px 24px -6px rgb(21 128 61 / 0.35); transition: transform 0.2s; }
.floating-wa:hover { transform: scale(1.12) rotate(-6deg); }
@media (min-width: 768px) { .floating-wa { bottom: 2rem; right: 2rem; } }
.floating-wa-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--green-500); opacity: 0.5; animation: wa-pulse 2s ease-out infinite; }

/* ─── Keyframes ─── */
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes hero-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgb(4 74 172 / 0.3); }
  50% { box-shadow: 0 0 0 8px rgb(4 74 172 / 0); }
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .floating-wa-ring { animation: none; }
  .hero-eyebrow-pulse { animation: none; }
}
