:root{
    --black:#070707;
    --dark:#101114;
    --muted:#696b73;
    --line:#e9e9ee;
    --soft:#f7f7f9;
    --white:#ffffff;
    --red:#ef2b2d;
    --red-dark:#c9181b;
    --card:#ffffff;
    --radius:24px;
    --shadow:0 24px 70px rgba(0,0,0,.10);
}

*{box-sizing:border-box}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color:var(--dark);
    background:var(--white);
}

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

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

.nav{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(0,0,0,.06);
}

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

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    width:220px;
    max-width:100%;
    height:auto;
    display:block;
}

.menu{
    display:flex;
    align-items:center;
    gap:26px;
    font-size:14px;
    color:#292a2f;
    font-weight:650;
}

.menu a{
    opacity:.86;
}

.menu a:hover{
    color:var(--red);
    opacity:1;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:0;
    border-radius:999px;
    padding:14px 20px;
    font-weight:800;
    cursor:pointer;
    transition:.2s ease;
    font-size:14px;
}

.btn-primary{
    background:var(--red);
    color:#fff;
    box-shadow:0 14px 28px rgba(239,43,45,.22);
}

.btn-primary:hover{
    background:var(--red-dark);
    transform:translateY(-1px);
}

.btn-secondary{
    background:#111;
    color:#fff;
}

.btn-light{
    background:#fff;
    color:#111;
    border:1px solid var(--line);
}

.hero{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(239,43,45,.16), transparent 28%),
        linear-gradient(135deg,#ffffff 0%,#f6f6f7 45%,#ffffff 100%);
    border-bottom:1px solid var(--line);
}

.hero-grid{
    min-height:720px;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    align-items:center;
    gap:50px;
    padding:76px 0;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    padding:8px 13px;
    color:#202126;
    font-size:13px;
    font-weight:800;
    box-shadow:0 12px 38px rgba(0,0,0,.05);
}

.eyebrow span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--red);
    box-shadow:0 0 0 6px rgba(239,43,45,.12);
}

h1{
    margin:22px 0 18px;
    font-size:clamp(42px, 6vw, 78px);
    line-height:.95;
    letter-spacing:-3.8px;
    color:#08090c;
}

.hero p{
    color:#4c4d55;
    font-size:19px;
    line-height:1.75;
    max-width:680px;
    margin:0 0 28px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:30px;
}

.metrics{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:42px;
}

.metric{
    background:rgba(255,255,255,.88);
    border:1px solid var(--line);
    border-radius:20px;
    padding:18px;
    box-shadow:0 16px 45px rgba(0,0,0,.06);
}

.metric strong{
    display:block;
    font-size:26px;
    letter-spacing:-1px;
}

.metric small{
    color:var(--muted);
    font-weight:700;
}

.arch-card{
    position:relative;
    background:#0c0d10;
    border-radius:34px;
    padding:30px;
    color:#fff;
    box-shadow:var(--shadow);
    overflow:hidden;
}

.arch-card:before{
    content:"";
    position:absolute;
    inset:-120px -100px auto auto;
    width:300px;
    height:300px;
    background:rgba(239,43,45,.45);
    filter:blur(70px);
}

.arch-header{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
}

.status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:800;
    color:#dfe0e6;
}

.status:before{
    content:"";
    width:9px;
    height:9px;
    border-radius:50%;
    background:#35d07f;
}

.arch-title{
    position:relative;
    font-size:28px;
    font-weight:900;
    letter-spacing:-1px;
    margin:0 0 20px;
}

.node-grid{
    position:relative;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.node{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.11);
    border-radius:20px;
    padding:18px;
    min-height:130px;
}

.node b{
    display:block;
    font-size:15px;
    margin-bottom:8px;
}

.node span{
    color:#babcc6;
    font-size:13px;
    line-height:1.5;
}

.section{
    padding:96px 0;
}

.section-soft{
    background:var(--soft);
}

.section-head{
    max-width:820px;
    margin-bottom:42px;
}

.kicker{
    color:var(--red);
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-size:12px;
}

h2{
    margin:10px 0 14px;
    font-size:clamp(34px,4vw,56px);
    line-height:1;
    letter-spacing:-2.4px;
}

.section-head p{
    color:var(--muted);
    font-size:18px;
    line-height:1.75;
    margin:0;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:28px;
    box-shadow:0 20px 60px rgba(0,0,0,.05);
    transition:.2s ease;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 28px 80px rgba(0,0,0,.09);
}

