/* ===========================
   FIXLY.CH — Landing Page CSS
   Taste-skill pass: Plus Jakarta Sans, floating pill nav,
   double-bezel form, scroll reveals, premium ease
   =========================== */

:root {
  /* OKLCH color system — tinted toward navy hue (h≈225) */
  --navy:        oklch(22% 0.08 225);
  --navy-mid:    oklch(32% 0.07 225);
  --accent:      oklch(44% 0.17 198);
  --accent-hover: oklch(39% 0.17 198);
  --accent-soft:  oklch(96% 0.04 198);

  --white:       oklch(99.5% 0.005 225);
  --surface:     oklch(98% 0.008 225);
  --surface-2:   oklch(96% 0.010 225);
  --border:      oklch(91% 0.012 225);
  --border-mid:  oklch(84% 0.015 225);

  --text-primary:   oklch(18% 0.04 225);
  --text-secondary: oklch(42% 0.03 225);
  --text-muted:     oklch(60% 0.02 225);

  --green:       oklch(40% 0.14 155);
  --green-soft:  oklch(96% 0.04 155);

  /* Spacing — 8px base grid */
  --sp-1: 4px;   --sp-2: 8px;    --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;   --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px;  --sp-20: 80px; --sp-24: 96px;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 4px oklch(22% 0.08 225 / 0.06);
  --shadow:    0 4px 24px oklch(22% 0.08 225 / 0.09);
  --shadow-lg: 0 8px 48px oklch(22% 0.08 225 / 0.12);
  --shadow-xl: 0 20px 80px oklch(22% 0.08 225 / 0.16);

  /* Premium spring ease — from high-end-visual-design skill */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-premium: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 84px; /* fixed floating navbar offset */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ——— Scroll Reveal ——— */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition:
    opacity   680ms var(--ease-premium) var(--reveal-delay, 0ms),
    transform 680ms var(--ease-premium) var(--reveal-delay, 0ms);
}
[data-reveal][data-delay="1"] { --reveal-delay: 60ms; }
[data-reveal][data-delay="2"] { --reveal-delay: 120ms; }
[data-reveal][data-delay="3"] { --reveal-delay: 180ms; }
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ——— Typography ——— */
h1 { font-size: clamp(2.25rem, 5vw, 3.375rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.375rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
p  { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.72; }

.section-heading { max-width: 560px; margin: 12px auto 0; }
.section-sub { max-width: 460px; margin: 12px auto 0; color: var(--text-secondary); }

/* ——— Layout ——— */
.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--sp-6); }
.section    { padding: var(--sp-24) 0; }
.section-sm { padding: var(--sp-12) 0; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8); border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700; font-family: inherit;
  cursor: pointer; border: 2px solid transparent;
  transition:
    background  240ms var(--ease-premium),
    transform   200ms var(--ease-premium),
    box-shadow  240ms var(--ease-premium),
    border-color 200ms var(--ease-premium);
  white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent); color: var(--white); border-color: var(--accent);
  box-shadow: 0 4px 20px oklch(44% 0.17 198 / 0.28);
}
.btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px oklch(44% 0.17 198 / 0.38);
}

.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy); color: var(--white);
}

.btn-lg  { padding: var(--sp-5) var(--sp-10); font-size: 1.0625rem; }
.btn-xl  { padding: 18px 44px; font-size: 1.125rem; border-radius: 10px; }

