/*
 * SIRTE Design System v2.0
 * Stack: Node.js + Express + EJS
 * Typography: Playfair Display (hero) + Inter (body)
 * Approach: Minimal, high-contrast, premium — inspired by Stripe/Vercel/Apple
 */

/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --c-bg:          #ffffff;
  --c-bg-subtle:   #f8f9fc;
  --c-bg-dark:     #0a0a14;
  --c-bg-darker:   #06060e;
  --c-text:        #0f172a;
  --c-text-muted:  #64748b;
  --c-text-faint:  #94a3b8;
  --c-border:      #e2e8f0;
  --c-border-dark: #1e2035;

  /* Brand */
  --c-primary:     #6366f1;
  --c-primary-dk:  #4f46e5;
  --c-primary-lt:  #818cf8;
  --c-accent:      #8b5cf6;
  --c-success:     #22c55e;
  --c-danger:      #ef4444;
  --c-warning:     #f59e0b;

  /* Gradients */
  --g-hero:        linear-gradient(135deg, #0f0c29 0%, #1e1b4b 50%, #0f0c29 100%);
  --g-brand:       linear-gradient(135deg, var(--c-primary), var(--c-accent));
  --g-security:    linear-gradient(135deg, #0a0a14 0%, #0f0c29 50%, #110d36 100%);
  --g-cta:         linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);

  /* Typography */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Spacing scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.25rem;  --sp-6: 1.5rem;   --sp-8: 2rem;     --sp-10: 2.5rem;
  --sp-12: 3rem;    --sp-16: 4rem;    --sp-20: 5rem;    --sp-24: 6rem;

  /* Section vertical rhythm */
  --section-py:    var(--sp-16);
  --section-py-lg: var(--sp-24);

  /* Border radius */
  --r-sm:  0.375rem;
  --r-md:  0.625rem;
  --r-lg:  1rem;
  --r-xl:  1.5rem;
  --r-2xl: 2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.16), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 32px rgba(99,102,241,0.25);

  /* Transitions */
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --ease-out:   cubic-bezier(0,0,0.2,1);
  --t-fast:     150ms;
  --t-base:     250ms;
  --t-slow:     400ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ═══════════════════════════════════════════════════════════════════
   3. LAYOUT CONTAINER
   ═══════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
}

@media (min-width: 768px) {
  .container { padding-left: var(--sp-8); padding-right: var(--sp-8); }
}

/* ═══════════════════════════════════════════════════════════════════
   4. SECTION SHARED COMPONENTS
   ═══════════════════════════════════════════════════════════════════ */
.s-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-12);
}

.s-eyebrow {
  display: inline-block;
  background: #ede9fe;
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.s-eyebrow--light {
  background: rgba(99,102,241,0.18);
  color: #a5b4fc;
}

.s-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.s-section-title--light { color: #fff; }

.s-section-sub {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.75;
}

.s-section-sub--light { color: rgba(255,255,255,0.65); }

/* Scroll fade-in animation — JS adds .is-visible */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="80"]  { transition-delay: 80ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="240"] { transition-delay: 240ms; }
[data-delay="320"] { transition-delay: 320ms; }
[data-delay="400"] { transition-delay: 400ms; }

/* ═══════════════════════════════════════════════════════════════════
   5. BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--g-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.55);
  color: #fff;
}

.btn-cta-primary:active { transform: translateY(0); }

.btn-cta-primary--lg {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-border);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-cta-ghost:hover {
  border-color: var(--c-primary);
  background: #ede9fe;
  color: var(--c-primary-dk);
}

.btn-cta-ghost--light {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}

.btn-cta-ghost--light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  border: 2px solid var(--c-primary);
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta-outline:hover {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}

button:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   6. HEADER
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .header-inner { padding: 0 var(--sp-8); }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--c-text);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo-mark { display: flex; align-items: center; }

.header-logo-dot { color: var(--c-primary); }

.header-mobile-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--c-bg-subtle);
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}

.header-mobile-btn.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-mobile-btn.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-mobile-btn.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) { .header-mobile-btn { display: none; } }

.header-nav {
  display: none;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}

.header-nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-4);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
}

.header-nav-link {
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--c-primary);
  background: #ede9fe;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: auto;
  flex-shrink: 0;
}

.header-login-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: color var(--t-fast);
  display: none;
  text-decoration: none;
}

@media (min-width: 640px) { .header-login-link { display: inline; } }
.header-login-link:hover { color: var(--c-primary); }

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--g-brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-full);
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.header-cta-btn:hover {
  box-shadow: 0 4px 20px rgba(99,102,241,0.5);
  transform: translateY(-1px);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   7. HERO V2
   ═══════════════════════════════════════════════════════════════════ */
.s-hero {
  background: var(--g-hero);
  color: #fff;
  padding: var(--sp-20) 0 var(--sp-16);
  overflow: hidden;
  position: relative;
}

.s-hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}

.s-hero__bg-orb--1 {
  width: 600px; height: 600px;
  background: var(--c-primary);
  top: -200px; right: -150px;
}

.s-hero__bg-orb--2 {
  width: 400px; height: 400px;
  background: var(--c-accent);
  bottom: -100px; left: -100px;
}

.s-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .s-hero__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .s-hero { padding: var(--sp-24) 0 var(--sp-20); }
}

/* Hero pill */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.4);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
  width: fit-content;
}

.hero-pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-success);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Hero H1 — Playfair Display serif */
.s-hero__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.s-hero__h1-em {
  font-style: italic;
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.s-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  max-width: 520px;
}

/* CTA group */
.s-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.s-hero__reassure {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-8);
}

/* Stats bar */
.s-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.s-hero__stat {
  flex: 1;
  min-width: 70px;
  text-align: center;
  padding: 0 var(--sp-2);
}

.s-hero__stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.s-hero__stat span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.s-hero__stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: var(--sp-1) 0;
  align-self: stretch;
}

/* ═══════════════════════════════════════════════════════════════════
   8. DEVICE MOCKUP (Hero visual)
   ═══════════════════════════════════════════════════════════════════ */
.s-hero__visual { display: none; }

@media (min-width: 1024px) {
  .s-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 420px;
  }
}

.mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Laptop */
.mockup-laptop {
  background: #1a1a2e;
  border-radius: 10px 10px 0 0;
  border: 2px solid #2a2a45;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.mockup-laptop__screen { background: #fff; overflow: hidden; }

.mockup-laptop__chin {
  height: 20px;
  background: #111128;
  border-top: 2px solid #2a2a45;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-laptop__notch {
  width: 56px; height: 8px;
  background: #2a2a45;
  border-radius: 0 0 6px 6px;
}

/* Browser bar */
.mockup-browser-bar {
  background: #f1f5f9;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.mbb-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mbb-dot--r { background: #f87171; }
.mbb-dot--y { background: #fbbf24; }
.mbb-dot--g { background: #34d399; }

.mbb-url {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 10px;
  color: #64748b;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Simulated site */
.mockup-site { overflow: hidden; }

.ms-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: #0f172a;
}

.ms-nav__logo { width: 56px; height: 8px; background: #6366f1; border-radius: 3px; }

.ms-nav__links { display: flex; gap: 7px; }
.ms-nav__links span { width: 26px; height: 5px; background: rgba(255,255,255,0.2); border-radius: 2px; }
.ms-nav__link--active { background: #6366f1 !important; }

.ms-hero-area {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  min-height: 90px;
}

.ms-hero-copy { flex: 1; display: flex; flex-direction: column; gap: 5px; justify-content: center; }

.ms-line { height: 6px; border-radius: 3px; background: #c4b5fd; }
.ms-line--title { width: 75%; background: #7c3aed; height: 10px; }
.ms-line--sub { width: 90%; }
.ms-line--short { width: 55%; }
.ms-line--xs { width: 70%; background: rgba(99,102,241,0.25); height: 5px; }

.ms-btn { width: 55px; height: 17px; background: #6366f1; border-radius: 4px; margin-top: 7px; }

.ms-hero-img {
  width: 75px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
  flex-shrink: 0;
}

.ms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 14px;
}

.ms-card { height: 50px; border-radius: 5px; }
.ms-card--1 { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.ms-card--2 { background: linear-gradient(135deg, #a7f3d0, #34d399); }
.ms-card--3 { background: linear-gradient(135deg, #bfdbfe, #60a5fa); }

/* Mobile */
.mockup-mobile {
  position: absolute;
  bottom: -24px;
  right: -28px;
  width: 115px;
  background: #1a1a2e;
  border-radius: 16px;
  border: 2px solid #2a2a45;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  padding: 6px 4px;
  overflow: hidden;
}

.mockup-mobile__screen {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.ms-m-header { height: 18px; background: #0f172a; }
.ms-m-hero   { height: 42px; background: linear-gradient(135deg, #f5f3ff, #ede9fe); }

.ms-m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; }
.ms-m-card { height: 30px; border-radius: 3px; }
.ms-m-card--1 { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.ms-m-card--2 { background: linear-gradient(135deg, #bfdbfe, #60a5fa); }

.ms-m-cert {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  background: #fafafa;
  border-top: 1px solid #f1f5f9;
}

.ms-m-cert-icon { font-size: 12px; flex-shrink: 0; }

.ms-m-cert-lines { flex: 1; display: flex; flex-direction: column; gap: 3px; }

/* Floating badges */
.mockup-badge {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-text);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  animation: badge-float 3s ease-in-out infinite;
}

.mockup-badge--ssl  { top: -12px; left: 12px; animation-delay: 0s; }
.mockup-badge--cms  { bottom: 34px; left: -24px; animation-delay: 1.1s; }
.mockup-badge--cert { top: 45%; right: -18px; animation-delay: 2.2s; }

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════════════════════════════
   9. SOCIAL PROOF BAR
   ═══════════════════════════════════════════════════════════════════ */
.s-proof {
  background: var(--c-bg-subtle);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-3) 0;
}

.s-proof__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-6);
}

.s-proof__label {
  font-size: 0.78rem;
  color: var(--c-text-faint);
  font-weight: 500;
  white-space: nowrap;
}

.s-proof__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  align-items: center;
}

.s-proof__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-muted);
  padding: 0.25rem 0.875rem;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  background: #fff;
  transition: border-color var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

.s-proof__item:hover:not(.s-proof__item--more) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.s-proof__item--more {
  color: var(--c-text-faint);
  border-style: dashed;
  font-style: italic;
  cursor: default;
}

/* ═══════════════════════════════════════════════════════════════════
   10. PROBLEM (Before / After)
   ═══════════════════════════════════════════════════════════════════ */
.s-problem {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

@media (min-width: 1024px) { .s-problem { padding: var(--section-py-lg) 0; } }

.s-problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
}

@media (min-width: 768px) {
  .s-problem__grid {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--sp-8);
  }
}

.s-problem__before,
.s-problem__after {
  background: var(--c-bg);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  height: 100%;
}

.s-problem__before {
  border: 1.5px solid #fecaca;
  background: #fff8f8;
}

.s-problem__after {
  border: 2px solid var(--c-primary);
  box-shadow: 0 8px 40px rgba(99,102,241,0.12);
}

.s-problem__col-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.s-problem__emoji { font-size: 1.75rem; }

.s-problem__col-head h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.s-problem__before .s-problem__col-head h3 { color: #dc2626; }
.s-problem__after  .s-problem__col-head h3 { color: var(--c-text); }

.s-problem__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.s-problem__list li {
  display: flex;
  gap: var(--sp-3);
  font-size: 0.9rem;
  line-height: 1.6;
  align-items: flex-start;
}

.s-problem__list--bad  li span { color: var(--c-danger); font-weight: 700; flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.s-problem__list--bad  li      { color: var(--c-text-muted); }
.s-problem__list--good li span { color: var(--c-success); font-weight: 700; flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.s-problem__list--good li      { color: var(--c-text); }

.s-problem__arrow {
  display: none;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 768px) { .s-problem__arrow { display: flex; } }

.s-problem__after-cta {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.s-problem__trial-note {
  font-size: 0.8rem;
  color: var(--c-text-faint);
}

/* ═══════════════════════════════════════════════════════════════════
   11. SOLUTIONS (Tabs)
   ═══════════════════════════════════════════════════════════════════ */
.s-solutions {
  padding: var(--section-py) 0;
  background: var(--c-bg-subtle);
}

@media (min-width: 1024px) { .s-solutions { padding: var(--section-py-lg) 0; } }

/* Tab buttons */
.s-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  border-bottom: 2px solid var(--c-border);
  padding-bottom: var(--sp-4);
}

.s-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-border);
  background: #fff;
  color: var(--c-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
}

/* Hover: pakai warna produk masing-masing */
.s-tab-btn:hover {
  border-color: var(--tab-color, var(--c-primary));
  color: var(--tab-color, var(--c-primary));
  background: color-mix(in srgb, var(--tab-color, var(--c-primary)) 10%, #fff);
}

/* Active: background penuh warna produk */
.s-tab-btn--active {
  background: var(--tab-color, var(--c-primary));
  border-color: var(--tab-color, var(--c-primary));
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--tab-color, var(--c-primary)) 50%, transparent);
}

.s-tab-label { display: none; }

@media (min-width: 480px) { .s-tab-label { display: inline; } }

/* Tab panels */
.s-tab-panel { display: none; }
.s-tab-panel--active { display: block; }

/* ── Chemistry: panel wrapper punya top-accent + subtle bg warna produk ── */
.s-tab-panel--active {
  border-radius: var(--r-xl);
  border: 1.5px solid color-mix(in srgb, var(--tab-color, var(--c-primary)) 20%, transparent);
  background: color-mix(in srgb, var(--tab-color, var(--c-primary)) 3%, #fff);
  padding: var(--sp-8);
  /* Top bar tebal — penanda visual "ini yang dipilih" */
  border-top: 3px solid var(--tab-color, var(--c-primary));
  /* Animasi masuk */
  animation: panel-in 0.25s cubic-bezier(0,0,0.2,1) both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.s-tab-panel__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .s-tab-panel__inner { grid-template-columns: 1fr 1fr; }
}

.s-tab-panel__icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--r-xl);
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.s-tab-panel__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.s-tab-panel__tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tab-color, var(--c-primary));
  margin-bottom: var(--sp-3);
}

.s-tab-panel__desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.s-tab-panel__market {
  font-size: 0.82rem;
  color: var(--c-text-faint);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}

.s-tab-panel__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.s-tab-panel__highlight-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--c-text);
  line-height: 1.5;
}

.s-tab-panel__check { font-weight: 700; flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

.s-tab-panel__price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
  margin-bottom: var(--sp-5);
}

.s-tab-panel__price-from { font-size: 0.8rem; color: var(--c-text-faint); }
.s-tab-panel__price-amount { font-size: 1.5rem; font-weight: 800; color: var(--c-text); }
.s-tab-panel__price-period { font-size: 0.8rem; color: var(--c-text-faint); }

.s-tab-panel__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Tab mockup */
.tab-mockup {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.tab-mockup__browser {
  overflow: hidden;
}

.tab-mockup__bar {
  background: #f1f5f9;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--c-border);
}

.tab-mockup__bar span {
  width: 9px; height: 9px; border-radius: 50%;
}

.tab-mockup__bar span:nth-child(1) { background: #f87171; }
.tab-mockup__bar span:nth-child(2) { background: #fbbf24; }
.tab-mockup__bar span:nth-child(3) { background: #34d399; }

.tab-mockup__url {
  flex: 1; background: #fff; border: 1px solid var(--c-border);
  border-radius: 4px; padding: 2px 8px; font-size: 10px;
  color: #64748b; text-align: center; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

.tab-mockup__content { overflow: hidden; }

.tab-mockup__nav {
  padding: 10px 14px;
  display: flex;
  align-items: center;
}

.tm-logo { width: 60px; height: 8px; border-radius: 3px; }

.tab-mockup__hero {
  padding: 16px 14px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.tm-h1 { height: 11px; width: 70%; border-radius: 4px; }
.tm-sub { height: 6px; width: 90%; border-radius: 3px; background: rgba(0,0,0,0.08); }
.tm-cta { width: 60px; height: 18px; border-radius: 4px; margin-top: 6px; }

.tab-mockup__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 7px;
  padding: 12px 14px;
}

.tm-card { height: 50px; border-radius: 6px; background: #f8f9fc; }

.tab-mockup__badge {
  position: absolute;
  bottom: -1px; right: -1px;
  padding: 0.4rem 1rem;
  border-radius: var(--r-xl) 0 var(--r-xl) 0;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid;
}

.s-solutions__consult {
  text-align: center;
  margin-top: var(--sp-10);
  padding: var(--sp-6);
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
}

.s-solutions__consult p {
  color: var(--c-text-muted);
  font-size: 1rem;
  margin-bottom: var(--sp-4);
}

/* ═══════════════════════════════════════════════════════════════════
   12. STEPS
   ═══════════════════════════════════════════════════════════════════ */
.s-steps {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

@media (min-width: 1024px) { .s-steps { padding: var(--section-py-lg) 0; } }

.s-steps__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  position: relative;
  margin-bottom: var(--sp-10);
}

@media (min-width: 768px) {
  .s-steps__track {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-4);
  }
}

.s-steps__connector {
  display: none;
}

@media (min-width: 768px) {
  .s-steps__connector {
    display: block;
    position: absolute;
    top: 28px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
    z-index: 0;
    opacity: 0.3;
  }
}

.s-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.s-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
  flex-shrink: 0;
}

.s-step__num--final { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 16px rgba(16,185,129,0.4); }

.s-step__body { max-width: 220px; }

.s-step__time {
  display: inline-block;
  background: #ede9fe;
  color: var(--c-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.s-step__time--final { background: #d1fae5; color: #059669; }

.s-step h3 { font-size: 1rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-2); }
.s-step p  { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.6; }

.s-steps__cta { text-align: center; }

/* ═══════════════════════════════════════════════════════════════════
   13. SECURITY SECTION
   ═══════════════════════════════════════════════════════════════════ */
.s-security {
  padding: var(--section-py) 0;
  background: var(--g-security);
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .s-security { padding: var(--section-py-lg) 0; } }

.s-security__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.s-security__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

@media (min-width: 640px) { .s-security__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .s-security__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }

.s-security__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  backdrop-filter: blur(8px);
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.s-security__card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(99,102,241,0.4);
}

.s-security__card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-lg);
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  margin-bottom: var(--sp-4);
}

.s-security__card-icon--gcloud   { background: rgba(66,133,244,0.2);  border-color: rgba(66,133,244,0.3);  color: #93c5fd; }
.s-security__card-icon--vercel   { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #f1f5f9; }
.s-security__card-icon--isolation{ background: rgba(16,185,129,0.2);  border-color: rgba(16,185,129,0.3);  color: #6ee7b7; }
.s-security__card-icon--hmac     { background: rgba(245,158,11,0.2);  border-color: rgba(245,158,11,0.3);  color: #fcd34d; }
.s-security__card-icon--monitor  { background: rgba(239,68,68,0.15);  border-color: rgba(239,68,68,0.25);  color: #fca5a5; }

.s-security__card h3 {
  font-size: 1.025rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-2);
}

.s-security__card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.s-security__badge {
  display: inline-block;
  background: rgba(99,102,241,0.2);
  border: 1px solid rgba(99,102,241,0.35);
  color: #a5b4fc;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
}

.s-security__badge--gcloud    { background: rgba(66,133,244,0.2);  border-color: rgba(66,133,244,0.35);  color: #93c5fd; }
.s-security__badge--vercel    { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2);  color: #e2e8f0; }
.s-security__badge--isolation { background: rgba(16,185,129,0.2);  border-color: rgba(16,185,129,0.35);  color: #6ee7b7; }
.s-security__badge--hmac      { background: rgba(245,158,11,0.2);  border-color: rgba(245,158,11,0.35);  color: #fcd34d; }

.s-security__statement {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  backdrop-filter: blur(8px);
}

.s-security__statement-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.s-security__statement h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-2);
}

.s-security__statement p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   14. PRICING
   ═══════════════════════════════════════════════════════════════════ */
.s-pricing {
  padding: var(--section-py) 0;
  background: var(--c-bg-subtle);
}

@media (min-width: 1024px) { .s-pricing { padding: var(--section-py-lg) 0; } }

.s-pricing__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}

.s-pricing__proof-icons {
  display: flex;
  gap: -4px;
  font-size: 1.1rem;
}

.s-pricing__proof p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

.s-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
  margin-bottom: var(--sp-8);
}

@media (min-width: 768px) {
  .s-pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    align-items: stretch;
  }
}

.s-pricing__card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.s-pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.s-pricing__card--featured {
  border: 2px solid var(--c-primary);
  box-shadow: 0 8px 40px rgba(99,102,241,0.18);
}

.s-pricing__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--g-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}

.s-pricing__card-top {
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}

.s-pricing__tier-icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.s-pricing__tier-name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-1); }
.s-pricing__tier-label { font-size: 0.8rem; color: var(--c-text-faint); }

.s-pricing__price-block { margin-bottom: var(--sp-5); }

.s-pricing__monthly {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.s-pricing__currency { font-size: 1rem; font-weight: 600; color: var(--c-text-muted); }
.s-pricing__amount   { font-size: 2.75rem; font-weight: 900; color: var(--c-text); letter-spacing: -0.04em; line-height: 1; }
.s-pricing__mo       { font-size: 0.9rem; color: var(--c-text-muted); }

.s-pricing__annual {
  font-size: 0.78rem;
  color: var(--c-text-faint);
  margin-top: var(--sp-2);
}

.s-pricing__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  flex: 1;
}

.s-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.s-pricing__features li svg { flex-shrink: 0; margin-top: 2px; }

.s-pricing__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.s-pricing__reassure {
  text-align: center;
  font-size: 0.72rem;
  color: var(--c-text-faint);
}

.s-pricing__note {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  text-align: center;
}

.s-pricing__note p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}

.s-pricing__note p:last-child { margin-bottom: 0; }
.s-pricing__note a { color: var(--c-primary); font-weight: 600; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════
   15. FAQ
   ═══════════════════════════════════════════════════════════════════ */
.s-faq {
  padding: var(--section-py) 0;
  background: var(--c-bg);
}

@media (min-width: 1024px) { .s-faq { padding: var(--section-py-lg) 0; } }

.s-faq__list {
  max-width: 780px;
  margin: 0 auto var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.s-faq__item {
  background: var(--c-bg-subtle);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.s-faq__item[open] { border-color: var(--c-primary); }

.s-faq__q {
  padding: var(--sp-5) var(--sp-6);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  user-select: none;
  line-height: 1.5;
}

.s-faq__q::-webkit-details-marker { display: none; }

.s-faq__q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease);
  line-height: 1;
}

details[open] .s-faq__q::after { transform: rotate(45deg); }
.s-faq__q:hover { color: var(--c-primary); background: #f8f7ff; }

.s-faq__a {
  padding: 0 var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--c-border);
}

.s-faq__a p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  padding-top: var(--sp-4);
}

.s-faq__more {
  text-align: center;
}

.s-faq__more p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}

/* ═══════════════════════════════════════════════════════════════════
   16. FINAL CTA
   ═══════════════════════════════════════════════════════════════════ */
.s-final-cta {
  padding: var(--section-py) 0;
  background: var(--g-cta);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .s-final-cta { padding: var(--section-py-lg) 0; } }

.s-final-cta__bg-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.s-final-cta__inner { position: relative; z-index: 1; }

.s-final-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.s-final-cta__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.s-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-bottom: var(--sp-5);
}

.s-final-cta__reassure {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
}

/* ═══════════════════════════════════════════════════════════════════
   17. FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-bg-darker);
  color: #94a3b8;
}

.footer-main {
  padding: var(--sp-16) 0 var(--sp-10);
  border-bottom: 1px solid var(--c-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-10); } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: var(--sp-4);
}

.footer-tagline {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.footer-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.footer-trust-chip {
  font-size: 0.7rem;
  color: #475569;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-contact-link:hover { color: #fff; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-links a {
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  transition: color var(--t-fast);
  display: block;
}

.footer-links a:hover { color: #fff; }

.footer-infra-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.footer-infra-chip {
  font-size: 0.7rem;
  color: #334155;
  background: rgba(255,255,255,0.03);
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-sm);
}

.footer-bottom { padding: var(--sp-5) 0; }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
}

.footer-bottom-inner p { font-size: 0.8rem; color: #334155; }

/* ═══════════════════════════════════════════════════════════════════
   18. RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .s-hero__stats      { gap: var(--sp-1); }
  .s-hero__stat strong { font-size: 1.2rem; }
  .s-steps__track     { gap: var(--sp-4); }
  .s-pricing__card    { padding: var(--sp-6); }
  .s-security__statement { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════════════
   19. COMPATIBILITY — halaman non-index (checkout, pricing, dll)
       Menjaga class lama tetap berfungsi dengan design system baru
   ═══════════════════════════════════════════════════════════════════ */

/* Page header (pricing, products, contact) */
.page-header {
  background: var(--g-hero);
  color: #fff;
  padding: var(--sp-12) 0 var(--sp-10);
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: #fff;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
}

/* Generic section */
.features, .how-it-works, .pricing-section, .pricing-preview,
.comparison-section, .faq-section, .success-section, .checkout-section,
.contact-section, .products-full, .live-sites, .testimonials,
.value-comparison, .trust-signals, .pain-gain, .products-v2 {
  padding: var(--section-py) 0;
}

@media (min-width: 1024px) {
  .features, .how-it-works, .pricing-section, .pricing-preview,
  .comparison-section, .faq-section, .contact-section,
  .live-sites, .testimonials, .value-comparison, .trust-signals {
    padding: var(--section-py-lg) 0;
  }
}

.section-light, .products-full { background: var(--c-bg-subtle); }
.features, .how-it-works, .pricing-section { background: var(--c-bg); }

/* CTA section compat */
.cta {
  background: var(--g-cta);
  color: #fff;
  padding: var(--sp-16) 0;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: #fff;
}

.cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-6);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* Generic button compat */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.65rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-primary  { background: var(--g-brand); color: #fff; box-shadow: 0 4px 16px rgba(99,102,241,0.35); }
.btn-primary:hover { box-shadow: 0 8px 28px rgba(99,102,241,0.5); transform: translateY(-2px); color: #fff; }
.btn-outline  { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-white    { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn-white:hover { background: #f0f4ff; }
.btn-outline-white { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-lg       { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-block    { display: flex; width: 100%; }
.btn-sm       { padding: 0.4rem 1rem; font-size: 0.82rem; }

/* Section titles compat */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  text-align: center;
  margin-bottom: var(--sp-3);
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.section-header-center { text-align: center; margin-bottom: var(--sp-10); }

.section-eyebrow {
  display: inline-block;
  background: #ede9fe;
  color: var(--c-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

/* Checkout form compat */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}

@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: 1.5fr 1fr; gap: var(--sp-12); }
}

.checkout-form-container h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}

.checkout-form, .checkout-summary {
  background: #fff;
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.checkout-summary h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.form-group { margin-bottom: var(--sp-5); }

.form-group label {
  display: block;
  margin-bottom: var(--sp-2);
  font-weight: 600;
  color: var(--c-text);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: #fff;
  transition: border-color var(--t-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.form-group small {
  display: block;
  margin-top: var(--sp-1);
  font-size: 0.8rem;
  color: var(--c-text-faint);
}

/* Success card */
.success-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: var(--sp-10);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1.5px solid var(--c-border);
}

.success-icon { font-size: 4rem; margin-bottom: var(--sp-4); }
.success-card h1 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; margin-bottom: var(--sp-3); }

/* Pricing compat */
.pricing-grid, .pricing-grid-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

@media (min-width: 768px) {
  .pricing-grid, .pricing-grid-preview { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card, .pricing-preview-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  transition: all var(--t-base) var(--ease);
}

.pricing-card:hover, .pricing-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.recommended, .pricing-preview-card.popular {
  border-color: var(--c-primary);
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
}

.recommended-badge, .popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--g-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.price { text-align: center; margin: var(--sp-5) 0; padding: var(--sp-5) 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.price .currency { font-size: 1rem; color: var(--c-text-muted); }
.price .amount { font-size: 2.5rem; font-weight: 900; color: var(--c-text); letter-spacing: -0.04em; }
.price .period { font-size: 0.9rem; color: var(--c-text-muted); }
.price-monthly-equiv, .price-monthly-hint { font-size: 0.78rem; color: var(--c-text-faint); text-align: center; margin-bottom: var(--sp-4); }

.features-list { list-style: none; margin: var(--sp-4) 0; }
.features-list li {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-bg-subtle);
  font-size: 0.875rem;
  color: var(--c-text-muted);
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}
.features-list li::before { content: '✓'; color: var(--c-success); font-weight: 700; flex-shrink: 0; }

.pricing-note {
  background: var(--c-bg-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
}
.pricing-note p { font-size: 0.9rem; color: var(--c-text-muted); margin-bottom: var(--sp-2); }
.pricing-note a { color: var(--c-primary); font-weight: 600; }

/* Comparison table */
.table-wrapper { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--c-border); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 500px; font-size: 0.875rem; }
.comparison-table th { background: var(--c-text); color: #fff; padding: var(--sp-4) var(--sp-5); text-align: left; font-weight: 700; }
.comparison-table th.highlighted-col { background: var(--c-primary); }
.comparison-table td { padding: 0.875rem var(--sp-5); border-bottom: 1px solid var(--c-bg-subtle); color: var(--c-text-muted); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--c-bg-subtle); }
.comparison-table td.highlighted-col { background: #f5f3ff; font-weight: 600; color: var(--c-primary-dk); }

/* FAQ compat */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--c-bg-subtle); border: 1.5px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--t-fast); }
.faq-item[open] { border-color: var(--c-primary); }
.faq-question { padding: var(--sp-5) var(--sp-6); font-weight: 600; font-size: 0.95rem; color: var(--c-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--c-primary); flex-shrink: 0; transition: transform var(--t-base); line-height: 1; }
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { color: var(--c-primary); background: #f8f7ff; }
.faq-answer { padding: 0 var(--sp-6) var(--sp-5); border-top: 1px solid var(--c-border); }
.faq-answer p { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.75; padding-top: var(--sp-4); }

/* Products list compat */
.products-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.product-list-card {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: auto 1fr auto;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.product-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--c-primary); }
.plc-accent { width: 5px; }
.plc-icon   { font-size: 2.5rem; padding: var(--sp-6) var(--sp-4) var(--sp-6) var(--sp-5); display: flex; align-items: flex-start; padding-top: 1.75rem; }
.plc-body   { padding: var(--sp-5) var(--sp-3) var(--sp-5) 0; }
.plc-name   { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-1); }
.plc-tagline { font-size: 0.82rem; color: var(--c-primary); font-weight: 600; margin-bottom: var(--sp-2); }
.plc-desc   { font-size: 0.875rem; color: var(--c-text-muted); line-height: 1.65; margin-bottom: var(--sp-3); }
.plc-highlights { list-style: none; margin-bottom: var(--sp-3); }
.plc-highlights li { font-size: 0.82rem; color: var(--c-text-muted); display: flex; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-1) 0; }
.plc-highlights li span { color: var(--c-success); font-weight: 700; flex-shrink: 0; }
.plc-market { font-size: 0.78rem; color: var(--c-text-faint); }
.plc-label  { font-weight: 600; color: var(--c-text-muted); }
.plc-action { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); justify-content: center; min-width: 160px; border-left: 1px solid var(--c-bg-subtle); }
.plc-price  { text-align: center; padding-bottom: var(--sp-3); border-bottom: 1px solid var(--c-bg-subtle); margin-bottom: var(--sp-1); }
.plc-price-from { display: block; font-size: 0.72rem; color: var(--c-text-faint); }
.plc-price strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--c-text); }
.plc-price-period { font-size: 0.72rem; color: var(--c-text-faint); }

/* Contact page compat */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: var(--sp-16); } }
.contact-form-wrap h2 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-2); }
.contact-form-sub { font-size: 0.9rem; color: var(--c-text-muted); margin-bottom: var(--sp-6); line-height: 1.65; }
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.contact-label { font-weight: 600; font-size: 0.875rem; color: var(--c-text); }
.required-mark { color: var(--c-danger); }
.contact-input { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--c-border); border-radius: var(--r-md); font-size: 1rem; font-family: var(--font-sans); color: var(--c-text); background: #fff; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.contact-input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.contact-textarea { resize: vertical; min-height: 120px; }
.contact-hint { font-size: 0.78rem; color: var(--c-text-faint); }
.contact-channel { background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-6); display: flex; gap: var(--sp-4); transition: border-color var(--t-fast); }
.contact-channel:hover { border-color: var(--c-primary); }
.contact-channel--primary { border-color: var(--c-primary); background: #f5f3ff; }
.contact-channel-icon { font-size: 1.75rem; flex-shrink: 0; }
.contact-channel-body h3 { font-size: 1rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--sp-2); }
.contact-channel-body p  { font-size: 0.875rem; color: var(--c-text-muted); line-height: 1.6; margin-bottom: var(--sp-3); }
.contact-link { color: var(--c-primary); font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.contact-info-wrap { display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-trust { background: var(--c-bg-subtle); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.contact-trust-item { font-size: 0.85rem; color: var(--c-text-muted); }
.contact-alert { padding: 0.875rem var(--sp-5); border-radius: var(--r-md); font-size: 0.9rem; font-weight: 600; margin-bottom: var(--sp-5); }
.contact-alert--success { background: #ecfdf5; color: #065f46; border: 1.5px solid #6ee7b7; }
.contact-alert--error   { background: #fef2f2; color: #991b1b; border: 1.5px solid #fca5a5; }
.contact-hours { margin: 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.contact-hours-row { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: 0.82rem; }
.contact-hours-row dt { color: var(--c-text-muted); font-weight: 500; }
.contact-hours-row dd { color: var(--c-text); font-weight: 600; margin: 0; }

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  bottom: var(--sp-4);
  right: var(--sp-4);
  width: 44px; height: 44px;
  background: var(--g-brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) var(--ease);
  z-index: 990;
  cursor: pointer;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99,102,241,0.5); }

/* ═══════════════════════════════════════════════════════════════════
   HERO-TW — CSS-only refactor, no Tailwind, CSP-safe
   ═══════════════════════════════════════════════════════════════════ */

/* Override lama — sembunyikan hero lama */
.s-hero { display: none !important; }

.hero-tw {
  position: relative;
  overflow: hidden;
  background: #0a0a14;
  padding: 6rem 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-tw { padding: 7rem 0 6rem; }
}

/* Background orbs */
.hero-tw__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.hero-tw__orb--1 {
  width: 550px; height: 550px;
  background: #6366f1;
  opacity: 0.12;
  top: -150px; right: -100px;
}

.hero-tw__orb--2 {
  width: 350px; height: 350px;
  background: #8b5cf6;
  opacity: 0.10;
  bottom: -80px; left: -80px;
}

/* 2-column grid */
.hero-tw__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-tw__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

/* ── Copy side ── */
.hero-tw__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 560px;
}

.hero-tw__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-tw__pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

/* H1 — Playfair Display, sangat besar */
.hero-tw__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}

.hero-tw__h1-em {
  font-style: italic;
  background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tw__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin: 0;
  max-width: 500px;
}

.hero-tw__sub strong { color: #fff; font-weight: 600; }

/* CTA row */
.hero-tw__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.hero-tw__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(99,102,241,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
}

.hero-tw__btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(168,85,247,0.55);
  color: #fff;
}

.hero-tw__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-tw__btn-ghost:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Reassure */
.hero-tw__reassure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Stats */
.hero-tw__stats {
  display: flex;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 0;
}

.hero-tw__stat {
  flex: 1;
  min-width: 70px;
  text-align: center;
  padding: 0 0.75rem;
}

.hero-tw__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-tw__stat span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-tw__stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0.25rem 0;
  align-self: stretch;
}

/* ── Visual side ── */
.hero-tw__visual {
  display: none;
}

@media (min-width: 1024px) {
  .hero-tw__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 480px;
  }
}

.hero-tw__mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Glassmorphism main card */
.hero-tw__glass-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

/* Browser bar */
.hero-tw__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-tw__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-tw__dot--r { background: rgba(248,113,113,0.8); }
.hero-tw__dot--y { background: rgba(251,191,36,0.8); }
.hero-tw__dot--g { background: rgba(52,211,153,0.8); }

.hero-tw__url-bar {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Site inner */
.hero-tw__site-inner { overflow: hidden; }

/* Sim navbar */
.hero-tw__sim-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #0f172a;
}

.hero-tw__sim-logo {
  height: 8px; width: 56px;
  background: rgba(99,102,241,0.6);
  border-radius: 3px;
}

.hero-tw__sim-nav-links {
  display: flex;
  gap: 8px;
}

.hero-tw__sim-nav-links span {
  display: block;
  height: 5px; width: 26px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}

.hero-tw__sim-nav-active {
  background: rgba(99,102,241,0.7) !important;
}

/* Sim hero area */
.hero-tw__sim-hero {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(109,40,217,0.3), rgba(99,102,241,0.15));
  min-height: 96px;
}

.hero-tw__sim-hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.hero-tw__sim-hero-img {
  width: 72px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(167,139,250,0.4), rgba(99,102,241,0.3));
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Sim lines */
.hero-tw__sim-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(167,139,250,0.35);
}

