:root {
    --bg: #0c0f14;
    --bg-alt: #111620;
    --surface: #161c28;
    --surface-hover: #1c2433;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8ecf4;
    --text-muted: #8b95a8;
    --accent: #3dd6c6;
    --accent-dim: rgba(61, 214, 198, 0.15);
    --accent-glow: rgba(61, 214, 198, 0.35);
    --font: "DM Sans", system-ui, sans-serif;
    --mono: "JetBrains Mono", monospace;
    --radius: 12px;
    --radius-lg: 20px;
    --nav-h: 72px;
    --transition: 0.25s ease;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
  }
  
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
  }
  
  .container {
    width: min(1100px, 92vw);
    margin-inline: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  ul {
    list-style: none;
  }
  
  /* Navigation */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(12, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
  }
  
  .nav.scrolled {
    background: rgba(12, 15, 20, 0.95);
  }
  
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: min(1100px, 92vw);
    margin-inline: auto;
  }
  
  .nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent);
    letter-spacing: -0.02em;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
  }
  
  .nav-links a:hover {
    color: var(--accent);
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
  }
  
  /* Hero */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    overflow: hidden;
  }
  
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% -10%, var(--accent-dim), transparent),
      radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.08), transparent 40%);
    pointer-events: none;
  }
  
  .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--border) 1px, transparent 1px),
      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
    opacity: 0.4;
  }
  
  .hero-content {
    position: relative;
    text-align: center;
    padding-block: 4rem;
  }
  
  .hero-label {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--accent-dim);
    border-radius: 100px;
    background: var(--accent-dim);
  }
  
  .hero h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
  }
  
  .hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
  }
  
  .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .hero-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
  }
  
  .hero-meta .dot {
    margin-inline: 0.5rem;
    opacity: 0.5;
  }
  
  .scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .scroll-hint span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
  }
  
  .scroll-hint span::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s ease infinite;
  }
  
  @keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
  }
  
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
  }
  
  .btn-primary {
    background: var(--accent);
    color: var(--bg);
  }
  
  .btn-primary:hover {
    background: #4de8d8;
    box-shadow: 0 0 24px var(--accent-glow);
  }
  
  .btn-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
  }
  
  .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Sections */
  .section {
    padding: 6rem 0;
  }
  
  .section-alt {
    background: var(--bg-alt);
  }
  
  .section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .section-number {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    opacity: 0.7;
  }
  
  .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  
  .lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.7;
  }
  
  /* Profile */
  .profile-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  
  .profile-text p + p {
    margin-top: 1rem;
    color: var(--text-muted);
  }
  
  .profile-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
  }
  
  .info-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  
  .lang-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  
  .lang-list li:last-child {
    border-bottom: none;
  }
  
  .lang-list .level {
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.85rem;
  }
  
  .card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .card-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
  }
  
  /* Skills */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .skill-group h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tags span {
    padding: 0.4rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    transition: all var(--transition);
  }
  
  .tags span:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
  }
  
  .cert-note {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    padding-left: 2rem;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
  }
  
  .timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
  }
  
  .timeline-item:last-child {
    padding-bottom: 0;
  }
  
  .timeline-marker {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
  }
  
  .timeline-content time {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent);
  }
  
  .timeline-content h3 {
    font-size: 1.2rem;
    margin: 0.35rem 0 0.25rem;
  }
  
  .timeline-content .company {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
  
  .timeline-content ul {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--text-muted);
  }
  
  .timeline-content li + li {
    margin-top: 0.35rem;
  }
  
  /* Project */
  .project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: border-color var(--transition);
  }
  
  .project-card:hover {
    border-color: rgba(61, 214, 198, 0.3);
  }
  
  .project-card.featured {
    max-width: 720px;
  }
  
  .project-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  
  .project-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .project-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 60ch;
  }
  
  .project-tags {
    margin-bottom: 1.5rem;
  }
  
  .project-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  /* Goals */
  .goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
  }
  
  .goal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform var(--transition), border-color var(--transition);
  }
  
  .goal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 214, 198, 0.25);
  }
  
  .goal-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .goal-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }
  
  .goal-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  /* Interests */
  .interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .interest-block h3 {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1rem;
  }
  
  .interest-block ul {
    list-style: none;
  }
  
  .interest-block li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
  }
  
  .interest-block li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.85rem;
  }
  
  /* Contact */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  
  .contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: all var(--transition);
  }
  
  .contact-card:not(.static):hover {
    border-color: var(--accent);
    background: var(--surface-hover);
  }
  
  .contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
  }
  
  .contact-value {
    font-weight: 500;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  
  .footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  /* Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-toggle {
      display: flex;
    }
  
    .nav-links {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--border);
      padding: 1rem 0;
      transform: translateY(-120%);
      opacity: 0;
      pointer-events: none;
      transition: all var(--transition);
    }
  
    .nav-links.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
  
    .nav-links li a {
      display: block;
      padding: 0.85rem 1.5rem;
    }
  
    .nav-toggle.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }
  
    .nav-toggle.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }
  
    .profile-grid,
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    .section {
      padding: 4rem 0;
    }
  
    .project-card {
      padding: 1.75rem;
    }
  }
  