/* ============================================================
   OMAR ALALI \u2014 PORTFOLIO DESIGN SYSTEM
   Premium, Apple-inspired, blue cloud-security theme.
   ============================================================ */

:root {
    --bg: #05070d;
    --bg-elevated: #0a0f1c;
    --bg-elevated-2: #0e1526;
    --surface: rgba(255, 255, 255, 0.045);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f7fa;
    --text-muted: #9aa7b8;
    --text-faint: #6b7688;
    --blue: #0a84ff;
    --blue-light: #64d2ff;
    --cyan: #22d3ee;
    --indigo: #5e7cff;
    --teal: #2dd4bf;
    --orange: #ff9f40;
    --success: #34d399;
    --warning: #fbbf24;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;
    --gradient-blue: linear-gradient(135deg, #0a84ff 0%, #22d3ee 100%);
    --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(10, 132, 255, 0.25), transparent 60%);
    --ease: cubic-bezier(0.16, 0.8, 0.24, 1);
    --dur: 0.5s;
    --max-width: 1180px;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Background network canvas ---------- */
#network-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.55;
    pointer-events: none;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(5, 7, 13, 0.6);
    border-bottom: 1px solid var(--border);
    transition: background var(--dur) var(--ease);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #01131f;
    box-shadow: 0 0 18px rgba(10, 132, 255, 0.55);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13.5px;
    color: var(--text-muted);
    transition: color 0.25s var(--ease);
    position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.nav-cta {
    padding: 8px 16px !important;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px 24px;
    z-index: 99;
}

.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 15px;
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--gradient-blue);
    color: #01131f;
    box-shadow: 0 8px 30px rgba(10, 132, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(10, 132, 255, 0.5); }
.btn-secondary {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-secondary:hover { background: var(--surface-hover); }
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); background: var(--surface-hover); border-color: rgba(100, 210, 255, 0.4); box-shadow: 0 8px 30px rgba(100, 210, 255, 0.15); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 200px 0 140px;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    font-size: 12.5px;
    color: var(--blue-light);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}
.hero h1 {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #ffffff 20%, #b9c6d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .subtitle {
    margin: 22px auto 0;
    max-width: 640px;
    font-size: clamp(16px, 2.4vw, 21px);
    color: var(--text-muted);
    font-weight: 400;
}
.hero .btn-row { justify-content: center; margin-top: 44px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; z-index: 1; }
.section-tight { padding: 80px 0; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin: 0 0 56px; text-align: left; }
.kicker {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 14px;
    display: block;
}
.section-head h2 {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    letter-spacing: -1px;
}
.section-head p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 17px;
}
.section-alt { background: linear-gradient(180deg, transparent, rgba(10,132,255,0.04) 40%, transparent); }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.stagger.in-view > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Generic card ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
    position: relative;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    background: var(--surface-hover);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.card-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,132,255,0.12);
    color: var(--blue-light);
    margin-bottom: 20px;
}
.grid {
    display: grid;
    gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Dashboard stats ---------- */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}