.hero-tw__sim-line--h1   { width: 72%; background: rgba(139,92,246,0.65); height: 10px; }
.hero-tw__sim-line--sub  { width: 90%; }
.hero-tw__sim-line--short { width: 55% !important; }
.hero-tw__sim-line--xs   { width: 68%; height: 5px; background: rgba(255,255,255,0.2); }

.hero-tw__sim-cta {
  width: 58px; height: 18px;
  background: rgba(99,102,241,0.8);
  border-radius: 5px;
  margin-top: 6px;
}

/* Sim grid */
.hero-tw__sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 16px;
  background: rgba(15,23,42,0.8);
}

.hero-tw__sim-card {
  height: 52px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-tw__sim-card--1 { background: linear-gradient(135deg, rgba(251,191,36,0.4), rgba(245,158,11,0.25)); }
.hero-tw__sim-card--2 { background: linear-gradient(135deg, rgba(52,211,153,0.35), rgba(16,185,129,0.2)); }
.hero-tw__sim-card--3 { background: linear-gradient(135deg, rgba(96,165,250,0.4), rgba(59,130,246,0.25)); }

/* Sim cert */
.hero-tw__sim-cert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(245,158,11,0.08);
  border-top: 1px solid rgba(245,158,11,0.2);
}

.hero-tw__sim-cert-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.hero-tw__sim-cert-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-tw__sim-cert-badge {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.3);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Floating badges */
.hero-tw__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid rgba(226,232,240,0.8);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.hero-tw__badge--ssl  { top: -14px; left: 16px; animation: badge-float 3s ease-in-out infinite; }
.hero-tw__badge--cms  { bottom: 48px; left: -24px; animation: badge-float 3.5s ease-in-out infinite; animation-delay: 0.8s; }
.hero-tw__badge--cert { top: 42%; right: -20px; animation: badge-float 4s ease-in-out infinite; animation-delay: 1.6s; }

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* Mini mobile */
.hero-tw__mobile {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 100px;
  border-radius: 16px;
  background: #1a1a2e;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  overflow: hidden;
  padding: 5px 3px;
}

