:root {
    --bg: #02070b;
    --bg2: #07131c;
    --panel: rgba(7, 23, 33, .78);
    --panel2: rgba(4, 16, 25, .92);
    --text: #e8f9ff;
    --muted: #8eb5c0;
    --cyber: #00ff88;
    --cyan: #00d9ff;
    --violet: #7c4dff;
    --danger: #ff4d6d;
    --line: rgba(0, 255, 136, .18);
    --shadow: 0 0 30px rgba(0, 255, 136, .10), 0 20px 70px rgba(0, 0, 0, .50);
    --radius: 24px;
}
* { 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;
    background: radial-gradient(circle at 80% 0%, rgba(0, 217, 255, .15), transparent 28%),
                radial-gradient(circle at 0% 10%, rgba(0, 255, 136, .10), transparent 30%),
                linear-gradient(135deg, var(--bg), #000 65%, #05020d);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 104px 0; }
#matrixRain { position: fixed; inset: 0; z-index: -3; opacity: .22; }
.scanline {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: linear-gradient(rgba(255,255,255,.03) 50%, rgba(0,0,0,.03) 50%);
    background-size: 100% 4px;
    mix-blend-mode: overlay;
    opacity: .18;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px min(32px, 5vw);
    border-bottom: 1px solid rgba(0, 255, 136, .16);
    background: rgba(2, 7, 11, .72);
    backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--cyber);
    border-radius: 14px;
    font-weight: 900;
    color: #00130b;
    background: linear-gradient(135deg, var(--cyber), var(--cyan));
    box-shadow: 0 0 24px rgba(0, 255, 136, .4);
}
.brand strong { display: block; letter-spacing: .05em; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav-menu { display: flex; align-items: center; gap: 10px; }
.nav-menu a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: .25s ease;
}
.nav-menu a:hover, .nav-menu .nav-cta { color: var(--text); background: rgba(0, 255, 136, .10); }
.nav-cta { border: 1px solid var(--line); }
.nav-toggle { display: none; background: none; color: var(--text); border: 0; font-size: 28px; }
.hero { min-height: 86vh; display: grid; align-items: center; position: relative; }
.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,255,136,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,136,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 58px; position: relative; }
.eyebrow { color: var(--cyber); font-family: "Courier New", monospace; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin-bottom: 14px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(48px, 9vw, 104px); line-height: .9; margin-bottom: 18px; text-shadow: 0 0 36px rgba(0, 255, 136, .20); }
.hero h2 { color: #c9f9ff; font-size: clamp(22px, 3vw, 34px); max-width: 780px; }
.lead { color: var(--muted); font-size: 20px; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 136, .25);
    font-weight: 800;
    letter-spacing: .02em;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--cyber), var(--cyan)); color: #00120a; box-shadow: 0 10px 35px rgba(0, 255, 136, .26); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); }
