:root {
    --bg: #070b18;
    --bg-soft: #0f1730;
    --card: #111b38;
    --line: #27365f;
    --text: #ecf2ff;
    --muted: #b4c2e2;
    --brand: #6ea8fe;
    --brand-2: #8ef0dd;
    --danger: #ff8f8f;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #1a2a56 0%, var(--bg) 45%);
    line-height: 1.6;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(6, 9, 20, 0.84);
    border-bottom: 1px solid #1a2442;
    z-index: 20;
}
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--text); }
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #051226;
}
.nav-list { list-style: none; display: flex; gap: 1rem; padding: 0; margin: 0; }
.nav-list a { padding: 0.45rem 0.7rem; border-radius: 8px; color: var(--text); }
.nav-list a.active, .nav-list a:hover { background: #16264f; text-decoration: none; }
.hero, .page-hero { padding: 4rem 0 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-2); font-weight: 700; font-size: 0.8rem; }
h1 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; margin: 0.2rem 0 1rem; }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 65ch; }
.hero-card, .card, .success-box, .timeline article {
    background: linear-gradient(180deg, #122047, #101a36);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(4, 8, 20, 0.3);
}
.hero-card { padding: 1.2rem; }
.hero-card ul { margin: 0.5rem 0 0; padding-left: 1rem; }
.btn {
    display: inline-block;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #071427; }
.btn-primary:hover { text-decoration: none; filter: brightness(1.03); }
.btn-primary{
    position: relative;
    overflow: hidden;
}
.btn-primary::after{
    content:'';
    position:absolute;
    top:-40%;
    left:-120%;
    width: 55%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
}
.btn-primary:hover::after{
    animation: shine 700ms ease forwards;
}
@keyframes shine{
    to{ left: 160%; }
}
.btn-ghost { border-color: #2e4273; color: var(--text); }
.hero-cta { margin-top: 1.2rem; display: flex; gap: 0.7rem; flex-wrap: wrap; }
.section { padding: 2rem 0 3rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { padding: 1.1rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.section-highlight { background: rgba(7, 14, 32, 0.65); border-top: 1px solid #1b2a52; border-bottom: 1px solid #1b2a52; }
.split { display: grid; grid-template-columns: 1fr 0.9fr; gap: 1.1rem; align-items: center; }
.stats { display: grid; gap: 0.8rem; }
.stats div { border: 1px solid #2a3d6f; background: #101d3f; border-radius: 12px; padding: 0.9rem; }
.stats strong { display: block; font-size: 1.1rem; color: var(--brand-2); }
.timeline { display: grid; gap: 1rem; }
.timeline article { padding: 1rem; position: relative; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.timeline article:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.35);
    border-color: #5e7cff;
}
.timeline span {
    display: inline-block;
    background: #1e3668;
    border: 1px solid #2f4a80;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}
.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1rem; align-items: start; }
.contact-form {
    background: #0f1b39;
    border: 1px solid #2a3c70;
    border-radius: 16px;
    padding: 1rem;
}
.contact-form label { display: block; margin-top: 0.75rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    border: 1px solid #2c3f73;
    background: #0c1430;
    border-radius: 10px;
    color: var(--text);
    padding: 0.65rem 0.7rem;
}
.contact-form button { margin-top: 1rem; }
.form-error {
    border: 1px solid #8a2f45;
    border-left: 5px solid #d7456b;
    background: #301021;
    border-radius: 10px;
    padding: 0.7rem;
    color: #ffd2dc;
}
.form-error ul { margin: 0.5rem 0 0; }
.honeypot { position: absolute; left: -9999px; }
.checklist { color: var(--muted); padding-left: 1.2rem; }
.site-footer { border-top: 1px solid #1b2a52; margin-top: 1.5rem; padding: 2rem 0 1rem; background: rgba(6, 10, 22, 0.75); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; }
.site-footer h3, .site-footer h4 { margin-top: 0; }
.site-footer ul { margin: 0; padding-left: 1rem; color: var(--muted); }
.tiny { border-top: 1px solid #172447; margin-top: 1rem; color: #97a9d2; font-size: 0.9rem; }
.success-box { text-align: center; padding: 2rem; max-width: 680px; margin: 0 auto; }
@media (max-width: 930px) {
    .hero-grid, .cards, .split, .form-wrap, .footer-grid { grid-template-columns: 1fr; }
}

.skip-link{
    position:absolute;
    left:-9999px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
.skip-link:focus{
    left:1rem;
    top:1rem;
    width:auto;
    height:auto;
    padding:0.6rem 0.8rem;
    background:#0f1b39;
    border:1px solid #2a3d6f;
    border-radius:12px;
    z-index:9999;
}

.nav-cta{ padding: 0.58rem 0.9rem; white-space: nowrap; }

body{ overflow-x: hidden; }

.hero--main{
    position:relative;
    overflow:hidden;
    padding: 3.8rem 0 2rem;
}
.hero--main::before{
    content:'';
    position:absolute;
    inset:-280px -220px auto -220px;
    height: 620px;
    background: radial-gradient(circle at 20% 20%, rgba(110,168,254,0.38) 0%, rgba(110,168,254,0.0) 60%),
                radial-gradient(circle at 70% 30%, rgba(142,240,221,0.25) 0%, rgba(142,240,221,0.0) 55%),
                radial-gradient(circle at 40% 65%, rgba(110,168,254,0.12) 0%, rgba(110,168,254,0.0) 60%);
    filter: blur(26px);
    z-index: 0;
    animation: heroGlow 10s ease-in-out infinite;
}
.hero--main::after{
    content:'';
    position:absolute;
    inset:auto -160px -220px -160px;
    height: 420px;
    background: radial-gradient(circle at 50% 40%, rgba(142,240,221,0.22) 0%, rgba(142,240,221,0) 62%);
    filter: blur(20px);
    z-index: 0;
    animation: heroGlow2 12s ease-in-out infinite;
}

@keyframes heroGlow{
    0%{ transform: translateY(0px) scale(1); opacity: 0.95; }
    50%{ transform: translateY(18px) scale(1.03); opacity: 1; }
    100%{ transform: translateY(0px) scale(1); opacity: 0.95; }
}
@keyframes heroGlow2{
    0%{ transform: translateY(0px) scale(1); opacity: 0.9; }
    50%{ transform: translateY(14px) scale(1.04); opacity: 1; }
    100%{ transform: translateY(0px) scale(1); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce){
    .hero--main::before, .hero--main::after{ animation: none; }
}

.hero-grid--main{ position:relative; z-index:1; grid-template-columns: 1.2fr 0.85fr; }
.hero-copy{ padding-top: 0.2rem; }

.kicker-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 20px rgba(110,168,254,0.45);
    margin-right: 0.65rem;
}
.lead strong{ color: #d5fef2; }
.highlight{
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.micro-features{ margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.micro-feature{
    display:flex;
    gap: 0.65rem;
    align-items:flex-start;
    color: var(--muted);
    font-weight: 600;
}
.check{
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(110,168,254,0.12);
    border: 1px solid rgba(110,168,254,0.35);
    margin-top: 0.15rem;
    position: relative;
    flex: 0 0 auto;
}
.check::after{
    content:'';
    position:absolute;
    left: 5px;
    top: 5px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--brand-2);
    border-bottom: 2px solid var(--brand-2);
    transform: rotate(-45deg);
}

.hero-panel{
    position:relative;
    z-index:1;
    padding: 1.1rem;
}
.panel-label{
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-2);
    font-weight: 900;
    font-size: 0.78rem;
    margin: 0 0 0.4rem;
}
.panel-title{ margin: 0 0 0.65rem; }
.panel-sub{ color: var(--muted); margin: 0; }

.model-grid{ display:grid; gap: 0.9rem; grid-template-columns: 1fr 1fr; }
.model-card{
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid #2a3d6f;
    background: rgba(15,27,57,0.55);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.model-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.35);
    border-color: #5e7cff;
}
.model-card ul{ margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.model-card--local{
    background: linear-gradient(180deg, rgba(110,168,254,0.14), rgba(16,26,54,0.7));
}
.model-card--hosted{
    background: linear-gradient(180deg, rgba(142,240,221,0.12), rgba(16,26,54,0.7));
}
.panel-foot{
    margin-top: 1rem;
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-wide{ padding-left: 1.15rem; padding-right: 1.15rem; }
.muted{ color: var(--muted); }

.section--alt{
    background: rgba(7, 14, 32, 0.45);
    border-top: 1px solid rgba(27,42,82,0.85);
    border-bottom: 1px solid rgba(27,42,82,0.85);
}

.section-title{ margin-bottom: 0.35rem; }
.section-sub{ color: var(--muted); max-width: 72ch; }

.deliverables-grid{
    margin-top: 1.25rem;
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.deliverable{
    border-radius: 18px;
    padding: 1.05rem;
    border: 1px solid #2a3d6f;
    background: linear-gradient(180deg, rgba(18,32,71,0.95), rgba(16,26,54,0.78));
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    transition: transform 180ms ease, border-color 180ms ease;
}
.deliverable:hover{
    transform: translateY(-4px);
    border-color: #5e7cff;
}
.deliverable p{ color: var(--muted); margin: 0; }

.two-col{ display:grid; grid-template-columns: 1fr 0.9fr; gap: 1.3rem; align-items: start; }

.stack-list{ display:grid; gap: 0.9rem; margin-top: 1.2rem; }
.stack-item{
    display:flex;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid #2a3d6f;
    background: rgba(15,27,57,0.6);
}
.stack-number{
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display:grid;
    place-items:center;
    font-weight: 1000;
    color: var(--brand);
    background: rgba(110,168,254,0.14);
    border: 1px solid rgba(110,168,254,0.35);
    flex: 0 0 auto;
}
.stack-title{ margin: 0 0 0.25rem; }
.stack-item p{ margin: 0; color: var(--muted); }

.cta-card{
    border-radius: 18px;
    border: 1px solid #2a3d6f;
    background: linear-gradient(180deg, rgba(110,168,254,0.12), rgba(16,26,54,0.76));
    padding: 1.1rem;
    box-shadow: 0 14px 35px rgba(0,0,0,0.2);
}
.cta-card h3{ margin-top: 0; }

.pricing-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.pricing-card{
    border-radius: 18px;
    border: 1px solid #2a3d6f;
    background: linear-gradient(180deg, rgba(18,32,71,0.95), rgba(16,26,54,0.78));
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    padding: 1.15rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.pricing-card:hover{
    transform: translateY(-4px);
    border-color: #5e7cff;
    box-shadow: 0 18px 55px rgba(0,0,0,0.35);
}
.pricing-card h2{ margin: 0.25rem 0 0.35rem; }
.pricing-kicker{
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-2);
    font-weight: 800;
    font-size: 0.76rem;
    margin: 0;
}
.pricing-price{
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.7rem;
    color: #d9f5ff;
}
.pricing-card ul{
    margin: 0.7rem 0 0;
    padding-left: 1.15rem;
    color: var(--muted);
}
.pricing-card--featured{
    border-color: rgba(110,168,254,0.62);
    background: linear-gradient(180deg, rgba(110,168,254,0.2), rgba(16,26,54,0.82));
    position: relative;
}
.pricing-card--featured::before{
    content:'Recommended';
    position:absolute;
    top: 0.8rem;
    right: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0b1832;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-radius: 999px;
    padding: 0.22rem 0.5rem;
    font-weight: 800;
}

.page-hero--alt{
    background: linear-gradient(180deg, rgba(8,12,30,0.45), rgba(8,12,30,0));
    border-bottom: 1px solid rgba(39,54,95,0.6);
}
.page-hero--alt .lead{ margin-top: 0.8rem; }

.hero-copy code{
    background: rgba(110,168,254,0.12);
    border: 1px solid rgba(110,168,254,0.22);
    padding: 0 0.35rem;
    border-radius: 10px;
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.96em;
}

.contact-form select:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible{
    outline: 3px solid rgba(110,168,254,0.35);
    outline-offset: 1px;
}

@media (max-width: 930px){
    .hero-grid--main{ grid-template-columns: 1fr; }
    .model-grid{ grid-template-columns: 1fr; }
    .deliverables-grid{ grid-template-columns: 1fr; }
    .pricing-grid{ grid-template-columns: 1fr; }
    .two-col{ grid-template-columns: 1fr; }
}
