/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
      :root {
        --bg: #f8f7f4;
        --bg-card: #ffffff;
        --bg-subtle: #f0eeea;
        --border: #e5e2dc;
        --text: #1a1816;
        --text-muted: #6b6560;
        --text-light: #9c9790;
        --accent: #1d4ed8;
        --accent-2: #0891b2;
        --accent-glow: rgba(29, 78, 216, 0.12);
        --green: #059669;
        --amber: #d97706;
        --red: #dc2626;
        --radius: 14px;
        --radius-sm: 8px;
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06),
          0 1px 2px rgba(0, 0, 0, 0.04);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08),
          0 2px 6px rgba(0, 0, 0, 0.04);
        --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12),
          0 4px 12px rgba(0, 0, 0, 0.06);
        --nav-h: 64px;
        --font-body: "Sora", sans-serif;
        --font-mono: "JetBrains Mono", monospace;
        --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      }

      [data-theme="dark"] {
        --bg: #0f0e0d;
        --bg-card: #1a1917;
        --bg-subtle: #201e1c;
        --border: #2a2825;
        --text: #f0ede8;
        --text-muted: #9c9790;
        --text-light: #6b6560;
        --accent: #3b82f6;
        --accent-2: #22d3ee;
        --accent-glow: rgba(59, 130, 246, 0.15);
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
      }

      /* ============================================================
   RESET & BASE
   ============================================================ */
      *,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html {
        scroll-behavior: smooth;
        font-size: 16px;
      }

      body {
        font-family: var(--font-body);
        background: var(--bg);
        color: var(--text);
        line-height: 1.6;
        transition: background 0.3s ease, color 0.3s ease;
        overflow-x: hidden;
      }

      a {
        color: inherit;
        text-decoration: none;
      }
      img {
        max-width: 100%;
        display: block;
      }
      button {
        cursor: pointer;
        border: none;
        background: none;
        font-family: inherit;
      }
      ul {
        list-style: none;
      }

      /* ============================================================
   UTILITIES
   ============================================================ */
      .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px;
      }
      .section {
        padding: 96px 0;
      }
      .section-alt {
        background: var(--bg-subtle);
      }

      .section-label {
        font-family: var(--font-mono);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 12px;
      }

      .section-title {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 800;
        letter-spacing: -0.02em;
        color: var(--text);
        margin-bottom: 16px;
      }

      .section-subtitle {
        font-size: 16px;
        color: var(--text-muted);
        max-width: 520px;
        line-height: 1.7;
      }

      .section-head {
        margin-bottom: 56px;
      }

      .badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 12px;
        border-radius: 40px;
        font-size: 12px;
        font-weight: 600;
        border: 1px solid transparent;
      }
      .badge-blue {
        background: rgba(29, 78, 216, 0.1);
        color: var(--accent);
        border-color: rgba(29, 78, 216, 0.2);
      }
      .badge-green {
        background: rgba(5, 150, 105, 0.1);
        color: var(--green);
        border-color: rgba(5, 150, 105, 0.2);
      }
      .badge-amber {
        background: rgba(217, 119, 6, 0.1);
        color: var(--amber);
        border-color: rgba(217, 119, 6, 0.2);
      }
      .badge-gray {
        background: var(--bg-subtle);
        color: var(--text-muted);
        border-color: var(--border);
      }
      .badge-red {
        background: rgba(220, 38, 38, 0.1);
        color: var(--red);
        border-color: rgba(220, 38, 38, 0.2);
      }

      .card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
      }
      .card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
        border-color: rgba(29, 78, 216, 0.2);
      }

      .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 22px;
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 600;
        transition: var(--transition);
        white-space: nowrap;
      }
      .btn-primary {
        background: var(--accent);
        color: #fff;
        box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
      }
      .btn-primary:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
      }
      .btn-outline {
        border: 1.5px solid var(--border);
        color: var(--text);
      }
      .btn-outline:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .btn-dark {
        background: var(--text);
        color: var(--bg);
      }
      .btn-dark:hover {
        opacity: 0.85;
        transform: translateY(-1px);
      }

      .tag {
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
        background: var(--bg-subtle);
        color: var(--text-muted);
        border: 1px solid var(--border);
        font-family: var(--font-mono);
      }

      /* ============================================================
   ANIMATIONS
   ============================================================ */
      @keyframes fadeUp {
        from {
          opacity: 0;
          transform: translateY(28px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      @keyframes blink {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0;
        }
      }
      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-8px);
        }
      }
      @keyframes gradientMove {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }
      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }
      @keyframes pulse {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.4;
        }
      }

      .fade-up {
        animation: fadeUp 0.6s ease forwards;
      }
      .fade-up-1 {
        animation: fadeUp 0.6s 0.1s ease both;
      }
      .fade-up-2 {
        animation: fadeUp 0.6s 0.2s ease both;
      }
      .fade-up-3 {
        animation: fadeUp 0.6s 0.3s ease both;
      }
      .fade-up-4 {
        animation: fadeUp 0.6s 0.4s ease both;
      }
      .fade-up-5 {
        animation: fadeUp 0.6s 0.5s ease both;
      }

      /* ============================================================
   NAVIGATION
   ============================================================ */
      #nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        height: var(--nav-h);
        display: flex;
        align-items: center;
        transition: var(--transition);
      }
      #nav.scrolled {
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
      }
      .nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px;
      }
      .nav-logo {
        font-size: 17px;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: var(--text);
      }
      .nav-logo span {
        color: var(--accent);
      }
      .nav-links {
        display: flex;
        align-items: center;
        gap: 4px;
      }
      .nav-links a {
        padding: 7px 13px;
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 500;
        color: var(--text-muted);
        transition: var(--transition);
      }
      .nav-links a:hover,
      .nav-links a.active {
        color: var(--text);
        background: var(--bg-subtle);
      }
      .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      #theme-btn {
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        border: 1.5px solid var(--border);
        font-size: 17px;
        transition: var(--transition);
      }
      #theme-btn:hover {
        color: var(--text);
        border-color: var(--accent);
      }

      #hamburger {
        display: none;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1.5px solid var(--border);
        color: var(--text);
      }
      #hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: var(--transition);
      }

      #mobile-menu {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px 24px;
        z-index: 99;
        flex-direction: column;
        gap: 4px;
      }
      #mobile-menu.open {
        display: flex;
      }
      #mobile-menu a {
        padding: 11px 14px;
        border-radius: var(--radius-sm);
        font-size: 15px;
        font-weight: 500;
        color: var(--text-muted);
        transition: var(--transition);
      }
      #mobile-menu a:hover {
        background: var(--bg-subtle);
        color: var(--text);
      }

      /* ============================================================
   HERO
   ============================================================ */
      #hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: var(--nav-h);
        position: relative;
        overflow: hidden;
      }
      .hero-grid {
        position: absolute;
        inset: 0;
        background-image: linear-gradient(var(--border) 1px, transparent 1px),
          linear-gradient(90deg, var(--border) 1px, transparent 1px);
        background-size: 64px 64px;
        opacity: 0.5;
        pointer-events: none;
      }
      .hero-blob-1 {
        position: absolute;
        top: 15%;
        left: 10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(
          circle,
          rgba(29, 78, 216, 0.08) 0%,
          transparent 70%
        );
        pointer-events: none;
      }
      .hero-blob-2 {
        position: absolute;
        bottom: 20%;
        right: 5%;
        width: 300px;
        height: 300px;
        background: radial-gradient(
          circle,
          rgba(8, 145, 178, 0.07) 0%,
          transparent 70%
        );
        pointer-events: none;
      }
      .hero-content {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 60px;
        align-items: center;
        width: 100%;
      }
      .hero-text {
        max-width: 580px;
      }
      .hero-eyebrow {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
      }
      .hero-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--green);
        animation: pulse 2s infinite;
      }
      .hero-eyebrow-text {
        font-family: var(--font-mono);
        font-size: 12px;
        font-weight: 500;
        color: var(--text-muted);
        letter-spacing: 0.1em;
      }
      .hero-name {
        font-size: clamp(36px, 5.5vw, 62px);
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.08;
        margin-bottom: 14px;
        color: var(--text);
      }
      .hero-role {
        font-size: clamp(18px, 2.5vw, 24px);
        font-weight: 400;
        color: var(--text-muted);
        margin-bottom: 20px;
        min-height: 36px;
      }
      #typing-text {
        color: var(--accent);
        font-weight: 600;
      }
      #cursor {
        display: inline-block;
        width: 2px;
        height: 1em;
        background: var(--accent);
        margin-left: 2px;
        vertical-align: text-bottom;
        animation: blink 1s step-end infinite;
      }
      .hero-bio {
        font-size: 16px;
        color: var(--text-muted);
        line-height: 1.75;
        margin-bottom: 32px;
        max-width: 480px;
      }
      .hero-bio strong {
        color: var(--text);
        font-weight: 600;
      }
      .hero-cta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 40px;
      }
      .hero-stats {
        display: flex;
        gap: 32px;
        padding-top: 32px;
        border-top: 1px solid var(--border);
      }
      .stat-val {
        font-size: 24px;
        font-weight: 800;
        color: var(--text);
        letter-spacing: -0.02em;
      }
      .stat-label {
        font-size: 12px;
        color: var(--text-light);
        margin-top: 2px;
      }

      /* Avatar */
      .hero-avatar-wrap {
        position: relative;
        flex-shrink: 0;
        animation: float 4s ease-in-out infinite;
      }
      .hero-avatar {
        width: 220px;
        height: 220px;
        border-radius: 28px;
        background: linear-gradient(
          135deg,
          var(--accent) 0%,
          var(--accent-2) 100%
        );
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 64px;
        font-weight: 800;
        color: #fff;
        box-shadow: var(--shadow-lg), 0 0 0 8px var(--accent-glow);
        position: relative;
        z-index: 1;
      }
      .hero-avatar-ring {
        position: absolute;
        inset: -12px;
        border-radius: 36px;
        border: 1.5px dashed rgba(29, 78, 216, 0.25);
        animation: spin 20s linear infinite;
      }
      .hero-badge-float {
        position: absolute;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 8px 12px;
        box-shadow: var(--shadow-md);
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
        z-index: 2;
      }
      .hero-badge-float.b1 {
        top: -16px;
        right: -20px;
        color: var(--green);
      }
      .hero-badge-float.b2 {
        bottom: -16px;
        left: -20px;
        color: var(--accent);
      }

      .scroll-cue {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        color: var(--text-light);
        font-size: 11px;
        font-family: var(--font-mono);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        animation: float 2.5s ease-in-out infinite;
        text-decoration: none;
      }
      .scroll-cue svg {
        width: 18px;
        height: 18px;
      }

      /* ============================================================
   ABOUT
   ============================================================ */
      .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
      }
      .about-text p {
        font-size: 15.5px;
        color: var(--text-muted);
        line-height: 1.8;
        margin-bottom: 18px;
      }
      .about-text p strong {
        color: var(--text);
        font-weight: 600;
      }
      .about-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 24px;
      }
      .about-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
      }
      .about-card {
        padding: 20px;
      }
      .about-card-icon {
        font-size: 26px;
        margin-bottom: 10px;
        display: block;
      }
      .about-card h4 {
        font-size: 14px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 6px;
      }
      .about-card p {
        font-size: 12.5px;
        color: var(--text-muted);
        line-height: 1.6;
      }

      /* ============================================================
   SKILLS
   ============================================================ */
      .skills-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 16px;
      }
      .skill-group {
        padding: 24px 26px;
      }
      .skill-group-title {
        font-family: var(--font-mono);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        margin-bottom: 16px;
      }
      .skill-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .skill-tag {
        padding: 5px 12px;
        border-radius: var(--radius-sm);
        font-size: 13px;
        font-weight: 500;
        border: 1px solid var(--border);
        background: var(--bg-subtle);
        color: var(--text-muted);
        transition: var(--transition);
      }
      .skill-tag:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-glow);
      }

      .skills-learning {
        margin-top: 20px;
        padding: 22px 26px;
        border-radius: var(--radius);
        border: 1px solid rgba(29, 78, 216, 0.2);
        background: var(--accent-glow);
      }
      .skills-learning-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 14px;
      }

      /* ============================================================
   TIMELINE (Education + Experience)
   ============================================================ */
      .timeline {
        max-width: 700px;
      }
      .timeline-item {
        display: flex;
        gap: 24px;
        padding-bottom: 40px;
        position: relative;
      }
      .timeline-item:last-child {
        padding-bottom: 0;
      }
      .timeline-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
      }
      .timeline-dot {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
        box-shadow: var(--shadow-md);
      }
      .timeline-dot.blue {
        background: linear-gradient(135deg, var(--accent), #60a5fa);
      }
      .timeline-dot.cyan {
        background: linear-gradient(135deg, var(--accent-2), #67e8f9);
      }
      .timeline-line {
        width: 2px;
        flex: 1;
        margin-top: 8px;
        background: linear-gradient(to bottom, var(--border), transparent);
        min-height: 20px;
      }
      .timeline-card {
        padding: 22px 24px;
        flex: 1;
      }
      .timeline-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
      }
      .timeline-title {
        font-size: 17px;
        font-weight: 700;
        color: var(--text);
      }
      .timeline-sub {
        font-size: 14px;
        font-weight: 500;
        color: var(--accent);
        margin-top: 2px;
      }
      .timeline-period {
        font-family: var(--font-mono);
        font-size: 11px;
        font-weight: 500;
        color: var(--text-light);
        padding: 4px 10px;
        background: var(--bg-subtle);
        border-radius: 6px;
        border: 1px solid var(--border);
        white-space: nowrap;
      }
      .timeline-list {
        margin-top: 12px;
      }
      .timeline-list li {
        font-size: 14px;
        color: var(--text-muted);
        padding: 3px 0;
        padding-left: 16px;
        position: relative;
        line-height: 1.6;
      }
      .timeline-list li::before {
        content: "▸";
        position: absolute;
        left: 0;
        color: var(--accent);
        font-size: 11px;
        top: 5px;
      }
      .timeline-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
      }

      /* ============================================================
   PROJECTS
   ============================================================ */
      .projects-controls {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        align-items: center;
        margin-bottom: 36px;
      }
      .search-box {
        position: relative;
        flex: 1;
        min-width: 200px;
        max-width: 300px;
      }
      .search-box svg {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 15px;
        height: 15px;
        color: var(--text-light);
      }
      .search-box input {
        width: 100%;
        padding: 10px 14px 10px 38px;
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border);
        background: var(--bg-card);
        color: var(--text);
        font-size: 13px;
        font-family: var(--font-body);
        outline: none;
        transition: var(--transition);
      }
      .search-box input:focus {
        border-color: var(--accent);
      }
      .search-box input::placeholder {
        color: var(--text-light);
      }
      .filter-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .filter-pill {
        padding: 7px 16px;
        border-radius: 40px;
        font-size: 13px;
        font-weight: 600;
        border: 1.5px solid var(--border);
        color: var(--text-muted);
        background: var(--bg-card);
        transition: var(--transition);
      }
      .filter-pill:hover {
        border-color: var(--accent);
        color: var(--accent);
      }
      .filter-pill.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
        box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
      }
      .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
      }
      .project-card {
        overflow: hidden;
      }
      .project-card-accent {
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
      }
      .project-card-body {
        padding: 22px;
      }
      .project-card-top {
        display: flex;
        align-items: start;
        justify-content: space-between;
        margin-bottom: 14px;
      }
      .project-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: var(--accent-glow);
        border: 1px solid rgba(29, 78, 216, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
      }
      .project-badges {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .project-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
        line-height: 1.4;
      }
      .project-desc {
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 14px;
      }
      .project-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 14px;
      }
      .project-highlight {
        font-size: 11px;
        font-weight: 600;
        padding: 3px 9px;
        border-radius: 5px;
        background: rgba(29, 78, 216, 0.07);
        color: var(--accent);
      }
      .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 18px;
      }
      .project-links {
        display: flex;
        gap: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
      }
      .project-link {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-muted);
        transition: var(--transition);
      }
      .project-link:hover {
        color: var(--accent);
      }
      .project-link svg {
        width: 14px;
        height: 14px;
      }
      .no-results {
        grid-column: 1/-1;
        text-align: center;
        padding: 60px;
        color: var(--text-light);
        font-size: 15px;
      }

      /* ============================================================
   RESEARCH
   ============================================================ */
      .research-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 16px;
      }
      .research-card {
        padding: 24px;
      }
      .research-card-top {
        display: flex;
        align-items: start;
        justify-content: space-between;
        margin-bottom: 14px;
      }
      .research-emoji {
        font-size: 30px;
        line-height: 1;
      }
      .research-card h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
      }
      .research-card p {
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.7;
      }
      .research-cta {
        margin-top: 24px;
        padding: 32px;
        border-radius: var(--radius);
        background: linear-gradient(
          135deg,
          var(--accent) 0%,
          var(--accent-2) 100%
        );
        text-align: center;
        color: #fff;
      }
      .research-cta h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
      }
      .research-cta p {
        font-size: 14px;
        opacity: 0.85;
        margin-bottom: 20px;
      }
      .research-cta a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 24px;
        background: #fff;
        color: var(--accent);
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 700;
        transition: var(--transition);
      }
      .research-cta a:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-1px);
      }

      /* ============================================================
   BLOG
   ============================================================ */
      .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
      }
      .blog-card {
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }
      .blog-more-card {
        border-color: rgba(29, 78, 216, 0.28);
        background: linear-gradient(180deg, var(--bg-card), var(--accent-glow));
      }
      .blog-card-body {
        padding: 22px;
        display: flex;
        flex-direction: column;
        flex: 1;
      }
      .blog-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
      }
      .blog-date {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--text-light);
      }
      .blog-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--text);
        line-height: 1.4;
        margin-bottom: 10px;
      }
      .blog-summary {
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.7;
        flex: 1;
        margin-bottom: 16px;
      }
      .blog-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 16px;
      }
      .blog-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 14px;
        border-top: 1px solid var(--border);
      }
      .reading-time {
        font-family: var(--font-mono);
        font-size: 11px;
        color: var(--text-light);
        display: flex;
        align-items: center;
        gap: 5px;
      }
      .read-more {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        font-weight: 600;
        color: var(--accent);
        transition: var(--transition);
      }
      .read-more:hover {
        gap: 9px;
      }
      .read-more svg {
        width: 13px;
        height: 13px;
      }

      .hidden {
        display: none !important;
      }

      /* ============================================================
   BLOG ARTICLE PAGE
   ============================================================ */
      .blog-page {
        padding: calc(var(--nav-h) + 56px) 24px 96px;
      }
      .blog-article {
        max-width: 780px;
        margin: 0 auto;
      }
      .blog-back-link {
        display: inline-flex;
        margin-bottom: 28px;
        color: var(--accent);
        font-size: 14px;
        font-weight: 700;
      }
      .blog-article-head {
        padding-bottom: 34px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 34px;
      }
      .blog-article-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        margin-bottom: 18px;
        color: var(--text-light);
        font-family: var(--font-mono);
        font-size: 12px;
      }
      .blog-article-head h1 {
        color: var(--text);
        font-size: clamp(34px, 6vw, 58px);
        line-height: 1.08;
        letter-spacing: -0.03em;
        margin-bottom: 18px;
      }
      .blog-article-head p {
        color: var(--text-muted);
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 20px;
      }
      .blog-article-body {
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.85;
      }
      .blog-article-body p {
        margin-bottom: 24px;
      }
      .blog-article-body h2,
      .blog-article-body h3 {
        color: var(--text);
        line-height: 1.25;
        margin: 40px 0 14px;
      }
      .blog-article-body ul,
      .blog-article-body ol {
        margin: 0 0 24px 24px;
      }
      .blog-article-body li {
        margin-bottom: 8px;
      }
      .blog-article-body code {
        padding: 2px 6px;
        border-radius: 6px;
        background: var(--bg-subtle);
        border: 1px solid var(--border);
        color: var(--text);
        font-family: var(--font-mono);
        font-size: 0.9em;
      }

      .blogs-page {
        min-height: 100vh;
        padding: calc(var(--nav-h) + 56px) 24px 96px;
      }

      .blogs-page-head {
        max-width: 760px;
        margin: 0 auto 42px;
        text-align: center;
      }

      .blogs-page-head h1 {
        color: var(--text);
        font-size: clamp(38px, 7vw, 64px);
        line-height: 1.06;
        letter-spacing: -0.03em;
        margin-bottom: 16px;
      }

      .blogs-page-head p {
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.7;
      }

      .blogs-page .projects-controls {
        max-width: 1100px;
        margin: 0 auto 32px;
      }

      .blogs-page .blog-grid {
        max-width: 1100px;
        margin: 0 auto;
      }

      /* ============================================================
   CONTACT
   ============================================================ */
      .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 56px;
        align-items: start;
      }
      .contact-info h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
      }
      .contact-info > p {
        font-size: 14.5px;
        color: var(--text-muted);
        line-height: 1.75;
        margin-bottom: 28px;
      }
      .contact-items {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }
      .contact-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        transition: var(--transition);
      }
      .contact-item:hover {
        background: var(--bg-subtle);
        transform: translateX(4px);
      }
      .contact-item-icon {
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        background: var(--accent-glow);
        border: 1px solid rgba(29, 78, 216, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
      }
      .contact-item-label {
        font-size: 11px;
        color: var(--text-light);
        font-family: var(--font-mono);
      }
      .contact-item-val {
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
      }
      .contact-item a.contact-item-val {
        transition: var(--transition);
      }
      .contact-item a.contact-item-val:hover {
        color: var(--accent);
      }
      .contact-form-card {
        padding: 32px;
      }
      .contact-form-card h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 24px;
      }
      .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 14px;
      }
      .form-group {
        margin-bottom: 14px;
      }
      .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--text-muted);
        margin-bottom: 7px;
      }
      .form-group input,
      .form-group textarea,
      .form-group select {
        width: 100%;
        padding: 11px 14px;
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border);
        background: var(--bg-subtle);
        color: var(--text);
        font-size: 14px;
        font-family: var(--font-body);
        outline: none;
        transition: var(--transition);
      }
      .form-group input:focus,
      .form-group textarea:focus {
        border-color: var(--accent);
        background: var(--bg-card);
      }
      .form-group textarea {
        resize: vertical;
        min-height: 120px;
      }
      .form-group input::placeholder,
      .form-group textarea::placeholder {
        color: var(--text-light);
      }
      .form-submit {
        width: 100%;
        padding: 13px;
        border-radius: var(--radius-sm);
        background: var(--accent);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        font-family: var(--font-body);
        cursor: pointer;
        border: none;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
      }
      .form-submit:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
      }
      .form-submit svg {
        width: 16px;
        height: 16px;
      }

      /* ============================================================
   FOOTER
   ============================================================ */
      footer {
        padding: 48px 0 32px;
        border-top: 1px solid var(--border);
      }
      .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
      }
      .footer-logo {
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -0.03em;
      }
      .footer-logo span {
        color: var(--accent);
      }
      .footer-links {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
      }
      .footer-links a {
        padding: 7px 13px;
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 500;
        color: var(--text-muted);
        transition: var(--transition);
      }
      .footer-links a:hover {
        color: var(--text);
        background: var(--bg-subtle);
      }
      .footer-social {
        display: flex;
        gap: 10px;
      }
      .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 16px;
        transition: var(--transition);
      }
      .footer-social a:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-glow);
      }
      .footer-bottom {
        padding-top: 24px;
        border-top: 1px solid var(--border);
        width: 100%;
        text-align: center;
        font-size: 12.5px;
        color: var(--text-light);
        font-family: var(--font-mono);
      }

      /* ============================================================
   RESPONSIVE
   ============================================================ */
      @media (max-width: 900px) {
        .hero-content {
          grid-template-columns: 1fr;
          text-align: center;
        }
        .hero-avatar-wrap {
          display: none;
        }
        .hero-eyebrow {
          justify-content: center;
        }
        .hero-cta {
          justify-content: center;
        }
        .hero-stats {
          justify-content: center;
        }
        .about-grid {
          grid-template-columns: 1fr;
          gap: 36px;
        }
        .contact-grid {
          grid-template-columns: 1fr;
          gap: 36px;
        }
      }
      @media (max-width: 680px) {
        .section {
          padding: 64px 0;
        }
        .nav-links {
          display: none;
        }
        #hamburger {
          display: flex;
        }
        .nav-right .btn {
          display: none;
        }
        .skills-grid {
          grid-template-columns: 1fr;
        }
        .projects-grid {
          grid-template-columns: 1fr;
        }
        .blog-grid {
          grid-template-columns: 1fr;
        }
        .research-grid {
          grid-template-columns: 1fr;
        }
        .form-row {
          grid-template-columns: 1fr;
        }
        .about-cards {
          grid-template-columns: 1fr;
        }
        .hero-stats {
          gap: 20px;
        }
      }

