* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    color-scheme: dark;
    --bg: #050b15;
    --bg-2: #07111f;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f5f8ff;
    --muted: rgba(231, 238, 252, 0.68);
    --faint: rgba(231, 238, 252, 0.46);
    --blue: #70a4ff;
    --blue-strong: #2e69ff;
    --cyan: #54ead0;
    --mint: #a5ffe9;
    --aqua: #20e0b4;
    --deep-blue: #102b68;
    --surface: rgba(255, 255, 255, 0.075);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --success: #58f0c6;
    --warning: #ffd166;
    --danger: #ff6b7a;
    --ink: #06101d;
    --radius-xl: 42px;
    --radius-lg: 30px;
    --radius-md: 22px;
    --container: 1460px;
    --shadow: 0 44px 130px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 24px 72px rgba(0, 0, 0, 0.28);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 86% 28%, rgba(32, 224, 180, 0.18), transparent 24%),
        radial-gradient(circle at 20% 8%, rgba(112, 164, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #020713 0%, #061323 48%, #040812 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: -20% -10% auto;
    height: 64vh;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 28%, rgba(84, 234, 208, 0.06) 38%, transparent 48%),
        linear-gradient(70deg, transparent 0 52%, rgba(112, 164, 255, 0.07) 62%, transparent 72%);
    opacity: 0.72;
    filter: blur(0.2px);
    animation: lightSweep 15s ease-in-out infinite;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.container {
    width: min(var(--container), calc(100% - 104px));
    margin: 0 auto;
}

h1,
h2,
h3,
strong,
p,
summary,
small,
a,
span {
    overflow-wrap: break-word;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(1, 6, 17, 0.92);
    backdrop-filter: blur(22px);
}

.header.scrolled {
    border-color: var(--line);
    background: rgba(5, 11, 21, 0.86);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.navbar {
    padding: 18px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-brand,
.nav-actions,
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu {
    gap: clamp(24px, 3vw, 42px);
    list-style: none;
}

.nav-menu a {
    color: rgba(245, 248, 255, 0.82);
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text);
}

.nav-actions {
    gap: 16px;
}

.btn-login,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 800;
    isolation: isolate;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn-login,
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #11d5bd 0%, #2d73ff 100%);
    box-shadow: 0 18px 46px rgba(45, 115, 255, 0.24);
}

.btn-primary::before,
.btn-outline::before,
.btn-login::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transform: translateX(-38%);
    transition: opacity 0.24s ease, transform 0.42s ease;
    pointer-events: none;
}

.btn-large {
    min-width: 210px;
    min-height: 60px;
    gap: 12px;
    padding: 17px 28px;
    font-size: 1.02rem;
}

.btn-login:hover,
.btn-outline:hover,
.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-login:hover::before,
.btn-outline:hover::before,
.btn-primary:hover::before {
    opacity: 1;
    transform: translateX(38%);
}

.btn-outline:hover,
.btn-login:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    padding: 10px;
}

.lv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.lv-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-icon svg,
.eyebrow-icon svg {
    width: 18px;
    height: 18px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 86px);
    display: grid;
    align-items: center;
    padding: clamp(86px, 9vh, 118px) 0 56px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 86px 86px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 86%);
}

.hero-orbit {
    position: absolute;
    inset: 18% 3% auto auto;
    width: min(52vw, 760px);
    height: min(52vw, 760px);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(32, 224, 180, 0.32), transparent 52%),
        conic-gradient(from 170deg, transparent, rgba(112, 164, 255, 0.2), transparent, rgba(84, 234, 208, 0.18), transparent);
    filter: blur(8px);
    opacity: 0.82;
    transform: translate3d(var(--hero-drift-x, 0), var(--hero-drift-y, 0), 0);
    animation: orbitFloat 12s ease-in-out infinite;
}

.hero-orbit::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(165, 255, 233, 0.1);
    border-radius: inherit;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
    gap: clamp(58px, 6.4vw, 112px);
    align-items: center;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow,
