/* --- DESIGN SYSTEM & CI --- */
:root {
  --bg-top: #1a1a2e;
  --bg-bottom: #0f172a;
  --text-main: #ffffff;
  --text-muted: #a0aabf;
  --accent-gold: #ffd700;
  --accent-amber: #ff9800;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 215, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

body {
  background: linear-gradient(135deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  padding-top: 80px;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.2);
  color: var(--accent-amber);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* --- STORE BADGES --- */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 8px; /* Helps the shadow look natural */
}

.store-badge img {
  height: 54px; /* Standardizes the height of both badges */
  width: auto;
  display: block;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(255, 215, 0, 0.2);
}

/* --- HERO GRAPHIC (Placeholder for App Mockup) --- */
.hero-screenshot {
  width: 100%;
  max-width: 300px;
  border-radius: 24px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 215, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.glow-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 152, 0, 0.2) 0%,
    rgba(26, 26, 46, 0) 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.mockup-placeholder {
  width: 300px;
  height: 600px;
  background: linear-gradient(180deg, #16213e 0%, #0f172a 100%);
  border: 4px solid #333;
  border-radius: 40px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.1);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.mockup-placeholder h3 {
  color: var(--accent-gold);
  margin-bottom: 10px;
}

/* --- FEATURES SECTION --- */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--card-border);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* --- CROSS PROMO SECTION --- */
.cross-promo {
  padding: 40px 0 100px 0;
}

.promo-header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--text-main);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.promo-card {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.08),
    rgba(255, 152, 0, 0.03)
  );
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 800px;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 152, 0, 0.1);
}

.promo-card h3 {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.promo-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.promo-btn {
  display: inline-block;
  background: var(--text-main);
  color: #0f172a;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background: var(--accent-gold);
  transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- SCREENSHOTS --- */
.hero-screenshot {
  width: 100%;
  max-width: 300px;
  border-radius: 24px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 215, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.gallery {
  padding: 40px 0 80px 0;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--text-main);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.gallery-img:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(255, 215, 0, 0.2);
}

/* Make gallery responsive for mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
  }
  .hero-content {
    margin: 0 auto;
  }
  .store-buttons {
    justify-content: center;
  }
  .mockup-placeholder {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .store-btn {
    width: 100%;
  }
}
