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

:root {
  --color-bg: #0a0f1c;
  --color-surface: #111827;
  --color-text: #e2e8f0;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-accent: #64ffda;
  --color-accent-hover: #a7f3d0;
  --color-accent-secondary: #a78bfa;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-card-hover: rgba(100, 255, 218, 0.03);
  --font-sans: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 960px;
  --nav-height: 64px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

[data-theme="light"] {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-accent-secondary: #7c3aed;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-card-hover: rgba(13, 148, 136, 0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ===== Background Effects ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(100, 255, 218, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

p {
  color: var(--color-text-secondary);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* ===== Accent Line ===== */
.accent-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary), var(--color-accent));
  z-index: 1001;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 2px;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--color-accent);
  background: rgba(100, 255, 218, 0.08);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===== Reveal Animations ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Staggered children reveal */
[data-reveal-children] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-children].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-children].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-children].revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-children].revealed > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-children].revealed > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-children].revealed > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-children].revealed > *:nth-child(6) { transition-delay: 0.3s; }
[data-reveal-children].revealed > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-children].revealed > *:nth-child(8) { transition-delay: 0.4s; }

/* ===== Hero Section ===== */
.hero {
  padding: 4rem 0 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.06), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-accent-secondary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-typing {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  min-height: 3.5rem;
  line-height: 1.2;
}

.typing-prefix {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 400;
}

#typing-text {
  color: var(--color-text);
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.75em;
  background: var(--color-accent);
  margin-left: 4px;
  vertical-align: baseline;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===== Terminal Block ===== */
.hero-terminal {
  flex-shrink: 0;
  width: 320px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.02);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-left: auto;
}

.terminal-body {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
  overflow-x: auto;
}

.terminal-body code {
  font-family: inherit;
}

.t-kw { color: #c792ea; }
.t-fn { color: var(--color-accent); }
.t-k { color: #82aaff; }
.t-s { color: #c3e88d; }
.t-b { color: #c792ea; }
.t-p { color: var(--color-text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
  font-weight: 600;
}

.btn-primary:hover {
  background: rgba(100, 255, 218, 0.15);
  color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(100, 255, 218, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: rgba(255,255,255,0.15);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
  background: rgba(100, 255, 218, 0.05);
}

/* ===== Section ===== */
.section {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  margin-bottom: 0;
}

.section-header a {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: rgba(100, 255, 218, 0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(100, 255, 218, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

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

.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(100, 255, 218, 0.08);
  color: var(--color-accent);
  transition: all var(--transition);
}

.card:hover .tag {
  background: rgba(100, 255, 218, 0.12);
}

.card-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.card-links a {
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== Experience Card ===== */
.exp-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
}

.exp-card .exp-date {
  flex-shrink: 0;
  width: 120px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  padding-top: 0.15rem;
}

.exp-card .exp-content {
  flex: 1;
}

.exp-card .exp-content h3 {
  margin-bottom: 0.15rem;
}

.exp-card .exp-role {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.exp-card .exp-content ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.exp-card .exp-content li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

/* ===== Blog Card ===== */
.blog-card {
  display: block;
  color: inherit;
}

.blog-card:hover {
  color: inherit;
}

.blog-card .card-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  transition: color var(--transition);
}

.blog-card:hover h3 {
  color: var(--color-accent);
}

/* ===== Page Header ===== */
.page-header {
  padding: 2rem 0 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  max-width: 560px;
}

/* ===== About Page ===== */
.about-content {
  max-width: 640px;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.skill-list li {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--transition);
}

.skill-list li:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(100, 255, 218, 0.06);
}

/* ===== More / Links Page ===== */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.link-card .link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(100, 255, 218, 0.08);
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(100, 255, 218, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.contact-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-card p {
  font-size: 0.85rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* ===== Blog Post Page ===== */
.blog-back {
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.blog-post {
  max-width: 680px;
}

.blog-post-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.blog-post-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.blog-post-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.75rem;
}

.blog-post-body p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.blog-post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.blog-post-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.blog-post-body ul,
.blog-post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-post-body li {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.35rem;
}

.blog-post-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(100, 255, 218, 0.08);
  color: var(--color-accent);
}

[data-theme="light"] .blog-post-body code {
  background: rgba(13, 148, 136, 0.08);
}

.blog-post-body pre {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.blog-post-body pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.blog-post-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.blog-post-body blockquote p {
  font-style: italic;
  color: var(--color-text-muted);
}

.blog-post-body strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ===== Light Mode Overrides ===== */
[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}

[data-theme="light"] body::after {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.85);
}

[data-theme="light"] .nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-links a.active {
  background: rgba(13, 148, 136, 0.1);
}

[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06), transparent 70%);
}

[data-theme="light"] .hero-terminal {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .terminal-header {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .t-kw { color: #9333ea; }
[data-theme="light"] .t-k { color: #2563eb; }
[data-theme="light"] .t-s { color: #16a34a; }
[data-theme="light"] .t-b { color: #9333ea; }

[data-theme="light"] .btn-primary:hover {
  background: rgba(13, 148, 136, 0.12);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.15);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(13, 148, 136, 0.06);
}

[data-theme="light"] .card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(13, 148, 136, 0.12);
}

[data-theme="light"] .tag {
  background: rgba(13, 148, 136, 0.08);
}

[data-theme="light"] .card:hover .tag {
  background: rgba(13, 148, 136, 0.14);
}

[data-theme="light"] .skill-list li:hover {
  background: rgba(13, 148, 136, 0.06);
}

[data-theme="light"] .link-card .link-icon {
  background: rgba(13, 148, 136, 0.08);
}

[data-theme="light"] .contact-card .contact-icon {
  background: rgba(13, 148, 136, 0.08);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition);
  margin-left: 0.5rem;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

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

/* Dark mode (default): show moon icon + "Dark mode" */
.theme-toggle .icon-sun { display: none; }
.theme-toggle::after { content: "Dark mode"; }

/* Light mode: show sun icon + "Light mode" */
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle::after { content: "Light mode"; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-typing {
    font-size: 2rem;
    min-height: 2.5rem;
  }

  .hero-content {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .hero-terminal {
    width: 100%;
    max-width: 320px;
  }

  .card-grid--2,
  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .exp-card {
    flex-direction: column;
    gap: 0.5rem;
  }

  .exp-card .exp-date {
    width: auto;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + 2px);
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
  }

  [data-theme="light"] .nav-links {
    background: rgba(248, 250, 252, 0.98);
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-typing {
    font-size: 1.65rem;
  }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }

  .container {
    padding: 0 1rem;
  }
}
