/*!
 * Landing Pack — SaaS theme "Pulsegrid" (v1.0.0)
 * Made by Vortaxis Studio · https://vortaxis.com
 * Change the brand by editing the tokens in the first two blocks.
 */
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #fbfbfe;
  --bg-2: #f3f3fa;
  --surface: #ffffff;
  --surface-2: #f0f0f8;
  --line: #e5e5f0;
  --ink: #11111d;
  --mute: #5d5e72;
  --accent: #5b4cf5;
  --accent-2: #19c6a7;
  --accent-ink: #ffffff;
  --focus: #5b4cf5;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --dash-bg: #ffffff;
}
[data-theme="dark"] {
  --bg: #090a12;
  --bg-2: #0e0f1a;
  --surface: #131423;
  --surface-2: #1b1c2f;
  --line: #262842;
  --ink: #f1f1fb;
  --mute: #a3a5c0;
  --accent: #8577ff;
  --accent-2: #2fe0bf;
  --accent-ink: #0b0a1a;
  --focus: #a499ff;
  --danger: #ff6b81;
  --success: #3ddc97;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.8);
  --dash-bg: #10111e;
}

.grad { background: linear-gradient(100deg, var(--accent) 10%, #c157f5 55%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 0; overflow: hidden; }
.hero-glow { position: absolute; inset: -200px 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(600px 380px at 25% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
              radial-gradient(520px 340px at 78% 22%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask: radial-gradient(ellipse 60% 50% at 50% 20%, #000, transparent 75%); mask: radial-gradient(ellipse 60% 50% at 50% 20%, #000, transparent 75%); }
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--mute); }
.announce:hover { color: var(--ink); border-color: var(--accent); }
.announce-tag { background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.announce svg { width: 16px; height: 16px; }
.hero-title { font-size: clamp(44px, 7.6vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-top: 28px; }
.hero-sub { font-size: clamp(17px, 1.7vw, 21px); color: var(--mute); max-width: 640px; margin-top: 24px; }
.hero-form { width: min(520px, 100%); margin-top: 34px; position: relative; }
.hero-form .form-status { flex-basis: 100%; text-align: left; margin-top: 0; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 6px; color: var(--mute); font-size: 14px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; color: var(--accent-2); }

/* Dashboard mockup */
.dash-stage { position: relative; margin: 64px auto 0; max-width: 1080px; perspective: 1800px; }
.dash { display: grid; grid-template-columns: 190px 1fr; border-radius: 20px 20px 0 0; border: 1px solid var(--line); border-bottom: 0; background: var(--dash-bg); box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--surface) 50%, transparent); overflow: hidden; text-align: left; font-size: 13px; }
.dash-side { padding: 18px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); }
.dash-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; font-size: 14px; }
.dash-brand i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.dash-side span { padding: 8px 10px; border-radius: 8px; color: var(--mute); font-weight: 600; }
.dash-side span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.dash-main { padding: 18px 20px 24px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 16px; }
.dash-chip { font-size: 12px; font-weight: 600; color: var(--mute); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.kpi span { color: var(--mute); font-size: 12px; font-weight: 600; display: block; }
.kpi b { font-size: 22px; letter-spacing: -.02em; display: block; margin: 4px 0 2px; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 700; }
.up { color: #11a37f; } .down { color: #11a37f; }
[data-theme="dark"] .up, [data-theme="dark"] .down { color: #3ddc97; }
.dash-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; margin-top: 12px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); position: relative; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.panel-h span { color: var(--mute); font-size: 11px; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg.a { background: var(--accent); } .lg.b { background: var(--line); margin-left: 6px; }
.chart { display: flex; flex-direction: column; }
.chart svg { width: 100%; height: 190px; flex: 1; min-height: 170px; overflow: visible; }
.gridlines path { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .prev { fill: none; stroke: var(--mute); stroke-opacity: .35; stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.chart .dot { fill: var(--surface); stroke: var(--accent); stroke-width: 3; vector-effect: non-scaling-stroke; opacity: 0; }
.is-in .chart .line, .chart .line.is-static { animation: draw 2s .4s cubic-bezier(.4,0,.2,1) forwards; }
.is-in .chart .dot { animation: pop .4s 2.1s forwards; }
html:not(.js-reveal) .chart .line { stroke-dashoffset: 0; }
html:not(.js-reveal) .chart .dot { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
.tip { position: absolute; left: 64%; top: 52px; transform: translateX(-50%); background: var(--ink); color: var(--bg); font-size: 11px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.funnel .bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin-top: 12px; font-size: 12px; }
.funnel .bar span { color: var(--mute); font-weight: 600; }
.funnel .bar b { font-size: 12px; }
.funnel .bar i { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.funnel .bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--accent-2))); transform-origin: left; transform: scaleX(0); transition: transform 1.2s .6s cubic-bezier(.2,.7,.2,1); }
.is-in .funnel .bar i::after, html:not(.js-reveal) .funnel .bar i::after { transform: none; }

.float-card { position: absolute; display: flex; gap: 12px; align-items: flex-start; width: 270px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: left; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float-card b { font-size: 14px; }
.float-card p { color: var(--mute); margin-top: 2px; line-height: 1.45; }
.float-card strong { color: var(--ink); }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.fc-icon.g { background: color-mix(in srgb, var(--accent-2) 18%, transparent); color: var(--accent-2); }
.fc-icon svg { width: 19px; height: 19px; }
.fc-1 { left: -48px; top: 150px; }
.fc-2 { right: -40px; top: -34px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 1180px) { .fc-1 { left: 12px; top: auto; bottom: 24px; } .fc-2 { right: 12px; } }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

/* Logos */
.logos { padding-top: 56px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .b-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
.bento .b-wide > .f-icon, .bento .b-wide > h3, .bento .b-wide > p { grid-column: 1; }
.bento .b-wide > .mini-funnel, .bento .b-wide > .chips { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.card.feature { transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.card.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.b-dark { background: linear-gradient(160deg, #191837, #0d0c1e); color: #f1f1fb; border-color: #2a2850; }
.b-dark p { color: #b5b4d4; }
.b-dark .f-icon { background: rgba(133, 119, 255, .2); color: #a499ff; }
.mini-funnel { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.mini-funnel i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent)); transform-origin: bottom; transform: scaleY(.1); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mini-funnel i:nth-child(2) { transition-delay: .1s; } .mini-funnel i:nth-child(3) { transition-delay: .2s; } .mini-funnel i:nth-child(4) { transition-delay: .3s; } .mini-funnel i:nth-child(5) { transition-delay: .4s; }
.is-in .mini-funnel i, html:not(.js-reveal) .mini-funnel i { transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-wide { grid-column: auto; display: block; }
  .bento .b-wide > .mini-funnel, .bento .b-wide > .chips { margin-top: 22px; }
  .br-d { display: none; }
  .hero-form .btn { flex: 1 1 100%; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n { font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 21px; margin: 12px 0 8px; }
.step p { color: var(--mute); font-size: 16px; }
.code-line { display: block; margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: #12121f; color: #c9c5ff; font: 500 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto; white-space: nowrap; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: center; }
.stats b { display: block; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.04em; }
.stats span { color: var(--mute); font-weight: 600; font-size: 15px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* Pricing extras */
.when-y { display: none; }
.is-yearly .when-y { display: inline; }
.is-yearly .when-m { display: none; }

/* CTA band */
.cta-section { padding-top: 0; }
.cta-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; color: #fff;
  background: radial-gradient(500px 300px at 0% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(25,198,167,.45), transparent 60%), linear-gradient(135deg, #4b3cf0, #7a3cf0); box-shadow: var(--shadow-lg); }
.cta-band .lead { color: rgba(255,255,255,.82); }
.cta-form { display: grid; gap: 14px; padding: 24px; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