/* Button-in-Button trailing icon — nested circle wrapper */
.btn-icon-wrap {
  width: 26px; height: 26px; border-radius: 50%;
  background: oklch(99.5% 0 0 / 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.875rem; flex-shrink: 0; line-height: 1;
  transition:
    transform 300ms var(--ease-premium),
    background 240ms var(--ease-premium);
}
.btn-primary:hover .btn-icon-wrap {
  transform: translateX(2px) translateY(-1px);
  background: oklch(99.5% 0 0 / 0.25);
}
.btn-outline .btn-icon-wrap {
  background: oklch(22% 0.08 225 / 0.08);
}
.btn-outline:hover .btn-icon-wrap {
  background: oklch(99.5% 0 0 / 0.12);
  transform: translateX(2px) translateY(-1px);
}

/* ——— Badge / Eyebrow ——— */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-red   { background: var(--accent-soft); color: var(--accent); }
.badge-navy  { background: oklch(22% 0.08 225 / 0.08); color: var(--navy); }
.badge-green { background: var(--green-soft); color: var(--green); }

/* =========================================
   NAVBAR — Floating glass pill
   ========================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px 0;
  pointer-events: none;
}
.navbar-pill {
  max-width: 760px; margin: 0 auto;
  background: oklch(99.5% 0.005 225 / 0.90);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 8px 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 54px;
  pointer-events: auto;
  box-shadow: 0 2px 16px oklch(22% 0.08 225 / 0.07),
              0 0 0 1px oklch(91% 0.012 225 / 0.5);
  transition: box-shadow 200ms var(--ease-premium),
              background 200ms var(--ease-premium);
}
.navbar.scrolled .navbar-pill {
  background: oklch(99.5% 0.005 225 / 0.96);
  box-shadow: 0 6px 32px oklch(22% 0.08 225 / 0.13),
              0 0 0 1px var(--border);
}
.navbar-logo {
  font-size: 1.4375rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em;
}
.navbar-logo span { color: var(--accent); }
.navbar-links {
  display: none;
  align-items: center;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 700px) { .navbar-links { display: flex; } }
.navbar-pill { position: relative; }
.navbar-link {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  padding: 7px 13px;
  transition: color 180ms, background 180ms;
  border-radius: 100px;
  white-space: nowrap;
}
.navbar-link:hover { color: var(--navy); background: var(--surface-2); }
.navbar-btn { padding: 10px 22px; font-size: 0.875rem; border-radius: 100px; }

@media (max-width: 480px) {
  .navbar { padding: 12px 12px 0; }
  .navbar-pill { padding: 0 6px 0 18px; }
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(168deg, oklch(97% 0.012 225) 0%, var(--white) 70%);
  padding: var(--sp-20) 0 var(--sp-16);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--border);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-12); align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
}
.hero h1 { color: var(--navy); margin-bottom: var(--sp-5); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: 1.125rem; color: var(--text-secondary);
  margin-bottom: var(--sp-8); max-width: 480px; line-height: 1.7;
}
/* ——— Hero social proof strip ——— */
.hero-proof {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.hero-proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -8px;
  flex-shrink: 0;
}
.proof-avatar:first-child { margin-left: 0; }
.hero-proof-text {
  font-size: 0.875rem; color: var(--text-secondary); line-height: 1.4;
}
.hero-proof-text strong { color: var(--navy); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.875rem; font-weight: 600; color: var(--text-secondary);
}
.hero-trust-item .trust-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.6875rem; font-weight: 800;
}

/* ——— Screens Stack ——— */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}

.screens-stack {
  position: relative;
  width: 360px;
  height: 320px;
}

.screen-card {
  position: absolute;
  top: 20px; left: 0;
  width: 320px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 12px 40px rgba(27,42,74,0.13), 0 3px 10px rgba(27,42,74,0.07);
  transition:
    transform 680ms var(--ease-premium),
    opacity   680ms var(--ease-premium),
    box-shadow 680ms var(--ease-premium);
  will-change: transform, opacity;
}
.screen-card.is-front {
  transform: none;
  z-index: 3; opacity: 1;
  box-shadow: 0 20px 60px rgba(27,42,74,0.17), 0 6px 20px rgba(27,42,74,0.09);
}
.screen-card.is-mid {
  transform: translateX(24px) translateY(-14px) rotate(3deg) scale(0.95);
  z-index: 2; opacity: 0.72;
}
.screen-card.is-back {
  transform: translateX(46px) translateY(-26px) rotate(6deg) scale(0.90);
  z-index: 1; opacity: 0.45;
}