.stat-value {
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}
.stat-label {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ---------- Timeline (Journey page) ---------- */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 40px;
    border-left: 2px solid var(--border);
}
.timeline-item {
    position: relative;
    padding: 0 0 56px 32px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -49px;
    top: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--blue);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.15);
}
.timeline-item.type-future .timeline-dot { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45,212,191,0.15); }
.timeline-date {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--blue-light);
    font-weight: 600;
}
.timeline-item h3 { margin-top: 8px; font-size: 21px; font-weight: 650; }
.timeline-item p { margin-top: 10px; color: var(--text-muted); font-size: 15px; }
.timeline-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Certification cards ---------- */
.cert-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.35); border-color: var(--border-strong); }
.cert-top { display: flex; align-items: center; gap: 16px; }
.cert-logo {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #01131f;
    background: var(--gradient-blue);
    flex-shrink: 0;
}
.cert-logo-img { overflow: hidden; padding: 0; background: transparent; }
.cert-logo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cert-logo-brand { overflow: hidden; background: #ffffff; padding: 9px; }
.cert-logo-brand img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cert-logo-wordmark { padding: 3px; }
.cert-title { font-size: 17px; font-weight: 650; line-height: 1.3; }
.cert-issuer { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    padding: 5px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    width: fit-content;
}
.status-completed { background: rgba(52,211,153,0.15); color: var(--success); }
.status-in-progress { background: rgba(251,191,36,0.15); color: var(--warning); }
.status-planned { background: rgba(94,124,255,0.15); color: var(--indigo); }
.cert-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; }
.cert-meta div span { display: block; color: var(--text-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.cert-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.cert-verify {
    margin-top: auto;
    font-size: 13px;
    color: var(--blue-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Skills page ---------- */
.skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.skill-card:hover { transform: translateY(-6px) scale(1.01); border-color: var(--blue); }
.skill-card h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; }
.skill-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tags .tag { transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.skill-tags .tag:hover { background: rgba(10,132,255,0.15); color: var(--blue-light); border-color: var(--blue); }

/* ---------- Project cards ---------- */
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.project-media {
    height: 220px;
    background: linear-gradient(135deg, rgba(10,132,255,0.18), rgba(34,211,238,0.08));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.project-media .grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}
.project-media .media-label {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(5,7,13,0.5);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
}
.project-body { padding: 28px; }
.project-body h3 { font-size: 20px; font-weight: 650; }
.project-body p { margin-top: 10px; color: var(--text-muted); font-size: 14.5px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.project-links { display: flex; gap: 16px; margin-top: 22px; }
.project-links a { font-size: 13.5px; color: var(--blue-light); } .project-card { position: relative; } .project-card-link { position: absolute; inset: 0; z-index: 1; } .project-links { position: relative; z-index: 2; } .project-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.future-card {
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
    padding: 28px;
    opacity: 0.9;
}
.future-card h4 { font-size: 16px; font-weight: 650; }
.future-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- Security Lab dashboard ---------- */
.lab-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.lab-panel h3 { font-size: 16px; font-weight: 650; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.lab-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.lab-service:last-child { border-bottom: none; }
.lab-service .name { display: flex; align-items: center; gap: 10px; color: var(--text); }
.lab-service .badge { font-size: 11px; color: var(--success); background: rgba(52,211,153,0.12); padding: 4px 10px; border-radius: 100px; }
.diagram-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    padding: 40px;
    text-align: center;
    color: var(--text-faint);
    font-size: 13.5px;
}

/* ---------- Resume viewer ---------- */
.resume-viewer {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    text-align: center;
}
.resume-viewer .doc-icon {
    width: 70px; height: 70px;
    margin: 0 auto 22px;
    border-radius: 18px;
    background: var(--gradient-blue);
    display: flex; align-items: center; justify-content: center;
}
.resume-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-faint);
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
           position: relative;
           background: var(--surface);
           border: 1px solid var(--border);
           border-radius: var(--radius-lg);
           padding: 38px 34px;
           display: flex;
           flex-direction: column;
           align-items: flex-start;
           gap: 14px;
           overflow: hidden;
           transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
      .contact-card::before {
                 content: "";
                 position: absolute;
                 inset: 0;
                 background: var(--gradient-blue);
                 opacity: 0;
                 transition: opacity 0.45s var(--ease);
                 pointer-events: none;
      }
      .contact-card:hover {
                 transform: translateY(-6px);
                 border-color: var(--blue);
                 background: var(--surface-hover);
                 box-shadow: 0 20px 45px rgba(10,132,255,0.2);
      }
      .contact-card:hover::before { opacity: 0.06; }
      .contact-card h4 { position: relative; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
      .contact-card-value { position: relative; display: block; font-size: 15px; color: var(--text-muted); word-break: break-word; }
      .contact-card-cta {
                 position: relative;
                 margin-top: 10px;
                 display: inline-flex;
                 align-items: center;
                 font-size: 13.5px;
                 font-weight: 650;
                 color: var(--blue-light);
                 border: 1px solid var(--border-strong);
                 border-radius: 100px;
                 padding: 11px 22px;
                 transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
      }
      .contact-card:hover .contact-card-cta {
                 background: var(--gradient-blue);
                 color: #fff;
                 border-color: transparent;
                 transform: translateX(4px);
      }

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--border);
    padding: 50px 0;
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
    position: relative;
    z-index: 1;
}
footer .footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; }
footer .footer-links a { color: var(--text-muted); font-size: 13.5px; }
footer .footer-links a:hover { color: var(--text); }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.placeholder-note {
    font-size: 12px;
    color: var(--text-faint);
    font-style: italic;
}
.page-hero {
    padding: 160px 0 70px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(34px, 6vw, 58px);
    font-weight: 700;
    letter-spacing: -1.5px;
}
.page-hero p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Nav density override (more nav items) ---------- */
.nav-links { gap: 16px; }
.nav-links a { font-size: 12px; }
.nav-cta { padding: 7px 14px !important; }
@media (max-width: 1120px) {
     .nav-links { display: none; }
     .nav-toggle { display: block; }
}

/* ---------- Cert expand panel ---------- */
.cert-expand-panel { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 4px; }
.cert-expand-toggle { font-size: 13px !important; padding: 8px 16px !important; }

/* ---------- Roadmap checklist tweaks ---------- */
.timeline-item.type-cert .timeline-dot { background: var(--success); border-color: var(--success); }


/* ---------- About Me (interactive story) ---------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }
.photo-frame { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-faint); text-align: center; overflow: hidden; position: relative; }
.photo-frame .photo-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-blue); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.photo-frame span { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.info-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border-strong); font-size: 13px; color: var(--text-muted); }
.info-chip .flag { font-size: 16px; }
.story p { color: var(--text-muted); font-size: 16px; margin-top: 16px; }
.story p:first-of-type { margin-top: 0; }
.story strong { color: var(--text); }
.mini-path { display: flex; align-items: flex-start; gap: 0; margin-top: 36px; flex-wrap: wrap; }
.mini-path-item { flex: 1; min-width: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; padding: 0 8px; }
.mini-path-item:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 60%; width: 80%; height: 2px; background: var(--border-strong); z-index: 0; }
.mini-path-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-size: 19px; position: relative; z-index: 1; }
.mini-path-item span { font-size: 12.5px; color: var(--text-muted); font-weight: 600; line-height: 1.3; }
@media (max-width: 700px) { .mini-path { flex-direction: column; align-items: flex-start; gap: 24px; } .mini-path-item { flex-direction: row; text-align: left; min-width: 0; } .mini-path-item:not(:last-child)::after { display: none; } }
.timeline-dot.has-icon { display: flex; align-items: center; justify-content: center; font-size: 11px; background: var(--bg-elevated); }


/* ---------- Hands-on Labs: path cards, progress bars, status badges ---------- */
.path-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.path-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.path-card-head h4 { font-size: 16px; font-weight: 600; margin: 0; }
.status-badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: 0.2px; }
.status-completed { background: rgba(52,211,153,0.15); color: var(--success); }
.status-inprogress { background: rgba(10,132,255,0.15); color: var(--blue-light); }
.status-learning { background: rgba(251,191,36,0.15); color: var(--warning); }
.difficulty-tag { display: inline-block; font-size: 12px; color: var(--text-faint); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; }
.path-desc { color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.progress-row { display: flex; align-items: center; gap: 10px; }
.progress-track { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: var(--gradient-blue); }
.progress-pct { font-size: 12.5px; color: var(--text-faint); min-width: 36px; text-align: right; }
.what-learned { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 16px; }
.what-learned h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-faint); margin: 0 0 8px; }
.what-learned ul { display: grid; gap: 6px; padding-left: 18px; margin: 0; color: var(--text-muted); font-size: 13.5px; }
@media (max-width: 900px) {
   .path-card { padding: 18px; } } .osr-section { position: relative; } .osr-widget { display: grid; grid-template-columns: 260px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; box-shadow: 0 30px 80px rgba(0,0,0,0.35); } .osr-sidebar { background: var(--bg-elevated); border-right: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 14px; } .osr-new-chat { width: 100%; padding: 12px 16px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background 0.3s var(--ease), transform 0.3s var(--ease); } .osr-new-chat:hover { background: var(--surface-hover); transform: translateY(-2px); } .osr-history { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; flex: 1; } .osr-history-item { padding: 10px 12px; border-radius: 12px; font-size: 13px; color: var(--text-muted); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background 0.25s var(--ease), color 0.25s var(--ease); border: 1px solid transparent; } .osr-history-item:hover { background: var(--surface-hover); color: var(--text); } .osr-history-item.active { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); } .osr-history-empty { color: var(--text-faint); font-size: 12.5px; padding: 10px 12px; } .osr-main { display: flex; flex-direction: column; min-height: 560px; background: var(--bg-elevated-2); } .osr-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border); } .osr-header-info { display: flex; align-items: center; gap: 12px; } .osr-avatar { width: 38px; height: 38px; border-radius: 12px; background: var(--gradient-blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #01131f; box-shadow: 0 0 18px rgba(10,132,255,0.55); } .osr-title { font-size: 15px; font-weight: 650; } .osr-status { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 6px; } .osr-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); display: inline-block; box-shadow: 0 0 8px var(--success); } .osr-history-toggle { display: none; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 13px; cursor: pointer; } .osr-messages { flex: 1; overflow-y: auto; padding: 28px; display: flex; flex-direction: column; gap: 18px; } .osr-empty { margin: auto; text-align: center; max-width: 520px; } .osr-empty-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--gradient-blue); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #01131f; box-shadow: 0 0 24px rgba(10,132,255,0.5); } .osr-empty h3 { font-size: 20px; font-weight: 650; margin-bottom: 20px; } .osr-suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .osr-suggestion-chip { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: 13.5px; cursor: pointer; transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); } .osr-suggestion-chip:hover { background: var(--surface-hover); border-color: var(--border-strong); color: var(--text); transform: translateY(-2px); } .osr-msg { display: flex; gap: 12px; max-width: 100%; animation: osrFadeIn 0.4s var(--ease); } .osr-msg-avatar { width: 30px; height: 30px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; } .osr-msg.user { flex-direction: row-reverse; margin-left: auto; } .osr-msg.user .osr-msg-avatar { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-muted); } .osr-msg.assistant .osr-msg-avatar { background: var(--gradient-blue); color: #01131f; box-shadow: 0 0 14px rgba(10,132,255,0.45); } .osr-msg-bubble { padding: 14px 18px; border-radius: 16px; font-size: 14.5px; line-height: 1.65; max-width: 640px; } .osr-msg.user .osr-msg-bubble { background: var(--gradient-blue); color: #01131f; border-top-right-radius: 4px; } .osr-msg.assistant .osr-msg-bubble { background: var(--surface); border: 1px solid var(--border); color: var(--text); border-top-left-radius: 4px; } .osr-msg-bubble p { margin: 0 0 12px; } .osr-msg-bubble p:last-child { margin-bottom: 0; } .osr-msg-bubble ul, .osr-msg-bubble ol { margin: 0 0 12px; padding-left: 20px; } .osr-msg-bubble a { color: var(--blue-light); text-decoration: underline; } .osr-msg-bubble pre { background: #05070d; border: 1px solid var(--border); border-radius: 12px; padding: 0; margin: 12px 0; overflow: hidden; } .osr-code-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--border); font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; } .osr-copy-btn { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-muted); font-size: 11.5px; padding: 4px 10px; border-radius: 100px; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease); } .osr-copy-btn:hover { background: var(--surface-hover); color: var(--text); } .osr-copy-btn.copied { color: var(--success); border-color: var(--success); } .osr-msg-bubble pre code { display: block; padding: 16px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: #d6deeb; } .osr-msg-bubble code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; } .osr-msg-bubble :not(pre) > code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; } .osr-typing { display: flex; gap: 5px; padding: 6px 4px; } .osr-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: osrTyping 1.2s infinite ease-in-out; } .osr-typing span:nth-child(2) { animation-delay: 0.15s; } .osr-typing span:nth-child(3) { animation-delay: 0.3s; } @keyframes osrTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-6px); opacity: 1; } } @keyframes osrFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .osr-input-row { display: flex; gap: 12px; align-items: flex-end; padding: 18px 24px; border-top: 1px solid var(--border); } .osr-input-row textarea { flex: 1; resize: none; max-height: 160px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; padding: 13px 16px; color: var(--text); font-size: 14.5px; font-family: inherit; line-height: 1.5; outline: none; transition: border-color 0.25s var(--ease); } .osr-input-row textarea:focus { border-color: var(--blue); } .osr-input-row textarea::placeholder { color: var(--text-faint); } .osr-send { width: 46px; height: 46px; border-radius: 14px; background: var(--gradient-blue); border: none; color: #01131f; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); box-shadow: 0 8px 24px rgba(10,132,255,0.4); } .osr-send:hover { transform: translateY(-2px); } .osr-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .osr-notice { font-size: 13px; color: var(--text-faint); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: 14px; padding: 14px 16px; } .btn-osr { position: relative; } .btn-osr::after { content: ''; position: absolute; inset: -3px; border-radius: 100px; border: 1px solid rgba(100,210,255,0.5); animation: osrPulse 2.4s infinite; pointer-events: none; } @keyframes osrPulse { 0% { box-shadow: 0 0 0 0 rgba(100,210,255,0.45); } 70% { box-shadow: 0 0 0 10px rgba(100,210,255,0); } 100% { box-shadow: 0 0 0 0 rgba(100,210,255,0); } } @media (max-width: 860px) { .osr-widget { grid-template-columns: 1fr; min-height: 620px; } .osr-sidebar { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; z-index: 200; transition: right 0.3s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,0.5); } .osr-sidebar.open { right: 0; } .osr-history-toggle { display: inline-flex; } .osr-suggestions { grid-template-columns: 1fr; } .osr-msg-bubble { max-width: 100%; } } @media (max-width: 620px) { .osr-messages { padding: 18px; } .osr-input-row { padding: 14px 16px; } .osr-header { padding: 14px 18px; } }


/* Profile photo (About page) */
.photo-frame.has-photo { padding: 0; border-radius: 50%; }
.photo-frame .profile-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
@media (max-width: 780px) { .photo-frame { max-width: 260px; margin: 0 auto; } }

/* ---------- About Me: Premium Enhancements ---------- */
.about-grid { row-gap: 48px; }
@media (min-width: 781px) { .about-grid { gap: 64px; } }

.about-grid .photo-frame {
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.about-grid .photo-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(10, 132, 255, 0.28);
    border-color: var(--blue-light);
}

.about-grid .info-chip {
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.about-grid .info-chip:hover {
    transform: translateY(-3px);
    border-color: var(--blue-light);
    background: var(--surface-hover);
}

.about-grid .mini-path-icon {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.about-grid .mini-path-item:hover .mini-path-icon {
    transform: translateY(-4px) scale(1.08);
    border-color: var(--blue-light);
    box-shadow: 0 12px 30px rgba(10, 132, 255, 0.3);
}

.about-grid .card {
    position: relative;
    overflow: hidden;
}
.about-grid .card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-blue);
    opacity: 0.85;
}

.about-grid.in-view .mini-path-item,
.about-grid.in-view .info-chip {
    animation: aboutPopIn 0.7s var(--ease) both;
}
.about-grid.in-view .mini-path-item:nth-child(2) { animation-delay: 0.08s; }
.about-grid.in-view .mini-path-item:nth-child(3) { animation-delay: 0.16s; }
.about-grid.in-view .mini-path-item:nth-child(4) { animation-delay: 0.24s; }
.about-grid.in-view .info-chip:nth-child(2) { animation-delay: 0.1s; }

@keyframes aboutPopIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-grid .story p strong {
    background: linear-gradient(135deg, rgba(10,132,255,0.16), rgba(34,211,238,0.16));
    padding: 2px 6px;
    border-radius: 6px;
}


/* ---------- Hero: Premium Enhancements ---------- */
.hero-bg {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
opacity: 0.35;
background-image:
linear-gradient(rgba(10,132,255,0.10) 1px, transparent 1px),
linear-gradient(90deg, rgba(10,132,255,0.10) 1px, transparent 1px);
background-size: 42px 42px;
mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 80%);
-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 80%);
animation: heroGridDrift 26s linear infinite;
}
@keyframes heroGridDrift {
0% { background-position: 0 0, 0 0; }
100% { background-position: 42px 42px, -42px 42px; }
}
.hero .container { position: relative; z-index: 1; }

