/* ===== CSS Variables ===== */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0f;
  --accent-bright: #e74c3c;
  --accent-primary: #c0392b;
  --accent-vivid: #ff6b5a;
  --accent-deep: #a93226;
  --text-high: rgba(255, 255, 255, 0.95);
  --text-mid: rgba(255, 255, 255, 0.6);
  --text-low: rgba(255, 255, 255, 0.4);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.07);
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-high);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== Frosted Glass Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-high);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-brand span {
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-bright);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
  animation: heroGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-logo-wrapper {
  position: relative;
  margin-bottom: 32px;
  animation: float 4s ease-in-out infinite;
}

.hero-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
  animation: logoGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 32px;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.35rem;
  color: var(--text-high);
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 40px;
}

.app-store-badge {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent-bright);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
  color: white;
}

/* ===== Feature Cards ===== */
.features {
  padding: 80px 24px 100px;
  max-width: 960px;
  margin: 0 auto;
}

.features-heading {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-high);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 76, 60, 0.2);
  box-shadow: 0 12px 40px rgba(231, 76, 60, 0.06);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ===== Status Banner ===== */
.status-banner {
  max-width: 640px;
  margin: -40px auto 0;
  padding: 20px 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  text-align: center;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.status-banner strong {
  color: var(--accent-bright);
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 80px 24px;
  max-width: 640px;
  margin: 0 auto;
}

.how-it-works h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-high);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.flow-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-bright);
}

.flow-step p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
  padding-top: 8px;
}

/* ===== Gameplan ===== */
.gameplan {
  padding: 80px 24px 100px;
  max-width: 960px;
  margin: 0 auto;
}

.gameplan h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text-high);
}

.gameplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gameplan-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
}

.gameplan-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-high);
  margin-bottom: 16px;
}

.gameplan-card ul {
  list-style: none;
  padding: 0;
}

.gameplan-card ul li {
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gameplan-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gameplan-card.done ul li::before {
  background: #34d399;
}

.gameplan-card.next ul li::before {
  background: #fbbf24;
}

.gameplan-card.someday ul li::before {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Content Pages ===== */
.content-page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
}

.content-page h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.content-page .effective-date {
  color: var(--text-low);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.content-page .intro {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.content-section {
  margin-bottom: 36px;
}

.content-section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--card-border);
}

.content-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-high);
  margin-bottom: 8px;
  margin-top: 20px;
}

.content-section p {
  color: var(--text-mid);
  margin-bottom: 12px;
  line-height: 1.7;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}

.content-section ul li {
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
}

.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.summary-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.faq-item p,
.faq-item ul {
  margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--card-border);
  color: var(--text-low);
  font-size: 0.85rem;
}

.footer a {
  color: var(--text-mid);
}

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

/* ===== Animations ===== */
@keyframes heroGlow {
  0% { opacity: 0.5; transform: translate(-50%, -60%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); }
}

@keyframes logoGlow {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-logo-glow, .hero-logo-wrapper { animation: none; }
  .feature-card, .app-store-badge { transition: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-tagline { font-size: 1.15rem; }
  .hero-logo { width: 110px; height: 110px; border-radius: 24px; }
  .features-grid, .gameplan-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px 20px; }
  .nav-links { gap: 16px; }
  .navbar { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-tagline { font-size: 1rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-logo { width: 90px; height: 90px; border-radius: 20px; }
  .nav-brand span { display: none; }
  .content-page h1 { font-size: 1.75rem; }
}
