:root {
    --bg: #07111f;
    --bg-soft: #0b1728;
    --surface: #101e31;
    --surface-2: #13253a;
    --text: #e9f0f7;
    --muted: #9baabd;
    --line: rgba(154, 176, 200, .16);
    --accent: #38bdf8;
    --accent-2: #67e8f9;
    --accent-dark: #0284c7;
    --light: #f4f7fb;
    --ink: #132238;
    --ink-muted: #5c6b7c;
    --shadow: 0 25px 70px rgba(0,0,0,.22);
    --radius: 22px;
    --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: "DM Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.page-noise {
    position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.section { padding: 112px 0; position: relative; }
.section-light { background: var(--light); color: var(--ink); }
.section-dark { background: #091727; }
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(7,17,31,.78); backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent; transition: .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 35px rgba(0,0,0,.15); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk"; font-size: 18px; letter-spacing: -.02em; }
.brand strong { color: var(--accent); }
.brand-mark {
    width: 39px; height: 39px; border: 1px solid rgba(56,189,248,.45); border-radius: 11px;
    display: grid; place-items: center; color: var(--accent); font-size: 12px; font-weight: 700;
    background: rgba(56,189,248,.07);
}
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: #c6d1de; font-size: 13px; font-weight: 600; transition: .2s; }
.main-nav a:hover { color: var(--accent); }
.nav-cta { padding: 10px 15px; border: 1px solid rgba(56,189,248,.45); border-radius: 9px; color: var(--accent) !important; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 22px; }

.hero {
    min-height: 760px; padding-top: 150px; display: flex; align-items: center;
    background:
        radial-gradient(circle at 78% 28%, rgba(14,165,233,.14), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(14,116,144,.08), transparent 25%),
        var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.eyebrow, .section-kicker { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.eyebrow span { width: 27px; height: 1px; background: var(--accent); }
.hero h1 {
    font-family: "Space Grotesk"; font-size: clamp(48px, 6vw, 76px); line-height: 1.02;
    letter-spacing: -.055em; max-width: 760px; margin-bottom: 26px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { color: var(--muted); font-size: 17px; max-width: 700px; }
.hero-lead strong { color: var(--text); }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 10px;
    font-size: 13px; font-weight: 700; transition: .25s; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #03131f; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(56,189,248,.55); color: var(--accent); }
.hero-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 29px; }
.hero-links a { color: #8798ab; font-size: 12px; transition: .2s; }
.hero-links a:hover { color: var(--accent); }
.hero-links i { margin-right: 5px; }
.hero-visual { min-height: 530px; position: relative; display: grid; place-items: center; }
.photo-frame { position: relative; width: min(390px, 78%); aspect-ratio: .83; z-index: 2; }
.photo-frame:before {
    content: ""; position: absolute; inset: 18px -17px -17px 17px; border: 1px solid rgba(56,189,248,.4);
    border-radius: 25px; z-index: -1;
}
.photo-frame img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    border-radius: 22px; filter: saturate(.92); border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow);
}
.photo-glow { position: absolute; inset: 15%; background: rgba(56,189,248,.18); filter: blur(60px); z-index: -2; }
.visual-orbit { position: absolute; border: 1px solid rgba(56,189,248,.13); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; border-style: dashed; opacity: .6; }
.floating-card {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 13px 15px;
    background: rgba(13,31,51,.88); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px);
    border-radius: 13px; box-shadow: 0 18px 45px rgba(0,0,0,.25);
}
.floating-card small { display: block; color: #7f92a8; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.floating-card strong { display: block; color: #e7f1fb; font-size: 12px; }
.mini-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--accent); background: rgba(56,189,248,.1); border-radius: 9px; }
.card-cloud { top: 11%; right: 0; }
.card-cip { bottom: 12%; left: 2%; }
.hero-stats {
    margin-top: 75px; border-top: 1px solid var(--line); padding-top: 23px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat strong { display: block; font-family: "Space Grotesk"; font-size: 19px; color: var(--text); }
.stat span { color: #71849a; font-size: 11px; }

.section-heading { max-width: 800px; margin-bottom: 55px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 {
    font-family: "Space Grotesk"; font-size: clamp(34px, 4vw, 52px); line-height: 1.08;
    letter-spacing: -.045em; margin-top: 11px; color: inherit;
}
.section-heading h2 span { color: var(--accent); }
.section-heading p { color: var(--ink-muted); margin: 17px auto 0; max-width: 620px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: start; }
.profile-copy .lead { font-size: 21px; line-height: 1.55; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.profile-copy p:not(.lead) { color: var(--ink-muted); margin-bottom: 17px; }
.profile-copy blockquote {
    margin-top: 30px; padding: 18px 22px; border-left: 3px solid var(--accent);
    background: #eaf5fb; color: #18324b; font-family: "Space Grotesk"; font-size: 16px;
}
.profile-highlights { display: grid; gap: 12px; }
.highlight {
    display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px;
    border: 1px solid #dfe7ee; border-radius: 16px; background: white; transition: .25s;
}
.highlight:hover { transform: translateX(4px); border-color: rgba(56,189,248,.5); box-shadow: 0 15px 35px rgba(20,50,80,.08); }
.highlight-icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: var(--accent-dark); background: #e9f7fd; }
.highlight strong { font-family: "Space Grotesk"; font-size: 15px; }
.highlight p { color: var(--ink-muted); font-size: 12px; margin-top: 3px; }

.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.expertise-card {
    min-height: 270px; position: relative; padding: 28px; border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
    border-radius: var(--radius); overflow: hidden; transition: .3s;
}
.expertise-card:after {
    content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%;
    background: rgba(56,189,248,.07); filter: blur(4px); right: -55px; bottom: -55px;
}
.expertise-card:hover { transform: translateY(-5px); border-color: rgba(56,189,248,.35); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.expertise-card.featured { border-color: rgba(56,189,248,.34); background: linear-gradient(145deg, rgba(56,189,248,.09), rgba(255,255,255,.02)); }
.card-number { position: absolute; top: 22px; right: 23px; color: #4c6279; font: 700 11px "Space Grotesk"; }
.card-icon { color: var(--accent); font-size: 26px; margin-bottom: 25px; }
.expertise-card h3 { font: 600 21px "Space Grotesk"; margin-bottom: 9px; }
.expertise-card p { color: var(--muted); font-size: 13px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.tags span { padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.05); color: #91a6ba; font-size: 9px; }

.timeline { max-width: 900px; margin: 0 auto; }
.timeline-item { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 25px; }
.timeline-marker { position: relative; }
.timeline-marker:after { content: ""; position: absolute; top: 17px; bottom: -40px; left: 12px; width: 1px; background: rgba(56,189,248,.2); }
.timeline-item:last-of-type .timeline-marker:after { display: none; }
.timeline-marker span { display: block; width: 25px; height: 25px; border-radius: 50%; margin-top: 5px; border: 1px solid rgba(56,189,248,.4); background: #091727; box-shadow: 0 0 0 5px rgba(56,189,248,.05); }
.timeline-item.current .timeline-marker span { background: var(--accent); box-shadow: 0 0 0 6px rgba(56,189,248,.12), 0 0 25px rgba(56,189,248,.35); }
.timeline-content { padding: 0 0 50px; }
.timeline-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.timeline-meta span { color: #8194a8; font-size: 11px; }
.timeline-meta b { color: var(--accent); background: rgba(56,189,248,.09); padding: 3px 7px; border-radius: 5px; font-size: 9px; }
.timeline-content h3 { font: 600 24px "Space Grotesk"; }
.timeline-content h3 small { color: #8093a8; font-size: 13px; font-weight: 500; }
.timeline-content h4 { color: var(--accent); font-size: 12px; margin-top: 4px; }
.timeline-content p { color: var(--muted); font-size: 13px; margin: 12px 0; }
.timeline-content ul { padding-left: 17px; color: #93a6ba; font-size: 12px; }
.timeline-content li { margin-bottom: 7px; padding-left: 4px; }
.timeline-content li::marker { color: var(--accent); }
.older-experience { margin: 8px 0 0 63px; border-top: 1px solid var(--line); padding-top: 22px; }
.older-experience summary { cursor: pointer; color: var(--accent); font-size: 12px; font-weight: 700; list-style: none; }
.older-experience summary::-webkit-details-marker { display: none; }
.older-experience summary i { margin-left: 6px; transition: .2s; }
.older-experience[open] summary i { transform: rotate(180deg); }
.older-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 20px; }
.older-grid > div { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.older-grid strong { color: var(--accent); font-size: 10px; }
.older-grid h4 { margin-top: 7px; font-size: 13px; }
.older-grid p { color: #8193a6; font-size: 10px; margin-top: 4px; }

.cert-filter { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 25px; }
.cert-filter-btn { border: 1px solid #dce5ed; background: white; color: #627387; border-radius: 999px; padding: 9px 14px; font-size: 11px; font-weight: 700; cursor: pointer; transition: .2s; }
.cert-filter-btn:hover, .cert-filter-btn.active { background: var(--ink); border-color: var(--ink); color: white; }
.cert-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.cert-card {
    display: grid; grid-template-columns: 46px 1fr 25px; align-items: center; gap: 14px;
    padding: 18px; border: 1px solid #e0e8ef; background: white; border-radius: 15px; transition: .25s;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(25,50,80,.09); }
.cert-card.is-hidden { display: none; }
.cert-logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; }
.cert-logo.microsoft { background: #eaf5ff; color: #1479cf; }
.cert-logo.oracle { background: #fff1ed; color: #c74634; }
.cert-logo.huawei { background: #fff0f0; color: #cf2029; }
.cert-logo.other { background: #eef2f7; color: #3e566f; }
.cert-card span { color: #738397; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cert-card h3 { color: var(--ink); font: 600 14px "Space Grotesk"; line-height: 1.3; margin: 2px 0; }
.cert-card p { color: #7a8999; font-size: 10px; }
.cert-card > a { color: #94a4b4; }
.cert-card > a:hover { color: var(--accent-dark); }

.education-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.education-card {
    position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); overflow: hidden;
}
.education-card i { color: var(--accent); font-size: 27px; margin: 22px 0 17px; }
.education-card h3 { font: 600 22px "Space Grotesk"; }
.education-card p { color: var(--muted); margin-top: 6px; font-size: 13px; }
.education-year { position: absolute; top: 22px; right: 22px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.training { margin-top: 45px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; }
.training h3 { font: 600 20px "Space Grotesk"; margin-top: 8px; }
.training-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.training-list span { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; color: #9fb0c1; font-size: 10px; }

.contact-section { background: #eaf5fb; }
.contact-box {
    padding: 55px; border-radius: 26px; color: var(--ink);
    background: white; box-shadow: 0 25px 70px rgba(12,40,65,.12);
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
}
.contact-copy h2 { font: 600 clamp(33px,4vw,48px) "Space Grotesk"; line-height: 1.08; letter-spacing: -.04em; margin: 10px 0 15px; }
.contact-copy h2 span { color: var(--accent-dark); }
.contact-copy p { color: var(--ink-muted); font-size: 13px; max-width: 570px; }
.contact-actions { display: grid; gap: 9px; }
.contact-link { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 10px; background: #f5f9fc; color: #43566a; font-size: 11px; font-weight: 600; transition: .2s; }
.contact-link i { width: 24px; color: var(--accent-dark); font-size: 16px; text-align: center; }
.contact-link:hover { background: #e8f5fb; color: var(--accent-dark); }
footer { background: #050d18; padding: 23px 0; color: #687b90; font-size: 10px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }
.footer-wrap a { color: #8da0b5; }
.footer-wrap a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 960px) {
    .main-nav { position: absolute; top: 78px; left: 24px; right: 24px; padding: 15px; background: rgba(8,20,34,.98); border: 1px solid var(--line); border-radius: 14px; display: none; flex-direction: column; align-items: stretch; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 9px; }
    .menu-toggle { display: block; }
    .hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .hero { padding-top: 125px; }
    .hero-visual { min-height: 490px; }
    .hero-copy { text-align: center; }
    .eyebrow { justify-content: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-links { justify-content: center; }
    .hero-stats { margin-top: 35px; }
    .profile-grid { grid-template-columns: 1fr; gap: 45px; }
    .expertise-grid { grid-template-columns: repeat(2,1fr); }
    .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .container { width: min(calc(100% - 32px), var(--max)); }
    .section { padding: 80px 0; }
    .hero h1 { font-size: 45px; }
    .hero-stats { grid-template-columns: repeat(2,1fr); gap: 18px; }
    .photo-frame { width: 285px; }
    .orbit-one { width: 390px; height: 390px; }
    .orbit-two { width: 300px; height: 300px; }
    .card-cloud { right: -3px; }
    .card-cip { left: -3px; }
    .expertise-grid, .cert-grid, .education-grid { grid-template-columns: 1fr; }
    .older-grid { grid-template-columns: 1fr; }
    .older-experience { margin-left: 0; }
    .training, .contact-box { grid-template-columns: 1fr; gap: 28px; }
    .contact-box { padding: 32px 24px; }
    .footer-wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
