/* ==========================================================================
   FOCSSY — shared stylesheet
   Stripe-inspired palette, type and motion. Used by every page.
   ========================================================================== */

:root {
  --navy: #0a2540;
  --navy-2: #1a3a5c;
  --slate: #425466;
  --slate-2: #6b7c93;
  --blurple: #635bff;
  --blurple-dark: #4b45d6;
  --cyan: #00d4ff;
  --pink: #ff5996;
  --orange: #ff9a3d;
  --yellow: #ffcb57;
  --violet: #a960ee;
  --mint: #11efe3;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --line: #e3e8ee;
  --card: #ffffff;
  --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, .25), 0 1px 3px -1px rgba(0, 0, 0, .3);
  --shadow-md: 0 13px 27px -5px rgba(50, 50, 93, .25), 0 8px 16px -8px rgba(0, 0, 0, .3);
  --shadow-lg: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1080px;
  --gutter: 24px;
  --ease: cubic-bezier(.215, .61, .355, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blurple); text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--blurple); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blurple); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px 10px 18px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1.3;
  transition: background .2s var(--ease), color .2s, opacity .2s, box-shadow .2s;
  cursor: pointer; border: 0; font-family: inherit; white-space: nowrap;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
.btn--blurple { background: var(--blurple); color: #fff; }
.btn--blurple:hover { background: var(--navy); }
.btn--ghost { color: var(--navy); background: transparent; }
.btn--ghost:hover { opacity: .65; }
.btn--light { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .3); }
.btn--block { width: 100%; justify-content: center; }