.hero-tw__mobile-header {
  height: 14px;
  background: #0f172a;
  border-radius: 6px;
  margin-bottom: 2px;
}

.hero-tw__mobile-hero {
  height: 36px;
  background: linear-gradient(135deg, rgba(109,40,217,0.4), rgba(99,102,241,0.2));
  border-radius: 4px;
  margin-bottom: 3px;
}

.hero-tw__mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 0 1px;
  margin-bottom: 3px;
}

.hero-tw__mobile-card {
  height: 28px;
  border-radius: 3px;
}

.hero-tw__mobile-card--1 { background: rgba(251,191,36,0.35); }
.hero-tw__mobile-card--2 { background: rgba(96,165,250,0.35); }

.hero-tw__mobile-cert {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px;
  background: rgba(245,158,11,0.08);
  border-top: 1px solid rgba(245,158,11,0.15);
  font-size: 9px;
}

/* ═══════════════════════════════════════════════════════════════════
   PROBLEM-TW — CSS-only visual cards, no Tailwind
   ═══════════════════════════════════════════════════════════════════ */

/* Override lama */
.s-problem { display: none !important; }

.prob-tw {
  position: relative;
  padding: 6rem 0 7rem;
  background: #06060e;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .prob-tw { padding: 8rem 0 9rem; }
}

