    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg-dark: #030308;
      --text: #ffffff;
      --text-dim: rgba(255, 255, 255, 0.6);
      --accent-blue: #3b82f6;
      --accent-teal: #2dd4bf;
      --accent-magenta: #ff00ff;
      --accent-gold: #d4af37;
      --glass-blur: 20px;
      --glass-border: rgba(255, 255, 255, 0.1);
    }

    html, body {
      height: 100%;
      min-height: 100vh;
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: #0a0a0f;
      color: var(--text);
      overflow-x: hidden;
    }

    /* Keep animated gradient but toned down */
    .bg-animation {
      position: fixed;
      inset: 0;
      background: linear-gradient(
        135deg,
        #050a18 0%,
        #0f051a 25%,
        #1a0510 50%,
        #05151a 75%,
        #050a18 100%
      );
      background-size: 400% 400%;
      animation: gradient-shift 15s ease infinite;
      z-index: -1;
    }

    @keyframes gradient-shift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    /* ============================================
       NOISE OVERLAY
       ============================================ */
    .noise-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 9999;
      opacity: 0.04;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    }

    /* ============================================
       PARALLAX STAR FIELD
       ============================================ */
    .stars-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .stars {
      position: absolute;
      width: 100%;
      height: 200%;
      background: transparent;
    }

    .stars-layer-1 {
      background-image:
        radial-gradient(1px 1px at 20px 30px, white, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 160px 120px, white, transparent);
      background-size: 200px 200px;
      animation: parallaxStars 120s linear infinite;
    }

    .stars-layer-2 {
      background-image:
        radial-gradient(1.5px 1.5px at 75px 45px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 150px 100px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 50px 180px, rgba(200,220,255,0.8), transparent),
        radial-gradient(1px 1px at 180px 150px, rgba(255,255,255,0.5), transparent);
      background-size: 300px 300px;
      animation: parallaxStars 180s linear infinite;
    }

    .stars-layer-3 {
      background-image:
        radial-gradient(2px 2px at 100px 50px, rgba(255,220,180,0.9), transparent),
        radial-gradient(2.5px 2.5px at 200px 150px, rgba(180,200,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 300px 250px, rgba(255,255,255,0.7), transparent);
      background-size: 400px 400px;
      animation: parallaxStars 240s linear infinite;
    }

    @keyframes parallaxStars {
      from { transform: translateY(0); }
      to { transform: translateY(-50%); }
    }

    .shooting-star {
      position: absolute;
      width: 100px;
      height: 1px;
      background: linear-gradient(90deg, white, transparent);
      opacity: 0;
      animation: shoot 8s ease-in-out infinite;
    }

    .shooting-star:nth-child(1) { top: 10%; left: 80%; animation-delay: 0s; }
    .shooting-star:nth-child(2) { top: 25%; left: 60%; animation-delay: 4s; }
    .shooting-star:nth-child(3) { top: 15%; left: 40%; animation-delay: 7s; }

    @keyframes shoot {
      0% { opacity: 0; transform: translateX(0) translateY(0) rotate(-45deg); }
      5% { opacity: 1; }
      15% { opacity: 0; transform: translateX(-300px) translateY(300px) rotate(-45deg); }
      100% { opacity: 0; }
    }

    /* ============================================
       LAYOUT & CONTAINER
       ============================================ */
    .page-container {
      position: relative;
      z-index: 1;
      max-width: 1200px;
      margin: 0 auto;
      padding: 80px 24px 60px;
      width: 100%;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* ============================================
       HERO SECTION
       ============================================ */
    .hero {
      text-align: left;
      margin-bottom: 80px;
      margin-left: 5%;
    }

    .name {
      display: flex;
      flex-direction: column;
      line-height: 0.85;
      margin-bottom: 2rem;
    }

    .first-name {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 300;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      opacity: 0.8;
    }

    .last-name {
      font-size: clamp(4.5rem, 18vw, 10rem);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.04em;
      transition: letter-spacing 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .name:hover .last-name {
      letter-spacing: 0.08em;
    }

    .shimmer {
      background: linear-gradient(135deg, #fff 0%, #94a3b8 50%, #fff 100%);
      background-size: 200% 200%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: shimmer 5s ease-in-out infinite;
    }

    @keyframes shimmer {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    .title {
      font-size: clamp(0.9rem, 2vw, 1.2rem);
      font-weight: 400;
      letter-spacing: 6px;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 2rem;
    }

    .tagline {
      font-size: 1.2rem;
      font-weight: 300;
      color: rgba(255, 255, 255, 0.4);
      display: flex;
      flex-wrap: wrap;
      gap: 0.5em;
    }

    .tagline span {
      display: inline-block;
      opacity: 0;
      transform: translateY(15px);
      animation: word-fade-in 0.6s ease forwards;
    }

    @keyframes word-fade-in {
      to { opacity: 1; transform: translateY(0); }
    }

    /* ============================================
       HERO HOOK (Main Statement)
       ============================================ */
    .hero-hook {
      margin: 2.5rem 0 2rem;
      margin-left: 5%;
      animation: fadeInUp 0.8s ease-out 0.3s both;
    }

    .hook-statement {
      font-size: clamp(1.3rem, 3vw, 1.8rem);
      font-weight: 400;
      color: var(--text);
      line-height: 1.4;
      margin: 0;
      max-width: 700px;
    }

    /* ============================================
       HERO CAPABILITIES (What the systems do)
       ============================================ */
    .hero-capabilities {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
      margin: 1.5rem 0;
      margin-left: 5%;
      animation: fadeInUp 0.8s ease-out 0.45s both;
    }

    .capability {
      font-size: clamp(0.9rem, 1.8vw, 1.05rem);
      color: var(--text-dim);
      font-weight: 400;
    }

    .capability-dot {
      color: var(--accent-teal);
      font-weight: 700;
      font-size: 1.2rem;
    }

    @media (max-width: 600px) {
      .hero-hook,
      .hero-capabilities {
        margin-left: 0;
        text-align: center;
        justify-content: center;
      }
      .hook-statement {
        text-align: center;
      }
    }

    /* ============================================
       HERO COLUMNS (Capability Grid)
       ============================================ */
    .hero-columns {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin: 2rem 0 3rem;
      margin-left: 5%;
      margin-right: 5%;
      animation: fadeInUp 0.8s ease-out 0.5s both;
    }

    .hero-column {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 1.5rem;
      transition: all 0.3s ease;
    }

    .hero-column:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.12);
      transform: translateY(-2px);
    }

    .column-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--accent-teal);
      margin: 0 0 1rem 0;
      letter-spacing: 0.02em;
    }

    .column-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .column-list li {
      font-size: 0.95rem;
      color: var(--text-dim);
      padding: 0.4rem 0;
      padding-left: 1.2rem;
      position: relative;
      line-height: 1.4;
    }

    .column-list li::before {
      content: "→";
      position: absolute;
      left: 0;
      color: var(--accent-teal);
      opacity: 0.6;
    }

    @media (max-width: 900px) {
      .hero-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
    }

    @media (max-width: 600px) {
      .hero-columns {
        margin-left: 0;
        margin-right: 0;
      }
    }


    /* ============================================
       BENTO GRID
       ============================================ */
    .theme-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      perspective: 1500px;
      margin-bottom: 60px;
    }

    @media (max-width: 1100px) {
      .theme-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .theme-grid {
        grid-template-columns: 1fr;
      }
      .hero { margin-left: 0; text-align: center; }
      .name { align-items: center; }
    }


    /* ============================================
       CONTENT SECTIONS
       ============================================ */
    .section {
      padding: 100px 0;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .section.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 700;
      margin-bottom: 1rem;
      background: linear-gradient(to right, #fff, var(--text-dim));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .section-subtitle {
      color: var(--text-dim);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto;
    }

    /* Glassmorphic Content Card */
    .content-card {
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 2.5rem;
      height: 100%;
      transition: border-color 0.3s ease, background 0.3s ease;
    }

    .content-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.05);
    }

    /* About Grid */
    .about-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 2rem;
    }

    .about-text p {
      color: var(--text-dim);
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
      line-height: 1.7;
    }

    .interest-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      margin-bottom: 1rem;
    }

    /* Experience / Jobs */
    .job-card {
      margin-bottom: 1.5rem;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--glass-border);
      background: rgba(255, 255, 255, 0.02);
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .job-card:hover {
      background: rgba(255, 255, 255, 0.04);
      border-color: var(--accent-blue);
    }

    .job-header {
      padding: 1.5rem 2rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center;
    }

    .job-company { font-size: 1.4rem; font-weight: 700; color: #fff; }
    .job-meta { text-align: right; }
    .job-title { display: block; color: var(--accent-blue); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
    .job-date { display: block; color: var(--text-dim); font-size: 0.85rem; margin-top: 4px; }

    .expand-indicator {
      text-align: center;
      padding: 0.75rem;
      border-top: 1px solid var(--glass-border);
    }

    .chevron-down {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      transition: transform 0.3s ease;
    }

    .chevron-down svg {
      width: 20px;
      height: 14px;
      stroke: var(--text-dim);
      transition: stroke 0.2s ease;
    }

    .chevron-down svg:last-child {
      margin-top: -6px;
    }

    .expand-indicator {
      display: flex;
      justify-content: center;
      padding: 0.75rem;
      border-top: 1px solid transparent;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .expand-indicator:hover {
      border-top-color: var(--accent-blue);
      background: rgba(59, 130, 246, 0.05);
    }

    .expand-indicator:hover .chevron-down svg {
      stroke: var(--accent-blue);
    }

    .job-card.expanded .chevron-down,
    .project-card.expanded .chevron-down,
    .degree-card.expanded .chevron-down,
    .cert-card.expanded .chevron-down {
      transform: rotate(180deg);
    }

    .job-card.expanded .expand-indicator {
      display: none;
    }

    .job-details {
      padding: 0 2rem 2rem;
      display: none;
      border-top: 1px solid var(--glass-border);
      animation: slide-down 0.4s ease-out;
    }

    @keyframes slide-down {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .job-details ul { margin: 1.5rem 0; padding-left: 1.5rem; }
    .job-details li { margin-bottom: 0.75rem; color: var(--text-dim); }

    .job-highlight {
      background: rgba(59, 130, 246, 0.05);
      border-left: 3px solid var(--accent-blue);
      padding: 1.5rem;
      margin: 1.5rem 0;
      border-radius: 0 12px 12px 0;
    }

    .job-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .job-stat {
      text-align: center;
      padding: 1rem;
      background: rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      border: 1px solid var(--glass-border);
    }

    .job-stat-value { font-size: 1.5rem; font-weight: 700; color: #fff; }
    .job-stat-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

    /* Job Short Summary (Progressive Disclosure) */
    .job-short-summary {
      padding: 0 2rem 1.5rem;
    }
    .job-short-summary p.job-summary-intro,
    .job-short-summary p.job-summary-text {
      color: var(--text-dim);
      line-height: 1.6;
      margin: 0;
      font-size: 0.95rem;
    }
    .job-clearance {
      color: var(--accent-teal);
      font-weight: 600;
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
    }
    .job-role-entry { margin-top: 2rem; }
    .job-role-company { color: #fff; margin-bottom: 0.25rem; }
    .job-role-dates { font-size: 0.85rem; color: var(--accent-blue); margin-bottom: 1rem; }
    .job-role-bullets { margin-top: 0.5rem; }

    /* Skills Grid */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .skill-category h3 {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--accent-blue);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .skill-category h3::after {
      content: "";
      flex: 1;
      height: 1px;
      background: linear-gradient(to right, var(--accent-blue), transparent);
    }

    .skill-list { list-style: none; }
    .skill-list li {
      padding: 0.75rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      color: var(--text-dim);
      font-size: 1rem;
    }

    /* Context Engineering - Tree Diagram */
    .context-tree {
      max-width: 900px;
      margin: 0 auto;
    }

    /* Workspace Card - Single Collapsible Container */
    .workspace-card {
      max-width: 1000px;
      margin: 0 auto;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 0;
      backdrop-filter: blur(10px);
    }

    .workspace-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.5rem 2rem;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .workspace-header:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .workspace-icon {
      font-size: 2rem;
      flex-shrink: 0;
    }

    .workspace-info {
      flex: 1;
    }

    .workspace-title {
      font-size: 1.4rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .workspace-desc {
      color: var(--text-dim);
      font-size: 0.95rem;
      margin-top: 0.25rem;
    }

    .workspace-toggle {
      font-size: 1.4rem;
      color: var(--text-dim);
      transition: transform 0.3s ease;
    }

    .workspace-header.expanded .workspace-chevron {
      transform: rotate(180deg);
    }

    .workspace-header:hover .workspace-chevron svg {
      stroke: var(--accent-blue);
    }

    .workspace-agents {
      border-top: 1px solid var(--glass-border);
      padding: 1.5rem 2rem;
    }

    .agent-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      margin-bottom: 0.75rem;
      background: rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .agent-row:last-child {
      margin-bottom: 0;
    }

    .agent-row:hover {
      background: rgba(255, 255, 255, 0.05);
    }

    .agent-row .agent-icon {
      font-size: 1.5rem;
    }

    .agent-row .agent-info {
      flex: 1;
      display: block;
    }

    .agent-row .agent-title {
      font-weight: 600;
      color: var(--text-primary);
    }

    .agent-row .agent-subtitle {
      color: var(--accent-blue);
      font-size: 0.85rem;
      margin-left: 0.5rem;
    }

    .agent-row .agent-desc {
      color: var(--text-dim);
      font-size: 0.9rem;
      margin-top: 0.25rem;
    }

    .agent-row .agent-meta {
      color: var(--text-dim);
      font-size: 0.85rem;
      margin-top: 0.25rem;
    }

    .agent-row .agent-summary {
      color: var(--text-dim);
      font-size: 0.85rem;
      margin-top: 0.5rem;
      line-height: 1.5;
      opacity: 0.8;
    }

    .agent-row .agent-chevron {
      flex-shrink: 0;
    }

    .agent-row.expanded .agent-chevron {
      transform: rotate(180deg);
    }

    .agent-row:hover .agent-chevron svg {
      stroke: var(--accent-blue);
    }

    .agent-tree-content {
      display: none;
      padding: 1rem 2rem 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      background: rgba(0, 0, 0, 0.1);
    }

    .agent-tree-content.visible {
      display: block;
    }

    /* Skill list inside expanded content */
    .skill-list-expanded {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 0.5rem;
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .skill-list-expanded li {
      padding: 0.5rem 0.75rem;
      background: rgba(59, 130, 246, 0.1);
      border-radius: 6px;
      font-size: 0.9rem;
      color: var(--text-dim);
    }

    /* Context Engineering Tree Styles */
    .workspace-stats {
      display: flex;
      gap: 1.5rem;
      margin-left: auto;
      margin-right: 1rem;
    }

    .workspace-stat {
      text-align: center;
    }

    .workspace-stat-value {
      display: block;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--accent-blue);
    }

    .workspace-stat-label {
      font-size: 0.7rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .context-content-list {
      list-style: none;
      padding: 0;
      margin: 0 0 1rem 0;
    }

    .context-content-list li {
      padding: 0.4rem 0;
      color: var(--text-dim);
      font-size: 0.9rem;
    }

    .context-files-section h5 {
      font-size: 0.9rem;
      color: var(--text-primary);
      margin-bottom: 0.75rem;
      margin-top: 0.5rem;
    }

    .context-files-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 0.5rem;
    }

    .context-file {
      display: flex;
      flex-direction: column;
      padding: 0.5rem 0.75rem;
      background: rgba(59, 130, 246, 0.1);
      border-radius: 6px;
    }

    .context-file-name {
      font-weight: 600;
      color: var(--accent-blue);
      font-size: 0.85rem;
    }

    .context-file-desc {
      color: var(--text-dim);
      font-size: 0.8rem;
    }

    .agent-tree-content h5 {
      font-size: 0.9rem;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
    }

    .workspace-expanded-content {
      display: none;
      border-top: 1px solid var(--glass-border);
      padding: 2rem;
    }

    .workspace-expanded-content.visible {
      display: block;
    }

    .workspace-expanded-content h4 {
      font-size: 1.2rem;
      color: var(--text-primary);
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    }

    .handoff-mini {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 1rem;
      margin: 0.5rem 0;
      color: var(--text-dim);
      font-size: 0.85rem;
    }

    .handoff-mini .handoff-arrow {
      color: var(--accent-blue);
      font-size: 1rem;
    }

    .handoff-mini .handoff-text {
      font-style: italic;
    }

    /* Legacy Workspace Container - keep for now */
    .workspace-container-legacy {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.25rem 1.5rem;
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
      border: 1px solid rgba(59, 130, 246, 0.3);
      border-radius: 16px;
      margin-bottom: 2rem;
    }

    .workspace-icon {
      font-size: 2rem;
      background: rgba(59, 130, 246, 0.2);
      padding: 0.75rem;
      border-radius: 12px;
    }

    .workspace-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.25rem;
    }

    .workspace-desc {
      font-size: 0.9rem;
      color: var(--text-dim);
      line-height: 1.5;
    }

    /* Agent Tree Container */
    .agent-tree {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 1.5rem;
      margin-bottom: 1rem;
    }

    .agent-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.5rem;
    }

    .agent-icon {
      font-size: 1.5rem;
    }

    .agent-info {
      display: flex;
      align-items: baseline;
      gap: 0.5rem;
    }

    .agent-title {
      font-size: 1.3rem;
      font-weight: 700;
      color: #fff;
    }

    .agent-subtitle {
      font-size: 0.85rem;
      color: var(--accent-blue);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .agent-desc {
      color: var(--text-dim);
      font-size: 0.9rem;
      margin: 0 0 1rem 0;
      padding-left: 2.5rem;
    }

    .claude-tree {
      border-color: rgba(59, 130, 246, 0.3);
    }

    .gemini-tree {
      border-color: rgba(139, 92, 246, 0.3);
    }

    /* Handoff Indicator */
    .handoff-indicator {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1rem 0;
      margin: 0.5rem 0;
    }

    .handoff-line {
      width: 2px;
      height: 20px;
      background: linear-gradient(to bottom, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5));
    }

    .handoff-label {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--glass-border);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      color: var(--text-dim);
      margin: 0.5rem 0;
    }

    .handoff-arrow {
      font-size: 1.2rem;
      color: rgba(139, 92, 246, 0.7);
    }

    .tree-node {
      margin-left: 0;
    }

    .tree-node .tree-children {
      margin-left: 2rem;
      padding-left: 1.5rem;
      position: relative;
    }

    /* Vertical connector line - only extends to last item's horizontal connector */
    .tree-node .tree-children::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: rgba(59, 130, 246, 0.3);
    }

    .tree-item {
      margin-bottom: 0.75rem;
      position: relative;
    }

    /* Horizontal connector from vertical line to each node */
    .tree-item::before {
      content: '';
      position: absolute;
      left: -1.5rem;
      top: 50%;
      width: 1.25rem;
      height: 2px;
      background: rgba(59, 130, 246, 0.3);
    }

    /* Last child: hide the vertical line below it */
    .tree-item:last-child::after {
      content: '';
      position: absolute;
      left: -1.5rem;
      top: 50%;
      bottom: -0.75rem;
      width: 2px;
      background: var(--bg-dark);
    }

    .tree-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .tree-header:hover {
      background: rgba(59, 130, 246, 0.1);
      border-color: var(--accent-blue);
    }

    .tree-header.expanded {
      border-color: var(--accent-blue);
      background: rgba(59, 130, 246, 0.08);
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }

    .tree-icon {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(59, 130, 246, 0.2);
      border-radius: 8px;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .tree-icon.brain::before { content: "🧠"; }
    .tree-icon.book::before { content: "📖"; }
    .tree-icon.arrows::before { content: "🔄"; }
    .tree-icon.sitemap::before { content: "🗂"; }
    .tree-icon.scroll::before { content: "📜"; }
    .tree-icon.shield::before { content: "🛡"; }
    .tree-icon.code::before { content: "💻"; }
    .tree-icon.folder::before { content: "📁"; }
    .tree-icon.database::before { content: "🗄️"; }

    .tree-info {
      flex: 1;
      min-width: 0;
    }

    .tree-name {
      font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--accent-blue);
      margin-bottom: 0.15rem;
    }

    .tree-role {
      font-size: 0.8rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .tree-toggle {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-dim);
      font-size: 0.75rem;
      transition: transform 0.2s ease;
    }

    .tree-header.expanded .tree-toggle {
      transform: rotate(90deg);
    }

    .tree-details {
      display: none;
      padding: 1.25rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border);
      border-top: none;
      border-radius: 0 0 12px 12px;
      margin-bottom: 0.75rem;
      animation: slideDown 0.2s ease-out;
    }

    .tree-details.visible {
      display: block;
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .tree-details h5 {
      font-size: 0.75rem;
      text-transform: uppercase;
      color: var(--text-dim);
      letter-spacing: 0.5px;
      margin-bottom: 0.5rem;
    }

    .tree-details p {
      color: #fff;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      line-height: 1.5;
    }

    .tree-details ul {
      margin: 0;
      padding-left: 1.25rem;
    }

    .tree-details li {
      color: var(--text-dim);
      font-size: 0.85rem;
      margin-bottom: 0.35rem;
      line-height: 1.4;
    }

    .tree-loaded {
      font-size: 0.8rem;
      color: var(--accent-teal);
      font-style: italic;
      margin-top: 0.75rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--glass-border);
    }

    /* Context Library Styles */
    .context-library {
      margin-top: 4rem;
      margin-bottom: 4rem;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .context-library h3, .context-workflow h3 {
      font-size: 1.8rem;
      text-align: center;
      margin-bottom: 2rem;
      background: linear-gradient(to right, #fff, var(--text-dim));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .library-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .library-category {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 1.5rem;
    }

    .library-category h4 {
      font-size: 1rem;
      color: var(--accent-teal);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1rem;
    }

    .library-category ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .library-category li {
      color: var(--text-dim);
      font-size: 0.9rem;
      margin-bottom: 0.75rem;
      display: flex;
      flex-direction: column;
    }

    .library-category li span {
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.4);
      margin-top: 0.2rem;
    }

    /* Context Workflow Styles */
    .context-workflow {
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }

    .workflow-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }

    .workflow-step {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 1.5rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .workflow-phase {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--accent-blue);
      margin-bottom: 0.5rem;
    }

    .workflow-agent {
      font-size: 0.9rem;
      color: var(--text-dim);
      font-style: italic;
      margin-bottom: 1rem;
    }

    .workflow-step ul {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: left;
      font-size: 0.85rem;
      color: var(--text-dim);
    }

    .workflow-step li {
      margin-bottom: 0.3rem;
      position: relative;
      padding-left: 15px;
    }

    .workflow-step li::before {
      content: "•";
      position: absolute;
      left: 0;
      color: var(--accent-teal);
    }

    /* Projects Bento Grid */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      align-items: start; /* Prevent row items from stretching when one expands */
    }

    .project-card {
      display: flex;
      flex-direction: column;
      height: auto; /* Override content-card height: 100% to prevent row stretching */
    }

    .project-header {
      margin-bottom: 1.5rem;
    }

    .project-header h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
    .project-tagline { color: var(--accent-teal); font-weight: 500; }

    .project-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .project-stat {
      background: rgba(255, 255, 255, 0.02);
      padding: 1rem;
      border-radius: 12px;
      text-align: center;
      border: 1px solid var(--glass-border);
    }

    .project-stat-value { font-weight: 700; color: #fff; font-size: 1.2rem; }
    .project-stat-label { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; margin-top: 2px; }

    .project-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: auto;
    }

    .stack-tag {
      background: rgba(255, 255, 255, 0.05);
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.75rem;
      color: var(--text-dim);
      border: 1px solid var(--glass-border);
    }

    /* Project Expandable Styles */
    .project-card {
      cursor: pointer;
    }

    .project-card:hover {
      border-color: var(--accent-blue);
    }

    .project-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 1.5rem;
    }

    .project-header-content {
      flex: 1;
    }

    .project-expand {
      padding: 0.75rem;
      border-top: 1px solid var(--glass-border);
      margin-top: 1rem;
    }

    .project-card.expanded .project-expand {
      display: none;
    }

    .project-details {
      display: none;
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--glass-border);
    }

    .architecture-diagram {
      background: #0d1117;
      border: 1px solid #30363d;
      border-radius: 8px;
      padding: 1rem;
      overflow-x: auto;
    }

    .architecture-diagram pre {
      font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
      font-size: 0.7rem;
      line-height: 1.4;
      color: #c9d1d9;
      margin: 0;
      white-space: pre;
    }

    .mermaid-diagram {
      background: rgba(13, 17, 23, 0.8);
      border: 1px solid rgba(48, 54, 61, 0.5);
      border-radius: 12px;
      padding: 1.5rem;
      margin-top: 1rem;
      overflow-x: auto;
    }

    .mermaid-diagram svg {
      max-width: 100%;
      height: auto;
    }

    /* ============================================
       SMARTART-STYLE DIAGRAMS
       Modern visual architecture diagrams
       ============================================ */
    .smart-diagram {
      padding: 1.5rem;
      background: linear-gradient(135deg, rgba(13, 17, 23, 0.9) 0%, rgba(22, 27, 34, 0.9) 100%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      margin-top: 1rem;
    }

    /* Header Section */
    .diagram-header {
      text-align: center;
      padding: 1rem 1.5rem;
      background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
      border-radius: 8px;
      margin-bottom: 1.5rem;
    }

    .diagram-header h4 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 600;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .diagram-header .subtitle {
      margin: 0.25rem 0 0;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.8);
    }

    /* Section Titles */
    .diagram-section-title {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin: 1.5rem 0 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .diagram-section-title h5 {
      margin: 0;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--accent-teal);
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .diagram-section-title .badge {
      font-size: 0.7rem;
      padding: 0.2rem 0.5rem;
      background: rgba(45, 212, 191, 0.15);
      border: 1px solid rgba(45, 212, 191, 0.3);
      border-radius: 4px;
      color: var(--accent-teal);
    }

    /* Grid of Boxes */
    .diagram-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin: 1rem 0;
    }

    .diagram-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .diagram-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .diagram-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

    @media (max-width: 768px) {
      .diagram-grid.cols-2,
      .diagram-grid.cols-3,
      .diagram-grid.cols-4 {
        grid-template-columns: 1fr;
      }
    }

    /* Individual Box */
    .diagram-box {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      padding: 1rem;
      transition: all 0.3s ease;
    }

    .diagram-box:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(45, 212, 191, 0.3);
      transform: translateY(-2px);
    }

    .diagram-box.highlight {
      border-color: var(--accent-teal);
      background: rgba(45, 212, 191, 0.08);
    }

    .diagram-box h6 {
      margin: 0 0 0.5rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
    }

    .diagram-box .box-subtitle {
      font-size: 0.75rem;
      color: var(--accent-teal);
      margin-bottom: 0.5rem;
    }

    .diagram-box ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .diagram-box li {
      font-size: 0.8rem;
      color: var(--text-dim);
      padding: 0.2rem 0;
      padding-left: 1rem;
      position: relative;
    }

    .diagram-box li::before {
      content: "›";
      position: absolute;
      left: 0;
      color: var(--accent-teal);
    }

    /* Connector Arrow */
    .diagram-connector {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0.75rem 0;
      color: var(--accent-teal);
      font-size: 1.5rem;
    }

    .diagram-connector::before {
      content: "";
      flex: 1;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.3), transparent);
    }

    .diagram-connector span {
      padding: 0 1rem;
    }

    .diagram-connector::after {
      content: "";
      flex: 1;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.3), transparent);
    }

    /* Data Layer Row */
    .diagram-data-layer {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 1rem;
    }

    .data-node {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.6rem 1rem;
      background: rgba(59, 130, 246, 0.1);
      border: 1px solid rgba(59, 130, 246, 0.3);
      border-radius: 6px;
      font-size: 0.8rem;
      color: var(--text);
    }

    .data-node .icon {
      font-size: 1.1rem;
    }

    .data-node .name {
      font-weight: 500;
    }

    .data-node .detail {
      color: var(--text-dim);
      font-size: 0.75rem;
    }

    /* Flow Arrow */
    .flow-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem;
      color: var(--accent-teal);
      opacity: 0.6;
    }

    .flow-arrow svg {
      width: 24px;
      height: 24px;
    }

    /* ========================================
       COLLAPSIBLE CONTAINER (Shared Pattern)
       Used by: Experience, Skills, Education
       ======================================== */
    .collapsible-container {
      max-width: 1000px;
      margin: 0 auto;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      backdrop-filter: blur(10px);
      overflow: hidden;
    }

    .collapsible-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.5rem 2rem;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .collapsible-header:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .collapsible-header .section-icon {
      font-size: 2rem;
    }

    .collapsible-header .section-info {
      flex: 1;
    }

    .collapsible-header .section-title-text {
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .collapsible-header .section-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-dim);
      margin-top: 0.25rem;
    }

    .collapsible-header .section-meta .separator {
      opacity: 0.5;
    }

    .collapsible-header .section-desc {
      color: var(--text-dim);
      font-size: 0.8rem;
      margin-top: 0.35rem;
      line-height: 1.4;
      opacity: 0.85;
    }

    .collapsible-header.expanded .chevron-down {
      transform: rotate(180deg);
    }

    .collapsible-header:hover .chevron-down svg {
      stroke: var(--accent-blue);
    }

    .collapsible-content {
      display: none;
      border-top: 1px solid var(--glass-border);
      padding: 1.5rem 2rem;
    }

    .collapsible-content.visible {
      display: block;
    }

    /* Education & Certifications Container (extends collapsible) */
    .education-container {
      max-width: 1000px;
      margin: 0 auto;
      background: var(--glass-bg);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      backdrop-filter: blur(10px);
      overflow: hidden;
    }

    .education-main-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.5rem 2rem;
      cursor: pointer;
      transition: background 0.2s ease;
    }

    .education-main-header:hover {
      background: rgba(255, 255, 255, 0.02);
    }

    .education-main-header .section-icon {
      font-size: 2rem;
    }

    .education-main-header .section-info {
      flex: 1;
    }

    .education-main-header .section-title-text {
      font-size: 1.3rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .education-main-header .section-desc {
      color: var(--text-dim);
      font-size: 0.9rem;
      margin-top: 0.25rem;
    }

    .education-main-header.expanded .chevron-down {
      transform: rotate(180deg);
    }

    .education-main-header:hover .chevron-down svg {
      stroke: var(--accent-blue);
    }

    .education-categories {
      border-top: 1px solid var(--glass-border);
    }

    .education-category {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .education-category:last-child {
      border-bottom: none;
    }

    .category-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem 2rem;
      cursor: pointer;
      background: rgba(255, 255, 255, 0.02);
      transition: background 0.2s ease;
    }

    .category-header:hover {
      background: rgba(255, 255, 255, 0.04);
    }

    .category-header .category-icon {
      font-size: 1.5rem;
    }

    .category-header .category-title {
      flex: 1;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .category-header .category-chevron {
      flex-shrink: 0;
    }

    .category-header.expanded .category-chevron {
      transform: rotate(180deg);
    }

    .category-header:hover .category-chevron svg {
      stroke: var(--accent-blue);
    }

    /* Category info block (for detailed headers) */
    .category-header .category-info {
      flex: 1;
      min-width: 0;
    }

    .category-header .category-title {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 0.25rem;
    }

    .category-header .category-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      font-size: 0.85rem;
      color: var(--text-dim);
      margin-bottom: 0.35rem;
    }

    .category-header .category-meta span {
      display: inline-flex;
      align-items: center;
    }

    .category-header .category-meta .separator {
      opacity: 0.5;
    }

    .category-header .category-desc {
      font-size: 0.8rem;
      color: var(--text-dim);
      line-height: 1.4;
      opacity: 0.85;
    }

    /* Override old flex: 1 on .category-title when inside .category-info */
    .category-header .category-info .category-title {
      flex: none;
    }

    .category-content {
      display: none;
      padding: 1rem 2rem 1.5rem;
      background: rgba(0, 0, 0, 0.1);
    }

    .category-content.visible {
      display: block;
    }

    /* Certificates container - vertical layout like Education */
    #certs-content.visible {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .category-content .degree-card,
    .category-content .cert-card {
      margin-bottom: 1rem;
    }

    .category-content .degree-card:last-child,
    .category-content .cert-card:last-child {
      margin-bottom: 0;
    }

    /* New Degree Card Styles */
    .degree-card {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 2rem;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .degree-card:hover {
      border-color: var(--accent-blue);
      background: rgba(255, 255, 255, 0.04);
    }

    .degree-card.expanded .expand-indicator {
      display: none;
    }

    .degree-main-header {
      padding: 1.5rem 2rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 1.5rem;
      align-items: center;
      position: relative;
    }

    .degree-card.expanded .degree-main-header {
      border-bottom: 1px solid var(--glass-border);
    }

    .degree-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #fff;
    }

    .degree-meta {
      text-align: right;
    }

    .degree-school, .degree-date, .degree-gpa {
      display: block;
      font-size: 0.85rem;
      color: var(--text-dim);
      margin-top: 4px;
    }
    .degree-school { color: var(--accent-blue); font-weight: 600; }

    .degree-toggle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .degree-card.expanded .degree-toggle {
      transform: rotate(45deg);
    }

    .degree-details {
      display: none;
      padding: 1.5rem 2rem;
      animation: slideDown 0.4s ease-out;
    }

    .degree-details.visible {
      display: block;
    }

    /* Short description shown when collapsed */
    .degree-short-desc {
      grid-column: 1 / -1;
      font-size: 0.95rem;
      color: var(--text-dim);
      font-style: italic;
      margin: 0.5rem 0 0 0;
      padding-right: 50px;
    }

    /* Static degree card (no expand/collapse) */
    .degree-card-static {
      background: rgba(255, 255, 255, 0.02);
      cursor: default;
    }

    .degree-card-static:hover {
      border-color: var(--glass-border);
      background: rgba(255, 255, 255, 0.02);
    }

    .degree-static-header {
      padding: 1.5rem 2rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 1.5rem;
      align-items: start;
    }

    .degree-static-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1rem;
      grid-column: 1 / -1;
    }

    .highlight-tag {
      background: rgba(59, 130, 246, 0.15);
      color: var(--accent-blue);
      padding: 0.35rem 0.75rem;
      border-radius: 20px;
      font-size: 0.8rem;
      border: 1px solid rgba(59, 130, 246, 0.25);
    }

    .degree-detail-section {
      margin-bottom: 1.5rem;
    }

    .degree-detail-section:last-child {
      margin-bottom: 0;
    }

    .degree-detail-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--accent-blue);
      margin-bottom: 0.75rem;
      border-bottom: 1px solid rgba(59, 130, 246, 0.3);
      padding-bottom: 0.5rem;
    }

    .degree-details p, .degree-details ul {
      font-size: 0.95rem;
      color: var(--text-dim);
      line-height: 1.6;
      margin: 0;
    }

    .degree-details ul {
      padding-left: 1.5rem;
    }

    .degree-details li {
      margin-bottom: 0.5rem;
    }

    /* Prerequisite Degree Styles (nested) */
    .prerequisite-degree {
      background: rgba(0, 0, 0, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      margin-top: 1.5rem;
      overflow: hidden;
    }

    .prerequisite-degree .prerequisite-header {
      padding: 1rem 1.5rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(0, 0, 0, 0.15);
    }

    .prerequisite-degree .prerequisite-header:hover {
      background: rgba(0, 0, 0, 0.25);
    }

    .prerequisite-degree .degree-name {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--accent-teal);
    }

    .prerequisite-degree .degree-info {
      font-size: 0.8rem;
      color: var(--text-dim);
    }

    .prerequisite-degree .degree-toggle {
      width: 24px;
      height: 24px;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.03);
    }

    .prerequisite-degree.expanded .degree-toggle {
      transform: rotate(45deg);
    }

    .prerequisite-degree .degree-details {
      padding: 1rem 1.5rem;
    }

    /* Responsive for degree cards */
    @media (max-width: 768px) {
      .degree-main-header {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
      }
      .degree-title { font-size: 1.2rem; }
      .degree-meta { text-align: left; grid-row: 2; grid-column: 1; }
      .degree-toggle { grid-row: 1; grid-column: 2; }
      .degree-details { padding: 1rem 1.25rem; }
    }

    .education-degree {
      margin-bottom: 3rem;
    }

    .certifications-section {
      margin-bottom: 2rem;
    }

    .cert-section-title {
      font-size: 1.1rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .cert-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      align-items: flex-start; /* Prevent row items from stretching when one expands */
    }

    .cert-card {
      flex: 0 1 280px; /* Fixed width, allows shrink */
      max-width: 320px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .cert-card:hover {
      border-color: var(--accent-blue);
      background: rgba(255, 255, 255, 0.05);
    }

    .cert-card.expanded .cert-expand {
      display: none;
    }

    .cert-expand {
      padding: 0.5rem;
      border-top: 1px solid var(--glass-border);
    }

    .cert-header {
      padding: 1rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .cert-icon {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
    }

    .cert-icon.security { background: rgba(34, 197, 94, 0.2); }
    .cert-icon.aplus { background: rgba(59, 130, 246, 0.2); }
    .cert-icon.google { background: rgba(234, 179, 8, 0.2); }

    .cert-info {
      flex: 1;
      min-width: 0;
    }

    .cert-name {
      font-size: 0.9rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 0.15rem;
    }

    .cert-status {
      font-size: 0.75rem;
      color: var(--text-dim);
    }

    .cert-toggle {
      color: var(--text-dim);
      font-size: 0.7rem;
      transition: transform 0.2s ease;
    }

    .cert-card.expanded .cert-toggle {
      transform: rotate(90deg);
    }

    .cert-card.expanded .cert-header {
      border-bottom: 1px solid var(--glass-border);
    }

    .cert-details {
      display: none;
      padding: 1.25rem;
      background: rgba(0, 0, 0, 0.2);
    }

    .cert-card.expanded .cert-details {
      display: block;
      animation: slideDown 0.2s ease-out;
    }

    .cert-description {
      font-size: 0.85rem;
      color: var(--text-dim);
      margin-bottom: 1rem;
      line-height: 1.5;
    }

    .cert-detail-section {
      margin-bottom: 1rem;
    }

    .cert-detail-section:last-child {
      margin-bottom: 0;
    }

    .cert-detail-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--accent-blue);
      margin-bottom: 0.5rem;
    }

    .cert-detail-list {
      margin: 0;
      padding-left: 1rem;
      font-size: 0.8rem;
      color: var(--text-dim);
      line-height: 1.6;
    }

    .cert-detail-list li {
      margin-bottom: 0.25rem;
    }

    .cert-industries {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .cert-industry-tag {
      background: rgba(59, 130, 246, 0.15);
      color: var(--accent-blue);
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-size: 0.7rem;
    }

    .cert-verify-link {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      color: var(--accent-teal);
      text-decoration: none;
      font-size: 0.8rem;
      margin-top: 0.75rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--glass-border);
    }

    .cert-verify-link:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .cert-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Responsive Adjustments */
    @media (max-width: 900px) {
      .about-grid, .projects-grid { grid-template-columns: 1fr; }
      .job-header { grid-template-columns: 1fr auto; gap: 1rem; }
      .job-meta { text-align: left; grid-row: 2; grid-column: 1; }
      .job-stats { grid-template-columns: repeat(2, 1fr); }
    }

    /* ============================================
       GLASS CARD BASE
       ============================================ */
    .glass-card {
      text-decoration: none;
      color: inherit;
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 32px;
      padding: 3rem 2rem;
      transition: transform 0.1s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      opacity: 0;
      transform: translateY(40px);
      animation: card-entrance 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
      transform-style: preserve-3d;
    }

    /* Magnetic glow effect */
    .glass-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.06),
        transparent 40%
      );
      z-index: 0;
      pointer-events: none;
    }

    /* Animated border glow */
    .glass-card::after {
      content: '';
      position: absolute;
      inset: -2px;
      background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%);
      border-radius: inherit;
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: -1;
    }

    .glass-card:hover::after {
      opacity: 1;
    }

    .glass-card:nth-child(1) { animation-delay: 0.1s; --card-accent: var(--accent-blue); }
    .glass-card:nth-child(2) { animation-delay: 0.2s; --card-accent: var(--accent-teal); }
    .glass-card:nth-child(3) { animation-delay: 0.3s; --card-accent: var(--accent-magenta); }
    .glass-card:nth-child(4) { animation-delay: 0.4s; --card-accent: var(--accent-gold); }

    @keyframes card-entrance {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .glass-card:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.15);
      box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
    }

    /* ============================================
       CARD CONTENT STYLES
       ============================================ */
    .card-preview {
      width: 100%;
      height: 160px;
      background: rgba(0, 0, 0, 0.4);
      border-radius: 20px;
      margin-bottom: 2.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: transform 0.5s ease;
      transform: translateZ(20px);
    }

    .glass-card:hover .card-preview {
      transform: translateZ(40px) scale(1.05);
    }

    /* Icons */
    .icon-wrapper {
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--card-accent);
      filter: drop-shadow(0 0 10px var(--card-accent));
    }
    
    .icon-wrapper svg {
      width: 100%;
      height: 100%;
    }

    .card-title {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: #fff;
      transition: all 0.4s ease;
      transform: translateZ(30px);
    }

    .glass-card:hover .card-title {
      letter-spacing: 0.1em;
      transform: translateZ(50px) skewX(-5deg);
    }

    .card-desc {
      font-size: 0.95rem;
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 2.5rem;
      line-height: 1.6;
      transform: translateZ(20px);
    }

    .card-cta {
      font-size: 0.9rem;
      font-weight: 600;
      padding: 0.85rem 2rem;
      border-radius: 100px;
      background: rgba(255, 255, 255, 0.08);
      transition: all 0.3s ease;
      margin-top: auto;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transform: translateZ(30px);
    }

    .glass-card:hover .card-cta {
      background: var(--card-accent);
      color: #000;
      box-shadow: 0 0 20px var(--card-accent);
    }

    /* ============================================
       PAGE TRANSITION OVERLAY
       ============================================ */
    .page-transition-overlay {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 10000;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.4s ease-in-out;
    }
    .page-transition-overlay.active {
      opacity: 1;
      pointer-events: all;
    }

    /* ============================================
       NAVIGATION
       ============================================ */
    .main-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(10, 10, 15, 0.85);
      backdrop-filter: blur(var(--glass-blur));
      -webkit-backdrop-filter: blur(var(--glass-blur));
      border-bottom: 1px solid var(--glass-border);
      padding: 1rem 2rem;
      transform: translateY(0);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .main-nav.visible {
      transform: translateY(0);
    }

    .main-nav.hidden-scroll {
      transform: translateY(-100%);
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-logo {
      font-family: 'Orbitron', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text);
      text-decoration: none;
      letter-spacing: 2px;
      position: relative;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

    .nav-logo::after {
      content: "";
      position: absolute;
      inset: -5px;
      background: var(--accent-blue);
      filter: blur(15px);
      opacity: 0.2;
      z-index: -1;
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
    }

    .nav-links a {
      color: var(--text-dim);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      position: relative;
    }

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

    .nav-links a::after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--accent-blue);
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after, .nav-links a.active::after {
      width: 100%;
    }


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

    /* Accessibility */
    @media (prefers-reduced-motion: reduce) {
      *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
      }
      .section {
        opacity: 1 !important;
        transform: none !important;
      }
    }

    /* Mobile Refinement */
    @media (max-width: 768px) {
      .section { padding: 60px 0; }
      .about-grid { gap: 1.5rem; }
      .education-grid { grid-template-columns: 1fr; }
      .project-stats { grid-template-columns: repeat(2, 1fr); }
      .page-container { padding: 40px 16px; }
      .hero { margin-bottom: 40px; }
    }

    /* ============================================
       FOOTER
       ============================================ */
    .footer {
      text-align: center;
      padding: 60px 0;
      color: rgba(255, 255, 255, 0.3);
      font-size: 0.9rem;
      z-index: 1;
    }

    /* ============================================
       AI CHAT WIDGET
       ============================================ */
    .chat-widget {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 1000;
      font-family: inherit;
    }

    .chat-toggle {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .chat-toggle:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
    }

    .chat-toggle svg {
      width: 28px;
      height: 28px;
      fill: white;
    }

    .chat-toggle .close-icon {
      display: none;
    }

    .chat-widget.open .chat-toggle .chat-icon {
      display: none;
    }

    .chat-widget.open .chat-toggle .close-icon {
      display: block;
    }

    .chat-window {
      position: absolute;
      bottom: 80px;
      right: 0;
      width: 450px;
      max-width: calc(100vw - 48px);
      height: 600px;
      max-height: calc(100vh - 150px);
      background: rgba(15, 15, 25, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px) scale(0.95);
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
      backdrop-filter: blur(20px);
    }

    .chat-widget.open .chat-window {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .chat-header {
      padding: 20px 24px;
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .chat-header-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
      position: relative;
    }

    .chat-header-icon::after {
      content: '';
      position: absolute;
      bottom: 2px;
      right: 2px;
      width: 12px;
      height: 12px;
      background: #22c55e;
      border-radius: 50%;
      border: 2px solid rgba(15, 15, 25, 0.95);
      animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.1); opacity: 0.8; }
    }

    .chat-header-info h3 {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      letter-spacing: -0.01em;
    }

    .chat-header-info p {
      margin: 4px 0 0;
      font-size: 0.8rem;
      color: var(--text-secondary);
    }

    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .chat-message {
      max-width: 85%;
      padding: 12px 16px;
      border-radius: 16px;
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .chat-message.assistant {
      background: rgba(99, 102, 241, 0.15);
      border: 1px solid rgba(99, 102, 241, 0.2);
      align-self: flex-start;
      border-bottom-left-radius: 4px;
    }

    .chat-message.user {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.1);
      align-self: flex-end;
      border-bottom-right-radius: 4px;
    }

    .chat-message.error {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.2);
      color: #fca5a5;
    }

    .chat-message strong {
      color: var(--accent-blue);
      font-weight: 600;
    }

    .chat-message ul, .chat-message ol {
      margin: 0.5rem 0;
      padding-left: 1.5rem;
    }

    .chat-message li {
      margin: 0.25rem 0;
    }

    .chat-message code {
      background: rgba(255, 255, 255, 0.1);
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
      font-family: monospace;
      font-size: 0.85em;
    }

    .chat-message.typing {
      display: flex;
      gap: 4px;
      padding: 16px 20px;
    }

    .chat-message.typing span {
      width: 8px;
      height: 8px;
      background: var(--accent-blue);
      border-radius: 50%;
      animation: typing-bounce 1.4s infinite ease-in-out;
    }

    .chat-message.typing span:nth-child(1) { animation-delay: 0s; }
    .chat-message.typing span:nth-child(2) { animation-delay: 0.2s; }
    .chat-message.typing span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes typing-bounce {
      0%, 80%, 100% { transform: translateY(0); }
      40% { transform: translateY(-8px); }
    }

    .chat-input-container {
      padding: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      gap: 10px;
    }

    .chat-input {
      flex: 1;
      padding: 14px 18px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      color: var(--text-primary);
      font-size: 1rem;
      font-family: inherit;
      outline: none;
      transition: border-color 0.2s ease;
      min-height: 48px;
    }

    .chat-input:focus {
      border-color: var(--accent-blue);
    }

    .chat-input::placeholder {
      color: var(--text-dim);
    }

    .chat-send {
      padding: 12px 16px;
      background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
      border: none;
      border-radius: 12px;
      color: white;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .chat-send:hover:not(:disabled) {
      transform: scale(1.05);
    }

    .chat-send:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .chat-disclaimer {
      padding: 8px 16px;
      background: rgba(0, 0, 0, 0.3);
      font-size: 0.7rem;
      color: var(--text-dim);
      text-align: center;
    }

    @media (max-width: 480px) {
      .chat-widget {
        bottom: 16px;
        right: 16px;
      }

      .chat-toggle {
        width: 54px;
        height: 54px;
      }

      .chat-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
        bottom: 70px;
        right: -8px;
      }
    }
