:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1322;
  --bg-card: rgba(16, 24, 40, 0.7);
  --bg-card-hover: rgba(22, 33, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-amber: rgba(245, 158, 11, 0.35);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-amber: #f59e0b;
  --accent-amber-hover: #d97706;
  --accent-amber-glow: rgba(245, 158, 11, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 70px; /* Space for mobile sticky bottom bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--accent-amber);
  text-decoration: none;
  transition: all 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-amber);
  box-shadow: 0 0 12px var(--accent-amber-glow);
  object-fit: cover;
}

.badge-android {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid var(--border-amber);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
  }
  .nav-links a:hover {
    color: #fff;
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent-amber);
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-amber-glow);
  transition: all 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary:hover {
  background: var(--accent-amber-hover);
  color: #000000;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  text-decoration: none;
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* Hero Section */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.app-badge-center {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-amber);
  box-shadow: 0 0 24px var(--accent-amber-glow);
  margin: 0 auto 1.25rem;
  display: block;
  object-fit: cover;
}

.hero h1 {
  font-size: 2.15rem;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  margin: 0 auto 2.5rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}

/* Phone Mockup Frame */
.mockup-container {
  max-width: 320px;
  margin: 0 auto 2rem;
  position: relative;
}

.phone-shell {
  background: #000;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.1);
  overflow: hidden;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #000;
}

/* Feature Grid */
.features-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

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

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.15s ease;
}

.feat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-amber);
}

.feat-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--accent-amber);
}

.feat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

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

/* Call to Action Banner */
.cta-banner {
  padding: 3.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.cta-box {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.8) 0%, rgba(7, 11, 20, 0.95) 100%);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* Mobile Sticky Bottom Action Bar */
.mobile-sticky-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 11, 20, 0.96);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 0.65rem 1.25rem;
  z-index: 99;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
}

/* Document / Legal Pages */
.doc-content {
  padding: 2.5rem 0 3.5rem;
  max-width: 740px;
}

.doc-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.doc-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.doc-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: #fff;
}

.doc-content p, .doc-content ul {
  color: #cbd5e1;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.doc-content ul {
  padding-left: 1.25rem;
}

.doc-content li {
  margin-bottom: 0.45rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  background: var(--bg-primary);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

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

.footer-links a:hover {
  color: #fff;
}
