/* ============================================
   ERICK TARANTINO — PORTFOLIO
   Higgsfield-Inspired Visual Showcase Design System
   ============================================ */

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&family=Orbitron:wght@600;800;900&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  /* Dark Theme (Default) - Pure Higgsfield Obsidian */
  --bg-primary: #030306;
  --bg-secondary: #080811;
  --bg-card: rgba(13, 13, 22, 0.78);
  --bg-card-hover: rgba(20, 20, 36, 0.94);
  --bg-nav: rgba(3, 3, 6, 0.84);

  --text-primary: #f8f8fc;
  --text-secondary: #9494ad;
  --text-muted: #5a5a72;

  --accent-primary: #6366f1;
  --accent-secondary: #818cf8;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;

  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --accent-gradient-r: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  --accent-gradient-3: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --accent-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #6366f1 100%);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --glass-bg: rgba(13, 13, 24, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.22);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme - Clean Slate / Zinc Aesthetic */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.90);
  --bg-card-hover: #ffffff;
  --bg-nav: rgba(248, 250, 252, 0.88);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent-primary: #4f46e5;
  --accent-secondary: #6366f1;
  --accent-cyan: #0891b2;
  --accent-cyan-light: #06b6d4;
  --accent-purple: #9333ea;
  --accent-amber: #d97706;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(79, 70, 229, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(79, 70, 229, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-base), color var(--transition-base);
  cursor: none;
}

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

/* ---- PAGE LOADER ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loader.exit {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 800;
  background: var(--accent-gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loaderPulse 1.2s ease-in-out infinite;
  letter-spacing: -2px;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 2px;
  animation: loaderProgress 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loaderProgress {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

.loader-text {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: loaderFade 0.5s ease 0.3s both;
}

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

/* ---- CUSTOM CURSOR ---- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px rgba(6, 182, 212, 0.4);
  transition: transform 0.08s ease, background 0.2s;
}

[data-theme="light"] .cursor-dot {
  background: var(--text-primary);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.5);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s,
              transform 0.12s ease;
}

[data-theme="light"] .cursor-ring {
  border-color: rgba(79, 70, 229, 0.6);
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.4);
}

.cursor-ring.clicking {
  width: 28px;
  height: 28px;
  border-color: #fff;
}

/* Trail dots */
.cursor-trail-container {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
}

.trail-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent-gradient);
  z-index: 1001;
  transition: width 0.06s linear;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}

/* ============================================================
   HIGGSFIELD DYNAMIC SHOWCASE BACKGROUND STREAM
   ============================================================ */
.ambient-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 5-Column Stream Masonry Grid */
.higgsfield-stream-grid {
  position: absolute;
  inset: -15% -5% -15% -5%;
  width: 110%;
  height: 130%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  transform: rotate(-3deg) scale(1.05);
  opacity: 0.45;
  transition: opacity 0.5s ease;
  will-change: transform;
}

[data-theme="light"] .higgsfield-stream-grid {
  opacity: 0.35;
}

.stream-col {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.stream-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* Upward Infinite Marquee */
.stream-track.track-up {
  animation: streamScrollUp 36s linear infinite;
}

/* Downward Infinite Marquee */
.stream-track.track-down {
  animation: streamScrollDown 38s linear infinite;
}

.col-1 .stream-track { animation-duration: 38s; }
.col-2 .stream-track { animation-duration: 42s; }
.col-3 .stream-track { animation-duration: 34s; }
.col-4 .stream-track { animation-duration: 40s; }
.col-5 .stream-track { animation-duration: 36s; }

@keyframes streamScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes streamScrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Visual Stream Card */
.stream-card {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

[data-theme="light"] .stream-card {
  border-color: rgba(0, 0, 0, 0.08);
  background: #e2e8f0;
}

.stream-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.05);
}

.stream-card-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .stream-card-tag {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.1);
}

/* Cinematic Vignette Scrim (Ensures text clarity) */
.stream-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(3, 3, 6, 0.72) 0%, rgba(3, 3, 6, 0.88) 60%, #030306 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
}

[data-theme="light"] .stream-scrim {
  background: radial-gradient(ellipse 90% 80% at 50% 40%, rgba(248, 250, 252, 0.80) 0%, rgba(248, 250, 252, 0.94) 65%, #f8fafc 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Film Grain Texture */
.grain-overlay {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.035;
  z-index: 2;
  pointer-events: none;
  animation: grainJitter 0.5s steps(2) infinite;
}

[data-theme="light"] .grain-overlay { opacity: 0.02; }

@keyframes grainJitter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -1%); }
  100% { transform: translate(2%, 2%); }
}

/* Dynamic Ambient Beam */
.ambient-beam {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(99, 102, 241, 0.16) 0%, rgba(6, 182, 212, 0.09) 50%, transparent 80%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  will-change: transform;
}