.hero-parallax { will-change: transform; }
.hero-content { animation: heroFloat 7s var(--ease) infinite alternate; }
@keyframes heroFloat {
0% { transform: translateY(0); }
100% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
.hero-content, .hero-bg { animation: none; }
}

.hero h1 {
font-size: clamp(54px, 9vw, 108px);
filter: drop-shadow(0 0 34px rgba(10,132,255,0.35)) drop-shadow(0 0 70px rgba(34,211,238,0.15));
}

.btn-outline {
background: transparent;
border-color: var(--blue);
color: var(--blue-light);
}
.btn-outline:hover {
background: rgba(10,132,255,0.12);
box-shadow: 0 10px 30px rgba(10,132,255,0.35);
}

.btn-secondary:hover, .btn-ghost:hover {
box-shadow: 0 10px 26px rgba(10,132,255,0.18);
}

.btn-icon-svg { width: 16px; height: 16px; flex-shrink: 0; }


/* ================================================================
   CYBER COMMAND CENTER: Global glass-panel + HUD accent system
   ================================================================ */
.cyber-panel {
    position: relative;
    background: linear-gradient(160deg, rgba(13,23,42,0.65), rgba(6,12,24,0.42));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 40px;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 0 0 1px rgba(34,211,238,0.06), 0 30px 70px rgba(0,0,0,0.35);
}
.cyber-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34,211,238,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,211,238,0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.7;
    pointer-events: none;
}
.cyber-panel::after {
    content: '';
    position: absolute;
    top: -45%;
    left: -25%;
    width: 55%;
    height: 190%;
    background: radial-gradient(circle, rgba(34,211,238,0.10), transparent 65%);
    animation: cyberSweep 10s ease-in-out infinite;
    pointer-events: none;
}
@keyframes cyberSweep {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(230%, 15%); }
}
.cyber-panel > .corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--cyan);
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}
.cyber-panel > .corner-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.cyber-panel > .corner-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.cyber-panel > .corner-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.cyber-panel > .corner-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.about-card > div { position: relative; z-index: 1; }
@media (max-width: 780px) {
    .cyber-panel { padding: 28px 20px; }
    .cyber-panel > .corner { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .cyber-panel::after { animation: none; opacity: 0.5; }
}

/* Glowing cyan profile-photo ring */
.photo-ring { position: relative; border-radius: 50%; display: block; }
.photo-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 20px rgba(34,211,238,0.55), 0 0 46px rgba(10,132,255,0.3);
    animation: ringPulse 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ringPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
    .photo-ring::before { animation: none; opacity: 0.85; }
}

