/* CSS Variables - Design System from Figma */
:root {
  --bg-primary: #0c0c11;
  --bg-secondary: #1a1a24;
  --bg-card: #16161f;
  --accent: #3e6eff;
  --accent-hover: #5580ff;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #a5a5aa;
  --radius-button: 12px;
  --radius-card: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(62, 110, 255, 0.15) 0%, transparent 60%);
}

.hero-content {
  max-width: 700px;
}

.logo {
  margin-bottom: 32px;
}

.logo svg {
  filter: drop-shadow(0 0 40px rgba(62, 110, 255, 0.4));
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: var(--radius-button);
  color: var(--text-primary);
  transition: all 0.2s ease;
  text-decoration: none;
}

.store-button:hover {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.store-button svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-button span {
  text-align: left;
  line-height: 1.3;
}

.store-button small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.store-button span:not(small) {
  font-size: 16px;
  font-weight: 600;
}

/* Coming Soon Button State */
.store-button.coming-soon {
  position: relative;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.store-button.coming-soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: var(--bg-secondary);
}

.coming-soon-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(238, 90, 90, 0.4);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.features h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

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

.feature-card:hover {
  border-color: rgba(62, 110, 255, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(62, 110, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 60px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta > .container > p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 40px;
}

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

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

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

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

/* Legal Pages */
.legal-page {
  padding: 80px 0;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 800px;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.legal-header .last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.back-link:hover {
  color: var(--text-primary);
}

/* Support Page */
.support-page .contact-email {
  font-size: 1.25rem;
  margin: 24px 0;
}

.support-page .contact-email a {
  color: var(--accent);
  font-weight: 600;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-button);
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.faq-item p,
.faq-item ul {
  color: var(--text-muted);
  margin-bottom: 0;
}

.faq-item ul {
  margin-top: 12px;
}

.support-button {
  display: inline-block;
  background: var(--accent);
  color: var(--text-primary) !important;
  padding: 14px 32px;
  border-radius: var(--radius-button);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.support-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .features,
  .how-it-works,
  .cta {
    padding: 60px 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