[data-theme="light"] .ambient-beam {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(79, 70, 229, 0.08) 0%, rgba(8, 145, 178, 0.05) 50%, transparent 80%);
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  will-change: transform;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  top: 10%;
  right: -5%;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.09) 0%, transparent 70%);
  top: 50%;
  left: -10%;
}

[data-theme="light"] .glow-1 { background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%); }
[data-theme="light"] .glow-2 { background: radial-gradient(circle, rgba(8, 145, 178, 0.05) 0%, transparent 70%); }

/* Section Horizon Light Separator */
section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.25), transparent);
  pointer-events: none;
}

[data-theme="light"] section::after {
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.15), rgba(8, 145, 178, 0.15), transparent);
}

/* ============================================================
   CARD MOUSE SPOTLIGHT (Higgsfield Signature Effect)
   ============================================================ */
.project-card,
.edu-card,
.exp-item,
.social-card,
.skill-chip {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-base), box-shadow var(--transition-smooth), background var(--transition-base);
}

.project-card::before,
.edu-card::before,
.exp-item::before,
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(99, 102, 241, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .project-card::before,
[data-theme="light"] .edu-card::before,
[data-theme="light"] .exp-item::before,
[data-theme="light"] .social-card::before {
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(79, 70, 229, 0.12), transparent 70%);
}

.project-card:hover::before,
.edu-card:hover::before,
.exp-item:hover::before,
.social-card:hover::before {
  opacity: 1;
}

/* ============================================================
   REVEAL & SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.25s; }
.reveal-delay-4 { transition-delay: 0.36s; }
.reveal-delay-5 { transition-delay: 0.48s; }
.reveal-delay-6 { transition-delay: 0.60s; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--accent-gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Nav CTA */
.nav-cta {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-nav.open { display: flex; opacity: 1; }

.mobile-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover { color: var(--accent-primary); }

/* ---- SECTIONS ---- */
section {
  padding: 130px 40px;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

/* Section Headers */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.section-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(1.5) hue-rotate(220deg);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(3,3,6,0.2) 0%, rgba(3,3,6,0.85) 100%);
}

[data-theme="light"] .hero-video-overlay {
  background: radial-gradient(ellipse at center, rgba(248,250,252,0.3) 0%, rgba(248,250,252,0.92) 100%);
}

.particles-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  width: 100%;
  will-change: transform, opacity;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
  animation: pulse 2.2s ease-in-out infinite;
}

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

/* Glitch Effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch::before {
  animation: glitch1 4s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-3px, 0);
}

.glitch::after {
  animation: glitch2 4s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(3px, 0);
}

@keyframes glitch1 {
  0%, 85%, 100% { transform: translate(-3px, 0); opacity: 0; }
  86% { transform: translate(-6px, 2px); opacity: 0.7; }
  88% { transform: translate(3px, -1px); opacity: 0.5; }
  90% { transform: translate(-3px, 0); opacity: 0; }
}

@keyframes glitch2 {
  0%, 87%, 100% { transform: translate(3px, 0); opacity: 0; }
  88% { transform: translate(6px, -2px); opacity: 0.7; }
  90% { transform: translate(-2px, 1px); opacity: 0.5; }
  92% { transform: translate(3px, 0); opacity: 0; }
}

.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 7.5vw, 88px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 18px;
}

.hero-name .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  letter-spacing: 0.3px;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.typed-cursor {
  animation: typedBlink 0.7s ease infinite;
  color: var(--accent-cyan);
  font-weight: 300;
}

@keyframes typedBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 42px;
}

.stat {
  position: relative;
  padding-left: 18px;
}

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.45);
}

.btn-outline {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-3px);
  background: rgba(99, 102, 241, 0.08);
}

/* GitHub Quick Link */
.github-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.github-quick:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

/* Hero Photo Frame */
.hero-photo-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  will-change: transform;
}

.hero-photo-frame {
  width: 360px;
  height: 420px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-photo-glow {
  position: absolute;
  inset: -20px;
  border-radius: calc(var(--radius-lg) + 20px);
  background: var(--accent-gradient-3);
  filter: blur(40px);
  opacity: 0.25;
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50% { opacity: 0.35; transform: scale(1.05); }
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(3, 3, 6, 0.5));
  border-radius: var(--radius-lg);
  z-index: 2;
}

[data-theme="light"] .hero-photo-overlay {
  background: linear-gradient(to bottom, transparent 50%, rgba(248, 250, 252, 0.35));
}

.hero-photo-shine {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  z-index: 3;
  pointer-events: none;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--accent-gradient-3);
  z-index: 0;
  padding: 2px;
}

/* Float Chips */
.float-chip {
  position: absolute;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  will-change: transform;
}

.float-chip.c1 {
  bottom: -24px;
  left: -52px;
  animation: floatChip 6s ease-in-out infinite;
}

.float-chip.c2 {
  top: 12px;
  right: -52px;
  animation: floatChip 7s ease-in-out infinite;
  animation-delay: -3s;
}