/* Journey / timeline section label */
.mini-path-label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-top: 40px;
}
.mini-path-label + .mini-path { margin-top: 14px; }

/* Timeline (about.html) cyber glow accents */
.timeline { border-left-color: rgba(34,211,238,0.4); box-shadow: -1px 0 16px rgba(34,211,238,0.08); }
.timeline-dot { box-shadow: 0 0 0 4px rgba(34,211,238,0.16), 0 0 14px rgba(34,211,238,0.4); border-color: var(--cyan); }
.timeline-item.type-future .timeline-dot { box-shadow: 0 0 0 4px rgba(45,212,191,0.18), 0 0 16px rgba(45,212,191,0.45); }


/* ----------------------------------------------------------------
   PREMIUM POLISH: loading screen, back-to-top, holographic Earth,
   section accents, premium card hovers, glass reflections
   ---------------------------------------------------------------- */

/* ---------- Loading screen ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader-inner { position: relative; width: 84px; height: 84px; }
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(34,211,238,0.15);
    border-top-color: var(--cyan);
    animation: loaderSpin 1s linear infinite;
}
.loader-ring:nth-child(2) {
    inset: 14px;
    border-top-color: var(--blue-light);
    animation-duration: 0.75s;
    animation-direction: reverse;
}
.loader-mark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--cyan);
}
.loader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader-ring { animation: none; } }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,18,32,0.75);
    border: 1px solid var(--border-strong);
    color: var(--cyan);
    font-size: 18px;
    cursor: pointer;
    z-index: 80;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover {
    border-color: rgba(34,211,238,0.5);
    box-shadow: 0 0 24px rgba(34,211,238,0.35), 0 10px 30px rgba(0,0,0,0.35);
    color: var(--text);
}
.back-to-top-arrow { line-height: 1; }
@media (max-width: 700px) {
    .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* ---------- Holographic Earth visual ---------- */