.btn.big { min-height: 54px; padding: 14px 24px; font-size: 17px; }
.terminal-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .52);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 640px;
}
.terminal-top { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.terminal-top span { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); }
.terminal-top span:nth-child(2) { background: #ffd166; }
.terminal-top span:nth-child(3) { background: var(--cyber); }
pre { white-space: pre-wrap; margin: 0; padding: 18px; color: #c8ffe8; font-family: "Courier New", monospace; }
.photo-shell {
    position: relative;
    border-radius: 36px;
    padding: 14px;
    border: 1px solid rgba(0, 255, 136, .24);
    background: linear-gradient(145deg, rgba(0,255,136,.18), rgba(0,217,255,.08));
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}
.photo-shell:before {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 46px;
    background: conic-gradient(from 90deg, transparent, rgba(0,255,136,.30), transparent, rgba(0,217,255,.28), transparent);
    filter: blur(25px);
    z-index: -1;
}
.photo-shell img { border-radius: 26px; aspect-ratio: 4 / 4.1; object-fit: cover; filter: saturate(1.06) contrast(1.03); }
.live-badge {
    position: absolute;
    left: 26px;
    bottom: 26px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.72);
    border: 1px solid var(--cyber);
    color: var(--cyber);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -54px; position: relative; z-index: 2; }
.stat-card, .cyber-card, .glass-card, .timeline-content, .form-shell, .contact-card, .cta-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}
.stat-card { padding: 24px; }
.stat-card strong { display: block; color: var(--cyber); font-size: 34px; line-height: 1; }
.stat-card span { color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 50px; }
.split.reverse { grid-template-columns: .9fr 1fr; }
.muted { background: linear-gradient(180deg, rgba(0,255,136,.04), rgba(0,217,255,.03)); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-title h2, .split h2, .cta-card h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
.section-title p, .split p { color: var(--muted); }
.glass-card { padding: 32px; }
.chips, .mini-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span, .mini-list span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 255, 136, .08);
    border: 1px solid rgba(0, 255, 136, .18);
    color: #caffdf;
    font-size: 14px;
}
.chips.small span { font-size: 12px; padding: 6px 10px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cyber-card { padding: 28px; position: relative; overflow: hidden; }
.cyber-card:after {
    content: "";
    position: absolute;
    inset: auto -30% -40% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0,255,136,.18), transparent 60%);
}
.card-icon { font-size: 34px; }
.cyber-card h3 { margin: 14px 0 8px; }
.cyber-card p { color: var(--muted); margin-bottom: 0; }
.image-panel { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel2); }
.image-panel img { width: 100%; height: 100%; object-fit: cover; }
.mini-list span { border-radius: 14px; }
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline:before { content: ""; position: absolute; top: 0; bottom: 0; left: 23px; width: 2px; background: linear-gradient(var(--cyber), transparent); }
.timeline-item { position: relative; padding-left: 68px; margin-bottom: 24px; }
.timeline-dot { position: absolute; left: 12px; top: 26px; width: 24px; height: 24px; border-radius: 50%; background: var(--cyber); box-shadow: 0 0 0 8px rgba(0,255,136,.10), 0 0 30px rgba(0,255,136,.50); }
.timeline-content { padding: 28px; }
.period { color: var(--cyber); font-family: "Courier New", monospace; font-size: 13px; }
.timeline h3 { margin: 8px 0 0; }
.timeline h4 { color: var(--muted); margin: 2px 0 12px; font-weight: 600; }
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { position: relative; padding-left: 24px; margin-bottom: 12px; color: var(--muted); }
.clean-list li:before { content: "▹"; position: absolute; left: 0; color: var(--cyber); }
.edu-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.edu-item:last-child { border-bottom: 0; }
.edu-item strong, .edu-item span, .edu-item small { display: block; }
.edu-item span { color: var(--muted); }
.edu-item small { color: var(--cyber); margin-top: 4px; }
.cta-section { padding-top: 40px; }
.cta-card { text-align: center; padding: clamp(34px, 7vw, 72px); position: relative; overflow: hidden; }
.cta-card:before { content: "ACCESS GRANTED"; position: absolute; right: -30px; top: 12px; color: rgba(0,255,136,.06); font-size: clamp(48px, 12vw, 140px); font-weight: 900; transform: rotate(6deg); }
.site-footer { padding: 26px 0; border-top: 1px solid rgba(0,255,136,.14); background: rgba(0,0,0,.35); }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); }
.footer-grid div { display: flex; gap: 18px; }
.footer-grid a { color: var(--cyber); }
.contact-page { min-height: calc(100vh - 150px); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.contact-intro h1 { font-size: clamp(48px, 8vw, 88px); }
.contact-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 22px; margin-top: 28px; }
.contact-card img { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; border: 1px solid var(--line); }
.contact-card a, .contact-card p { display: block; color: var(--muted); margin-bottom: 6px; }
.contact-card a { color: var(--cyber); }
.form-shell { padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: #cdeef7; font-weight: 700; }
.field input, .field textarea {
    width: 100%;
    color: var(--text);
    background: rgba(0,0,0,.38);
    border: 1px solid rgba(0, 255, 136, .20);
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--cyber); box-shadow: 0 0 0 4px rgba(0,255,136,.08); }
.hidden-field { position: absolute; left: -10000px; }
.alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; border: 1px solid; }
.alert.success { color: #caffdf; background: rgba(0, 255, 136, .08); border-color: rgba(0,255,136,.28); }
.alert.danger { color: #ffd6de; background: rgba(255,77,109,.08); border-color: rgba(255,77,109,.28); }
.alert p { margin: 0 0 6px; }
.alert p:last-child { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
@media (max-width: 980px) {
    .hero-grid, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .section-pad { padding: 80px 0; }
}
@media (max-width: 720px) {
    .container { width: min(100% - 26px, 1180px); }
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute;
        right: 16px;
        top: 76px;
        display: none;
        width: min(320px, calc(100vw - 32px));
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(2, 7, 11, .96);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { display: block; }
    .stats, .card-grid, .cert-grid, .contact-card { grid-template-columns: 1fr; }
    .contact-card img { width: 100%; height: 260px; }
    .hero-actions { align-items: stretch; }
    .btn { width: 100%; }
    .site-header { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { transition: none; opacity: 1; transform: none; }
    #matrixRain { display: none; }
}