/* Background grid */
.prob-tw__bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.prob-tw__header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 4rem;
}

/* 2-column grid */
.prob-tw__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .prob-tw__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Cards */
.prob-tw__card {
  border-radius: 1.25rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.prob-tw__card--before {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.08);
}

.prob-tw__card--after {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.05));
  border: 2px solid rgba(99,102,241,0.35);
  box-shadow: 0 0 40px rgba(99,102,241,0.08);
}

.prob-tw__glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  filter: blur(40px);
  pointer-events: none;
}

/* Card header */
.prob-tw__card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.prob-tw__card-icon {
  width: 52px; height: 52px;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.prob-tw__card-icon--bad  { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); }
.prob-tw__card-icon--good { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); }

.prob-tw__card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem;
}

.prob-tw__card-subtitle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.prob-tw__card-subtitle--good { color: rgba(52,211,153,0.7); }

/* Items */
.prob-tw__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prob-tw__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
}

.prob-tw__item--bad  { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.12); }
.prob-tw__item--good { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.12); }

.prob-tw__item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0;
}

.prob-tw__item--good p { color: rgba(255,255,255,0.82); }

.prob-tw__item p strong { color: rgba(255,255,255,0.9); }

.prob-tw__item-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.prob-tw__item-icon--bad  { background: rgba(239,68,68,0.2); border: 1px solid rgba(239,68,68,0.35); color: #f87171; }
.prob-tw__item-icon--good { background: rgba(16,185,129,0.2); border: 1px solid rgba(16,185,129,0.4); color: #34d399; }

.prob-tw__highlight { color: #34d399; font-weight: 700; }

/* CTA di kartu kanan */
.prob-tw__card-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.prob-tw__trial-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════════════════════════════════
   SECURITY REFACTOR — Trust Seals, Bank-Grade prominent
   ═══════════════════════════════════════════════════════════════════ */

/* Override section padding ke 8rem */
.s-security {
  padding: 8rem 0 !important;
  background: var(--g-security);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .s-security { padding: 9rem 0 !important; }
}

/* "Bank-Grade Security" banner — menonjol di atas grid */
.s-security__bank-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.15));
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.s-security__bank-banner-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.s-security__bank-banner-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #a5b4fc;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.s-security__bank-banner-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Grid 3 kolom di desktop */
.s-security__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .s-security__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .s-security__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Security cards — glassmorphism tipis */
.s-security__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.s-security__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.s-security__card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-4px);
}