.earth-visual { position: absolute; pointer-events: none; }
.earth-visual .earth-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(100,210,255,0.35), transparent 45%),
        radial-gradient(circle at 65% 70%, rgba(34,211,238,0.18), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(10,20,35,0.92), rgba(5,7,13,0.96) 70%);
    box-shadow: 0 0 90px rgba(34,211,238,0.22), inset 0 0 60px rgba(34,211,238,0.14);
    animation: earthRotate 46s linear infinite;
    overflow: hidden;
}
.earth-visual .earth-core::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image:
        repeating-linear-gradient(90deg, rgba(100,210,255,0.12) 0, rgba(100,210,255,0.12) 1px, transparent 1px, transparent 34px),
        repeating-linear-gradient(0deg, rgba(100,210,255,0.08) 0, rgba(100,210,255,0.08) 1px, transparent 1px, transparent 34px);
    border-radius: 50%;
    mix-blend-mode: screen;
}
.earth-visual .earth-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(34,211,238,0.22);
    animation: earthRotate 64s linear infinite reverse;
}
.earth-visual .earth-ring::before {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 1px dashed rgba(100,210,255,0.16);
}
.earth-visual .earth-dot {
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px 3px rgba(34,211,238,0.65);
    animation: earthOrbit 16s linear infinite;
}
.earth-visual .earth-dot:nth-child(4) { animation-duration: 22s; animation-direction: reverse; }
.earth-visual .earth-dot:nth-child(5) { animation-duration: 28s; }
@keyframes earthRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes earthOrbit {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
.hero-earth {
    top: 50%;
    right: -110px;
    width: 460px;
    height: 460px;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.6;
    animation: earthFadeIn 1.6s var(--ease) both;
}
.hero-earth .earth-dot { animation-name: earthOrbitHero; }
@keyframes earthOrbitHero {
    from { transform: rotate(0deg) translateX(210px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(210px) rotate(-360deg); }
}
@keyframes earthFadeIn {
    from { opacity: 0; transform: translateY(-50%) scale(0.9); }
    to { opacity: 0.6; transform: translateY(-50%) scale(1); }
}
.ambient-earth {
    position: fixed;
    top: 14%;
    right: -140px;
    width: 340px;
    height: 340px;
    z-index: 0;
    opacity: var(--ambient-earth-opacity, 0);
    transition: opacity 1.4s var(--ease);
}
@media (max-width: 900px) {
    .hero-earth { width: 300px; height: 300px; right: -90px; opacity: 0.4; }
    .ambient-earth { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .earth-visual .earth-core, .earth-visual .earth-ring, .earth-visual .earth-dot { animation: none; }
}

/* ---------- Section-specific ambient glow accents ---------- */
#featuredProjectsGrid, #futureProjectsGrid, #certGrid, #skillsGrid, #contactCards {
    position: relative;
}
#featuredProjectsGrid::before, #futureProjectsGrid::before {
    content: '';
    position: absolute;
    top: -70px; left: 50%;
    transform: translateX(-50%);
    width: 65%; height: 140px;
    background: radial-gradient(ellipse, rgba(10,132,255,0.16), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
}
#certGrid::before {
    content: '';
    position: absolute;
    top: -70px; left: 50%;
    transform: translateX(-50%);
    width: 65%; height: 140px;
    background: radial-gradient(ellipse, rgba(45,212,191,0.16), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
}
#skillsGrid::before {
    content: '';
    position: absolute;
    top: -70px; left: 50%;
    transform: translateX(-50%);
    width: 65%; height: 140px;
    background: radial-gradient(ellipse, rgba(94,124,255,0.16), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
}
#contactCards::before {
    content: '';
    position: absolute;
    top: -70px; left: 50%;
    transform: translateX(-50%);
    width: 65%; height: 140px;
    background: radial-gradient(ellipse, rgba(255,159,64,0.16), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: -1;
}

/* ---------- Premium card hover: glow + lift + animated border ring ---------- */
.project-card, .cert-card, .skill-card, .future-card { position: relative; }

.card:hover, .cert-card:hover, .skill-card:hover, .future-card:hover, .project-card:hover {
    box-shadow: 0 22px 55px rgba(0,0,0,0.4), 0 0 30px rgba(34,211,238,0.16);
}
.card::after, .project-card::after, .cert-card::after, .skill-card::after, .future-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(34,211,238,0) 0%, rgba(34,211,238,0.75) 45%, rgba(34,211,238,0) 65%);
    background-size: 250% 250%;
    background-position: 0% 0%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.card:hover::after, .project-card:hover::after, .cert-card:hover::after, .skill-card:hover::after, .future-card:hover::after {
    opacity: 1;
    animation: cardBorderTravel 2.5s linear infinite;
}
@keyframes cardBorderTravel {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}
@media (prefers-reduced-motion: reduce) {
    .card:hover::after, .project-card:hover::after, .cert-card:hover::after, .skill-card:hover::after, .future-card:hover::after { animation: none; }
}

/* ---------- Glass panel light sweep (subtle reflection) ---------- */
.project-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 45%; height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(20deg) translateX(-120%);
    transition: transform 1s ease;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}
.project-card:hover::before {
    transform: rotate(20deg) translateX(220%);
}


