@font-face {
  font-family: 'Mulish';
  src: url('/assets/fonts/mulish-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --font-mulish: 'Mulish';
  --background: #faf8fc;
  --foreground: #17131c;
  --primary: #7330a8;
  --primary-foreground: #ffffff;
  --popover: #ffffff;
  --popover-foreground: #17131c;
  --muted: #f1edf3;
  --muted-foreground: #6d6672;
  --secondary: #eee8f1;
  --secondary-foreground: #17131c;
  --destructive: #c32943;
  --accent: #baeb44;
  --ink-soft: #625a6b;
  --surface: #ffffff;
  --lavender: #efe4f8;
  --border: #ddd4e4;
  --input: #ddd4e4;
  --ring: #8b45ba;
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-mulish), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 10px; z-index: 900; width: min(1180px, calc(100% - 40px)); height: 88px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 34px; padding: 0 18px; border: 1px solid transparent; border-radius: 24px; background: rgba(255,255,255,0); transition: height .28s ease, padding .28s ease, border-radius .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease; }
.site-header.is-floating { height: 68px; padding: 0 13px; border-radius: 34px; background: rgba(255,255,255,.82); border-color: rgba(61,45,70,.1); box-shadow: 0 14px 42px rgba(52,34,62,.12); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.brand img { width: 181px; height: auto; }
.site-header nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; color: #544d5a; }
.site-header nav a:hover { color: var(--primary); }
.header-cta { justify-self: end; padding: 12px 19px; background: #17131c; color: #fff; border-radius: 999px; font-size: 14px; font-weight: 800; }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; padding: 55px 0 80px; }
.eyebrow { width: fit-content; display: flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid #d7c5e6; background: #fff; border-radius: 999px; color: #6d2e98; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { max-width: 640px; margin: 20px 0 22px; font-size: clamp(48px, 5.25vw, 76px); line-height: .99; letter-spacing: -.052em; font-weight: 900; }
.hero h1 em { color: var(--primary); font-style: normal; position: relative; }
.hero h1 em::after { content: ''; position: absolute; height: 11px; left: 2px; right: -4px; bottom: -4px; background: var(--accent); border-radius: 50%; transform: rotate(-2deg); z-index: -1; }
.hero-lead { max-width: 600px; margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: nowrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { padding-left: 18px; padding-right: 18px; white-space: nowrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 0 22px; font-size: 14px; font-weight: 900; }
.button.primary { color: #fff; background: linear-gradient(135deg, #652398, #9b51c5); box-shadow: 0 14px 30px rgba(103, 35, 152, .22); }
.button.ghost { background: #fff; border: 1px solid var(--border); }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; color: #554e5b; font-size: 13px; font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg { color: var(--primary); }

.search-demo { position: relative; overflow: hidden; border: 1px solid #dcd1e3; background: rgba(255,255,255,.93); border-radius: 28px; box-shadow: 0 34px 80px rgba(63,34,78,.16); transform: none; }
.search-demo::before { content: ''; position: absolute; width: 230px; height: 230px; right: -80px; top: -100px; background: #d8ff78; border-radius: 50%; filter: blur(2px); opacity: .6; }
.demo-topline, .demo-footer { position: relative; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px; font-size: 12px; font-weight: 800; color: #5c5362; }
.demo-topline { border-bottom: 1px solid #ece6f0; }
.demo-dot { width: 10px; height: 10px; background: #8b45ba; border-radius: 50%; box-shadow: 0 0 0 5px #efe3f7; }
.demo-status { margin-left: auto; color: #682a93; background: #f1e6f9; border-radius: 999px; padding: 6px 10px; }
.demo-body { position: relative; display: grid; grid-template-columns: 37% 9% 54%; align-items: center; min-height: 385px; padding: 25px; background: linear-gradient(135deg, #fbf9fc, #f3edf7); }
.layout-card { display: flex; flex-direction: column; gap: 9px; padding: 13px; background: #fff; border: 1px solid #e2d8e8; border-radius: 18px; box-shadow: 0 12px 30px rgba(45, 28, 52, .08); transform: rotate(-3deg); }
.layout-card span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #7d7185; font-weight: 900; }
.layout-card img { width: 100%; aspect-ratio: .72; object-fit: cover; border-radius: 10px; }
.layout-card b { font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.scan-line { display: grid; place-items: center; color: var(--primary); animation: scanPulse 1.6s ease-in-out infinite; }
.stand-card { position: relative; overflow: hidden; border: 8px solid #5a263d; border-radius: 7px; background: #ddd; box-shadow: 0 16px 34px rgba(36,19,31,.2); }
.stand-card img { width: 100%; aspect-ratio: .72; object-fit: cover; }
.match-box { position: absolute; left: 15%; top: 19%; width: 35%; height: 34%; display: flex; flex-direction: column; justify-content: space-between; padding: 6px; border: 3px solid var(--accent); box-shadow: 0 0 0 2px rgba(20,20,20,.3); color: #111; animation: matchGlow 1.8s ease-in-out infinite; }
.match-box i { align-self: flex-start; background: var(--accent); font-size: 8px; font-weight: 900; font-style: normal; padding: 3px 5px; text-transform: uppercase; }
.match-box b { align-self: flex-end; background: #fff; border-radius: 6px; padding: 3px 5px; font-size: 11px; }
.demo-footer { justify-content: space-between; border-top: 1px solid #ece6f0; }
.found-badge { display: inline-flex; align-items: center; gap: 5px; color: #315b0a; background: #e8fac0; padding: 7px 10px; border-radius: 999px; }

.metric-strip { width: min(1180px, calc(100% - 40px)); margin: 0 auto 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 24px; overflow: hidden; color: #fff; background: #1c1721; }
.metric-strip > div { padding: 27px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.metric-strip > div:last-child { border: 0; }
.metric-strip b, .metric-strip span { display: block; }
.metric-strip b { color: var(--accent); font-size: 25px; letter-spacing: -.04em; }
.metric-strip span { margin-top: 5px; color: #cbc3cf; font-size: 12px; font-weight: 700; }

@keyframes scanPulse { 50% { transform: translateX(5px); opacity: .45; } }
@keyframes matchGlow { 50% { box-shadow: 0 0 0 4px rgba(186,235,68,.35); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header.is-floating { height: 64px; padding: 0 12px; border-radius: 32px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 42px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions, .hero-points { margin-left: auto; margin-right: auto; justify-content: center; }
  .search-demo { max-width: 650px; margin: auto; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip > div:nth-child(2) { border-right: 0; }
  .metric-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
}

@media (max-width: 560px) {
  .site-header { width: min(100% - 20px, 1180px); height: 76px; padding: 0 12px; border-radius: 20px; }
  .site-header.is-floating { height: 60px; padding: 0 10px; border-radius: 30px; }
  .brand img { width: 145px; }
  .header-cta { padding: 10px 14px; font-size: 12px; }
  .hero { width: min(100% - 28px, 1180px); padding: 36px 0 58px; }
  .hero h1 { font-size: 45px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-wrap: wrap; }
  .button { width: 100%; }
  .demo-body { grid-template-columns: 35% 8% 57%; min-height: 290px; padding: 14px; }
  .layout-card { padding: 8px; }
  .demo-topline > span:nth-child(2) { display: none; }
  .metric-strip { width: min(100% - 28px, 1180px); grid-template-columns: 1fr; }
  .metric-strip > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13) !important; }
  .metric-strip > div:last-child { border-bottom: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* Content sections */
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading.narrow { max-width: 820px; }
.kicker { display: inline-block; margin-bottom: 14px; color: #7330a8; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.kicker.light { color: #cfee79; }
.section h2, .contact-copy h2 { margin: 0; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.045em; font-weight: 900; }
.section-heading p, .faq-title p { max-width: 680px; margin: 20px auto 0; color: #706779; font-size: 18px; line-height: 1.65; }

.problem-section { padding-top: 90px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { position: relative; min-height: 360px; overflow: hidden; padding: 42px; border-radius: 32px; }
.compare-card.manual { isolation: isolate; background: #eee9ef; color: #3f3744; cursor: crosshair; }
.compare-card.manual > :not(.manual-trail) { position: relative; z-index: 2; }
.compare-card.auto { background: linear-gradient(135deg, #6c269d 0%, #9b4fc2 100%); color: #fff; box-shadow: 0 26px 64px rgba(108,38,157,.2); }
.compare-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.72); color: #493f50; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.compare-card.auto .compare-label { background: rgba(255,255,255,.14); color: #fff; }
.compare-card strong { display: block; margin: 24px 0 15px; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.compare-card p { max-width: 480px; margin: 0; font-size: 16px; line-height: 1.6; opacity: .78; }
.manual-trail { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.manual-trail-card { position: absolute; width: 104px; aspect-ratio: 1.42; border: 1px solid rgba(116,96,126,.24); border-radius: 11px; background: linear-gradient(155deg, rgba(255,255,255,.96), rgba(247,242,249,.88)); box-shadow: 0 12px 25px rgba(43,30,50,.13); opacity: 0; animation: manualTrailCard .9s cubic-bezier(.18,.7,.22,1) forwards; }
.manual-trail-card::before { content: ''; position: absolute; left: 12px; right: 12px; top: 15px; height: 5px; border-radius: 9px; background: #b99acb; box-shadow: 0 13px 0 #ded2e4, 0 26px 0 #ded2e4; }
.manual-trail-card::after { content: ''; position: absolute; right: 11px; bottom: 10px; width: 20px; height: 8px; border-radius: 99px; background: var(--accent); }
.auto-progress { position: absolute; left: 42px; right: 42px; bottom: 40px; height: 18px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: visible; }
.auto-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: inherit; background: var(--accent); animation: progressGrow 3.4s ease-in-out infinite; will-change: width; }
.auto-progress i { position: absolute; right: 0; top: -30px; font-size: 12px; font-weight: 900; font-style: normal; }

.how-section { width: 100%; max-width: none; padding-left: max(20px, calc((100vw - 1180px) / 2)); padding-right: max(20px, calc((100vw - 1180px) / 2)); color: #fff; background: #19151e; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.12); border-radius: 30px; overflow: hidden; }
.steps-grid article { position: relative; min-height: 310px; padding: 38px; border-right: 1px solid rgba(255,255,255,.12); }
.steps-grid article:last-child { border: 0; }
.steps-grid article > svg { width: 42px; height: 42px; margin-top: 48px; color: var(--accent); stroke-width: 1.5; }
.step-number { position: absolute; right: 28px; top: 22px; color: rgba(255,255,255,.13); font-size: 68px; font-weight: 900; letter-spacing: -.07em; }
.steps-grid h3 { margin: 20px 0 12px; font-size: 25px; }
.steps-grid p { margin: 0; color: #bfb8c4; font-size: 15px; line-height: 1.6; }
.app-showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; margin-top: 80px; }
.app-copy h3 { margin: 14px 0 18px; font-size: 42px; letter-spacing: -.04em; }
.app-copy > p { color: #bfb8c4; font-size: 17px; line-height: 1.65; }
.mini-label { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.app-copy ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.app-copy li { display: flex; gap: 10px; align-items: center; color: #eae6ec; font-size: 14px; font-weight: 700; }
.app-copy li svg { width: 18px; color: var(--accent); }
.app-window { overflow: hidden; padding: 12px; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: rotate(1deg); }
.app-window img { width: 100%; border-radius: 10px; }
.modern-app { padding: 0; color: #2a2230; background: #f8f5fa; border: 1px solid rgba(255,255,255,.25); border-radius: 24px; }
.modern-chrome { height: 54px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 18px; color: #fff; background: linear-gradient(135deg, #6d299f, #9148ba); }
.modern-chrome b { font-size: 13px; letter-spacing: -.01em; }
.modern-chrome em { justify-self: end; padding: 5px 8px; color: #3f520f; background: var(--accent); border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.42); }
.modern-app-body { display: grid; grid-template-columns: 62px 1fr; min-height: 380px; }
.modern-app-body aside { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 10px; border-right: 1px solid #e5dce9; background: #fff; }
.modern-app-body aside span { width: 36px; height: 36px; display: grid; place-items: center; color: #8c7e94; border-radius: 11px; }
.modern-app-body aside span.active { color: #fff; background: #7330a8; box-shadow: 0 8px 18px rgba(115,48,168,.23); }
.modern-screen { position: relative; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 80% 15%, #edffbd 0, transparent 28%), #f5f1f7; }
.modern-screen > img { width: 100%; border: 1px solid #ded5e3; border-radius: 14px; box-shadow: 0 18px 42px rgba(53,33,62,.14); }
.result-float { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; color: #2e3717; background: rgba(225,255,153,.96); border: 1px solid rgba(66,86,15,.13); border-radius: 14px; box-shadow: 0 12px 32px rgba(35,42,18,.18); animation: floatStatus 2.8s ease-in-out infinite; }
.result-float > span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: #577315; border-radius: 9px; }
.result-float p { display: grid; gap: 2px; margin: 0; }
.result-float b { font-size: 11px; }
.result-float small { color: #607033; font-size: 8px; }
@keyframes floatStatus { 50% { transform: translateY(-5px); } }

.similarity-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 76px; align-items: center; }
.similarity-visual { overflow: hidden; border: 1px solid #dfd5e4; background: #fff; border-radius: 30px; box-shadow: 0 26px 70px rgba(67,41,78,.12); }
.similarity-toolbar { height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid #eee8f0; font-size: 12px; color: #675d6c; }
.similarity-toolbar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #eff9d5; }
.similarity-toolbar b { font-weight: 900; }
.similarity-toolbar i { margin-left: auto; padding: 5px 9px; background: #eee7f2; border-radius: 99px; font-style: normal; }
.creative-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px; background: #f5f1f7; }
.creative { position: relative; overflow: hidden; padding: 7px; background: #fff; border: 2px solid transparent; border-radius: 15px; }
.creative img { aspect-ratio: .72; object-fit: cover; border-radius: 9px; }
.creative span { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 4px; padding: 6px 7px; background: rgba(255,255,255,.94); border-radius: 8px; font-size: 9px; font-weight: 900; }
.creative span svg { width: 12px; height: 12px; }
.creative.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(115,48,168,.14); }
.creative.selected span { color: #7330a8; }
.creative.variant { opacity: .62; filter: grayscale(50%); }
.creative.variant img { object-fit: contain; background: #ecebed; }
.creative.variant span { color: #756b7b; }
.match-proof { display: flex; align-items: center; gap: 14px; padding: 20px 24px; color: #453c4a; }
.match-proof > svg { width: 33px; height: 33px; color: #7330a8; }
.match-proof span { display: grid; gap: 4px; font-size: 11px; color: #7b707f; }
.match-proof b { color: #332d37; font-size: 13px; }
.similarity-copy h2 { margin-bottom: 24px; }
.similarity-copy > p { color: #6b6270; font-size: 17px; line-height: 1.7; }
.proof-list { display: grid; gap: 10px; margin-top: 28px; }
.proof-list span { padding: 12px 14px; background: #fff; border: 1px solid #e3dae7; border-radius: 13px; color: #6d6472; font-size: 13px; }
.proof-list b { display: inline-block; min-width: 88px; color: #7330a8; }

.features-section { padding-top: 70px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 300px; padding: 30px; background: #fff; border: 1px solid #e2d9e7; border-radius: 25px; transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(77,42,91,.12); }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: #7330a8; border-radius: 15px; }
.feature-icon svg { width: 25px; }
.feature-tag { position: absolute; right: 24px; top: 28px; padding: 6px 9px; background: #eff7db; color: #54710f; border-radius: 99px; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.feature-card h3 { margin: 42px 0 12px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: #706777; font-size: 14px; line-height: 1.65; }
.tech-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 34px; }
.tech-line span { padding: 8px 13px; border: 1px solid #ded5e3; border-radius: 999px; color: #655a6c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; background: #fff; }

.custom-system-section { padding-top: 35px; }
.custom-system-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; overflow: hidden; border: 1px solid #ded3e4; border-radius: 36px; background: #eee8f2; box-shadow: 0 30px 80px rgba(67,41,78,.13); }
.custom-system-copy { padding: clamp(38px, 5vw, 66px); }
.custom-system-copy h2 { font-size: clamp(38px, 4.2vw, 54px); }
.custom-system-copy > p { margin: 24px 0 0; color: #6b6071; font-size: 16px; line-height: 1.7; }
.custom-system-features { display: grid; gap: 13px; margin: 30px 0; }
.custom-system-features article { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 13px; color: #6c6271; font-size: 12px; line-height: 1.55; }
.custom-system-features article > svg { width: 44px; height: 44px; padding: 11px; color: #fff; background: #7330a8; border-radius: 13px; }
.custom-system-features span { display: grid; gap: 3px; }
.custom-system-features b { color: #2b2430; font-size: 14px; }
.custom-system-button { width: fit-content; }
.custom-system-visual { position: relative; min-width: 0; min-height: 100%; overflow: hidden; background: #17121d; }
.custom-system-visual picture { position: absolute; inset: 0; display: block; }
.custom-system-visual img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }

.calculator-section { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-left: max(20px, calc((100vw - 1180px) / 2)); padding-right: max(20px, calc((100vw - 1180px) / 2)); color: #fff; background: #7130a4; }
.calculator-copy p { max-width: 610px; color: #dfcfe9; font-size: 16px; line-height: 1.65; }
.calculator-copy label { display: flex; justify-content: space-between; margin-top: 40px; color: #e9deef; font-size: 13px; font-weight: 800; }
.calculator-copy label b { color: var(--accent); font-size: 22px; }
.calculator-copy input[type='range'] { width: 100%; height: 7px; margin-top: 18px; accent-color: var(--accent); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #cab4d7; font-size: 10px; }
.saving-card { display: grid; gap: 1px; overflow: hidden; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.16); border-radius: 27px; }
.saving-card > div { display: flex; align-items: baseline; justify-content: space-between; padding: 25px 28px; background: rgba(35,16,49,.34); }
.saving-card span { color: #e3d7e9; font-size: 13px; }
.saving-card b { font-size: 29px; letter-spacing: -.04em; }
.saving-card .saving-total { min-height: 130px; display: grid; grid-template-columns: auto 1fr; gap: 2px 15px; align-items: center; background: var(--accent); color: #1a1917; }
.saving-total svg { grid-row: span 2; width: 42px; height: 42px; }
.saving-total span { align-self: end; color: #3f4d1b; }
.saving-total b { align-self: start; font-size: 34px; }

.pricing-section { padding-bottom: 80px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 480px; padding: 32px; background: #fff; border: 1px solid #dfd5e4; border-radius: 27px; }
.price-card.featured { color: #fff; background: #1c1721; border-color: #1c1721; transform: translateY(-12px); box-shadow: 0 26px 70px rgba(41,26,47,.2); }
.popular { position: absolute; right: 24px; top: 22px; padding: 6px 9px; background: var(--accent); color: #1c2012; border-radius: 99px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.price-name { color: #7330a8; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.featured .price-name { color: #cfee79; }
.price-card h3 { margin: 20px 0 14px; font-size: 37px; letter-spacing: -.05em; }
.price-card h3 small { color: #9f94a5; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.price-card > p { min-height: 66px; margin: 0; color: #776d7d; font-size: 14px; line-height: 1.6; }
.featured > p { color: #bfb7c3; }
.price-card ul { display: grid; gap: 14px; margin: 30px 0; padding: 26px 0 0; border-top: 1px solid #ebe5ee; list-style: none; }
.featured ul { border-color: rgba(255,255,255,.14); }
.price-card li { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.price-card li svg { width: 16px; color: #7330a8; }
.featured li svg { color: var(--accent); }
.price-button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 17px; background: #f0e9f4; border-radius: 14px; color: #60248c; font-size: 13px; font-weight: 900; }
.price-button svg { width: 18px; }
.featured .price-button { color: #1a1d12; background: var(--accent); }
.pricing-disclaimer { max-width: 760px; margin: 28px auto 0; color: #8a808f; font-size: 10px; line-height: 1.6; text-align: center; }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; padding-top: 70px; }
.faq-title { position: sticky; top: 30px; }
.faq-title h2 { margin-top: 0; }
.faq-title p { margin-left: 0; }
.faq-list { border-top: 1px solid #dcd2e1; }
.faq-item { border-bottom: 1px solid #dcd2e1; }
.faq-item button { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; padding: 25px 0; border: 0; background: none; color: #251f29; text-align: left; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.faq-item button i { width: 31px; height: 31px; display: grid; place-items: center; color: #7330a8; background: #eee5f3; border-radius: 50%; font-size: 18px; font-style: normal; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-answer p { min-height: 0; overflow: hidden; margin: 0; color: #6f6575; font-size: 14px; line-height: 1.7; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding: 0 45px 25px 0; }

.contact-section { padding: 100px max(20px, calc((100vw - 1180px) / 2)); color: #fff; background: #19151e; }
.contact-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.contact-copy h2 { max-width: 580px; }
.contact-copy > p { max-width: 560px; margin: 22px 0; color: #bfb7c3; font-size: 17px; line-height: 1.7; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-meta a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #e3dce6; font-size: 12px; }
.contact-meta svg { width: 15px; color: var(--accent); }
.form-card { min-height: 490px; display: grid; align-items: center; padding: 38px; color: #201a24; background: #fff; border-radius: 30px; }
.form-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.form-heading span { font-size: 23px; font-weight: 900; }
.form-heading b { padding: 6px 9px; color: #54710f; background: #eff8d8; border-radius: 99px; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.form-grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; overflow: visible; }
.form-grid label > span { position: relative; z-index: 1; display: block; margin-bottom: 7px; color: #685f6d; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.form-grid input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #e5dce9; border-radius: 13px; background: #faf8fb; font: inherit; }
.form-grid input:focus { outline: 3px solid rgba(139,69,186,.16); border-color: #8b45ba; }
.form-field { position: relative; z-index: 1; min-width: 0; overflow: visible; }
.form-field.is-invalid { z-index: auto; }
.form-grid input.is-invalid { border-color: #a73a72; outline: 3px solid rgba(167,58,114,.13); }
.field-error { position: absolute; z-index: 1010; top: calc(100% + 7px); left: 10px; display: none; max-width: calc(100% - 20px); padding: 7px 10px; border-radius: 8px; color: #fff; background: #88305f; box-shadow: 0 10px 24px rgba(78,28,57,.22); font-size: 10px; font-weight: 800; font-style: normal; line-height: 1.3; pointer-events: none; }
.field-error:not(:empty) { display: block; animation: fieldErrorIn .18s ease-out both; }
.field-error::before { position: absolute; top: -4px; left: 14px; width: 8px; height: 8px; content: ''; background: #88305f; transform: rotate(45deg); }
.form-field-phone .iti { width: 100%; }
.form-field-phone .iti__tel-input { padding-left: 92px !important; }
.form-field-phone .iti__selected-country-primary { padding-left: 12px; }
.form-field-phone:focus-within { z-index: 60; }
.form-field-phone .iti__country-container { z-index: 70; }
.form-field-phone .iti__country-selector,
.form-field-phone .iti__dropdown-content { z-index: 80; max-width: min(380px, calc(100vw - 32px)); border: 1px solid #e5dce9; border-radius: 13px; background: #fff; box-shadow: 0 18px 45px rgba(43,27,51,.16); overflow: hidden; }
.form-field-phone .iti__search-input-wrapper { width: 100%; min-width: 0; border-color: #e5dce9; background: #fff; overflow: hidden; }
.form-field-phone input.iti__search-input { width: 100%; min-width: 0; height: 46px; padding: 9px 40px !important; border: 0; border-radius: 0; outline: 0; box-shadow: none; color: #201a24; background: #fff; font: inherit; font-size: 12px; }
.form-field-phone input.iti__search-input:focus { border: 0; outline: 0; box-shadow: inset 0 -2px 0 #8b45ba; }
.form-field-phone .iti__search-icon { left: 13px; width: 17px; }
.form-field-phone .iti__search-clear { right: 8px; }
.form-field-phone .iti__country-list { width: 100%; max-width: 100%; padding: 4px 0; overflow-x: hidden; }
.form-field-phone .iti__country { width: 100%; min-width: 0; padding: 10px 13px; overflow: hidden; }
.form-field-phone .iti__country-name { min-width: 0; overflow: hidden; color: #201a24; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.form-field-phone .iti__dial-code { flex: 0 0 auto; margin-left: 12px; color: #7f7485; font-size: 11px; white-space: nowrap; }
.contact-form-card { min-height: 0; }
.contact-form-card .form-grid { grid-template-columns: 1fr; }
.turnstile-field { width: 100%; min-height: 0; margin: 0; }
.turnstile-field iframe { max-width: 100%; }
.turnstile-config-error { margin: 18px 0 0; color: #a33535; font-size: 11px; line-height: 1.45; }
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: 9px; margin-top: 20px; align-items: start; color: #847b89; font-size: 10px; line-height: 1.55; }
.consent-check input { margin-top: 2px; accent-color: #7330a8; }
.consent-check a { color: #7330a8; text-decoration: underline; }
.consent-field { position: relative; z-index: 1; overflow: visible; }
.consent-field.is-invalid { z-index: auto; }
.consent-field > .field-error { top: calc(100% + 2px); left: 25px; }
.submit-button { width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #682498, #9548bd); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; box-shadow: 0 15px 30px rgba(104,36,152,.2); }
.submit-button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.submit-button svg { width: 18px; }
.form-disclaimer { display: grid; gap: 6px; margin-top: 14px; color: #968d9b; font-size: 8px; line-height: 1; }
.form-disclaimer p { margin: 0; }
.success-state { max-width: 430px; margin: auto; text-align: center; }
.success-state > span { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 18px; color: #4c6710; background: var(--accent); border-radius: 50%; }
.success-state h3 { margin: 0 0 10px; font-size: 30px; }
.success-state p { color: #756b7b; line-height: 1.6; }
.success-state button { margin-top: 14px; border: 0; background: none; color: #7330a8; font-weight: 900; cursor: pointer; }

footer { padding: 45px max(20px, calc((100vw - 1180px) / 2)) 28px; background: #f7f3f9; }
.footer-top { display: grid; grid-template-columns: 210px 1fr auto; gap: 30px; align-items: center; padding-bottom: 35px; }
.footer-top img { width: 190px; }
.footer-top p { max-width: 480px; color: #756b7b; font-size: 13px; line-height: 1.55; }
.footer-top > a { color: #7330a8; font-size: 12px; font-weight: 900; }
.footer-disclaimer { width: 100%; display: grid; gap: 8px; margin-top: 18px; padding: 0; color: #948a99; font-size: 9px; line-height: 1; }
.footer-disclaimer p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid #ded5e3; color: #817787; font-size: 10px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: #7330a8; }

.reveal { animation: enterUp .75s ease both; }
.delay-1 { animation-delay: .12s; }
@keyframes enterUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes manualTrailCard {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--trail-rotate)) scale(.55); }
  18% { opacity: .92; transform: translate(-50%, -50%) rotate(var(--trail-rotate)) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -72%) rotate(var(--trail-rotate)) scale(.88); }
}
@keyframes progressGrow { 0%, 15% { width: 12%; } 70%, 100% { width: 100%; } }

@media (max-width: 980px) {
  .section { padding: 85px 0; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .similarity-section, .calculator-section, .faq-section { grid-template-columns: 1fr; }
  .similarity-visual { max-width: 680px; margin: auto; }
  .similarity-copy, .faq-title { text-align: center; }
  .proof-list { max-width: 620px; margin-left: auto; margin-right: auto; text-align: left; }
  .faq-title { position: static; }
  .faq-title p { margin-left: auto; }
  .calculator-section { gap: 45px; }
  .saving-card { max-width: 680px; width: 100%; margin: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 680px; margin: auto; }
  .price-card { min-height: 0; }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .section { width: min(100% - 28px, 1180px); padding: 70px 0; }
  .how-section { width: calc(100% - 28px); padding: 70px 18px; border-radius: 28px; }
  .section h2, .contact-copy h2 { font-size: 38px; }
  .compare-grid, .steps-grid, .app-showcase, .features-grid { grid-template-columns: 1fr; }
  .compare-card { min-height: 330px; padding: 30px; }
  .steps-grid article { min-height: 260px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .app-showcase { gap: 40px; }
  .app-copy { text-align: center; }
  .app-copy ul { max-width: 370px; margin-left: auto; margin-right: auto; text-align: left; }
  .modern-app-body { grid-template-columns: 48px 1fr; min-height: 290px; }
  .modern-app-body aside { padding: 12px 6px; }
  .modern-app-body aside span { width: 32px; height: 32px; }
  .modern-screen { padding: 13px; }
  .result-float { right: 5px; bottom: 5px; padding: 8px 10px; }
  .result-float > span { width: 26px; height: 26px; }
  .similarity-section { gap: 45px; }
  .calculator-section { width: 100%; }
  .contact-shell { grid-template-columns: 1fr; gap: 45px; }
  .contact-copy { text-align: center; }
  .contact-copy h2, .contact-copy > p { margin-left: auto; margin-right: auto; }
  .contact-meta { justify-content: center; }
  .form-card { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-heading { align-items: flex-start; flex-direction: column; }
  .custom-system-card { grid-template-columns: 1fr; }
  .custom-system-visual { width: 100%; min-height: clamp(260px, 64vw, 420px); margin: 0; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-top img, .footer-top p { margin: auto; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .how-section { width: calc(100% - 16px); padding: 60px 14px; border-radius: 24px; }
  .section-heading p { font-size: 16px; }
  .creative-row { gap: 7px; padding: 12px; }
  .creative { padding: 4px; }
  .creative span { left: 7px; right: 7px; bottom: 7px; padding: 4px; font-size: 7px; }
  .match-proof { padding: 16px; }
  .feature-card { min-height: 270px; }
  .custom-system-copy { padding: 30px 24px 38px; }
  .custom-system-button { width: 100%; }
  .calculator-section { padding-left: 14px; padding-right: 14px; }
  .saving-card > div { padding: 22px; }
  .saving-card b { font-size: 24px; }
  .saving-total b { font-size: 29px; }
  .contact-section { padding-left: 14px; padding-right: 14px; }
  .contact-copy h2 { font-size: 37px; }
  .form-card { padding: 21px; border-radius: 23px; }
  .footer-bottom div { justify-content: center; }
}

/* Vanilla PHP controls */
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-hidden { display: none !important; }
.form-error { margin: 14px 0 0; padding: 10px 12px; color: #9b2339; background: #fff0f3; border: 1px solid #f0c7d0; border-radius: 10px; font-size: 12px; }
.submit-button[disabled] { opacity: .68; cursor: wait; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.js .scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.js .scroll-reveal.is-visible { opacity: 1; transform: none; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(20,13,24,.54); backdrop-filter: blur(6px); cursor: pointer; }
.modal-panel { position: relative; z-index: 1; width: min(680px, 100%); max-height: min(720px, calc(100vh - 32px)); display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 28px; border: 1px solid #e3d9e8; border-radius: 24px; color: #251f29; background: #fff; box-shadow: 0 32px 90px rgba(30,18,36,.3); animation: modalIn .18s ease both; }
.lead-panel { width: min(760px, 100%); display: block; overflow-y: auto; padding: 0; border: 0; background: transparent; }
.lead-panel .form-card { min-height: 0; margin: 0; padding: 38px; }
.lead-panel .modal-close { z-index: 3; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #6a5f70; background: #f0eaf3; font-size: 22px; cursor: pointer; }
.pdf-modal { z-index: 1100; }
.pdf-panel { width: min(1120px, 100%); height: min(860px, calc(100vh - 32px)); max-height: none; grid-template-rows: auto minmax(0, 1fr); padding: 0; }
.pdf-modal-header { min-height: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px 12px 22px; border-bottom: 1px solid #e5dce9; }
.pdf-modal-header h3 { overflow: hidden; margin: 0; font-size: 18px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.pdf-modal-header > a { display: inline-flex; align-items: center; gap: 7px; color: #7330a8; font-size: 11px; font-weight: 900; }
.pdf-modal-header > a svg { width: 15px; }
.pdf-modal-header .modal-close { position: static; }
.pdf-panel iframe { width: 100%; height: 100%; border: 0; background: #ece8ef; }
body.modal-open { overflow: hidden; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fieldErrorIn { from { opacity: 0; transform: translateY(-4px); } }

@media (max-width: 560px) {
  .pdf-modal { padding: 8px; }
  .pdf-panel { height: calc(100vh - 16px); border-radius: 18px; }
  .pdf-modal-header { min-height: 58px; gap: 9px; padding: 9px 10px 9px 15px; }
  .pdf-modal-header h3 { font-size: 15px; }
  .pdf-modal-header > a { font-size: 0; }
  .pdf-modal-header > a::after { content: 'PDF ↗'; font-size: 10px; }
  .pdf-modal-header > a svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .scroll-reveal { opacity: 1; transform: none; transition: none; }
  .manual-trail { display: none; }
}
