:root {
    --bg: #07111f;
    --bg-soft: #0b1728;
    --surface: #0e1d31;
    --surface-2: #12233a;
    --text: #eef5ff;
    --muted: #a7b5c9;
    --line: rgba(255,255,255,.1);
    --accent: #4fd1c5;
    --accent-2: #6ea8ff;
    --dark-text: #07111f;
    --radius: 22px;
    --shadow: 0 24px 60px rgba(0,0,0,.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 82% 8%, rgba(79,209,197,.12), transparent 30rem),
        radial-gradient(circle at 15% 15%, rgba(110,168,255,.13), transparent 28rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.section-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
    width: min(1240px, calc(100% - 28px));
    margin: 14px auto 0;
    padding: 12px 14px 12px 18px;
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7,17,31,.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(0,0,0,.18);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--dark-text); background: linear-gradient(135deg,var(--accent),#b9fff8); font-size: .82rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .2s ease; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { padding: 10px 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); }
.hero { min-height: 740px; padding: 128px 0 94px; display: grid; grid-template-columns: 1.13fr .87fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 22px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(79,209,197,.09); }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 30px; max-width: 780px; font-size: clamp(3.15rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.065em; font-weight: 750; }
h1 span { color: transparent; background: linear-gradient(115deg,var(--accent),var(--accent-2)); background-clip: text; -webkit-background-clip: text; }
.hero-intro { max-width: 710px; margin-bottom: 34px; color: var(--muted); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 13px; text-decoration: none; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--dark-text); background: linear-gradient(135deg,var(--accent),#b9fff8); box-shadow: 0 12px 30px rgba(79,209,197,.18); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.button-light { color: var(--dark-text); background: var(--text); white-space: nowrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; color: #8191a9; font-size: .84rem; }
.hero-meta span { position: relative; }
.hero-meta span:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: .62em; width: 3px; height: 3px; border-radius: 50%; background: #4e617c; }
.hero-panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg,rgba(18,35,58,.95),rgba(8,20,35,.95)); box-shadow: var(--shadow); }
.hero-panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(135deg,rgba(79,209,197,.35),transparent 35%,transparent 70%,rgba(110,168,255,.25)); pointer-events: none; mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask-composite: exclude; padding: 1px; }
.terminal-top { display: flex; gap: 7px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.terminal-top span { width: 8px; height: 8px; border-radius: 50%; background: #3c4b61; }
.terminal-content { padding: 30px 30px 24px; font-family: "SFMono-Regular",Consolas,"Liberation Mono",monospace; font-size: .92rem; line-height: 1.8; color: #becbe0; }
.terminal-content p { margin: 0; }
.code-key { color: #df8fff; }.code-string { color: #75e6ce; }.code-bool { color: #79aaff; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 30px 30px; }
.tech-cloud span,.tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #b9c7da; background: rgba(255,255,255,.025); font-size: .75rem; }
.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { padding: 31px 26px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { display: block; font-size: 1.65rem; letter-spacing: -.04em; }
.trust-grid span { color: var(--muted); font-size: .82rem; }
.section { padding-block: 118px; }
.section-alt { background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2,.contact-section h2 { margin-bottom: 20px; font-size: clamp(2.35rem,4vw,4.2rem); line-height: 1.08; letter-spacing: -.05em; }
.section-heading > p:last-child,.contact-section p,.project-body > p,.card > p { color: var(--muted); }
.expertise-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(18,35,58,.72),rgba(10,24,42,.72)); transition: transform .25s ease,border-color .25s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(79,209,197,.35); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 40px; border-radius: 12px; color: var(--accent); border: 1px solid rgba(79,209,197,.25); background: rgba(79,209,197,.06); font-family: monospace; }
.card h3,.project h3 { margin-bottom: 14px; font-size: 1.45rem; letter-spacing: -.025em; }
.card ul { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 18px; color: #c9d5e5; font-size: .88rem; }
.card li::before { content: "↳"; margin-right: 8px; color: var(--accent); }
.projects { border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 45px 8px; border-bottom: 1px solid var(--line); }
.project-number { color: #607089; font-family: monospace; font-size: .88rem; }
.project-body { max-width: 900px; }
.project-label { margin-bottom: 9px; color: var(--accent) !important; text-transform: uppercase; letter-spacing: .12em; font-size: .71rem; font-weight: 800; }
.project h3 { font-size: clamp(1.55rem,3vw,2.45rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.services-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.text-link { display: inline-flex; gap: 12px; margin-top: 16px; color: var(--text); text-decoration: none; font-weight: 700; }
.text-link span { color: var(--accent); }
.service-list { border-top: 1px solid var(--line); }
.service-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--accent); font-family: monospace; }
.service-list p { margin: 0; color: var(--muted); }
.service-list strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 1.05rem; }
.contact-section { margin-bottom: 90px; padding: 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 28px; color: var(--text); background: linear-gradient(125deg,#143357,#0d675f); box-shadow: var(--shadow); }
.contact-section p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.72); }
.contact-section h2 { margin-bottom: 14px; }
.contact-section .eyebrow { color: #aef7ef; }
.site-footer { padding: 25px 0 40px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #72839b; font-size: .8rem; }
.site-footer p { margin: 0; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease,transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 900px) {
    .nav a:not(.nav-cta) { display: none; }
    .hero { min-height: auto; padding-top: 100px; grid-template-columns: 1fr; gap: 52px; }
    h1 { font-size: clamp(3rem,11vw,5rem); }
    .trust-grid { grid-template-columns: repeat(2,1fr); }
    .trust-grid div:nth-child(2) { border-right: 0; }
    .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .services-layout { grid-template-columns: 1fr; gap: 20px; }
    .contact-section { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
    .section-shell { width: min(100% - 28px,1160px); }
    .site-header { width: calc(100% - 20px); top: 10px; margin-top: 10px; }
    .brand { font-size: .9rem; }
    .brand-mark { width: 34px; height: 34px; }
    .nav .nav-cta { padding: 8px 12px; }
    .hero { padding: 78px 0 74px; }
    .hero-meta { display: grid; gap: 6px; }
    .hero-meta span::after { display: none; }
    .terminal-content { padding: 24px 20px 18px; font-size: .76rem; overflow-x: auto; }
    .tech-cloud { padding: 0 20px 22px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid div { padding: 22px 14px; }
    .section { padding-block: 82px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .card { padding: 27px; }
    .card ul { grid-template-columns: 1fr; }
    .project { grid-template-columns: 1fr; gap: 8px; padding: 34px 2px; }
    .contact-section { margin-bottom: 60px; padding: 34px 25px; }
    .button-light { width: 100%; white-space: normal; text-align: center; }
    .site-footer { flex-direction: column; }
}
