:root {
    --bg: #050811;
    --bg-2: #07101f;
    --surface: rgba(12, 22, 39, .78);
    --surface-strong: #0b1424;
    --surface-2: rgba(20, 34, 58, .86);
    --ink: #f6f9ff;
    --muted: #97a8c2;
    --line: rgba(132, 162, 205, .16);
    --accent: #25d7ff;
    --accent-2: #7c3cff;
    --accent-3: #39ffb6;
    --danger: #ff4d8d;
    --radius: 28px;
    --shadow: 0 30px 90px rgba(0, 0, 0, .38);
    --glow: 0 0 34px rgba(37, 215, 255, .20);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 215, 255, .18), transparent 28%),
        radial-gradient(circle at 82% 4%, rgba(124, 60, 255, .25), transparent 30%),
        radial-gradient(circle at 72% 86%, rgba(57, 255, 182, .10), transparent 32%),
        linear-gradient(180deg, #050811 0%, #07101f 48%, #050811 100%);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .24;
    background-image:
        linear-gradient(rgba(151, 168, 194, .10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 168, 194, .10) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2) 58%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; }
.narrow { max-width: 850px; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 8, 17, .72);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.035em; }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(37, 215, 255, .96), rgba(124, 60, 255, .96));
    color: #fff;
    font-size: 13px;
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
}
.brand-mark::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.45), transparent 65%);
    transform: translateX(-60%);
    animation: scan 4.8s linear infinite;
}
.brand-text { font-size: 21px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.site-nav a.active, .site-nav a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.site-nav .nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    padding-inline: 22px;
    box-shadow: var(--glow);
}
.site-nav .nav-cta:hover { transform: translateY(-2px); background: linear-gradient(135deg, var(--accent-3), var(--accent)); }
.nav-toggle { display: none; border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,.06); border-radius: 14px; padding: 10px 14px; font-size: 22px; }
.hero { padding: 100px 0 78px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 50px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: var(--accent-3);
    box-shadow: 0 0 20px rgba(57,255,182,.72);
}
h1, h2, h3 { line-height: 1.04; letter-spacing: -.06em; margin: 0; }
h1 { font-size: clamp(46px, 7vw, 82px); max-width: 900px; }
h2 { font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 22px; }
.gradient-text { background: linear-gradient(90deg, #ffffff, #99edff 38%, #c8b8ff 78%); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { color: var(--muted); margin: 0; }
.hero-subtitle { font-size: 20px; max-width: 720px; margin: 26px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    min-height: 60px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 850;
    font-size: 15px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 22px 46px rgba(37, 215, 255, .18); }
.btn-primary:hover { box-shadow: 0 28px 66px rgba(124, 60, 255, .28); }
.btn-secondary { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: rgba(37,215,255,.45); box-shadow: var(--glow); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-row span {
    background: rgba(255,255,255,.055);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    color: #c8d5ea;
    font-weight: 760;
    font-size: 13px;
}
.hero-card, .card, .service-card, .contact-panel, .contact-form, .metric-card, .terminal-card {
    background: linear-gradient(180deg, rgba(16, 29, 50, .78), rgba(8, 15, 28, .88));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.hero-card { padding: 28px; position: relative; overflow: hidden; }
.hero-card::before, .service-card::before, .contact-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37,215,255,.12), transparent 38%, rgba(124,60,255,.10));
    pointer-events: none;
}
.status-line { display: flex; align-items: center; gap: 8px; color: #c8d5ea; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 22px; position: relative; }
.status-line span { width: 10px; height: 10px; background: var(--accent-3); border-radius: 50%; box-shadow: 0 0 0 8px rgba(57,255,182,.10), 0 0 22px rgba(57,255,182,.8); }
.hero-card h2 { font-size: 34px; margin-bottom: 22px; position: relative; }
ul { padding-left: 20px; margin: 0; color: var(--muted); position: relative; }
li + li { margin-top: 10px; }
.cyber-visual { margin-top: 26px; display: grid; gap: 12px; position: relative; }
.signal-row { display: grid; grid-template-columns: 98px 1fr 54px; gap: 12px; align-items: center; font-size: 12px; font-weight: 800; color: #c8d5ea; }
.signal-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.signal-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-3)); box-shadow: 0 0 18px rgba(37,215,255,.35); }
.terminal-card { padding: 22px; margin-top: 16px; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 13px; color: #c9fff0; }
.terminal-card .dim { color: #71829a; }
.terminal-card .alert { color: #ffd166; }
.section { padding: 80px 0; }
.section-heading { max-width: 800px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading p { font-size: 18px; }
.cards-grid { display: grid; gap: 18px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.card, .service-card, .contact-panel, .contact-form { padding: 30px; position: relative; overflow: hidden; }
.card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card:hover, .service-card:hover { transform: translateY(-5px); border-color: rgba(37,215,255,.38); box-shadow: 0 30px 90px rgba(0,0,0,.44), var(--glow); }
.card-icon { color: var(--accent); font-weight: 950; margin-bottom: 22px; letter-spacing: .12em; }
.card h3, .service-card h2, .contact-panel h2 { margin-bottom: 14px; position: relative; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.metric-card { padding: 22px; }
.metric-card strong { display: block; font-size: 28px; letter-spacing: -.06em; color: #fff; }
.metric-card span { color: var(--muted); font-size: 13px; font-weight: 700; }
.contrast {
    background:
      radial-gradient(circle at 8% 50%, rgba(37,215,255,.16), transparent 28%),
      radial-gradient(circle at 92% 40%, rgba(124,60,255,.16), transparent 30%),
      rgba(255,255,255,.035);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.contrast p { color: #b8c8df; font-size: 19px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.text-link { display: inline-flex; margin-top: 22px; font-weight: 850; color: var(--accent); }
.page-hero { padding: 88px 0 46px; }
.page-hero p { font-size: 20px; margin-top: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card h2 { font-size: 30px; }
.service-card p { margin-bottom: 20px; }
.featured-service { background: linear-gradient(135deg, rgba(37,215,255,.18), rgba(124,60,255,.22)), rgba(13, 24, 44, .92); }
.featured-service p, .featured-service li { color: #c8d5ea; }
.service-tag { display: inline-flex; margin-bottom: 16px; color: var(--accent-3); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.contact-details { display: grid; gap: 10px; margin-top: 28px; position: relative; }
.contact-details a { color: var(--accent); font-weight: 850; }
.contact-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 850; color: var(--ink); }
input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(3, 8, 18, .64);
    padding: 16px 18px;
    font: inherit;
    color: var(--ink);
    outline: none;
}
input::placeholder, textarea::placeholder { color: #667996; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,215,255,.10); }
.form-note { font-size: 13px; }
.site-footer { background: rgba(3, 6, 12, .74); border-top: 1px solid var(--line); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 34px; }
.footer-brand { margin-bottom: 18px; }
.site-footer h3 { font-size: 16px; margin-bottom: 12px; letter-spacing: -.02em; }
.site-footer p + p { margin-top: 8px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; }
@keyframes scan { to { transform: translateX(60%); } }
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; left: 20px; right: 20px; top: 84px; display: none; flex-direction: column; align-items: stretch; background: rgba(8,15,28,.98); padding: 14px; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .hero-grid, .cards-grid.three, .split, .service-grid, .contact-grid, .footer-grid, .metrics-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 64px; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
    .container { width: min(100% - 28px, 1120px); }
    h1 { font-size: 42px; }
    .hero-card, .card, .service-card, .contact-panel, .contact-form { padding: 24px; border-radius: 22px; }
    .btn { width: 100%; }
    .signal-row { grid-template-columns: 84px 1fr 44px; }
}
