:root {
    color-scheme: dark;
    --bg: #081126;
    --panel: rgba(15, 23, 42, .72);
    --panel-strong: rgba(15, 23, 42, .88);
    --line: rgba(255,255,255,.10);
    --text: #f8fafc;
    --muted: rgba(226,232,240,.72);
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --cyan: #22d3ee;
    --radius: 28px;
    --shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, rgba(5,12,30,.42), rgba(5,12,30,.88)),
        url('/bg.jpg') center / cover fixed no-repeat;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.page-glow { position: fixed; width: 38rem; height: 38rem; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; z-index: -1; }
.page-glow-one { top: -15rem; right: -12rem; background: var(--blue); }
.page-glow-two { bottom: -20rem; left: -14rem; background: var(--cyan); }

.site-header, main, .site-footer { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
    position: sticky; top: 14px; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin-top: 14px; padding: 13px 16px;
    border: 1px solid var(--line); border-radius: 22px;
    background: rgba(8,17,38,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 36px rgba(0,0,0,.22);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.34); }
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 1rem; }
.brand small { color: var(--muted); font-size: .76rem; }
.top-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .92rem; }
.top-nav > a:not(.button):hover { color: var(--text); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 15px; font-weight: 750; transition: .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, #2563eb, #1d4ed8 60%, #0891b2); box-shadow: 0 16px 36px rgba(37,99,235,.28); }
.button-primary:hover { box-shadow: 0 20px 44px rgba(37,99,235,.38); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.055); }
.button-secondary:hover { background: rgba(255,255,255,.10); }
.button-small { min-height: 39px; padding-inline: 15px; color: white; background: rgba(37,99,235,.88); }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding: 86px 12px 72px; }
.eyebrow { display: inline-flex; color: #93c5fd; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 850; }
.hero h1 { max-width: 750px; margin: 16px 0 22px; font-size: clamp(2.7rem, 5.5vw, 5.35rem); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: rgba(226,232,240,.66); font-size: .86rem; }

.hero-visual { position: relative; min-height: 480px; display: grid; place-items: center; }
.visual-card, .feature-card, .overview-panel, .cta, .workflow-step { border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(19px); -webkit-backdrop-filter: blur(19px); box-shadow: var(--shadow); }
.visual-main { width: min(100%, 510px); padding: 26px; border-radius: 32px; transform: rotate(1.5deg); }
.visual-head { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.visual-head span:last-child { display: grid; gap: 3px; }
.visual-head small { color: var(--muted); }
.visual-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: rgba(37,99,235,.22); font-size: 1.75rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.metric-grid div { display: grid; gap: 7px; padding: 18px; border: 1px solid rgba(255,255,255,.075); border-radius: 18px; background: rgba(255,255,255,.045); }
.metric-grid span { color: var(--muted); font-size: .82rem; }
.floating-card { position: absolute; padding: 13px 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-strong); box-shadow: 0 18px 40px rgba(0,0,0,.35); font-size: .86rem; font-weight: 700; animation: float 5.5s ease-in-out infinite; }
.floating-one { top: 42px; right: -14px; }
.floating-two { bottom: 56px; left: -18px; animation-delay: -2.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.section { padding: 88px 0; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading h2, .overview-copy h2, .cta h2 { margin: 12px 0 12px; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p, .overview-copy p, .cta p { color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 26px; border-radius: 24px; transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); background: rgba(15,23,42,.84); border-color: rgba(96,165,250,.35); }
.feature-card > span { font-size: 2.15rem; }
.feature-card h3 { margin: 18px 0 9px; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .93rem; }

.workflow { display: grid; gap: 13px; }
.workflow-step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 21px; }
.workflow-step b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: rgba(37,99,235,.18); color: #93c5fd; }
.workflow-step h3 { margin: 0 0 5px; }
.workflow-step p { margin: 0; color: var(--muted); line-height: 1.55; }

.overview-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.overview-copy ul { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; color: rgba(241,245,249,.85); }
.overview-copy li::before { content: '✓'; margin-right: 10px; color: #60a5fa; font-weight: 900; }
.overview-panel { padding: 18px; border-radius: 28px; }
.panel-line { display: grid; grid-template-columns: .7fr 1.3fr; gap: 20px; padding: 20px; border-bottom: 1px solid var(--line); }
.panel-line:last-child { border-bottom: 0; }
.panel-line span { color: var(--muted); }
.panel-line strong { text-align: right; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin: 88px 0 36px; padding: 34px; border-radius: 28px; }
.cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); }
.cta p { margin-bottom: 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0 40px; color: rgba(226,232,240,.58); font-size: .83rem; }
.site-footer a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 900px) {
    .top-nav > a:not(.button) { display: none; }
    .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 72px; }
    .hero-visual { min-height: 410px; }
    .feature-grid { grid-template-columns: repeat(2,1fr); }
    .overview-section { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 620px) {
    .site-header { top: 8px; width: calc(100% - 16px); }
    .brand small { display: none; }
    .brand img { width: 44px; height: 44px; }
    .button-small { padding-inline: 12px; font-size: .82rem; }
    .hero { min-height: auto; padding: 62px 0 42px; }
    .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
    .feature-grid { grid-template-columns: 1fr; }
    .floating-card { position: static; margin-top: 10px; animation: none; }
    .hero-visual { display: block; min-height: auto; }
    .visual-main { transform: none; }
    .metric-grid { grid-template-columns: 1fr; }
    .workflow-step { grid-template-columns: 52px 1fr; padding: 18px; }
    .workflow-step b { width: 44px; height: 44px; }
    .panel-line { grid-template-columns: 1fr; gap: 5px; }
    .panel-line strong { text-align: left; }
    .cta { align-items: stretch; flex-direction: column; padding: 26px; }
    .site-footer { flex-direction: column; text-align: center; }
}
