:root {
  --primary: #00d4ff;
  --primary-dark: #00a8cc;
  --secondary: #7b61ff;
  --accent: #ff6b6b;
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-light: #1f2937;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 20px 40px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,14,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.35);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 20%, rgba(0,212,255,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(123,97,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-visual .phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-light));
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow), 0 0 60px rgba(0,212,255,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: var(--bg-dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 20px;
}

.phone-screen {
  flex: 1;
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-card {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  height: 70px;
  border: 1px solid var(--border);
}

.screen-card-lg {
  height: 140px;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(123,97,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,212,255,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  border: 1px solid rgba(0,212,255,0.12);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* Steps */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}

.step-item:hover {
  border-color: rgba(0,212,255,0.2);
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}

.step-content h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

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

/* Download CTA */
.download-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(123,97,255,0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.download-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-section p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-main);
  color: var(--bg-dark);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.play-badge:hover {
  transform: scale(1.05);
  color: var(--bg-dark);
}

.play-badge svg {
  width: 28px;
  height: 28px;
}

.play-badge div {
  text-align: left;
  line-height: 1.2;
}

.play-badge small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.play-badge strong {
  font-size: 1.1rem;
  display: block;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Content pages (policy, terms, about) */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-muted);
}

.content-body {
  max-width: 800px;
  margin: 0 auto 80px;
}

.content-body h2 {
  font-size: 1.4rem;
  margin: 36px 0 16px;
  color: var(--text-main);
}

.content-body h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
  color: var(--text-muted);
}

.content-body p,
.content-body li {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.content-body ul,
.content-body ol {
  margin: 12px 0 24px 20px;
}

.content-body li {
  margin-bottom: 8px;
}

.content-body strong {
  color: var(--text-main);
}

.content-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.last-updated {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 8px;
}

/* About page extras */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card span {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.contact-item .icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Floating download button */
.fab-download {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,212,255,0.35);
  transition: transform 0.3s ease;
}

.fab-download:hover {
  transform: scale(1.1) rotate(-5deg);
  color: white;
}

/* Mobile */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    order: -1;
  }
  .features-grid,
  .stats-bar,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid,
  .contact-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .features-grid,
  .stats-bar,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
}
