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

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

:root {
  --bg: #050508;
  --surface: #0f0f18;
  --surface-elevated: #16162a;
  --accent: #ff6b35;
  --accent-glow: rgba(255, 107, 53, 0.4);
  --accent-secondary: #ffd23f;
  --text: #ffffff;
  --text-muted: #8b8b9e;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --glow: 0 0 60px var(--accent-glow);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 210, 63, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(255, 107, 53, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.3); }
  50% { box-shadow: 0 0 60px rgba(255, 107, 53, 0.5), 0 0 100px rgba(255, 107, 53, 0.2); }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.app-icon {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

@media (min-width: 768px) {
  .app-icon {
    margin: 0 0 1.5rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #fff 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero .tagline {
  font-size: 1.35rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-weight: 400;
}

.badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .badges {
    justify-content: flex-start;
  }
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--surface-elevated);
  padding: 0.6rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge .star {
  color: var(--accent-secondary);
  font-size: 1.1rem;
}

/* Primary CTA - Download Button */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-button {
  display: inline-block;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
  animation: glow 3s ease-in-out infinite;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 60px rgba(255, 107, 53, 0.5), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-button img {
  height: 80px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .cta-button img {
    height: 90px;
  }
}

.cta-hint {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.hero-image img {
  max-height: 550px;
  border-radius: 32px;
  box-shadow:
    0 25px 80px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

.features h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.features .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 53, 0.2);
  box-shadow: 0 20px 60px -20px rgba(255, 107, 53, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, var(--surface) 50%, transparent 100%);
}

.gallery h2 {
  font-family: var(--font-display);
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.gallery .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.gallery-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .gallery-item {
    flex: 0 0 320px;
  }
}

.gallery-item img {
  border-radius: 20px;
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Secondary CTA */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-section .cta-tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

.cta-section .cta-wrapper {
  position: relative;
  align-items: center;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0;
  background: var(--surface);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
  }

  .footer-center {
    text-align: center;
  }

  .footer-right {
    text-align: right;
  }
}

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

@media (min-width: 768px) {
  .footer-brand {
    justify-content: flex-start;
  }
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-links {
    justify-content: flex-end;
  }
}

.social-links a {
  color: var(--text-muted);
  font-size: 1.5rem;
  transition: all 0.2s;
}

.social-links a:hover {
  color: var(--accent);
  transform: scale(1.1);
}