.section-kicker {
    display: none;
    width: fit-content;
    align-items: center;
    min-height: 42px;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(84, 234, 208, 0.08);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-panel h2 {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero h1 {
    margin-top: 0;
    font-size: clamp(3.4rem, 4.3vw, 4.9rem);
    line-height: 1.08;
    max-width: 720px;
    color: #fff;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
    text-wrap: auto;
}

.hero p {
    max-width: 52ch;
    margin-top: 28px;
    color: var(--muted);
    font-size: clamp(1.12rem, 1.42vw, 1.28rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.hero-proof {
    display: none;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 58px;
    border-top: 0;
}

.hero-proof article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    min-height: 118px;
    padding: 18px;
    align-items: start;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.hero-proof article:first-child {
    padding-left: 18px;
}

.hero-proof article + article {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-proof .lv-icon {
    width: 52px;
    height: 52px;
    margin-top: 3px;
    border: 1px solid rgba(84, 234, 208, 0.18);
    border-radius: 14px;
    color: var(--cyan);
    background: rgba(84, 234, 208, 0.08);
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    margin-bottom: 8px;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
}

.hero-proof span {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
}

.product-stage {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.stage-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84, 234, 208, 0.16), transparent 66%);
    filter: blur(20px);
}

.dashboard-shell {
    position: relative;
    overflow: hidden;
    width: min(100%, 700px);
    padding: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 12%, rgba(84, 234, 208, 0.28), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(8, 18, 33, 0.88);
    box-shadow: var(--shadow);
    backdrop-filter: blur(28px);
    transform: translate3d(var(--hero-card-x, 0), var(--hero-card-y, 0), 0);
    transition: transform 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65), transparent);
}

.dashboard-shell::before,
.benefit-card::before,
.rail-card::before,
.vision-card::before,
.code-card::before,
.metric-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--spot-x, 72%) var(--spot-y, 18%), rgba(84, 234, 208, 0.2), transparent 34%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.dashboard-shell:hover::before,
.benefit-card:hover::before,
.rail-card:hover::before,
.vision-card:hover::before,
.code-card:hover::before,
.metric-grid article:hover::before {
    opacity: 1;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--faint);
    font-size: 1rem;
    font-weight: 800;
}

.mock-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

