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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 6rem;
  background: linear-gradient(160deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--blob-opacity, 0.18);
  pointer-events: none;
  background: var(--accent);
}
.hero::before { width: 700px; height: 700px; top: -280px; right: -200px; }
.hero::after  { width: 500px; height: 500px; bottom: -150px; left: -150px; }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 24px 60px var(--logo-shadow, rgba(0,0,0,0.25));
  margin-bottom: 2rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app-logo:hover { transform: scale(1.07) rotate(-3deg); }

.app-name {
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.app-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 28px var(--btn-shadow, rgba(0,0,0,0.2));
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-play:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--btn-shadow-hover, rgba(0,0,0,0.25));
}
.btn-play:active { transform: translateY(-1px); }
.btn-play svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Hero → Features wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.hero-wave svg { display: block; width: 100%; height: 56px; }

/* ── FEATURES ─────────────────────────────────── */
.features {
  padding: 6rem 1.5rem;
  background: var(--bg);
}

.features-inner { max-width: 960px; margin: 0 auto; }

.section-eyebrow {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 3.5rem;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px var(--card-shadow, rgba(0,0,0,0.08));
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--footer-text);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-brand a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.footer-brand a:hover { text-decoration: underline; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .app-logo { width: 96px; height: 96px; }
}
