/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #818cf8;
  --primary-dark: #6366f1;
  --secondary: #f97316;
  --bg: #0f1117;
  --bg-card: #1a1d27;
  --bg-section: #13161f;
  --text: #f1f5f9;
  --text-light: #94a3b8;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-color: rgba(255, 255, 255, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== UTILITY ===== */
.gradient-text {
  background: linear-gradient(135deg, #6c63ff, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-block;
  background: rgba(108, 99, 255, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(108, 99, 255, 0.08);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-light);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  background: transparent;
}

/* ===== NAV LINKS (desktop) ===== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
}

/* ===== HAMBURGER (hidden on desktop) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 40px;
  position: relative;
  background: linear-gradient(180deg, #0f1117 0%, #1a1d27 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.hero-text p {
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  justify-content: center;
}

.hero-text .badge {
  background: rgba(108, 99, 255, 0.12);
}

.hero-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(108, 99, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 30px;
  fill: #13161f;
}

/* ===== FEATURES ===== */
.features {
  padding: 40px 0 80px;
  background: var(--bg-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.feature-icon {
  background: rgba(108, 99, 255, 0.08);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 0;
  background: var(--bg);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  background: var(--bg-card);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  text-align: center;
  flex: 1 1 220px;
  max-width: 280px;
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-6px);
}

.step-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 8px;
}

.step-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.step-arrow {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.5;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 80px 0;
  background: linear-gradient(135deg, #090b10, #13161f);
  color: var(--white);
}

.download-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.download-content p {
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  justify-content: center;
}

.download-note {
  justify-content: center;
}

.download-content .badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.download-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 480px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* ===== DOWNLOAD BUTTONS ===== */
.btn-download {
  background: #1a1d27;
  color: var(--white);
  padding: 10px 24px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.btn-download i {
  font-size: 2rem;
  color: var(--white);
}

.btn-download div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-download span {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.7;
  color: var(--white);
}

.btn-download strong {
  font-size: 1rem;
  color: var(--white);
}

.btn-download:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.btn-download-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-download-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.download-note {
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background: #090b10;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #94a3b8;
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: #64748b;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .download-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-content h2 {
    font-size: 2rem;
  }
  .download-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }
  .download-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .download-note {
    justify-content: center;
  }
  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .section-header p {
    font-size: 1rem;
  }
}

/* ===== MOBILE NAV (hamburger activated on 768px and below) ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;                     /* hidden by default */
    flex-direction: column;
    background: var(--bg-card);
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-color);
    align-items: center;
  }

  .nav-links.open {
    display: flex;                     /* shown when hamburger clicked */
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 8px 0;
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .hamburger {
    display: flex;                     /* hamburger appears on mobile */
  }
}

/* ===== CHECK ICON ===== */
.check-icon {
  color: #34d399;
}

/* ===== EXTRA MOBILE ENHANCEMENTS ===== */
.btn, .nav-links a, .hamburger, .footer-social a {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 30px;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p {
    font-size: 0.95rem;
  }
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  .download-content h2 {
    font-size: 1.6rem;
  }
  .download-content p {
    font-size: 0.95rem;
  }
  .btn-download {
    width: 100%;
    justify-content: center;
  }
  .btn-download i {
    font-size: 1.5rem;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .section-header p {
    font-size: 0.9rem;
  }
  .feature-card {
    padding: 24px 16px;
  }
  .feature-card h3 {
    font-size: 1.1rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }
  .step {
    max-width: 100%;
    width: 100%;
  }
  .footer-grid {
    gap: 24px;
  }
  .footer-brand p {
    font-size: 0.85rem;
  }
  .footer-links h4 {
    font-size: 0.9rem;
  }
  .footer-links ul a {
    font-size: 0.8rem;
  }
}