/* Chrome bar */
.screen-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 11px;
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
}
.screen-dots { display: flex; gap: 4px; flex-shrink: 0; }
.screen-dots i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
}
.screen-dots i:nth-child(1) { background: #FF5F56; }
.screen-dots i:nth-child(2) { background: #FFBD2E; }
.screen-dots i:nth-child(3) { background: #27C93F; }
.screen-url {
  flex: 1; background: #e2e2e2; border-radius: 3px;
  padding: 2px 7px;
  font-size: 0.5rem; font-weight: 500; color: #666;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.5; letter-spacing: 0.01em;
}

/* Site nav */
.screen-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 11px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.screen-nav-logo { width: 48px; height: 7px; background: #1B2A4A; border-radius: 2px; }
.screen-nav-links { display: flex; gap: 7px; }
.screen-nav-links i { display: block; width: 20px; height: 4px; background: #ccc; border-radius: 2px; }
.screen-nav-btn { width: 40px; height: 16px; border-radius: 3px; }

/* Hero band */
.screen-hero-band {
  padding: 14px 11px;
  display: flex; flex-direction: column; gap: 5px;
  position: relative;
  background-size: cover; background-position: center;
  overflow: hidden;
  min-height: 92px;
}
.screen-hero-band::before {
  content: ''; position: absolute; inset: 0;
  background: var(--sc-overlay, rgba(0,0,0,0.52));
  z-index: 0;
}
.screen-hero-band > * { position: relative; z-index: 1; }
.screen-h1 {
  height: 8px; background: rgba(255,255,255,0.93); border-radius: 2px;
  width: 84%;
}
.screen-h1.w65 { width: 65%; }
.screen-h1.w60 { width: 60%; }
.screen-h1.w70 { width: 70%; }
.screen-hsub {
  height: 5px; background: rgba(255,255,255,0.48); border-radius: 2px;
  width: 80%; margin-top: 2px;
}
.screen-hsub.w75 { width: 75%; }
.screen-hsub.w65 { width: 65%; }
.screen-hsub.w80 { width: 80%; }
.screen-hcta { width: 68px; height: 17px; border-radius: 3px; margin-top: 5px; }

/* Service cards */
.screen-body { padding: 9px 11px; }
.screen-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.screen-svc {
  background: #f8f9fb; border: 1px solid #eee;
  border-radius: 4px; padding: 6px 5px;
  display: flex; flex-direction: column; gap: 3px;
}
.screen-svc-icon { width: 13px; height: 13px; border-radius: 2px; margin-bottom: 3px; }
.screen-svc-thumb {
  width: calc(100% + 10px);
  height: 30px;
  margin: -6px -5px 5px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.screen-svc i {
  display: block; height: 4px; background: #d0d0d0; border-radius: 2px; width: 90%;
}
.screen-svc i.w70 { width: 70%; }
.screen-svc i.w75 { width: 75%; }
.screen-svc i.w80 { width: 80%; }
.screen-svc i.w85 { width: 85%; }
.screen-svc i.w90 { width: 90%; }
.screen-svc i.w60 { width: 60%; }
.screen-svc i.w65 { width: 65%; }

/* Footer label */
.screen-footer-bar {
  padding: 5px 11px;
  background: #f5f5f5;
  border-top: 1px solid #eee;
  text-align: center;
}
.screen-footer-bar span {
  font-size: 0.5rem; font-weight: 600; color: #999; letter-spacing: 0.04em;
}

/* =========================================
   LOGO BAR
   ========================================= */
.logobar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: var(--sp-6) 0;
}
.logobar-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 28px;
}
.logobar-label {
  font-size: 0.6875rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.logobar-item {
  font-size: 0.875rem; font-weight: 600; color: var(--text-secondary);
  letter-spacing: 0.01em;
}
.logobar-more { color: var(--text-muted); font-weight: 500; }

/* =========================================
   PROBLEM — Editorial numbered list
   ========================================= */
.problem { background: var(--white); }
.problem-list {
  margin-top: var(--sp-12);
  display: grid; grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .problem-list { grid-template-columns: 1fr 1fr; }
}
.problem-item {
  padding: var(--sp-8);
  border-bottom: 1px solid var(--border);
  display: flex; gap: var(--sp-5); align-items: flex-start;
  transition: background 220ms var(--ease-premium);
}
.problem-item:hover { background: var(--surface); }
@media (min-width: 768px) {
  .problem-item:nth-child(odd)  { border-right: 1px solid var(--border); }
  .problem-item:nth-child(5),
  .problem-item:nth-child(6)    { border-bottom: none; }
}
@media (max-width: 767px) {
  .problem-item:last-child { border-bottom: none; }
}
.problem-num {
  font-size: 2.5rem; font-weight: 800; color: var(--border-mid);
  line-height: 1; flex-shrink: 0; width: 48px; text-align: right;
  font-variant-numeric: tabular-nums; letter-spacing: -0.04em;
  padding-top: 2px;
}
.problem-text h3 { color: var(--navy); margin-bottom: var(--sp-2); font-size: 1.0625rem; }
.problem-text p  { font-size: 0.9375rem; line-height: 1.65; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.how { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-steps {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-2); margin-top: var(--sp-12); position: relative;
}
@media (min-width: 768px) {
  .how-steps { grid-template-columns: repeat(4, 1fr); }
}
.how-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: var(--sp-8) var(--sp-6); position: relative;
}
.how-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5); flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 4px 20px oklch(22% 0.08 225 / 0.25);
}
@media (min-width: 768px) {
  .how-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--sp-8) + 27px);
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--border-mid));
    z-index: 0;
  }
}
.how-step h3    { color: var(--navy); margin-bottom: var(--sp-2); font-size: 1rem; }
.how-step p     { font-size: 0.9rem; color: var(--text-secondary); max-width: 180px; }
.how-time {
  display: inline-block; margin-top: var(--sp-3); padding: 4px 12px;
  border-radius: 100px; font-size: 0.8rem; font-weight: 700;
  background: oklch(22% 0.08 225 / 0.07); color: var(--navy);
}

