/* Fonts */
@font-face {
  font-family: 'Bungee';
  src: url('../fonts/Bungee-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSans';
  src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSans';
  src: url('../fonts/NotoSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSans';
  src: url('../fonts/NotoSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSans';
  src: url('../fonts/NotoSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

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

:root {
  --bg-primary: #0A0E1A;
  --bg-secondary: #121829;
  --accent: #22C55E;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --border: #2A3558;
  --gold: #FCD34D;
  --purple: #8B5CF6;
  --orange: #F97316;
  --red: #EF4444;
  --amber: #F59E0B;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'NotoSans', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 53, 88, 0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo span {
  font-family: 'Bungee', cursive;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.nav-logo .drift {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
  opacity: 1;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 10rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 2rem;
  box-shadow: 0 0 60px rgba(34, 197, 94, 0.15);
}

.hero h1 {
  font-family: 'Bungee', cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.download-buttons img {
  height: 52px;
  transition: transform 0.2s;
}
.download-buttons img:hover {
  transform: translateY(-2px);
}

/* Features */
.features {
  padding: 5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.features h2 {
  font-family: 'Bungee', cursive;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent);
}

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

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

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

/* Page layout (legal / support pages) */
.page {
  max-width: 740px;
  margin: 0 auto;
  padding: 7rem 2rem 4rem;
}

.page h1 {
  font-family: 'Bungee', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page .effective-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page p, .page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.page ul, .page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page strong {
  color: var(--text-primary);
}

/* Support page specifics */
.support-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.support-card h3 {
  margin-top: 0;
  color: var(--text-primary);
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    padding: 0.75rem 1rem;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .hero {
    padding: 5rem 1.5rem 3rem;
  }
  .hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }
  .features {
    padding: 3rem 1.5rem;
  }
  .page {
    padding: 5.5rem 1.25rem 3rem;
  }
}
