/* ===== Variables ===== */
:root {
  --accent-blue: #0ea5e9;
  --accent-blue-dark: #0284c7;
  --accent-cyan: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #0ea5e9, #22d3ee);
  --bg-primary: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(15, 23, 42, 0.85);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --glass-border: rgba(148, 163, 184, 0.12);
  --glass-bg: rgba(148, 163, 184, 0.06);
  --glass-bg-dark: rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Utility ===== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-dark {
  background: var(--glass-bg-dark);
  border: 1px solid rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid rgba(34, 211, 238, 0.3);
}

.btn--ghost:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 2rem 1.5rem;
}

.hero__avatar {
  margin-bottom: 1.5rem;
}

.hero__avatar-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-gradient);
  padding: 4px;
  animation: ring-pulse 3s ease-in-out infinite;
}

.hero__emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  font-size: 3rem;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.3); }
  50% { box-shadow: 0 0 40px rgba(14, 165, 233, 0.6); }
}

.hero__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Wave ===== */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.wave--top {
  bottom: -1px;
}

.wave--section {
  top: -1px;
}

.wave--footer {
  top: -1px;
}

.wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding: 5rem 0;
}

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

/* ===== About Grid ===== */
.about__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about__card {
  width: 180px;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.about__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about__card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--accent-cyan);
}

.about__card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about__text {
  padding: 2rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about__text strong {
  color: var(--text-primary);
}

/* ===== Stats ===== */
.stats {
  background: linear-gradient(180deg, #0d1a2d 0%, #0f2035 100%);
  color: var(--text-primary);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.stat-card {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card__emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-card__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.timeline__item {
  position: relative;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  transition: transform 0.3s ease;
}

.timeline__item:hover {
  transform: translateX(6px);
}

.timeline__dot {
  position: absolute;
  left: -2.3rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.timeline__time {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.timeline__content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.timeline__content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ===== Quote ===== */
.quote-section {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.quote-section__bg {
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0.08;
}

.quote-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.quote-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.quote-card__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: normal;
  margin-bottom: 1rem;
}

.quote-card__author {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-style: normal;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  padding-top: 4rem;
  background: var(--bg-primary);
  text-align: center;
}

.footer__inner {
  padding: 2rem 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer__logo {
  font-size: 1.5rem;
}

.footer__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

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

/* ===== Animations ===== */
@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  .hero__avatar-ring {
    width: 96px;
    height: 96px;
  }
  .hero__emoji {
    font-size: 2.4rem;
  }
  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stat-card {
    padding: 1.25rem 1rem;
  }
  .stat-card__number {
    font-size: 2.2rem;
  }
  .timeline {
    padding-left: 1.5rem;
  }
}