/* =========================================
   BEFORE / AFTER
   ========================================= */
.beforeafter { background: var(--white); }
.ba-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-6); margin-top: var(--sp-12);
}
@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 2px solid var(--border); position: relative;
  transition: box-shadow 300ms var(--ease-premium);
}
.ba-card:hover { box-shadow: var(--shadow-lg); }
.ba-card.after { border-color: var(--green); }
.ba-label {
  position: absolute; top: var(--sp-4); left: var(--sp-4);
  padding: 5px 14px; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 800;
  backdrop-filter: blur(8px);
}
.ba-label-before { background: oklch(48% 0.20 25 / 0.12); color: var(--accent); }
.ba-label-after  { background: oklch(40% 0.14 155 / 0.12); color: var(--green); }
.ba-visual {
  width: 100%; height: 220px;
  display: flex; align-items: center; justify-content: center; padding: var(--sp-6);
}
.ba-visual-before {
  background: linear-gradient(135deg, oklch(70% 0.01 225), oklch(80% 0.008 225));
}
.ba-visual-after {
  background: linear-gradient(135deg, oklch(22% 0.08 225), oklch(32% 0.08 225));
  align-items: center; justify-content: center;
}
.ba-screen-wrap {
  position: relative;
  width: 100%; display: flex; align-items: center; justify-content: center;
}
.screen-card.ba-screen {
  position: relative; top: auto; left: auto;
  width: 88%; max-width: 260px;
  transform: none !important;
  opacity: 1 !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.30), 0 4px 12px rgba(0,0,0,0.16);
}
.ba-fake-before {
  width: 90%; background: oklch(98% 0.008 225); border-radius: 6px;
  padding: 12px; box-shadow: 0 2px 8px oklch(0% 0 0 / 0.15);
}
.ba-fake-before-nav   { height: 8px; background: oklch(84% 0.015 225); border-radius: 2px; margin-bottom: 8px; }
.ba-fake-before-title { height: 10px; background: oklch(74% 0.02 225); border-radius: 2px; margin-bottom: 4px; }
.ba-fake-before-title.short { width: 60%; }
.ba-fake-before-body  { margin-top: 8px; display: flex; gap: 4px; }
.ba-fake-before-col   { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ba-fake-before-line  { height: 5px; background: oklch(88% 0.01 225); border-radius: 1px; }
.ba-fake-after {
  width: 90%; background: var(--white); border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: 0 4px 20px oklch(0% 0 0 / 0.25);
}
.ba-fake-after-nav {
  background: var(--navy); padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.ba-fake-after-logo   { width: 40px; height: 7px; background: oklch(99.5% 0 0 / 0.9); border-radius: 2px; }
.ba-fake-after-navbtn { width: 40px; height: 16px; background: var(--accent); border-radius: 3px; }
.ba-fake-after-hero {
  background: linear-gradient(135deg, oklch(26% 0.07 225), oklch(36% 0.08 225));
  padding: 12px; display: flex; flex-direction: column; gap: 5px;
}
.ba-fake-after-h     { height: 8px; background: oklch(99.5% 0 0 / 0.85); border-radius: 2px; }
.ba-fake-after-h.sm  { width: 65%; }
.ba-fake-after-sub   { height: 5px; background: oklch(99.5% 0 0 / 0.45); border-radius: 2px; }
.ba-fake-after-sub.sm { width: 80%; }
.ba-fake-after-cta   { width: 56px; height: 16px; background: var(--accent); border-radius: 3px; margin-top: 4px; }
.ba-fake-after-cards {
  padding: 10px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px;
}
.ba-fake-after-card {
  background: var(--surface-2); border-radius: 4px; padding: 6px 5px;
  display: flex; flex-direction: column; gap: 3px;
}
.ba-fake-after-card-dot  { width: 10px; height: 10px; background: var(--accent-soft); border-radius: 2px; }
.ba-fake-after-card-line { height: 4px; background: var(--border-mid); border-radius: 1px; }
.ba-caption { padding: 14px var(--sp-5); background: var(--surface); border-top: 1px solid var(--border); }
.ba-caption p { font-size: 0.9rem; color: var(--text-secondary); }

/* =========================================
   FORM — Double-Bezel architecture
   ========================================= */
.form-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Outer shell — the visible "tray" */
.form-card-shell {
  max-width: 640px; margin: 0 auto;
  background: oklch(96% 0.010 225 / 0.6);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}

/* Inner core */
.form-card {
  background: var(--white);
  border-radius: 22px; /* calc(28px - 6px) */
  padding: var(--sp-12) var(--sp-10);
  box-shadow: inset 0 1px 1px oklch(99.5% 0 0 / 0.7);
  border: 1px solid oklch(93% 0.010 225);
}
@media (max-width: 640px) {
  .form-card-shell { border-radius: 20px; padding: 5px; }
  .form-card { padding: var(--sp-8) var(--sp-5); border-radius: 15px; }
}
.form-title { color: var(--navy); margin-bottom: var(--sp-2); text-align: center; }
.form-sub   { color: var(--text-secondary); text-align: center; margin-bottom: var(--sp-8); font-size: 1.0625rem; }
.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 6px;
}
.form-label span { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border-mid); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--text-primary);
  transition: border-color 200ms var(--ease-premium), box-shadow 200ms var(--ease-premium);
  background: var(--white); outline: none;
}
.form-input:hover, .form-select:hover { border-color: oklch(75% 0.03 225); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px oklch(22% 0.08 225 / 0.09);
}
.form-textarea { min-height: 96px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.form-hint   { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }
.form-submit { width: 100%; }
.form-privacy { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--sp-3); }
.form-success { display: none; text-align: center; padding: var(--sp-10) 0; }
.form-success-icon { font-size: 3.5rem; margin-bottom: var(--sp-4); }
.form-success h3 { color: var(--navy); margin-bottom: var(--sp-2); }
.form-success p  { color: var(--text-secondary); }

