
    :root {
      --bg: #060a0f;
      --surface: #0c1220;
      --border: rgba(56, 189, 248, 0.12);
      --accent: #38bdf8;
      --accent2: #818cf8;
      --accent3: #34d399;
      --text: #e2e8f0;
      --muted: #64748b;
      --card: rgba(12, 18, 32, 0.8);
    }

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

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Sora', sans-serif;
      overflow-x: hidden;
    }

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

    /* ── GRID BG ── */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      z-index: 0;
    }

    /* ── GLOW ORBS ── */
    .orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(120px);
      pointer-events: none;
      z-index: 0;
      opacity: 0.18;
    }
    .orb-1 { width: 600px; height: 600px; background: #38bdf8; top: -200px; right: -100px; }
    .orb-2 { width: 500px; height: 500px; background: #818cf8; bottom: 100px; left: -150px; }
    .orb-3 { width: 300px; height: 300px; background: #34d399; top: 50%; left: 40%; }

    /* ── NAVBAR ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 60px;
      background: rgba(6, 10, 15, 0.7);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo span { color: var(--muted); }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 10px;
    }

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

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

    .nav-links a:hover { color: var(--accent); }
    .nav-links a:hover::after { width: 100%; }

    /* ── MAIN WRAPPER ── */
    main { position: relative; z-index: 1; }

    /* ── HERO ── */
    #home {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px 40px 80px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      border: 1px solid var(--border);
      border-radius: 100px;
      font-family: 'Space Mono', monospace;
      font-size: 0.72rem;
      color: var(--accent);
      background: rgba(56,189,248,0.05);
      margin-bottom: 32px;
      animation: fadeUp 0.8s ease both;
    }

    .hero-badge .dot {
      width: 6px; height: 6px;
      background: var(--accent3);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

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

    .avatar-wrap {
      position: relative;
      display: inline-block;
      margin-bottom: 36px;
      animation: fadeUp 0.8s 0.1s ease both;
    }

    .avatar-ring {
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--accent3), var(--accent));
      animation: spin 4s linear infinite;
      z-index: -1;
    }

    .avatar-ring-inner {
      position: absolute;
      inset: -5px;
      border-radius: 50%;
      background: var(--bg);
      z-index: -1;
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .avatar-wrap img {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
    }

    .hero-name {
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      font-weight: 700;
      line-height: 1.1;
      margin-bottom: 12px;
      animation: fadeUp 0.8s 0.2s ease both;
    }

    .hero-name .accent { color: var(--accent); }
    .hero-name .accent2 { color: var(--accent2); }

    .hero-title {
      font-family: 'Space Mono', monospace;
      font-size: 0.85rem;
      color: var(--muted);
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 24px;
      animation: fadeUp 0.8s 0.3s ease both;
    }

    .hero-desc {
      max-width: 560px;
      color: #94a3b8;
      font-size: 1rem;
      line-height: 1.8;
      margin-bottom: 40px;
      animation: fadeUp 0.8s 0.4s ease both;
    }

    .hero-cta {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeUp 0.8s 0.5s ease both;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: var(--accent);
      color: #000;
    }
    .btn-primary:hover {
      background: #7dd3fc;
      transform: translateY(-2px);
      box-shadow: 0 0 30px rgba(56,189,248,0.4);
    }

    .btn-ghost {
      background: transparent;
      color: var(--text);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .scroll-hint {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--muted);
      font-size: 0.7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      animation: fadeIn 1s 1s both;
    }

    .scroll-line {
      width: 1px;
      height: 50px;
      background: linear-gradient(to bottom, var(--accent), transparent);
      animation: scrollDown 1.5s ease-in-out infinite;
    }

    @keyframes scrollDown {
      0% { transform: scaleY(0); transform-origin: top; }
      50% { transform: scaleY(1); transform-origin: top; }
      51% { transform: scaleY(1); transform-origin: bottom; }
      100% { transform: scaleY(0); transform-origin: bottom; }
    }

    /* ── SECTION WRAPPER ── */
    .section {
      max-width: 1100px;
      margin: 0 auto;
      padding: 100px 40px;
    }

    .section-label {
      font-family: 'Space Mono', monospace;
      font-size: 0.72rem;
      color: var(--accent);
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .section-label::before {
      content: '';
      width: 30px;
      height: 1px;
      background: var(--accent);
    }

    .section-title {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700;
      margin-bottom: 60px;
      line-height: 1.2;
    }

    /* ── ABOUT ── */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: start;
    }

    .about-text p {
      color: #94a3b8;
      line-height: 1.9;
      margin-bottom: 20px;
      font-size: 0.95rem;
    }

    .about-text .hl { color: var(--accent); font-weight: 500; }
    .about-text .hl2 { color: var(--accent2); font-weight: 500; }
    .about-text .hl3 { color: var(--accent3); font-weight: 500; }

    .about-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
    }

    .tag {
      padding: 6px 14px;
      border: 1px solid var(--border);
      border-radius: 6px;
      font-size: 0.78rem;
      color: var(--muted);
      background: rgba(56,189,248,0.04);
      font-family: 'Space Mono', monospace;
      transition: all 0.3s;
    }

    .tag:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .about-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .stat-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px;
      backdrop-filter: blur(10px);
      transition: border-color 0.3s, transform 0.3s;
    }

    .stat-card:hover {
      border-color: rgba(56,189,248,0.4);
      transform: translateY(-4px);
    }

    .stat-card .num {
      font-family: 'Space Mono', monospace;
      font-size: 2rem;
      color: var(--accent);
      font-weight: 700;
      display: block;
      margin-bottom: 4px;
    }

    .stat-card .label {
      font-size: 0.8rem;
      color: var(--muted);
    }

    .about-info {
      grid-column: 1 / -1;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px;
      backdrop-filter: blur(10px);
    }

    .about-info h3 {
      color: var(--accent2);
      margin-bottom: 12px;
      font-size: 1rem;
    }

    .about-info p {
      color: #94a3b8;
      font-size: 0.9rem;
      line-height: 1.8;
    }

    /* ── PROJECTS ── */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
    }

    .project-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px;
      backdrop-filter: blur(10px);
      transition: all 0.35s;
      position: relative;
      overflow: hidden;
      group: true;
    }

    .project-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s;
    }

    .project-card:hover::before { transform: scaleX(1); }

    .project-card:hover {
      border-color: rgba(56,189,248,0.3);
      transform: translateY(-6px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(56,189,248,0.06);
    }

    .project-icon {
      width: 48px; height: 48px;
      border: 1px solid var(--border);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin-bottom: 20px;
      background: rgba(56,189,248,0.06);
      color: var(--accent);
      transition: 0.3s;
    }

    .project-card:hover .project-icon {
      background: rgba(56,189,248,0.12);
      border-color: var(--accent);
    }

    .project-card h3 {
      font-size: 1.1rem;
      margin-bottom: 10px;
      color: #f1f5f9;
    }

    .project-card p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 24px;
    }

    .project-links {
      display: flex;
      gap: 12px;
    }

    .project-links a {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
      font-size: 0.78rem;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 6px 14px;
      border-radius: 6px;
      font-family: 'Space Mono', monospace;
      transition: all 0.3s;
    }

    .project-links a:hover {
      color: var(--accent);
      border-color: var(--accent);
      background: rgba(56,189,248,0.05);
    }

    .project-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
    }

    .stack-tag {
      font-size: 0.7rem;
      padding: 3px 10px;
      border-radius: 4px;
      background: rgba(129,140,248,0.1);
      color: var(--accent2);
      font-family: 'Space Mono', monospace;
      border: 1px solid rgba(129,140,248,0.2);
    }

    /* ── SKILLS ── */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: 16px;
    }

    .skill-box {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 22px 12px;
      text-align: center;
      cursor: default;
      transition: all 0.3s;
      backdrop-filter: blur(10px);
      position: relative;
      overflow: hidden;
    }

    .skill-box::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: var(--skill-color, var(--accent));
      transform: scaleX(0);
      transition: transform 0.3s;
    }

    .skill-box:hover::after { transform: scaleX(1); }

    .skill-box:hover {
      border-color: rgba(56,189,248,0.25);
      transform: translateY(-4px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .skill-box i {
      font-size: 28px;
      margin-bottom: 10px;
      display: block;
      transition: transform 0.3s;
    }

    .skill-box:hover i { transform: scale(1.15); }

    .skill-box p {
      font-size: 0.78rem;
      color: var(--muted);
      font-family: 'Space Mono', monospace;
    }

    .fa-html5 { color: #e34c26; }
    .fa-css3-alt { color: #264de4; }
    .fa-js { color: #f0db4f; }
    .fa-python { color: #3776ab; }
    .fa-git-alt { color: #f1502f; }
    .fa-github { color: #c9d1d9; }
    .fa-node-js { color: #3c873a; }
    .fa-database { color: #f29111; }
    .fa-code { color: var(--accent2); }
    .fa-mobile-alt { color: var(--accent); }
    .fa-paint-brush { color: #ff7b72; }
    .fa-terminal { color: #34d399; }

    /* ── CONTACT ── */
    .social-row {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .social-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 22px;
      border: 1px solid var(--border);
      border-radius: 10px;
      text-decoration: none;
      color: var(--muted);
      font-size: 0.82rem;
      font-family: 'Space Mono', monospace;
      background: var(--card);
      backdrop-filter: blur(10px);
      transition: all 0.3s;
    }

    .social-link:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(56,189,248,0.1);
    }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 40px;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .footer-logo {
      font-family: 'Space Mono', monospace;
      color: var(--accent);
      font-size: 0.85rem;
    }

    .footer-copy {
      color: var(--muted);
      font-size: 0.8rem;
    }

    .footer-status {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      color: var(--accent3);
      font-family: 'Space Mono', monospace;
    }

    .status-dot {
      width: 6px; height: 6px;
      background: var(--accent3);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    /* ── DIVIDER ── */
    .section-divider {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 40px;
    }

    .divider-line {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── MOBILE ── */
    @media (max-width: 768px) {
      nav { padding: 16px 24px; }
      .nav-links { gap: 20px; }
      .nav-links a { font-size: 0.75rem; }
      .section { padding: 80px 24px; }
      .about-grid { grid-template-columns: 1fr; gap: 40px; }
      .footer-inner { flex-direction: column; text-align: center; }
    }