/* ================================================================
GLOBAL THREAT INTELLIGENCE CENTER
================================================================ */
.ti-toolbar { display: flex; flex-direction: column; gap: 20px; }
.ti-toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ti-updated { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.ti-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); display: inline-block; animation: tiPulse 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes tiPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.ti-search {
  width: 100%;
  padding: 13px 18px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.ti-search::placeholder { color: var(--text-faint); }
.ti-search:focus { border-color: var(--cyan); background: var(--surface-hover); }

.ti-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ti-chip {
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.ti-chip:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }
.ti-chip.active { background: var(--gradient-blue); color: #01131f; border-color: transparent; }

.ti-section { transition: opacity 0.3s var(--ease); }
.ti-section.ti-hidden { display: none; }

.ti-grid { align-items: stretch; }

.ti-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ti-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: 0 18px 45px rgba(0,0,0,0.35); }
.ti-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ti-card-title { font-size: 15.5px; font-weight: 650; line-height: 1.35; word-break: break-word; }
.ti-card-meta { font-size: 12px; color: var(--text-faint); }
.ti-card-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.ti-card-date { font-size: 11.5px; color: var(--text-faint); white-space: nowrap; }
.ti-card-foot { margin-top: auto; padding-top: 6px; }
.ti-card-link { font-size: 12.5px; font-weight: 600; color: var(--blue-light); }

.ti-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ti-sev-critical { background: rgba(255,69,58,0.16); color: #ff6961; }
.ti-sev-high { background: rgba(255,159,64,0.16); color: var(--orange); }
.ti-sev-medium { background: rgba(251,191,36,0.16); color: var(--warning); }
.ti-sev-low { background: rgba(94,124,255,0.16); color: var(--indigo); }
.ti-sev-informational { background: rgba(34,211,238,0.14); color: var(--cyan); }

.ti-card.ti-skeleton {
  min-height: 168px;
  background: linear-gradient(110deg, var(--surface) 30%, var(--surface-hover) 50%, var(--surface) 70%);
  background-size: 200% 100%;
  animation: tiShimmer 1.6s ease-in-out infinite;
}
@keyframes tiShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.ti-unavailable {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
}
.ti-unavailable-icon { font-size: 22px; margin-bottom: 10px; color: var(--warning); }
.ti-unavailable-note { margin-top: 6px; font-size: 12.5px; color: var(--text-faint); }

@media (prefers-reduced-motion: reduce) {
  .ti-live-dot, .ti-card.ti-skeleton { animation: none; }
}

@media (max-width: 700px) {
  .ti-toolbar-row { flex-direction: column; align-items: stretch; }
  .ti-chip { font-size: 11.5px; padding: 8px 13px; }
}


/* ================================================================
   GLOBAL ATTACK MAP (Homepage) -- real live ransomware-disclosure data
   plotted by victim country. Blue "monitoring node" markers and the
   animated detection-sweep lines are illustrative, not real attacker
   geolocation, and are labeled as such in the UI.
   ================================================================ */
.attack-map-section { position: relative; }
.am-updated { color: var(--text-faint); font-size: 0.8rem; display: block; margin-top: 6px; }

.am-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.am-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 12px; text-align: center; }
.am-stat-num { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; background: var(--gradient-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.am-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; display: block; }

.am-map-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); padding: 16px; }
.am-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.am-btn-pause { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); font-size: 0.8rem; padding: 8px 16px; border-radius: 100px; cursor: pointer; transition: background 0.2s var(--ease); }
.am-btn-pause:hover { background: var(--surface-hover); }
.am-legend { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.am-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.am-dot-red { background: #ff3b5c; box-shadow: 0 0 8px rgba(255,59,92,0.8); }
.am-dot-blue { background: var(--blue); box-shadow: 0 0 8px rgba(10,132,255,0.8); margin-left: 10px; }

.am-map { position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; background: radial-gradient(ellipse at center, rgba(10,132,255,0.10), transparent 70%), var(--bg); }
.am-particles { position: absolute; inset: 0; z-index: 1; }
.am-continents { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.am-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.am-continents .am-blob { fill: rgba(94,124,255,0.12); }
.am-continents .am-grid { stroke: rgba(255,255,255,0.05); stroke-width: 0.8; fill: none; }
.am-continents .am-land { fill: rgba(94,124,255,0.16); stroke: rgba(140,170,255,0.38); stroke-width: 0.7; stroke-linejoin: round; }
.am-continents .am-graticule .am-grid { stroke: rgba(255,255,255,0.045); stroke-width: 0.7; }

.am-line { stroke: #22d3ee; stroke-width: 1.6; fill: none; stroke-dasharray: 6 5; opacity: 0; }
.am-line.active { opacity: 0.9; animation: amDash 1.1s linear forwards, amFadeOut 0.5s ease 0.7s forwards; }
@keyframes amDash { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes amFadeOut { to { opacity: 0; } }

/* Attack paths: illustrative origin -> victim */
.am-path { stroke: #f59e0b; stroke-width: 1.5; fill: none; stroke-dasharray: 5 4; opacity: 0; stroke-linecap: round; }
.am-path.active { opacity: 0.85; animation: amDash 1.1s linear forwards, amFadeOut 0.45s ease 0.9s forwards; }
.am-path-dot { fill: #fde68a; filter: drop-shadow(0 0 4px rgba(245,158,11,0.9)); }
/* Illustrative origin markers (NOT real attribution) */
.am-marker.origin { width: 8px; height: 8px; background: transparent; border: 1.5px solid #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.55); cursor: help; animation: amGlowAmber 3s ease-in-out infinite; }
@keyframes amGlowAmber { 0%,100% { box-shadow: 0 0 6px rgba(245,158,11,0.4); } 50% { box-shadow: 0 0 12px rgba(245,158,11,0.8); } }

.am-markers { position: absolute; inset: 0; z-index: 3; }
.am-marker { position: absolute; transform: translate(-50%, -50%); width: 11px; height: 11px; border-radius: 50%; cursor: pointer; }
.am-marker.threat { background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255,59,92,0.7); animation: amPulseRed 2.4s ease-out infinite; }
.am-marker.threat.impact { animation: amImpact 0.6s ease; }
.am-marker.shield { width: 9px; height: 9px; background: var(--blue); box-shadow: 0 0 12px rgba(10,132,255,0.85); animation: amGlowBlue 3s ease-in-out infinite; cursor: default; }
@keyframes amPulseRed { 0% { box-shadow: 0 0 0 0 rgba(255,59,92,0.6); } 70% { box-shadow: 0 0 0 16px rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }
@keyframes amImpact { 0% { box-shadow: 0 0 0 0 rgba(255,59,92,0.9); transform: translate(-50%,-50%) scale(1); } 40% { box-shadow: 0 0 0 24px rgba(255,59,92,0); transform: translate(-50%,-50%) scale(1.6); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); transform: translate(-50%,-50%) scale(1); } }
@keyframes amGlowBlue { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }

.am-toasts { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; max-width: 250px; z-index: 5; }
.am-toast { background: rgba(10,15,28,0.94); border: 1px solid var(--border-strong); border-left: 3px solid #ff3b5c; border-radius: 10px; padding: 10px 12px; font-size: 0.72rem; color: var(--text); box-shadow: 0 8px 24px rgba(0,0,0,0.4); animation: amToastIn 0.3s ease; }
.am-toast strong { display: block; font-size: 0.7rem; color: #ff9f9f; margin-bottom: 2px; }
.am-toast a { color: var(--blue-light); }
@keyframes amToastIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.am-empty { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--text-muted); font-size: 0.85rem; background: rgba(5,7,13,0.7); padding: 20px; }
.am-empty button { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); padding: 8px 18px; border-radius: 100px; cursor: pointer; }

.am-panel { margin-top: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; position: relative; }
.am-panel h3 { margin: 0 0 6px; font-size: 1.05rem; }
.am-panel-note { color: var(--text-muted); font-size: 0.78rem; margin: 0 0 14px; }
.am-panel-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--border); font-size: 0.85rem; }
.am-panel-row:first-of-type { border-top: none; }
.am-panel-date { color: var(--text-faint); font-size: 0.75rem; min-width: 80px; }
.am-panel-title { flex: 1; min-width: 140px; color: var(--text); }
.am-panel-link { color: var(--blue-light); white-space: nowrap; font-size: 0.8rem; }
.am-panel-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; }

.am-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

@media (max-width: 720px) {
  .am-stats { grid-template-columns: repeat(2, 1fr); }
  .am-map { aspect-ratio: 4 / 5; }
  .am-toasts { max-width: none; left: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .am-marker.threat, .am-marker.shield, .am-line, .am-toast { animation: none !important; }
}

.attack-map-section.am-paused .am-marker.threat,
.attack-map-section.am-paused .am-marker.shield,
.attack-map-section.am-paused .am-line { animation-play-state: paused; }


/* ============================================================
   ABOUT ME â PREMIUM REFRESH (Apple/Vercel/Stripe inspired)
   ============================================================ */
.about-section { padding-top: 96px; padding-bottom: 96px; }
.about-section .section-head { margin-bottom: 56px; }
.about-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 14px;
  background: linear-gradient(180deg, #ffffff 0%, #c9d6e6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.01em;
  margin: 0;
}
.about-grid.glass-card { grid-template-columns: 320px 1fr; gap: 32px; align-items: stretch; }
.about-card.glass-card {
  padding: 56px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.about-left { display: flex; flex-direction: column; justify-content: flex-start; gap: 28px; }
.about-left.about-card.glass-card { padding: 36px 28px; }
.about-card .photo-ring { max-width: 292px; margin: 0 auto; }
.about-left .photo-ring { max-width: 100%; }
.about-card .photo-frame { max-width: 292px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 50px -18px rgba(0,0,0,0.65); }
.about-left .photo-frame { max-width: 100%; }
.about-card .profile-photo {
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.12);
  transition: transform 0.6s var(--ease);
}
.about-left .profile-photo { object-position: 58% 34%; }
.about-card .photo-frame:hover .profile-photo { transform: scale(1.17); }
.about-card .photo-ring::before { box-shadow: 0 0 22px rgba(34,211,238,0.32), 0 0 52px rgba(10,132,255,0.18); opacity: 0.7; }
.photo-glow {
  position: absolute; inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(10,132,255,0.34), rgba(34,211,238,0.12) 45%, transparent 70%);
  filter: blur(26px);
  z-index: 0;
  animation: photoGlowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes photoGlowPulse { 0%,100% { opacity: 0.55; transform: scale(1);} 50% { opacity: 0.9; transform: scale(1.06);} }
.info-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.info-card {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.6);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  font-size: 0.95rem; font-weight: 500; color: var(--text);
}
.info-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.06); box-shadow: 0 14px 30px -12px rgba(10,132,255,0.4); }
.info-ico { font-size: 1.15rem; line-height: 1; }
.info-txt { color: var(--text); }
.about-right { display: flex; flex-direction: column; gap: 34px; }
.lead-summary {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.85;
  color: #d6deea;
  max-width: 62ch;
  margin: 0;
}
.focus-label, .mini-path-label {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.focus-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.focus-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 16px -10px rgba(0,0,0,0.6);
  cursor: default;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.focus-pill:hover {
  transform: translateY(-4px);
  background: rgba(10,132,255,0.14);
  border-color: rgba(34,211,238,0.5);
  box-shadow: 0 14px 32px -12px rgba(10,132,255,0.55), 0 0 0 1px rgba(34,211,238,0.15);
}
.focus-ico { font-size: 1.05rem; line-height: 1; }
.mini-path-h {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  position: relative;
  padding: 8px 0 4px;
}
.mini-path-h::before {
  content: ''; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, rgba(34,211,238,0.15), rgba(10,132,255,0.6), rgba(34,211,238,0.15));
  z-index: 0;
}
.mini-path-h .mini-path-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; position: relative; z-index: 1; padding: 0 2px; min-width: 0;
}
.mini-path-h .mini-path-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  background: linear-gradient(160deg, rgba(14,21,38,0.95), rgba(10,15,28,0.95));
  border: 1px solid rgba(34,211,238,0.28);
  box-shadow: 0 0 18px -4px rgba(10,132,255,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.mini-path-h .mini-path-item:hover .mini-path-icon {
  transform: translateY(-5px) scale(1.08);
  border-color: rgba(34,211,238,0.7);
  box-shadow: 0 10px 28px -6px rgba(10,132,255,0.7);
}
.mini-path-h .mini-path-item span {
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted); line-height: 1.3; max-width: 100%; overflow-wrap: break-word; hyphens: auto;
}
.mini-path-h .mini-path-item:hover span { color: var(--text); }
@media (max-width: 900px) {
  .about-grid.glass-card { grid-template-columns: 1fr; gap: 32px; }
  .about-card.glass-card { padding: 40px; }
  .about-left { max-width: 360px; margin: 0 auto; width: 100%; }
  .lead-summary { max-width: none; }
  .mini-path-h { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .mini-path-h::before { display: none; }
}
@media (max-width: 560px) {
  .about-section { padding-top: 64px; padding-bottom: 64px; }
  .about-card.glass-card { padding: 26px; border-radius: 24px; }
  .mini-path-h { grid-template-columns: repeat(2, 1fr); }
  .focus-pill { padding: 10px 15px; font-size: 0.9rem; }
  .about-card .photo-ring, .about-card .photo-frame { max-width: 240px; }
}

/* Hero name + subtitle refinement */
.hero h1 { font-weight: 800; font-size: clamp(56px, 9.2vw, 116px); letter-spacing: -2.4px; }
.hero .subtitle {
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.005em;
}


/* ============================================================
   ABOUT ICONS â SVG (Lucide outline, professional SaaS look)
   ============================================================ */
.about-section svg {
  display: block;
  transition: transform 0.28s var(--ease), color 0.28s var(--ease), stroke 0.28s var(--ease), fill 0.28s var(--ease), filter 0.28s var(--ease);
}
.about-section .kicker { display: inline-flex; align-items: center; gap: 8px; }
.about-section .kicker-ico, .about-section .label-ico { display: inline-flex; color: var(--blue-light); }
.about-section .kicker-ico svg { width: 16px; height: 16px; }
.about-section .label-ico svg { width: 16px; height: 16px; }
.focus-label, .mini-path-label { display: inline-flex; align-items: center; gap: 8px; }
.info-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 11px;
  background: rgba(10,132,255,0.12);
  border: 1px solid rgba(34,211,238,0.18);
  color: var(--blue-light);
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.info-ico svg { width: 20px; height: 20px; }
.info-card:hover .info-ico {
  background: rgba(10,132,255,0.2);
  border-color: rgba(34,211,238,0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(10,132,255,0.6), 0 0 14px -4px rgba(34,211,238,0.4);
}
.focus-ico {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  width: 22px; height: 22px; flex: 0 0 22px;
}
.focus-ico { transition: transform 0.28s var(--ease), color 0.28s var(--ease), filter 0.28s var(--ease); }
.focus-ico svg { width: 20px; height: 20px; }
.focus-pill:hover .focus-ico {
  color: var(--cyan);
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(34,211,238,0.45));
}
.mini-path-h .mini-path-icon svg { width: 22px; height: 22px; color: var(--blue-light); transition: transform 0.28s var(--ease), color 0.28s var(--ease), filter 0.28s var(--ease); }
.mini-path-h .mini-path-item:hover .mini-path-icon svg {
  color: var(--cyan);
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 10px rgba(34,211,238,0.5));
}

/* about-page icons */
.about-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; line-height: 0; }
.about-ico svg { display: block; stroke: var(--blue-light); color: var(--blue-light); transition: transform 0.28s var(--ease), stroke 0.28s var(--ease), color 0.28s var(--ease), filter 0.28s var(--ease); }
.page-hero .kicker, .section-head .kicker { display: inline-flex; align-items: center; gap: 8px; }
.info-chip .flag { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 0; font-size: 0; }
.info-chip .flag .about-ico svg { stroke: var(--blue-light); color: var(--blue-light); }
.info-chip:hover .about-ico svg { transform: translateY(-2px); stroke: var(--cyan); color: var(--cyan); filter: drop-shadow(0 4px 8px rgba(34,211,238,0.45)); }
h3.heading-ico, h2.heading-ico { display: flex; align-items: center; gap: 10px; }
.heading-ico .about-ico svg { stroke: var(--blue-light); color: var(--blue-light); }
.heading-ico:hover .about-ico svg { transform: translateY(-2px); stroke: var(--cyan); color: var(--cyan); filter: drop-shadow(0 4px 8px rgba(34,211,238,0.4)); }
.card:hover .heading-ico .about-ico svg { stroke: var(--cyan); color: var(--cyan); }

