:root {
      --bg: #050810;
      --bg-alt: #0b1020;
      --card-bg: #0f172a;
      --card-border: rgba(148, 163, 184, 0.2);
      --accent: #00e6e6;
      --accent-soft: rgba(45, 212, 191, 0.12);
      --text-main: #e5e7eb;
      --text-muted: #9ca3af;
      --chip-bg: rgba(15, 23, 42, 0.7);
      --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
      --radius-lg: 18px;
      --radius-full: 999px;
      --transition-fast: 0.25s ease;
    }

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

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
      color: var(--text-main);
      line-height: 1.8;
      padding-bottom: 70px;
      scroll-behavior: smooth;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* NAVBAR */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(18px);
      background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.9));
      border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    }

    .nav-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-brand {
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.03em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 12px rgba(34, 211, 238, 0.9);
    }

    .navbar ul {
      list-style: none;
      display: flex;
      gap: 22px;
      align-items: center;
    }

    .navbar a {
      font-size: 0.95rem;
      color: var(--text-muted);
      font-weight: 500;
      position: relative;
      transition: color var(--transition-fast);
    }

    .navbar a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width var(--transition-fast);
      border-radius: 999px;
    }

    .navbar a:hover {
      color: #e5faff;
    }

    .navbar a:hover::after {
      width: 100%;
    }

    /* LAYOUT */
    .page-wrapper {
      max-width: 1100px;
      margin: 0 auto;
      padding: 26px 20px 0;
    }

    /* HERO */
    .hero {
      display: grid;
      grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.7fr);
      gap: 30px;
      align-items: center;
      margin-top: 30px;
      padding: 28px 24px;
      border-radius: 26px;
      background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 55%),
                  radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.18), transparent 50%),
                  var(--bg-alt);
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(148, 163, 184, 0.3);
      animation: floatIn 0.8s ease-out both;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 10px;
      border-radius: var(--radius-full);
      background: rgba(15, 23, 42, 0.8);
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 10px;
    }

    .hero-eyebrow span {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
    }

    .hero h1 {
      font-size: clamp(2.1rem, 3vw, 2.6rem);
      color: #e5f4ff;
      margin-bottom: 12px;
    }

    .hero h1 span {
      color: var(--accent);
    }

    .hero-subtitle {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 34rem;
      margin-bottom: 20px;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }

    .tag-chip {
      padding: 4px 10px;
      border-radius: var(--radius-full);
      background: var(--chip-bg);
      font-size: 0.75rem;
      color: #cbd5f5;
      border: 1px solid rgba(148, 163, 184, 0.25);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn-primary,
    .btn-ghost {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 9px 16px;
      font-size: 0.9rem;
      font-weight: 600;
      border-radius: var(--radius-full);
      cursor: pointer;
      border: 1px solid transparent;
      transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    }

    .btn-primary {
      background: var(--accent);
      color: #02131a;
      box-shadow: 0 8px 25px rgba(34, 211, 238, 0.45);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 32px rgba(34, 211, 238, 0.6);
      background: #67e8f9;
    }

    .btn-ghost {
      background: rgba(15, 23, 42, 0.8);
      color: #e5f4ff;
      border-color: rgba(148, 163, 184, 0.45);
    }

    .btn-ghost:hover {
      transform: translateY(-1px);
      background: rgba(15, 23, 42, 0.95);
      border-color: var(--accent);
    }

    .hero-right {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-card {
      width: 100%;
      max-width: 320px;
      padding: 16px 16px 18px;
      border-radius: 24px;
      background: linear-gradient(145deg, #020617, #020617 40%, #0f172a 100%);
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      top: -40%;
      right: -20%;
      width: 210px;
      height: 210px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(34, 211, 238, 0.14), transparent 60%);
      opacity: 0.9;
    }

    .hero-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }

    .hero-card-title {
      font-size: 0.9rem;
      font-weight: 600;
      color: #e5f4ff;
    }

    .hero-card-pill {
      padding: 3px 10px;
      border-radius: var(--radius-full);
      font-size: 0.7rem;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: var(--accent);
    }

    .hero-card-body {
      position: relative;
      z-index: 1;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .hero-card-body ul {
      list-style: none;
      margin-top: 10px;
    }

    .hero-card-body li {
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .dot {
      width: 5px;
      height: 5px;
      border-radius: 999px;
      background: var(--accent);
    }

    /* SECTIONS */
    section {
      margin-top: 42px;
      animation: fadeIn 0.8s ease-out both;
    }

    section h2 {
      font-size: 1.4rem;
      margin-bottom: 12px;
      color: #e5f4ff;
    }

    section p {
      font-size: 0.98rem;
      color: var(--text-muted);
      max-width: 50rem;
    }

    /* PROJECT GRID */
    .projects-grid {
      margin-top: 26px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 22px;
    }

    .project-card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      border: 1px solid var(--card-border);
      padding: 18px 18px 16px;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
      display: flex;
      flex-direction: column;
      gap: 10px;
      position: relative;
      overflow: hidden;
      transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    }

    .project-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 55%);
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--transition-fast);
    }

    .project-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 42px rgba(15, 23, 42, 0.9);
      border-color: rgba(45, 212, 191, 0.7);
      background: #020617;
    }

    .project-card:hover::before {
      opacity: 1;
    }

    .project-header-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
    }

    .project-title {
      font-size: 0.98rem;
      font-weight: 600;
      color: #e5f4ff;
    }

    .project-pill {
      padding: 3px 9px;
      border-radius: var(--radius-full);
      background: var(--accent-soft);
      color: var(--accent);
      font-size: 0.72rem;
      white-space: nowrap;
      border: 1px solid rgba(45, 212, 191, 0.45);
    }

    .project-meta {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .project-meta strong {
      color: #cbd5f5;
      font-weight: 600;
    }

    .project-body {
      font-size: 0.86rem;
      color: var(--text-muted);
    }

    .project-body strong {
      color: #e5f4ff;
      font-weight: 600;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .project-tag {
      font-size: 0.7rem;
      padding: 3px 8px;
      border-radius: var(--radius-full);
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.35);
      color: #cbd5f5;
    }

    .project-link {
      margin-top: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--accent);
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .project-link span {
      font-size: 1rem;
      transform: translateY(0.5px);
    }

    /* FOOTER */
    .footer_row {
      max-width: 1100px;
      margin: 40px auto 0;
      padding: 18px 20px;
      border-radius: 18px;
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(148, 163, 184, 0.35);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-size: 0.9rem;
      color: #cbd5f5;
    }

    .footer_row a {
      color: var(--accent);
      font-weight: 600;
    }

    .footer_row a:hover {
      text-decoration: underline;
    }

    /* ANIMATIONS */
    @keyframes floatIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    /* RESPONSIVE */
    @media (max-width: 860px) {
      .hero {
        grid-template-columns: minmax(0, 1fr);
      }
      .hero-right {
        order: -1;
      }
    }

    @media (max-width: 640px) {
      .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .navbar ul {
        gap: 14px;
        flex-wrap: wrap;
      }
      .hero {
        padding: 20px 16px;
      }
      .footer_row {
        flex-direction: column;
        text-align: center;
      }
    }