/* =========================================
   PRICING
   ========================================= */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-6); margin-top: var(--sp-12);
  align-items: start;
}
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.pricing-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--border); padding: var(--sp-8);
  display: flex; flex-direction: column;
  transition:
    box-shadow 300ms var(--ease-premium),
    border-color 300ms var(--ease-premium),
    transform 300ms var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover {
    box-shadow: var(--shadow-lg); border-color: var(--border-mid);
    transform: translateY(-3px);
  }
}

/* Featured card — Double-Bezel outer shell */
.pricing-featured-wrap {
  border-radius: 20px;
  padding: 5px;
  background: oklch(96% 0.010 225 / 0.5);
  border: 1px solid oklch(22% 0.08 225 / 0.12);
  box-shadow: 0 16px 56px oklch(22% 0.08 225 / 0.16);
  transition: box-shadow 300ms var(--ease-premium), transform 300ms var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .pricing-featured-wrap:hover {
    box-shadow: 0 24px 72px oklch(22% 0.08 225 / 0.22);
    transform: translateY(-4px);
  }
}
.pricing-featured-wrap .pricing-card.featured {
  border-color: transparent;
  border-radius: 15px; /* 20px - 5px */
  box-shadow: inset 0 1px 1px oklch(99.5% 0 0 / 0.8);
  background: oklch(99.5% 0.006 225);
  transform: none !important; /* parent handles hover */
}