/* about-story vertical alignment */
/* about-spacing-refine */
/* Balance the two columns and tighten spacing on the About page */
.about-grid { grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.about-grid > div:last-child { align-self: start; }
.about-left-stack { display: flex; flex-direction: column; gap: 28px; }
/* Photo -> chips */
.about-grid .chip-row { margin-top: 14px; gap: 8px; }
.about-grid .info-chip { padding: 9px 14px; font-size: 13px; }
/* Cards: compact padding + tighter stacking */
.about-grid .card { padding: 22px 24px; }
.about-grid .card.mt-24 { margin-top: 16px; }
/* Education heading -> paragraph */
.about-grid .card > .heading-ico + .mt-16,
.about-grid .card > .mt-16 { margin-top: 12px; }
.about-grid .card p.mt-16 { line-height: 1.6; }
/* Working Toward: reduce heading gap + tag spacing */
.about-grid .card .mt-24.heading-ico { margin-top: 18px; }
.about-grid .card .skill-tags { margin-top: 12px; gap: 8px; }
.about-grid .card .skill-tags .tag { padding: 6px 12px; font-size: 12.5px; }
/* Story paragraphs: tighten a touch */
.about-grid .story p { margin-top: 14px; line-height: 1.65; }
.about-grid .story p:first-of-type { margin-top: 0; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 340px 1fr; gap: 24px; }
}
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .about-grid > div:last-child { align-self: start; }
}

