:root {
  --bg-dark: #090D14;
  --bg-card: rgba(16, 23, 34, 0.85);
  --bg-card-hover: rgba(22, 32, 48, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);
  --accent-gold: #FFE600;
  --accent-cyan: #00F0FF;
  --accent-orange: #FF5722;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --max-w: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255, 230, 0, 0.05) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(9, 13, 20, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFF 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

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

.btn-nav-download {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #F59E0B 100%);
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 230, 0, 0.35);
}

/* HERO */
.hero {
  padding: 80px 24px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 span.gold {
  color: var(--accent-gold);
}

.hero h1 span.cyan {
  color: var(--accent-cyan);
}

.hero p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.btn-app-store:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 230, 0, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
}

/* HERO PREVIEW PHONE */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  height: 620px;
  background: #11151C;
  border: 12px solid #1E2530;
  border-radius: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION COMMON */
.section {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* GALLERY CAROUSEL */
.gallery-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
  height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb {
  background: var(--border-glow);
  border-radius: 4px;
}

.gallery-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.2);
}

.gallery-card img {
  width: 100%;
  display: block;
}

.gallery-card .card-caption {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  background: #101620;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 230, 0, 0.3);
}

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

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

.feature-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFF;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-cyan);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 24px;
  background: #06090E;
  margin-top: 80px;
}

.footer-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

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

/* LEGAL PAGES (Privacy, Terms, Support) */
.legal-container {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.legal-card h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent-gold);
}

.legal-meta {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.legal-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--accent-cyan);
}

.legal-card p, .legal-card ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card ul {
  padding-left: 24px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card strong {
  color: var(--text-main);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .legal-card {
    padding: 24px;
  }
}