.icon{
    width:46px;
    height:46px;
    border-radius:15px;
    background:rgba(239,43,45,.1);
    color:var(--red);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:1000;
    margin-bottom:18px;
}

.card h3{
    margin:0 0 10px;
    font-size:22px;
    letter-spacing:-.6px;
}

.card p{
    color:var(--muted);
    line-height:1.65;
    margin:0 0 18px;
}

.tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.tags span{
    background:#f2f2f4;
    color:#363840;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:800;
}

.split{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:34px;
    align-items:start;
}

.panel{
    background:#0d0e12;
    color:#fff;
    border-radius:32px;
    padding:36px;
    box-shadow:var(--shadow);
}

.panel h2{
    color:#fff;
}

.panel p{
    color:#c9cbd4;
    line-height:1.75;
}

.steps{
    display:grid;
    gap:16px;
}

.step{
    display:grid;
    grid-template-columns:56px 1fr;
    gap:18px;
    align-items:start;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:22px;
}

.step-number{
    width:56px;
    height:56px;
    border-radius:18px;
    background:#111;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
}

.step h3{
    margin:0 0 6px;
}

.step p{
    margin:0;
    color:var(--muted);
    line-height:1.6;
}

.cta{
    background:
        radial-gradient(circle at 75% 20%, rgba(239,43,45,.35), transparent 26%),
        #08090c;
    color:#fff;
    border-radius:36px;
    padding:52px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:28px;
    align-items:center;
    overflow:hidden;
}

.cta h2{
    color:#fff;
    margin:0 0 12px;
}

.cta p{
    color:#c9cbd4;
    line-height:1.7;
    margin:0;
    max-width:760px;
}

.forms{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.form-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:28px;
    padding:28px;
    box-shadow:0 24px 70px rgba(0,0,0,.08);
}

.form-card h3{
    margin:0 0 8px;
    font-size:26px;
    letter-spacing:-.8px;
}

.form-card p{
    margin:0 0 20px;
    color:var(--muted);
    line-height:1.65;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.field{
    display:flex;
    flex-direction:column;
    gap:7px;
    margin-bottom:14px;
}

.field.full{
    grid-column:1 / -1;
}

label{
    font-size:13px;
    font-weight:850;
    color:#2c2d33;
}

input, select, textarea{
    width:100%;
    border:1px solid #dedee5;
    background:#fbfbfc;
    border-radius:15px;
    padding:13px 14px;
    font:inherit;
    outline:none;
    transition:.15s ease;
}

textarea{
    min-height:126px;
    resize:vertical;
}

input:focus, select:focus, textarea:focus{
    border-color:var(--red);
    background:#fff;
    box-shadow:0 0 0 4px rgba(239,43,45,.08);
}

.alert{
    border-radius:18px;
    padding:16px 18px;
    margin:22px 0;
    font-weight:800;
}

.alert-success{
    background:#eafff1;
    color:#126d38;
    border:1px solid #b8f3cf;
}

.alert-error{
    background:#fff1f1;
    color:#971b1f;
    border:1px solid #ffd1d1;
}

.footer{
    background:#08090c;
    color:#fff;
    padding:48px 0;
}

.footer-grid{
    display:grid;
    grid-template-columns:1fr auto;
    gap:24px;
    align-items:center;
}

.footer p{
    color:#b8bac5;
    margin:10px 0 0;
}

.footer-links{
    display:flex;
    gap:18px;
    color:#dfe0e6;
    font-weight:750;
    font-size:14px;
}

.hidden-field{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

@media(max-width:980px){
    .menu{
        display:none;
    }

    .hero-grid,
    .split,
    .forms,
    .cta{
        grid-template-columns:1fr;
    }

    .hero-grid{
        min-height:auto;
        padding:54px 0;
    }

    .cards{
        grid-template-columns:1fr 1fr;
    }

    .metrics{
        grid-template-columns:1fr;
    }

    .cta{
        padding:34px;
    }
}

@media(max-width:680px){
    .container{
        width:min(100% - 28px, 1180px);
    }

    .cards,
    .node-grid,
    .form-grid{
        grid-template-columns:1fr;
    }

    .logo img{
        width:190px;
    }

    .nav-inner{
        height:72px;
    }

    h1{
        letter-spacing:-2.2px;
    }

    .section{
        padding:70px 0;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }
}