/* Stripe-style hover arrow: chevron gains a stem on hover */
.arrow { width: 10px; height: 10px; flex: none; margin-top: 1px; }
.arrow .arrow-stem { opacity: 0; transition: opacity .15s var(--ease); }
.arrow .arrow-head { transition: transform .15s var(--ease); }
a:hover .arrow .arrow-stem, button:hover .arrow .arrow-stem { opacity: 1; }
a:hover .arrow .arrow-head, button:hover .arrow .arrow-head { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blurple); }
.link-arrow:hover { color: var(--navy); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; height: 72px; gap: 32px; max-width: 1180px; }
.logo { display: block; width: 104px; height: 33px; position: relative; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.logo .logo-dark { opacity: 0; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a, .nav-item > button {
  color: #fff; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px;
  background: none; border: 0; font-family: inherit; cursor: pointer;
  transition: opacity .2s, background .2s, color .2s;
}
.nav > a:hover, .nav-item > button:hover, .nav-item.is-open > button { background: rgba(255, 255, 255, .18); }
.nav > a[aria-current="page"] { background: rgba(255, 255, 255, .18); }
.nav-item { position: relative; }
.nav-item > button { display: inline-flex; align-items: center; gap: 4px; }
.nav-item > button svg { width: 9px; transition: transform .2s; }
.nav-item.is-open > button svg { transform: rotate(180deg); }
.header-cta { margin-left: auto; }
.header-cta .btn { background: rgba(255, 255, 255, .22); color: #fff; }
.header-cta .btn:hover { background: rgba(255, 255, 255, .34); }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(10, 37, 64, .08);
}
.site-header.is-scrolled .logo .logo-dark { opacity: 1; }
.site-header.is-scrolled .logo .logo-light { opacity: 0; }
.site-header.is-scrolled .nav > a,
.site-header.is-scrolled .nav-item > button { color: var(--navy); }
.site-header.is-scrolled .nav > a:hover,
.site-header.is-scrolled .nav-item > button:hover,
.site-header.is-scrolled .nav-item.is-open > button,
.site-header.is-scrolled .nav > a[aria-current="page"] { background: rgba(10, 37, 64, .06); }
.site-header.is-scrolled .header-cta .btn { background: var(--navy); }
.site-header.is-scrolled .header-cta .btn:hover { background: var(--blurple); }

/* Mega dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 600px; padding: 22px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px) rotateX(-12deg);
  transform-origin: 50% -40px; perspective: 1200px;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotateX(0); }
.dropdown a { display: flex; gap: 14px; padding: 10px 12px; border-radius: 8px; color: var(--navy); transition: background .15s; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a strong { display: block; font-size: 14px; font-weight: 600; }
.dropdown a span { display: block; font-size: 13px; line-height: 1.45; color: var(--slate-2); }
.dropdown .dd-icon { width: 32px; height: 32px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; }
.dropdown .dd-icon svg { width: 18px; height: 18px; }
.dropdown .dd-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.dropdown .dd-foot a { display: inline-flex; padding: 0; color: var(--blurple); font-weight: 600; gap: 6px; align-items: center; }
.dropdown .dd-foot a:hover { background: none; color: var(--navy); }

.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .2); cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .25s, background .2s; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.site-header.is-scrolled .menu-toggle { background: rgba(10, 37, 64, .06); }
.site-header.is-scrolled .menu-toggle span,
.site-header.is-scrolled .menu-toggle span::before,
.site-header.is-scrolled .menu-toggle span::after { background: var(--navy); }

.mobile-panel {
  position: fixed; top: 10px; left: 10px; right: 10px; z-index: 60;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 20px; max-height: calc(100vh - 20px); overflow: auto;
  opacity: 0; visibility: hidden; transform: scale(.96); transform-origin: 100% 0;
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-panel .mp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-panel .mp-close { width: 36px; height: 36px; border: 0; background: var(--bg-soft); border-radius: 999px; font-size: 20px; color: var(--navy); cursor: pointer; }
.mobile-panel h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-2); margin: 18px 0 6px; }
.mobile-panel a { display: block; padding: 8px 0; color: var(--navy); font-weight: 600; }
.mobile-panel .mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mobile-panel .mp-grid a { font-weight: 500; font-size: 15px; }
.mobile-panel .btn { margin-top: 16px; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 24px; isolation: isolate; }
.hero-gradient {
  position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1;
  transform: skewY(-12deg); transform-origin: 0 0; top: -40%;
  overflow: hidden;
}
.hero-gradient canvas, .gradient-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: skewY(12deg) scale(1.3); transform-origin: 0 0;
}
.gradient-fallback {
  background:
    radial-gradient(at 20% 30%, var(--violet) 0, transparent 50%),
    radial-gradient(at 80% 20%, var(--cyan) 0, transparent 45%),
    radial-gradient(at 70% 80%, var(--pink) 0, transparent 50%),
    radial-gradient(at 30% 90%, var(--yellow) 0, transparent 45%),
    var(--orange);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--navy); background: rgba(255, 255, 255, .55); padding: 4px 12px 4px 6px; border-radius: 999px; margin-bottom: 26px; backdrop-filter: blur(6px); }
.eyebrow b { background: var(--navy); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 2px 8px; border-radius: 999px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700;
  mix-blend-mode: color-burn; color: var(--navy); margin-bottom: 30px;
}
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--slate); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .rotator { margin-top: 36px; font-size: 14px; font-weight: 500; color: var(--slate-2); display: flex; gap: 8px; align-items: center; }
.rotator .rot-word { color: var(--blurple); font-weight: 600; display: inline-block; min-width: 110px; transition: opacity .3s, transform .3s var(--ease); }
.rotator .rot-word.is-out { opacity: 0; transform: translateY(-8px); }

/* Hero UI composition */
.hero-visual { position: relative; height: 520px; perspective: 2000px; }
.ui-card { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ui-browser { top: 20px; left: 0; width: 470px; height: 340px; animation: float 9s ease-in-out infinite; }
.ui-browser .bar { height: 34px; background: var(--bg-soft); display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.ui-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8dee6; }
.ui-browser .bar .url { margin-left: 12px; flex: 1; height: 18px; border-radius: 6px; background: #fff; font-size: 10px; color: var(--slate-2); display: flex; align-items: center; padding-left: 8px; gap: 4px; }
.ui-browser .bar .url svg { width: 9px; color: #24b47e; }
.ui-page { padding: 22px; }
.ui-page .ph-nav { display: flex; justify-content: space-between; margin-bottom: 26px; }
.ui-page .ph-nav b { width: 54px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--blurple), var(--cyan)); }
.ui-page .ph-nav span { display: flex; gap: 8px; }
.ui-page .ph-nav span i { width: 28px; height: 6px; border-radius: 3px; background: #e3e8ee; }
.ui-page .ph-h { height: 16px; width: 78%; border-radius: 4px; background: var(--navy); margin-bottom: 9px; }
.ui-page .ph-h.s { width: 52%; }
.ui-page .ph-p { height: 7px; border-radius: 4px; background: #e3e8ee; margin: 14px 0 7px; width: 88%; }
.ui-page .ph-p.s { width: 64%; margin-top: 0; }
.ui-page .ph-cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--blurple); color: #fff; font-size: 11px; font-weight: 600; position: relative; }
.ui-page .ph-cta::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid var(--blurple); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
.ui-page .ph-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.ui-page .ph-row i { height: 52px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); }
.ui-cursor { position: absolute; width: 18px; left: 160px; top: 232px; animation: cursor 6s var(--ease) infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }

.ui-stats { right: 0; top: 230px; width: 270px; padding: 18px 18px 14px; animation: float 8s ease-in-out -3s infinite; }
.ui-stats .lbl { font-size: 12px; color: var(--slate-2); font-weight: 500; }
.ui-stats .val { display: flex; align-items: baseline; gap: 8px; font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin: 2px 0 6px; }
.ui-stats .val small { font-size: 12px; font-weight: 600; color: #24b47e; background: #cbf4c9; padding: 1px 6px; border-radius: 4px; letter-spacing: 0; }
.ui-stats svg { width: 100%; height: 70px; overflow: visible; }
.spark-line { fill: none; stroke: var(--blurple); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.spark-area { fill: url(#sparkFill); opacity: 0; transition: opacity 1s .8s; }
.is-visible .spark-line, .hero .spark-line { animation: draw 2s .6s var(--ease) forwards; }
.hero .spark-area { opacity: 1; }
.ui-stats .axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--slate-2); margin-top: 4px; }

.ui-phone { left: 300px; top: 300px; width: 150px; height: 230px; border-radius: 22px; padding: 10px; background: var(--navy); animation: float 10s ease-in-out -5s infinite; }
.ui-phone .screen { height: 100%; border-radius: 14px; background: #fff; padding: 14px 10px; overflow: hidden; }
.ui-phone .notif { display: flex; gap: 7px; align-items: center; background: var(--bg-soft); border-radius: 8px; padding: 7px; margin-bottom: 7px; font-size: 9px; line-height: 1.25; color: var(--navy); font-weight: 600; opacity: 0; transform: translateY(8px); animation: notif 6s var(--ease) infinite; }
.ui-phone .notif:nth-child(2) { animation-delay: .9s; }
.ui-phone .notif:nth-child(3) { animation-delay: 1.8s; }
.ui-phone .notif em { display: block; font-style: normal; font-weight: 400; color: var(--slate-2); }
.ui-phone .notif i { width: 20px; height: 20px; border-radius: 6px; flex: none; }

.ui-badge { left: -30px; top: 330px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--navy); animation: float 7s ease-in-out -2s infinite; }
.ui-badge .ring { width: 36px; height: 36px; }
.ui-badge .ring circle:last-child { stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 1.8s 1s var(--ease) forwards; }
.ui-badge em { display: block; font-style: normal; font-size: 11px; font-weight: 500; color: var(--slate-2); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { to { stroke-dashoffset: 4; } }
@keyframes pulse { 0% { opacity: .7; transform: scale(.9); } 70%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes cursor { 0%, 100% { transform: translate(120px, 60px); } 35%, 55% { transform: translate(0, 0); } 45% { transform: translate(0, 0) scale(.85); } }
@keyframes notif { 0% { opacity: 0; transform: translateY(8px); } 10%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section-caption { display: inline-block; font-size: 15px; font-weight: 600; margin-bottom: 14px; background: linear-gradient(90deg, var(--blurple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; letter-spacing: -0.035em; max-width: 720px; margin-bottom: 22px; }
.section-lead { font-size: 20px; line-height: 1.6; max-width: 640px; color: var(--slate); }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 64px; }
.feature-split.reverse .fs-visual { order: -1; }
.feature-cols { display: grid; grid-template-columns: 1fr; gap: 34px; }
.feature { position: relative; padding-left: 20px; }
.feature::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.feature::after { content: ""; position: absolute; left: 0; top: 4px; height: 20px; width: 1px; background: var(--blurple); }
.feature h3 { font-size: 16px; margin-bottom: 6px; letter-spacing: -0.01em; }
.feature p { font-size: 16px; margin: 0; }

/* Visual: funnel / ROI dashboard */
.panel { background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 24px; position: relative; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head b { font-size: 14px; color: var(--navy); }
.panel-head span { font-size: 12px; color: var(--slate-2); background: var(--bg-soft); padding: 3px 9px; border-radius: 999px; }
.funnel { display: grid; gap: 10px; }
.funnel-row { display: grid; grid-template-columns: 96px 1fr 46px; align-items: center; gap: 12px; font-size: 13px; }
.funnel-row span { color: var(--slate); font-weight: 500; }
.funnel-row em { font-style: normal; font-weight: 600; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.funnel-bar { height: 28px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.funnel-bar i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1.4s var(--ease); }
.is-visible .funnel-bar i { width: var(--w); }
.funnel-row:nth-child(1) i { background: linear-gradient(90deg, var(--cyan), #80e9ff); }
.funnel-row:nth-child(2) i { background: linear-gradient(90deg, var(--blurple), #7a73ff); transition-delay: .15s; }
.funnel-row:nth-child(3) i { background: linear-gradient(90deg, var(--violet), #c58cff); transition-delay: .3s; }
.funnel-row:nth-child(4) i { background: linear-gradient(90deg, var(--pink), var(--orange)); transition-delay: .45s; }
.panel--funnel { padding-bottom: 92px; }
.panel-float { position: absolute; right: -28px; bottom: -28px; width: 220px; padding: 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-md); }
.panel-float .chips { display: flex; gap: 6px; margin-top: 10px; }
.panel-float .chips i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.panel-float small { display: block; font-size: 12px; color: var(--slate-2); }
.panel-float strong { color: var(--navy); font-size: 14px; }

/* Visual: CTA/copy editor */
.editor { padding: 0; overflow: hidden; }
.editor .ed-top { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 12px; color: var(--slate-2); align-items: center; }
.editor .ed-top b { margin-left: auto; color: #24b47e; font-weight: 600; }
.editor .ed-body { padding: 28px; }
.editor .ed-h { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.25; min-height: 56px; }
.editor .ed-h .caret { display: inline-block; width: 2px; height: 22px; background: var(--blurple); vertical-align: -3px; margin-left: 2px; animation: blink 1s step-end infinite; }
.editor .ed-p { height: 8px; background: #e3e8ee; border-radius: 4px; margin-top: 12px; }
.editor .ed-p.s { width: 70%; }
.editor .ed-actions { display: flex; gap: 10px; margin-top: 24px; }
.editor .ed-actions span { font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.editor .ed-actions span:first-child { background: var(--blurple); color: #fff; }
.editor .ed-actions span:last-child { color: var(--navy); background: var(--bg-soft); }
.editor .ed-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.editor .ed-metrics div { padding: 16px 20px; font-size: 12px; color: var(--slate-2); }
.editor .ed-metrics div + div { border-left: 1px solid var(--line); }
.editor .ed-metrics strong { display: block; font-size: 18px; color: var(--navy); margin-top: 2px; }
.editor .ed-metrics .up { color: #24b47e; }
.editor .ed-metrics .down { color: var(--blurple); }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Services (dark) ---------- */
.section--dark { background: var(--navy); color: #adbdcc; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-lead { color: #adbdcc; }
.section--dark .section-caption { background: linear-gradient(90deg, var(--cyan), var(--mint)); -webkit-background-clip: text; background-clip: text; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.glow--1 { width: 520px; height: 520px; background: var(--blurple); top: -200px; right: -120px; }
.glow--2 { width: 420px; height: 420px; background: var(--pink); bottom: -220px; left: -120px; opacity: .25; }
.dark-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; position: relative; }
.service-card {
  position: relative; padding: 30px 28px 26px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(99, 91, 255, .22), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.service-card:hover { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 22px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.015em; }
.service-card p { font-size: 15px; line-height: 1.65; margin-bottom: 22px; flex: 1; }
.service-card .link-arrow { color: var(--cyan); }
.service-card .link-arrow:hover { color: #fff; }

.g-web { background: linear-gradient(135deg, #635bff, #a960ee); }
.g-seo { background: linear-gradient(135deg, #00d4ff, #635bff); }
.g-social { background: linear-gradient(135deg, #ff5996, #a960ee); }
.g-mkt { background: linear-gradient(135deg, #ff9a3d, #ff5996); }
.g-host { background: linear-gradient(135deg, #11efe3, #00a2d4); }
.g-sec { background: linear-gradient(135deg, #24b47e, #11a8a0); }

/* ---------- Testimonial ---------- */
.testimonial { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.stars { display: flex; gap: 4px; justify-content: center; margin: 12px 0 28px; }
.stars svg { width: 22px; height: 22px; color: var(--yellow); opacity: 0; transform: scale(.4) rotate(-30deg); transition: opacity .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.is-visible .stars svg { opacity: 1; transform: none; }
.is-visible .stars svg:nth-child(2) { transition-delay: .08s; }
.is-visible .stars svg:nth-child(3) { transition-delay: .16s; }
.is-visible .stars svg:nth-child(4) { transition-delay: .24s; }
.is-visible .stars svg:nth-child(5) { transition-delay: .32s; }
.rating-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-2); }
.quote { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.5; color: var(--navy); letter-spacing: -0.015em; font-weight: 500; max-width: 860px; margin: 0 0 36px; }
.quote::before { content: "“"; } .quote::after { content: "”"; }
.author { display: flex; align-items: center; gap: 14px; text-align: left; }
.author img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blurple); }
.author strong { display: block; color: var(--navy); font-size: 16px; }
.author span { font-size: 14px; color: var(--slate-2); }
.author a { color: var(--blurple); }

/* ---------- Engage (pricing / quote) ---------- */
.engage { text-align: center; }
.engage .section-title { margin-left: auto; margin-right: auto; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); margin: 18px 0 56px; position: relative; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; border-radius: 999px; font: 600 14px/1 var(--font); letter-spacing: .06em; color: var(--slate); cursor: pointer; transition: color .25s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs .tab-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--blurple); transition: transform .35s var(--ease), width .35s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .5s var(--ease); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; align-items: stretch; }
.price-card { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { background: var(--navy); color: #adbdcc; }
.price-card.featured::before { content: ""; position: absolute; inset: -2px; border-radius: 18px; z-index: -1; background: linear-gradient(135deg, var(--cyan), var(--blurple), var(--pink), var(--orange)); background-size: 300% 300%; animation: gradientShift 8s ease infinite; }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 18px; }
.price { font-size: 46px; font-weight: 700; color: var(--navy); letter-spacing: -0.04em; line-height: 1; display: flex; align-items: flex-start; gap: 4px; }
.price sup { font-size: 22px; font-weight: 600; margin-top: 6px; }
.price-period { font-size: 14px; color: var(--slate-2); margin: 8px 0 26px; }
.price-features { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; font-size: 15px; flex: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.price-features li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--blurple); }
.price-card.featured .price-features li svg { color: var(--cyan); }
.price-features li.off { color: #b0bec5; text-decoration: line-through; }
.price-features li.off svg { color: #cfd7df; }
.price-features b { color: var(--navy); font-weight: 600; }
.price-card.featured .price-features b { color: #fff; }
.price-card.featured .btn { background: var(--blurple); }
.price-card.featured .btn:hover { background: #fff; color: var(--navy); }
.pricing-note { font-size: 18px; max-width: 640px; margin: 48px auto 0; color: var(--slate); }

@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Quote form */
.quote-form { max-width: 760px; margin: 0 auto; text-align: left; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: 16px/1.4 var(--font); color: var(--navy); padding: 11px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
  transition: border-color .2s, box-shadow .2s; width: 100%; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7c93' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blurple); box-shadow: 0 0 0 4px rgba(99, 91, 255, .15); }
.field small { font-size: 13px; color: var(--slate-2); line-height: 1.45; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-actions p { margin: 0; font-size: 13px; color: var(--slate-2); }

/* ---------- Final CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 20px; padding: 64px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--navy); }
.cta-band canvas, .cta-band .gradient-fallback { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; opacity: .9; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.03em; color: var(--navy); mix-blend-mode: color-burn; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); padding: 80px 0 40px; font-size: 15px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { color: var(--slate); max-width: 300px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--slate); transition: color .15s; }
.site-footer a:hover { color: var(--blurple); }
.footer-col + .footer-col h4.mt { margin-top: 28px; }
.phone-link { font-weight: 600; color: var(--navy) !important; font-size: 17px; }
.newsletter p { margin-bottom: 12px; }
.newsletter form { display: flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow-sm); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 14px; font: 15px var(--font); color: var(--navy); }
.newsletter input:focus { outline: none; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.payments span { font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 4px 8px; border-radius: 5px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { transform: translateY(-2px); background: var(--blurple); color: #fff; border-color: var(--blurple); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--slate-2); align-items: center; }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 380px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: 14px; line-height: 1.5; transform: translateY(140%); transition: transform .5s var(--ease); }
.cookie.is-shown { transform: none; }
.cookie p { margin: 0 0 12px; }
.cookie .row { display: flex; gap: 8px; }
.cookie .btn { padding: 7px 14px; font-size: 14px; }
.cookie .btn--ghost { background: var(--bg-soft); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-visual { zoom: .86; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 540px; zoom: .78; margin-bottom: 8px; }
  .feature-split { grid-template-columns: 1fr; gap: 56px; }
  .feature-split.reverse .fs-visual { order: 0; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-band .cta-actions { justify-content: flex-start; }
  .panel-float { right: 12px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .hero { padding: 116px 0 64px; }
  .hero .lead { font-size: 17px; }
  .hero-visual { zoom: .62; }
  .section-lead { font-size: 18px; }
  .services-grid, .pricing-grid, .footer-top { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; padding: 24px; }
  .panel-float { position: relative; right: auto; bottom: auto; margin: -20px 0 0 auto; }
  .funnel-row { grid-template-columns: 78px 1fr 40px; }
  .tabs button { padding: 10px 14px; font-size: 12px; }
  .cta-band { padding: 40px 24px; border-radius: 16px; }
  .editor .ed-body { padding: 20px; }
  .editor .ed-metrics div { padding: 12px; }
}
@media (max-width: 400px) {
  .hero-visual { zoom: .54; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