.pricing-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white);
  font-size: 0.75rem; font-weight: 800; padding: 4px 16px;
  border-radius: 100px; white-space: nowrap; letter-spacing: 0.02em;
}
.pricing-card.featured { position: relative; }

.pricing-name {
  font-size: 0.75rem; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-3);
}
.pricing-price { margin-bottom: 4px; line-height: 1; }
.pricing-price .currency { font-size: 1.1875rem; font-weight: 800; color: var(--navy); vertical-align: top; margin-top: 5px; display: inline-block; }
.pricing-price .amount   { font-size: 2.75rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.pricing-tagline  { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: var(--sp-5); }
.pricing-divider  { height: 1px; background: var(--border); margin: var(--sp-5) 0; }
.pricing-features {
  list-style: none; display: flex; flex-direction: column;
  gap: var(--sp-3); flex: 1; margin-bottom: var(--sp-6);
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: 0.9375rem; line-height: 1.5;
}
.pricing-features li .check { color: var(--green); flex-shrink: 0; margin-top: 1px; font-weight: 800; }
.pricing-features li .cross { color: var(--border-mid); flex-shrink: 0; margin-top: 1px; }

/* Abo add-on */
.abo-addon {
  max-width: 640px; margin: var(--sp-10) auto 0;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-8);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5);
}
.abo-addon-info { flex: 1; min-width: 240px; }
.abo-addon-label {
  font-size: 0.75rem; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px;
}
.abo-addon-price { text-align: center; }
.abo-addon-price .amount { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.abo-addon-price .period { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.abo-addon-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 3px; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testi-grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-5); margin-top: var(--sp-12);
}
@media (min-width: 640px)  { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: box-shadow 300ms var(--ease-premium), transform 300ms var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .testi-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
}
.testi-stars  { color: oklch(72% 0.18 75); font-size: 0.9375rem; letter-spacing: 2px; }
.testi-text   { font-size: 0.9375rem; line-height: 1.7; font-style: italic; color: var(--text-secondary); flex: 1; }
.testi-author { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--border);
}
.testi-name { font-size: 0.9375rem; font-weight: 700; color: var(--navy); }
.testi-job  { font-size: 0.8125rem; color: var(--text-muted); margin-top: 1px; }