/* ===== GLOBAL CONSISTENCY POLISH ===== */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 10px;
  line-height: 0;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.nav-toggle:hover { background: rgba(100, 210, 255, 0.10); }
.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue-light);
  color: var(--blue-light);
  display: block;
}
@media (max-width: 780px) { .nav-toggle { display: inline-flex; } }
/* Inline hero heading icon (matches About page icon rhythm) */
.hero-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 0;
  margin-right: 12px;
  flex: 0 0 auto;
}
.hero-ico svg {
  width: 0.9em;
  height: 0.9em;
  stroke: var(--blue-light);
  color: var(--blue-light);
}
/* ===== END GLOBAL CONSISTENCY POLISH ===== */

/* ===== MOBILE FIX: dock attack-map disclosure toasts below the map (<=768px) =====
   On phones the absolute top-right toast overlay covered the map markers.
   Below 768px we reflow the map into a fixed 2:1 top region and let the
   toasts flow in normal document flow directly beneath it, so markers stay
   fully visible. Desktop layout is untouched (rules are inside the media query). */
@media (max-width: 768px) {
  .am-map { aspect-ratio: auto; height: auto; }
  .am-map > .am-particles,
  .am-map > svg,
  .am-map > .am-markers {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 50vw;
    max-height: 340px;
  }
  .am-map::before {
    content: "";
    display: block;
    width: 100%;
    height: 50vw;
    max-height: 340px;
  }
  .am-map .am-toasts {
    position: static;
    inset: auto;
    margin: 14px 0 4px;
    max-width: none;
  }
}


/* ============================================================
   CERTIFICATE IMAGES (Hands-on learning path certificates)
   Clickable certificate thumbnail shown on learning-platform detail cards.
   ============================================================ */
.cert-image-wrap { margin-top: 18px; }
.cert-image-link {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #0b1220;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cert-image-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.40);
  border-color: rgba(100, 210, 255, 0.50);
}
.cert-image { display: block; width: 100%; height: auto; }
.cert-image-caption {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 8px;
  color: var(--blue-light, #64d2ff);
  background: rgba(10, 16, 26, 0.60);
}


/* ===== Academic Honors ===== */
.honor-wrap { max-width: 640px; margin: 0 auto; }
.honor-card { gap: 20px; }
.honor-logo {
  font-size: 15px;
  letter-spacing: 0.5px;
  overflow: hidden;
  background: #ffffff;
  padding: 7px;
}
.honor-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.honor-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: var(--success);
  font-size: 10px; font-weight: 700; line-height: 1;
  flex-shrink: 0;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.honor-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.honor-btn { width: fit-content; margin-top: 4px; }