.float-chip.c3 {
  bottom: 80px;
  right: -60px;
  animation: floatChip 8s ease-in-out infinite;
  animation-delay: -1.5s;
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.chip-icon { font-size: 20px; line-height: 1; }

.chip-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.chip-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

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

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-text p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-certs { margin-top: 32px; }

.about-certs h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-secondary);
}

.cert-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-primary);
  min-width: 38px;
  letter-spacing: 0.5px;
}

.edu-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-card {
  padding: 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) translateX(4px);
  box-shadow: var(--shadow-glow);
}

.edu-icon { font-size: 22px; margin-bottom: 8px; }

.edu-school {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.edu-degree {
  font-size: 13px;
  color: var(--accent-primary);
  font-weight: 500;
}

.edu-year {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   EXPERIENCE SECTION
   ============================================================ */
#experience {
  background: var(--bg-secondary);
}

.exp-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 48px;
}

.exp-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-cyan), var(--accent-purple), transparent);
}

.exp-item {
  position: relative;
  margin-bottom: 52px;
  padding: 28px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.exp-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.exp-dot {
  position: absolute;
  left: -36px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
  border: 2px solid var(--bg-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exp-dot.edu-dot {
  background: var(--accent-gradient-r);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.5);
}

.exp-item:hover .exp-dot {
  transform: scale(1.3);
  box-shadow: 0 0 24px var(--accent-primary);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}

.exp-company {
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.exp-period {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  white-space: nowrap;
}

[data-theme="light"] .exp-period {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.2);
}

.exp-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  letter-spacing: 0.3px;
  transition: all var(--transition-fast);
}

[data-theme="light"] .exp-tag {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}

.exp-item:hover .exp-tag {
  border-color: rgba(99, 102, 241, 0.25);
  color: var(--text-primary);
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
#skills { background: var(--bg-primary); }

.skills-container { margin-top: 48px; }

.skills-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 14px;
  margin-top: 32px;
}

.skills-category:first-child { margin-top: 0; }

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.skill-chip {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: none;
  position: relative;
  overflow: hidden;
}

.skill-chip::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: var(--level, 0%);
  background: var(--accent-gradient);
  border-radius: 1px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
#projects { background: var(--bg-secondary); }

.proj-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
  margin-bottom: 40px;
  margin-top: 48px;
}

.proj-tab {
  padding: 10px 24px;
  border-radius: calc(var(--radius-md) - 4px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.proj-tab.active {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.proj-tab:hover:not(.active) {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.proj-section { display: none; }
.proj-section.active { display: block; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.project-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-app-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-base);
}

.project-card:hover .project-app-logo {
  transform: scale(1.08) rotate(3deg);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

/* Featured Project: Dompetin */
.featured-project {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-card) 100%);
}

.featured-project:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.2), var(--shadow-md);
}

.project-featured-badge {
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 0 0px rgba(16, 185, 129, 0); }
  50% { box-shadow: 0 0 16px rgba(16, 185, 129, 0.3); }
}

.project-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.project-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.project-badge.tech {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-secondary);
}

.project-badge.type {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

[data-theme="light"] .project-badge.tech {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.2);
  color: var(--accent-primary);
}

[data-theme="light"] .project-badge.type {
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.2);
  color: var(--accent-cyan);
}

.project-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.project-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.project-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-base), color var(--transition-fast);
}

.project-link-secondary {
  color: var(--accent-cyan);
}

[data-theme="light"] .project-link-secondary {
  color: #0891b2;
}

.project-card:hover .project-link {
  gap: 9px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--bg-primary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all var(--transition-base);
}

.contact-link:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.contact-link-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.contact-link-text {
  font-size: 14px;
  font-weight: 600;
}

.contact-link-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Social Cards */
.social-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
}

.social-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.social-card.github-feature {
  grid-column: 1 / -1;
  border-color: rgba(99, 102, 241, 0.25);
}

.social-card.github-feature:hover {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon svg { width: 22px; height: 22px; }

.social-name {
  font-size: 14px;
  font-weight: 700;
}

.social-handle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

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

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* ---- MAGNETIC BUTTON ---- */
.magnetic-btn {
  will-change: transform;
  display: inline-flex;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 900px) {
  .higgsfield-stream-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stream-col.col-4, .stream-col.col-5 {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-photo-wrap {
    order: -1;
  }

  .hero-photo-frame {
    width: 280px;
    height: 320px;
  }

  .float-chip.c2, .float-chip.c3 {
    right: -16px;
  }

  .float-chip.c1 {
    left: -16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .social-cards {
    grid-template-columns: 1fr;
  }

  .social-card.github-feature {
    grid-column: auto;
  }

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

  section { padding: 100px 24px; }

  .navbar { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .higgsfield-stream-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stream-col.col-3 {
    display: none;
  }

  .hero-name {
    font-size: clamp(44px, 12vw, 68px);
    letter-spacing: -2px;
  }

  .hero-stats { gap: 24px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary, .btn-outline { justify-content: center; }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-trail-container { display: none !important; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