.mock-header strong {
    margin-left: auto;
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.mock-header strong i {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(88, 240, 198, 0.12);
}

.balance-panel {
    margin-top: 38px;
    padding: clamp(34px, 3.4vw, 52px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(84, 234, 208, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.balance-panel span,
.vision-card span,
.metric-grid span {
    color: var(--faint);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.balance-panel strong {
    display: block;
    margin-top: 10px;
    font-size: clamp(3rem, 3.9vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.balance-panel small {
    display: block;
    max-width: 38ch;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.6;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.signal-grid div {
    min-height: 104px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.signal-grid span {
    display: block;
    color: var(--faint);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.signal-grid strong {
    display: block;
    margin-top: 8px;
    font-size: 1.22rem;
    line-height: 1.35;
}

.flow-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.flow-line i {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line), var(--cyan), var(--line));
    background-size: 200% 100%;
    animation: flowPulse 4.4s ease-in-out infinite;
}

.section-space {
    padding: clamp(82px, 10vw, 132px) 0;
}

.section-heading {
    max-width: 680px;
}

.section-heading.compact {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 28px;
    font-size: clamp(1.95rem, 3.05vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.section-heading p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.72;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.benefit-card,
.vision-card,
.code-card,
.metric-grid article,
.faq-list details,
.cta-panel {
    position: relative;
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
}

.benefit-card {
    min-height: 268px;
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(84, 234, 208, 0.28);
    background:
        radial-gradient(circle at top right, rgba(84, 234, 208, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
}

.benefit-card .lv-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: var(--mint);
    background: rgba(84, 234, 208, 0.09);
}

.benefit-card h3 {
    margin-top: 42px;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
}

.benefit-card p {
    max-width: 28ch;
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.68;
}

.payment-rail {
    background:
        radial-gradient(circle at 12% 18%, rgba(84, 234, 208, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(112, 164, 255, 0.035));
}

.rail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.rail-card {
    position: relative;
    overflow: hidden;
    min-height: 172px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032));
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.rail-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--spot-x, 78%) var(--spot-y, 18%), rgba(84, 234, 208, 0.18), transparent 36%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.rail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(84, 234, 208, 0.26);
    background:
        radial-gradient(circle at top right, rgba(84, 234, 208, 0.1), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.04));
}

.rail-card:hover::before {
    opacity: 1;
}

.rail-card .lv-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    color: var(--mint);
    background: rgba(84, 234, 208, 0.09);
}

.rail-card span {
    display: block;
    margin-top: 26px;
    color: var(--faint);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rail-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.04rem;
    line-height: 1.24;
    text-wrap: balance;
}

.rail-card p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.62;
}

.rail-card-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 360px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 74% 18%, rgba(84, 234, 208, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
}

.rail-card-featured strong {
    max-width: 15.5ch;
    font-size: clamp(2rem, 3.2vw, 3.35rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.product-vision {
    background:
        radial-gradient(circle at 82% 18%, rgba(112, 164, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.vision-grid,
.security-grid,
.api-grid,
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(34px, 7vw, 88px);
    align-items: center;
}

.vision-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vision-card {
    min-height: 220px;
    padding: 28px;
    border-radius: var(--radius-lg);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.vision-card:hover,
.metric-grid article:hover {
    transform: translateY(-6px);
    border-color: rgba(84, 234, 208, 0.28);
    background:
        radial-gradient(circle at top right, rgba(84, 234, 208, 0.1), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
}

.vision-card.wide {
    grid-column: span 2;
    min-height: 300px;
}

.vision-card strong {
    display: block;
    margin-top: 14px;
    max-width: 22ch;
    font-size: clamp(1.55rem, 2.8vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 96px;
    margin-top: 34px;
}

.bars i {
    flex: 1;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, var(--mint), var(--blue-strong));
    opacity: 0.82;
    transform-origin: bottom;
    animation: barRise 5s ease-in-out infinite;
}

.bars i:nth-child(1) { height: 46%; }
.bars i:nth-child(2) { height: 74%; animation-delay: 0.1s; }
.bars i:nth-child(3) { height: 58%; animation-delay: 0.2s; }
.bars i:nth-child(4) { height: 92%; animation-delay: 0.3s; }

.security {
    background:
        radial-gradient(circle at 20% 10%, rgba(84, 234, 208, 0.1), transparent 28%),
        #040812;
}

.security-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.security-list div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.045);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.security-list div:hover {
    transform: translateX(6px);
    border-color: rgba(84, 234, 208, 0.24);
    background: rgba(84, 234, 208, 0.06);
}

.security-list .lv-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: var(--cyan);
    background: rgba(84, 234, 208, 0.08);
}

.security-list span {
    color: var(--text);
    font-weight: 800;
}

.api {
    background:
        linear-gradient(180deg, transparent, rgba(112, 164, 255, 0.04));
}

.code-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.code-card:hover {
    transform: translateY(-6px);
    border-color: rgba(84, 234, 208, 0.24);
}

.code-tabs,
.webhook-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.code-tabs strong,
.webhook-row strong {
    color: var(--mint);
}

pre {
    position: relative;
    margin: 0;
    padding: 34px;
    overflow-x: auto;
    color: #dffbf5;
    background: rgba(0, 0, 0, 0.24);
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.7;
}

.code-card pre::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(84, 234, 208, 0.7), transparent);
    animation: scanLine 4.8s ease-in-out infinite;
}

.webhook-row {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.trust {
    background:
        radial-gradient(circle at center, rgba(84, 234, 208, 0.08), transparent 32%),
        #050b15;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.metric-grid article {
    min-height: 220px;
    padding: 26px;
    border-radius: var(--radius-lg);
    transition: transform 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.metric-grid strong {
    display: block;
    font-family: "Cal Sans", "Manrope", sans-serif;
    font-size: clamp(2.1rem, 3.5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.metric-grid span {
    display: block;
    margin-top: 20px;
}

.faq {
    background: #040812;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
}

.faq-list summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 24px 58px 24px 24px;
    font-weight: 900;
    line-height: 1.35;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    color: var(--cyan);
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    padding: 0 24px 24px;
    color: var(--muted);
    line-height: 1.68;
}

.final-cta {
    padding-top: 0;
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 7vw, 76px);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 86% 20%, rgba(84, 234, 208, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.cta-panel h2 {
    max-width: 13.8ch;
    margin-top: 28px;
    font-size: clamp(2.8rem, 6vw, 6rem);
    line-height: 1;
    text-wrap: balance;
}

.cta-panel p {
    max-width: 50ch;
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.footer {
    padding: 60px 0 34px;
    border-top: 1px solid var(--line);
    background: #030711;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer p,
.footer small {
    max-width: 46ch;
    margin-top: 16px;
    color: var(--faint);
    line-height: 1.6;
}

.footer nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px 24px;
}

.footer nav a {
    color: var(--muted);
    font-weight: 800;
}

.footer small {
    grid-column: 1 / -1;
}

.legal-line {
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes orbitFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-16px, 22px, 0) rotate(8deg); }
}

@keyframes flowPulse {
    0%, 100% { background-position: 0% 50%; opacity: 0.7; }
    50% { background-position: 100% 50%; opacity: 1; }
}

@keyframes barRise {
    0%, 100% { transform: scaleY(0.86); filter: saturate(0.92); }
    50% { transform: scaleY(1); filter: saturate(1.12); }
}

@keyframes scanLine {
    0% { top: 22%; opacity: 0; }
    22% { opacity: 1; }
    72% { opacity: 1; }
    100% { top: 78%; opacity: 0; }
}

.motion-ready .animate-in {
    animation: fadeInUp 0.74s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.motion-ready .rail-card:nth-child(2),
.motion-ready .benefit-card:nth-child(2),
.motion-ready .metric-grid article:nth-child(2) {
    animation-delay: 0.06s;
}

.motion-ready .rail-card:nth-child(3),
.motion-ready .benefit-card:nth-child(3),
.motion-ready .metric-grid article:nth-child(3) {
    animation-delay: 0.12s;
}

.motion-ready .rail-card:nth-child(4),
.motion-ready .metric-grid article:nth-child(4) {
    animation-delay: 0.18s;
}

@keyframes lightSweep {
    0%, 100% { transform: translate3d(-2%, 0, 0); opacity: 0.55; }
    50% { transform: translate3d(3%, 1.5%, 0); opacity: 0.86; }
}

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

@media (max-width: 1280px) {
    .container {
        width: min(var(--container), calc(100% - 64px));
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
        gap: clamp(54px, 5vw, 82px);
    }

    .hero h1 {
        font-size: clamp(3.15rem, 4.2vw, 4.55rem);
        max-width: 720px;
    }

    .dashboard-shell {
        width: min(100%, 660px);
    }

    .balance-panel strong {
        font-size: clamp(3rem, 4.25vw, 4.4rem);
    }

    .hero-proof {
        margin-top: 44px;
    }

    .hero-proof article {
        grid-template-columns: 46px 1fr;
        gap: 14px;
        padding: 16px;
    }

    .hero-proof .lv-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 1060px) {
    .hero-grid,
    .vision-grid,
    .security-grid,
    .api-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        max-width: 13.5ch;
    }

    .hero-copy {
        max-width: 760px;
    }

    .product-stage {
        min-height: 620px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        gap: 18px;
        border-top: 0;
        margin-top: 44px;
    }

    .hero-proof article {
        min-height: auto;
    }

    .benefit-grid,
    .rail-grid,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(5, 11, 21, 0.96);
        box-shadow: var(--shadow-soft);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li,
    .nav-menu a {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 8px;
    }

    .hero {
        padding-top: 58px;
    }

    .product-stage {
        min-height: auto;
        padding-bottom: 120px;
    }

}

@media (max-width: 640px) {
    .hero h1,
    .section-heading h2,
    .cta-panel h2 {
        letter-spacing: -0.022em;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 11.2vw, 3.65rem);
        line-height: 1.06;
        max-width: 100%;
    }

    .hero p,
    .section-heading p,
    .cta-panel p {
        font-size: 0.98rem;
        line-height: 1.68;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .dashboard-shell,
    .cta-panel {
        border-radius: 30px;
    }

    .dashboard-shell {
        padding: 18px;
    }

    .balance-panel {
        padding: 26px;
    }

    .balance-panel strong {
        font-size: clamp(2.2rem, 13vw, 3.25rem);
    }

    .signal-grid,
    .benefit-grid,
    .rail-grid,
    .vision-stack,
    .security-list,
    .metric-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .vision-card.wide {
        grid-column: auto;
    }

    .rail-card-featured {
        grid-column: auto;
        grid-row: auto;
        min-height: 280px;
    }

    .rail-card-featured strong {
        max-width: 100%;
        font-size: clamp(1.75rem, 9vw, 2.45rem);
    }

    .metric-grid article {
        min-height: 170px;
    }

    .footer nav {
        justify-content: flex-start;
    }

    pre {
        padding: 24px;
    }
}

/* Levora commercial home v2: closer to the product reference while keeping all links and sections. */
body {
    background:
        radial-gradient(circle at 78% 18%, rgba(34, 102, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #020817 0%, #061a33 46%, #f7faff 46%, #f7faff 100%);
}

.site-header {
    min-height: 86px;
    background: rgba(2, 8, 23, 0.92);
    border-bottom: 1px solid rgba(125, 171, 255, 0.12);
    backdrop-filter: blur(18px);
}

.hero {
    min-height: calc(100vh - 86px);
    padding: clamp(86px, 9vh, 124px) 0 64px;
    background:
        linear-gradient(rgba(125, 171, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 171, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 86% 54%, rgba(24, 215, 192, 0.20), transparent 24%),
        linear-gradient(180deg, #020817 0%, #06152f 100%);
    background-size: 56px 56px, 56px 56px, auto, auto;
}

.hero-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(620px, 1.22fr);
    align-items: center;
    gap: clamp(56px, 8vw, 118px);
}

.hero h1 {
    max-width: 11.8ch;
    font-size: clamp(3.7rem, 5.4vw, 5.9rem);
    line-height: 1.03;
    letter-spacing: -0.046em;
}

.hero p {
    max-width: 600px;
    color: rgba(231, 240, 255, 0.74);
    font-size: clamp(1.08rem, 1.36vw, 1.28rem);
}

.hero-actions {
    gap: 18px;
    margin-top: 34px;
}

.btn-large {
    min-height: 64px;
    border-radius: 18px;
    padding-inline: 30px;
    box-shadow: 0 22px 48px rgba(34, 102, 255, 0.22);
}

.dashboard-shell {
    width: min(100%, 760px);
    border-radius: 34px;
    padding: 32px;
    background:
        radial-gradient(circle at 92% 12%, rgba(24, 215, 192, 0.22), transparent 34%),
        linear-gradient(145deg, rgba(16, 35, 66, 0.88), rgba(6, 18, 40, 0.72));
    border-color: rgba(143, 183, 255, 0.22);
    box-shadow: 0 42px 110px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.08);
}

.balance-panel {
    min-height: 280px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 94% 0%, rgba(24, 215, 192, 0.20), transparent 36%),
        linear-gradient(145deg, rgba(34, 52, 83, 0.86), rgba(17, 33, 59, 0.72));
}

.balance-panel strong {
    max-width: 10ch;
    font-size: clamp(3.1rem, 4.8vw, 5rem);
    line-height: 1.04;
}

.signal-grid div,
.benefit-grid article,
.rail-card,
.vision-card,
.code-card,
.metric-grid article {
    border-radius: 18px;
}

.hero-proof {
    margin-top: 54px;
    gap: 22px;
}

.hero-proof article {
    min-width: 0;
    padding: 0 24px 0 72px;
}

.hero-proof article::before {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 20%, rgba(24, 215, 192, 0.36), transparent 45%),
        rgba(34, 102, 255, 0.12);
}

.section-space {
    background: #f7faff;
    color: #071833;
}

.section-space .section-heading h2,
.section-space h3,
.section-space strong {
    color: #071833;
}

.section-space .section-heading p,
.section-space p,
.section-space li {
    color: #5c6b86;
}

.benefit-grid article,
.rail-card,
.vision-card,
.code-card,
.metric-grid article {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 34, 64, 0.10);
    box-shadow: 0 20px 55px rgba(17, 34, 64, 0.08);
}

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 12ch;
    }

    .dashboard-shell {
        width: min(100%, 820px);
    }
}

@media (max-width: 640px) {
    body {
        background: #020817;
    }

    .hero {
        padding-top: 54px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 12vw, 3.75rem);
        max-width: 100%;
    }

    .hero-proof article {
        padding: 72px 18px 20px;
    }
}
