:root {
    --bg: #07090f;
    --bg-soft: #0b0f18;
    --card: rgba(255, 255, 255, .045);
    --card-border: rgba(255, 255, 255, .09);
    --text: #f7f9fc;
    --muted: #99a4b5;
    --accent: #5d8cff;
    --accent-2: #72f0da;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -20%, rgba(93,140,255,.10), transparent 42%),
        linear-gradient(180deg, #07090f 0%, #090c13 100%);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(93,140,255,.35); color: #fff; }
a { color: inherit; }

.page-shell {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.topbar {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    grid-template-columns: repeat(3, 6px);
    gap: 4px;
    align-items: end;
    width: 26px;
    height: 27px;
    padding-bottom: 2px;
}
.brand-mark span {
    width: 6px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 18px rgba(93,140,255,.28);
}
.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 22px; }
.brand-mark span:nth-child(3) { height: 16px; }

.brand-name {
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .18em;
}
.brand-name span { color: var(--accent); }

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #aab4c3;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55e6a5;
    box-shadow: 0 0 0 5px rgba(85,230,165,.08), 0 0 16px rgba(85,230,165,.5);
}

.hero {
    max-width: 940px;
    padding: clamp(105px, 16vh, 175px) 0 105px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #aab4c3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow span {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(55px, 8.4vw, 112px);
    line-height: .9;
    letter-spacing: -.065em;
    font-weight: 770;
}
h1 span {
    display: inline-block;
    margin-top: 12px;
    color: transparent;
    background: linear-gradient(100deg, #8ba9ff 0%, #72f0da 55%, #c2fff2 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.lead {
    max-width: 665px;
    margin: 38px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 42px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.button.primary {
    color: #071018;
    background: linear-gradient(100deg, #8eaaff, #72f0da);
    box-shadow: 0 10px 35px rgba(84,136,255,.14);
}
.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(84,136,255,.22);
}
.button span { font-size: 17px; }
.microcopy { color: #697486; font-size: 12px; }

.services {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
    padding: 15px 0 95px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 27px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(119,166,255,.25);
    background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.03));
}
.service-card.featured::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93,140,255,.22), transparent 68%);
    pointer-events: none;
}

.card-number {
    color: #657084;
    font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .12em;
}
.service-card h2 {
    margin: 45px 0 12px;
    font-size: 20px;
    letter-spacing: -.02em;
}
.service-card p {
    margin: 0;
    max-width: 360px;
    color: #8d98a9;
    font-size: 14px;
    line-height: 1.65;
}
.card-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    color: rgba(255,255,255,.28);
    font-size: 22px;
}

footer {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #626d7e;
    font-size: 11px;
}
footer > div { display: flex; align-items: center; gap: 12px; }
footer strong { color: #a8b2c1; letter-spacing: .14em; }
footer > div span::before { content: "•"; margin-right: 12px; }
footer p { margin: 0; text-align: right; }

.ambient {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
    opacity: .42;
}
.ambient-one {
    width: 430px;
    height: 430px;
    top: 20%;
    right: -200px;
    background: rgba(73,112,255,.16);
}
.ambient-two {
    width: 380px;
    height: 380px;
    left: -210px;
    bottom: 4%;
    background: rgba(72,240,208,.08);
}
.grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: .14;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 76%);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
    .services { grid-template-columns: 1fr; }
    .service-card { min-height: 220px; }
    .hero { padding-top: 100px; }
}

@media (max-width: 620px) {
    .page-shell { width: min(calc(100% - 28px), var(--max)); }
    .topbar { min-height: 75px; }
    .status { display: none; }
    .hero { padding: 85px 0 80px; }
    h1 { font-size: clamp(48px, 16vw, 70px); }
    .lead { margin-top: 28px; font-size: 16px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
    .button { width: 100%; }
    .services { padding-bottom: 65px; }
    footer { padding: 30px 0; align-items: flex-start; flex-direction: column; }
    footer > div { align-items: flex-start; flex-direction: column; gap: 5px; }
    footer > div span::before { display: none; }
    footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