.s-security__card:hover::before { opacity: 1; }

/* Icon containers */
.s-security__card-icon {
  width: 52px; height: 52px;
  border-radius: 0.875rem;
  background: rgba(99,102,241,0.18);
  border: 1px solid rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.s-security__card-icon--gcloud    { background: rgba(66,133,244,0.18);  border-color: rgba(66,133,244,0.3);  color: #93c5fd; }
.s-security__card-icon--vercel    { background: rgba(255,255,255,0.1);  border-color: rgba(255,255,255,0.2); color: #f1f5f9; }
.s-security__card-icon--isolation { background: rgba(16,185,129,0.18);  border-color: rgba(16,185,129,0.3);  color: #6ee7b7; }
.s-security__card-icon--hmac      { background: rgba(245,158,11,0.18);  border-color: rgba(245,158,11,0.3);  color: #fcd34d; }
.s-security__card-icon--monitor   { background: rgba(239,68,68,0.15);   border-color: rgba(239,68,68,0.25);  color: #fca5a5; }

.s-security__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.s-security__card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Badges */
.s-security__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(99,102,241,0.18);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.s-security__badge--gcloud    { background: rgba(66,133,244,0.18);  border-color: rgba(66,133,244,0.3);  color: #93c5fd; }
.s-security__badge--vercel    { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #e2e8f0; }
.s-security__badge--isolation { background: rgba(16,185,129,0.18);  border-color: rgba(16,185,129,0.3);  color: #6ee7b7; }
.s-security__badge--hmac      { background: rgba(245,158,11,0.18);  border-color: rgba(245,158,11,0.3);  color: #fcd34d; }

/* Trust statement */
.s-security__statement {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  backdrop-filter: blur(8px);
}

.s-security__statement-icon {
  font-size: 2.25rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.s-security__statement h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.s-security__statement p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

/* Section header light variants */
.s-section-header--light { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.s-section-title--light  { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.625rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: #fff; margin-bottom: 1rem; }
.s-section-sub--light    { font-size: 1.05rem; color: rgba(255,255,255,0.6); line-height: 1.75; }
.s-eyebrow--light        { background: rgba(99,102,241,0.18); border: 1px solid rgba(99,102,241,0.3); color: #a5b4fc; display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 0.3rem 1rem; border-radius: 999px; margin-bottom: 1rem; }

/* ═══════════════════════════════════════════════════════════════════
   PRICING REFACTOR — Decoy effect, Pro card pop-out, micro-copy
   ═══════════════════════════════════════════════════════════════════ */

.s-pricing {
  padding: 8rem 0;
  background: #07070f;
}

@media (min-width: 1024px) {
  .s-pricing { padding: 9rem 0; }
}

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

/* Social proof row */
.s-pricing__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.s-pricing__proof-icons {
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
}

.s-pricing__proof p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.s-pricing__proof p strong { color: rgba(255,255,255,0.85); }

/* Pricing grid — 3 kolom, Pro di tengah pop-out */
.s-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .s-pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

/* Default card */
.s-pricing__card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.s-pricing__card:hover {
  border-color: rgba(99,102,241,0.35);
  transform: translateY(-3px);
}

/* Pro card — pop-out, decoy effect */
.s-pricing__card--featured {
  background: #fff;
  border: 2px solid #6366f1;
  border-radius: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(99,102,241,0.15),
    0 8px 40px rgba(99,102,241,0.25),
    0 0 60px rgba(99,102,241,0.1);
  transform: scale(1.04);
  z-index: 2;
}

@media (min-width: 768px) {
  .s-pricing__card--featured {
    transform: scale(1.06);
    margin-top: -0.75rem;
    margin-bottom: -0.75rem;
  }
}

.s-pricing__card--featured:hover {
  transform: scale(1.07);
  box-shadow:
    0 0 0 1px rgba(99,102,241,0.2),
    0 16px 56px rgba(99,102,241,0.35),
    0 0 80px rgba(99,102,241,0.15);
}

/* Badge "Paling Dipilih" */
.s-pricing__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(99,102,241,0.5);
}

/* Card sections */
.s-pricing__card-top {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.s-pricing__card--featured .s-pricing__card-top {
  border-bottom-color: rgba(99,102,241,0.15);
}

.s-pricing__tier-icon {
  font-size: 1.875rem;
  margin-bottom: 0.875rem;
  line-height: 1;
}

.s-pricing__tier-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: rgba(255,255,255,0.9);
}

.s-pricing__card--featured .s-pricing__tier-name { color: #0f172a; }

.s-pricing__tier-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.s-pricing__card--featured .s-pricing__tier-label { color: #64748b; }

/* Price block */
.s-pricing__price-block {
  margin-bottom: 1.5rem;
}

.s-pricing__monthly {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.s-pricing__currency {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.s-pricing__card--featured .s-pricing__currency { color: #64748b; }

.s-pricing__amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.s-pricing__card--featured .s-pricing__amount { color: #0f172a; }

.s-pricing__mo {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

.s-pricing__card--featured .s-pricing__mo { color: #94a3b8; }

.s-pricing__annual {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.35rem;
}

.s-pricing__card--featured .s-pricing__annual { color: #94a3b8; }

/* Features list */
.s-pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.s-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.s-pricing__card--featured .s-pricing__features li { color: #475569; }

.s-pricing__features li svg { flex-shrink: 0; margin-top: 2px; }

/* CTA button */
.s-pricing__cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.875rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.s-pricing__cta:hover {
  transform: translateY(-2px) scale(1.02);
}

.s-pricing__card--featured .s-pricing__cta {
  box-shadow: 0 4px 24px rgba(99,102,241,0.45);
}

.s-pricing__card--featured .s-pricing__cta:hover {
  box-shadow: 0 8px 32px rgba(99,102,241,0.6);
  transform: translateY(-2px) scale(1.03);
}

/* Micro-copy loss aversion — tepat di bawah tombol */
.s-pricing__reassure {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.s-pricing__card--featured .s-pricing__reassure { color: #94a3b8; }

/* Pricing note */
.s-pricing__note {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
}

.s-pricing__note p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.s-pricing__note p:last-child { margin-bottom: 0; }
.s-pricing__note a { color: #818cf8; font-weight: 600; text-decoration: underline; }
.s-pricing__note a:hover { color: #a5b4fc; }

/* btn-cta-outline dark mode (untuk card non-featured yang dark) */
.s-pricing__card:not(.s-pricing__card--featured) .btn-cta-outline {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
  background: transparent;
}

.s-pricing__card:not(.s-pricing__card--featured) .btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES — Build MKT-B10
   Standar: WCAG 2.5.5 (44px tap target), iOS Safari dvh, fluid spacing
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Hero: 100dvh untuk iOS Safari / Chrome Android ─────────────
   100vh memasukkan address bar → konten hero terpotong
   Fallback: 100vh (browser lama), override: 100dvh (modern)        */
.hero-tw {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── 2. Hero: CTA buttons — pastikan tap target ≥ 44px ─────────── */
@media (max-width: 767px) {
  .hero-tw__btn-primary,
  .hero-tw__btn-ghost {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
  .hero-tw__cta-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ── 3. Problem cards: kurangi padding di mobile ─────────────────── */
@media (max-width: 767px) {
  .prob-tw__card {
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .prob-tw {
    padding: 4rem 0 5rem;
  }
}

/* ── 4. Pricing: cegah scale overflow di tablet (768px–1023px) ───── */
@media (min-width: 768px) and (max-width: 1023px) {
  .s-pricing__card--featured {
    transform: scale(1.02);
    margin-top: -0.25rem;
    margin-bottom: -0.25rem;
  }
  .s-pricing__card--featured:hover {
    transform: scale(1.03);
  }
  .s-pricing__grid {
    gap: 0.875rem;
  }
}

/* ── 5. Mobile menu: max-height + overflow-y scroll ─────────────── */
@media (max-width: 767px) {
  .header-nav.open {
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── 6. Security statement: center ikon saat column di mobile ────── */
@media (max-width: 767px) {
  .s-security__statement {
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  .s-security__statement-icon {
    font-size: 2rem;
  }
}

/* ── 7. Solutions tabs: GRID 2×3 di mobile — semua 6 pilihan terlihat ──
   Neuromarketing: semua opsi visible = user sadar ada banyak pilihan.
   Warna per produk (--tab-color) konsisten dari grid ke panel.        */
@media (max-width: 767px) {
  .s-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    overflow-x: visible;
    flex-wrap: unset;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--c-border);
  }

  .s-tab-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.875rem 0.5rem;
    min-height: 72px;
    border-radius: 0.875rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }

  .s-tab-btn span:first-child {
    font-size: 1.5rem;
    line-height: 1;
  }

  .s-tab-label {
    display: block !important;
    font-size: 0.75rem;
  }

  /* Active: warna produk masing-masing */
  .s-tab-btn--active {
    background: var(--tab-color, var(--c-primary));
    border-color: var(--tab-color, var(--c-primary));
    color: #fff;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--tab-color, var(--c-primary)) 45%, transparent);
    transform: scale(1.03);
  }

  /* Hover non-active: tint warna produk */
  .s-tab-btn:not(.s-tab-btn--active):hover,
  .s-tab-btn:not(.s-tab-btn--active):focus-visible {
    border-color: var(--tab-color, var(--c-primary));
    color: var(--tab-color, var(--c-primary));
    background: color-mix(in srgb, var(--tab-color, var(--c-primary)) 10%, #fff);
  }

  /* Panel di mobile: padding lebih kecil */
  .s-tab-panel--active {
    padding: var(--sp-5);
    border-radius: var(--r-lg);
  }
}

/* ── 8. Footer: pemisah visual antar kolom di mobile ─────────────── */
@media (max-width: 639px) {
  .footer-brand-col {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .footer-links-col {
    padding-top: 0;
  }
  .footer-grid {
    gap: 1.5rem;
  }
}

/* ── 9. Announcement banner: word-break di mobile ────────────────── */
@media (max-width: 767px) {
  .mkt-announcement-bar .container {
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem !important;
  }
  .mkt-announcement-bar span {
    word-break: break-word;
    text-align: center;
  }
}

/* ── 10. Steps section: layout mobile lebih rapat ────────────────── */
@media (max-width: 767px) {
  .s-steps__track {
    gap: 2rem;
  }
  .s-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1rem;
  }
  .s-step__num {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .s-step__body {
    max-width: 100%;
    padding-top: 0.1rem;
  }
  .s-steps { padding: 4rem 0; }
}

/* ── 11. FAQ: padding lebih kecil di mobile ──────────────────────── */
@media (max-width: 767px) {
  .s-faq__q {
    padding: var(--sp-4) var(--sp-5);
    font-size: 0.9rem;
  }
  .s-faq__a {
    padding: 0 var(--sp-5) var(--sp-4);
  }
}

/* ── 12. Social proof bar: wrap rapi di mobile ───────────────────── */
@media (max-width: 639px) {
  .s-proof__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .s-proof__label {
    font-size: 0.72rem;
  }
}

/* ── 13. Pricing: kartu full-width di mobile, tanpa scale ────────── */
@media (max-width: 767px) {
  .s-pricing__card--featured {
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
    order: -1; /* Featured card tampil paling atas di mobile */
  }
  .s-pricing__card--featured:hover {
    transform: translateY(-3px);
  }
  .s-pricing__grid {
    gap: 1.25rem;
  }
}

/* ── 14. General: semua tombol CTA min tap target 44px ──────────── */
@media (max-width: 767px) {
  .btn-cta-primary,
  .btn-cta-outline,
  .btn-cta-ghost {
    min-height: 44px;
  }
  .header-cta-btn {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

/* ── 15. Final CTA: actions full-width di mobile ─────────────────── */
@media (max-width: 767px) {
  .s-final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .s-final-cta__actions a {
    width: 100%;
    justify-content: center;
  }
  .s-final-cta__reassure {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }
}

/* ── 16. Hero stats: tidak overflow di layar sangat kecil (<360px) ─ */
@media (max-width: 380px) {
  .hero-tw__stat strong {
    font-size: 1.2rem;
  }
  .hero-tw__stat span {
    font-size: 0.6rem;
  }
  .hero-tw__stats {
    gap: 0;
    padding-top: 1.25rem;
  }
}

/* ── 17. Section padding: kurangi di mobile untuk lebih efisien ──── */
@media (max-width: 767px) {
  .s-security { padding: 4rem 0 !important; }
  .s-faq      { padding: 4rem 0; }
  .s-final-cta { padding: 4rem 0; }
  .s-solutions { padding: 4rem 0; }
  .s-steps     { padding: 4rem 0; }
  .s-pricing   { padding: 5rem 0; }
  .footer-main { padding: 3rem 0 2rem; }
}

/* ── 18. Tab panel: stack column di mobile ───────────────────────── */
@media (max-width: 767px) {
  .s-tab-panel__inner {
    gap: 2rem;
  }
  .s-tab-panel__visual {
    display: none; /* Sembunyikan mockup di mobile — hemat ruang */
  }
  .s-tab-panel__actions {
    flex-direction: column;
  }
  .s-tab-panel__actions a,
  .s-tab-panel__actions button {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   STICKY MOBILE CTA BAR — Build MKT-B11
   Hanya tampil di mobile (≤767px).
   Auto-hide setelah final-cta section terlihat di viewport.
   Z-index hierarchy: header(1000) > scroll-top(990) > sticky-cta(980)
   ═══════════════════════════════════════════════════════════════════ */

.sticky-mobile-cta {
  display: none; /* Hidden di desktop */
}

@media (max-width: 767px) {
  /* ── Container bar ── */
  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 980;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) 1rem;
    background: rgba(6, 6, 14, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
    /* Masuk dari bawah */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0, 0, 0.2, 1),
                opacity 0.35s cubic-bezier(0, 0, 0.2, 1);
    will-change: transform;
  }

  .sticky-mobile-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
  }

  /* ── Teks kecil di sebelah kiri ── */
  .sticky-mobile-cta__label {
    flex: 1;
    min-width: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-mobile-cta__label strong {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
  }

  /* ── Tombol utama CTA ── */
  .sticky-mobile-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
  }

  .sticky-mobile-cta__btn:hover,
  .sticky-mobile-cta__btn:focus-visible {
    transform: scale(1.03);
    box-shadow: 0 6px 28px rgba(99, 102, 241, 0.7);
    color: #fff;
  }

  .sticky-mobile-cta__btn:active {
    transform: scale(0.98);
  }

  /* ── Tombol dismiss (×) ── */
  .sticky-mobile-cta__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .sticky-mobile-cta__close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
  }

  /* ── Saat sticky CTA aktif: geser scroll-top ke atas ── */
  .scroll-top {
    bottom: var(--sp-4);
    transition: bottom 0.35s cubic-bezier(0, 0, 0.2, 1),
                opacity var(--t-base) var(--ease),
                visibility var(--t-base) var(--ease),
                transform var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
  }

  /* Kelas ini ditambah JS saat sticky CTA visible */
  .scroll-top.above-cta {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* ── Body padding bawah saat sticky CTA aktif ──
     Cegah konten footer tertutup bar                */
  body.sticky-cta-active {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* ── Header: user logged-in state (portal session) ── */
.header-login-link--user {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: var(--r-full);
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  transition: background 0.2s, border-color 0.2s;
}

.header-login-link--user:hover {
  background: rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.45);
  color: inherit;
}

.header-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-user-email {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .header-user-email { display: none; }
  .header-login-link--user { padding: 0.25rem; }
}