/* =========================================
   FAQ
   ========================================= */
.faq { background: var(--white); }
.faq-list { max-width: 720px; margin: var(--sp-12) auto 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 200ms var(--ease-premium);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: var(--sp-5) var(--sp-6); text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  font-size: 0.9375rem; font-weight: 600; color: var(--navy); font-family: inherit;
  transition: background 160ms ease;
}
.faq-question:hover { background: var(--surface); }
.faq-question.open  { border-bottom: 1px solid var(--border); }
.faq-chevron {
  flex-shrink: 0; transition: transform 220ms var(--ease-premium);
  color: var(--text-muted); width: 18px; height: 18px;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--navy); }
.faq-answer {
  overflow: hidden;
  height: 0;
  transition: height 280ms var(--ease-premium);
}
.faq-answer-inner {
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75;
}

/* =========================================
   GUARANTEE
   ========================================= */
.guarantee {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.guarantee-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: var(--sp-6);
}
@media (min-width: 768px) {
  .guarantee-inner { flex-direction: row; text-align: left; gap: var(--sp-12); }
}
.guarantee-shield {
  width: 80px; height: 80px; border-radius: 50%;
  background: oklch(99.5% 0 0 / 0.08); border: 2px solid oklch(99.5% 0 0 / 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem; flex-shrink: 0;
}
.guarantee h2 { color: var(--white); margin-bottom: var(--sp-3); }
.guarantee p  { color: oklch(99.5% 0 0 / 0.75); font-size: 1.0625rem; max-width: 560px; }

/* =========================================
   FINAL CTA
   ========================================= */
.final-cta { background: var(--white); text-align: center; }
.final-cta h2 { color: var(--navy); margin-bottom: var(--sp-4); max-width: 640px; margin-left: auto; margin-right: auto; }
.final-cta p  { color: var(--text-secondary); font-size: 1.0625rem; max-width: 440px; margin: 0 auto var(--sp-10); }
.final-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy); color: oklch(99.5% 0 0 / 0.5);
  padding: var(--sp-10) var(--sp-6);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--sp-5);
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-logo { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -0.04em; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.footer-links a { font-size: 0.875rem; transition: color 180ms; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.8125rem; }

/* =========================================
   UTILITY
   ========================================= */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-red    { color: var(--accent); }
.mt-4  { margin-top: var(--sp-4); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-2  { margin-bottom: var(--sp-2); }
.mb-4  { margin-bottom: var(--sp-4); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 640px) {
  .section    { padding: var(--sp-16) 0; }
  .section-sm { padding: var(--sp-10) 0; }
  .btn-xl     { padding: 16px 28px; font-size: 1.0625rem; }
  .hero       { padding: var(--sp-12) 0; }
  body        { padding-top: 76px; }
}

/* =========================================
   FORM EXTENSIONS — color picker + file upload
   ========================================= */
.form-hint-inline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Color palette */
.color-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.color-option {
  position: relative;
  cursor: pointer;
}
.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.color-swatch {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  transition: transform 0.15s var(--ease-out), border-color 0.15s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.color-option input:checked + .color-swatch {
  border-color: #fff;
  outline-color: var(--navy);
  transform: scale(1.12);
}
.color-option:hover .color-swatch {
  transform: scale(1.08);
}

/* File upload */
.file-upload-area {
  position: relative;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  overflow: hidden;
}
.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  pointer-events: none;
}
.file-upload-icon { font-size: 1.5rem; }
.file-upload-text { font-size: 0.9375rem; color: var(--text-secondary); }
.file-upload-text strong { color: var(--accent); }
.file-upload-hint { font-size: 0.8125rem; color: var(--text-muted); }
.file-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  pointer-events: none;
}
.file-upload-preview img {
  height: 40px;
  max-width: 80px;
  object-fit: contain;
  border-radius: 6px;
}
.file-upload-preview span { font-size: 0.9rem; color: var(--text-secondary); }
