@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@600;700;800&display=swap');

/* ============================== CSS VARIABLES ============================== */
:root {
  --accent: #ffcc00;
  --accent-glow: rgba(255, 204, 0, 0.15);
  --accent-dim: rgba(255, 204, 0, 0.08);
  --bg-deep: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-input: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 204, 0, 0.3);
  --text-primary: #f0f0f0;
  --text-secondary: #888;
  --text-muted: #444;
  --success: #22c55e;
  --error: #ef4444;
  --badge-tech: rgba(59, 130, 246, 0.15);
  --badge-tech-text: #60a5fa;
  --badge-creative: rgba(236, 72, 153, 0.15);
  --badge-creative-text: #f472b6;
  --badge-academic: rgba(34, 197, 94, 0.15);
  --badge-academic-text: #4ade80;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* ============================== RESET & BASE ============================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(255,204,0,0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,149,0,0.03) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
p { color: var(--text-secondary); line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* ============================== HERO ============================== */
.hero {
  padding: 140px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,204,0,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse-glow 7s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #ffcc00 55%, #ff9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 18px;
  animation: fade-slide-up 0.7s ease both;
}
.hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  animation: fade-slide-up 0.7s 0.15s ease both;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fade-slide-up 0.7s 0.3s ease both;
}

/* ============================== SECTIONS ============================== */
.section { padding: 90px 0; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #ff9500);
  left: 0; bottom: -8px;
  border-radius: 2px;
  transition: width 0.5s ease;
}
.section-title.active::after { width: 100%; }

.section-subtitle { color: var(--text-secondary); font-size: 1rem; margin-bottom: 48px; }

/* ============================== FOOTER ============================== */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
footer p { color: var(--text-muted); font-size: 0.88rem; }

/* ============================== ANIMATIONS ============================== */
@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-in { animation: fade-slide-up 0.55s ease both; }
.stagger > *:nth-child(1) { animation-delay: 0.08s; }
.stagger > *:nth-child(2) { animation-delay: 0.16s; }
.stagger > *:nth-child(3) { animation-delay: 0.24s; }
.stagger > *:nth-child(4) { animation-delay: 0.32s; }
.stagger > *:nth-child(5) { animation-delay: 0.40s; }
.stagger > *:nth-child(6) { animation-delay: 0.48s; }

/* ============================== LIGHT THEME VARIABLES ============================== */
html[data-theme="light"] {
  --accent: #d4a800;
  --accent-glow: rgba(212,168,0,0.15);
  --accent-dim: rgba(212,168,0,0.1);
  --bg-deep: #f0f2f5;
  --bg-card: rgba(255,255,255,0.92);
  --bg-input: rgba(0,0,0,0.04);
  --border: rgba(0,0,0,0.09);
  --border-accent: rgba(212,168,0,0.4);
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --badge-tech: rgba(37,99,235,0.1);
  --badge-tech-text: #1d4ed8;
  --badge-creative: rgba(190,24,93,0.1);
  --badge-creative-text: #be185d;
  --badge-academic: rgba(21,128,61,0.1);
  --badge-academic-text: #15803d;
}
html[data-theme="light"] body {
  background: #f0f2f5;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(212,168,0,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255,149,0,0.04) 0%, transparent 55%);
}
html[data-theme="light"] .hero h1 {
  background: linear-gradient(135deg, #111827 0%, #d4a800 55%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
html[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(212,168,0,0.09) 0%, transparent 70%);
}
html[data-theme="light"] footer { border-top-color: rgba(0,0,0,0.08); }