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

:root {
  /* Matches repo color system */
  --bg: #0A0A0A;
  --bg-card: #121212;
  --bg-elevated: #1a1a1a;
  --gold: #E5A61C;
  --gold-light: #FFB612;
  --gold-dark: #D4950A;
  --gradient-gold: linear-gradient(135deg, #FFB612 0%, #D4950A 100%);
  --shadow-gold: 0 4px 20px rgba(229, 166, 28, 0.25);
  --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.4);
  --text: #EDE8DD;
  --text-muted: #8a8a8a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(229, 166, 28, 0.3);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.12em;
}

.nav-cta {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gradient-gold);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1920&q=80')
    center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.80) 55%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-pill);
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tagline strong {
  color: var(--gold);
  font-weight: 600;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--gradient-gold);
  color: var(--bg);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 166, 28, 0.35);
}

.btn-hero svg {
  transition: transform var(--transition);
}

.btn-hero:hover svg {
  transform: translateX(4px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== Features ===== */
.features {
  padding: 7rem 0;
  background: var(--bg);
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(229, 166, 28, 0.1);
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

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

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 5rem 0;
  background: var(--bg);
}

.cta-banner-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
}

.cta-banner-inner h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.cta-banner-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Signup Form ===== */
.signup {
  padding: 4rem 0 5rem;
  background: var(--bg);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.interest-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.2rem;
}

.form-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.form-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.1em;
}

.form-group label .optional {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0;
  opacity: 0.5;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  transition: var(--transition);
  outline: none;
}

.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
  min-height: 60px;
}

.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229, 166, 28, 0.12);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229, 166, 28, 0.12);
}

/* Chip Selectors */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.chip:hover {
  border-color: var(--border-hover);
  background: rgba(229, 166, 28, 0.06);
  color: var(--text);
}

.chip.active {
  background: var(--gradient-gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

/* Submit Button */
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.75rem 2rem;
  background: var(--gradient-gold);
  color: var(--bg);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.25rem;
  box-shadow: var(--shadow-gold);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 166, 28, 0.35);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-arrow {
  transition: transform var(--transition);
}

.submit-button:hover .btn-arrow {
  transform: translateX(4px);
}

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 2rem;
  animation: fadeInUp 0.6s ease;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(229, 166, 28, 0.1);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.success-message h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.success-message p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.footer-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.footer-links {
  margin: 1rem 0;
}

.footer-links a {
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .features,
  .signup {
    padding: 4.5rem 0;
  }

  .signup {
    padding-bottom: 5rem;
  }

  .interest-form {
    padding: 1.75rem;
  }

  .cta-banner-inner {
    padding: 3rem 1.5rem;
  }

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

  .btn-hero,
  .btn-hero-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }

  .badge {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .nav-brand {
    font-size: 0.9rem;
  }
}
