/* ========================================
   Travel Datings — Landing Page Styles
   ======================================== */

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

:root {
  --bg-dark: #0A0A1A;
  --bg-card: #141428;
  --bg-card-hover: #1C1C3A;
  --accent: #D7FF81;
  --accent-dark: #B8E05C;
  --text-white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.4);
  --purple: #1E1145;
  --pink: #EC4899;
  --green: #6ABF4B;
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--text-white);
  opacity: 1;
}

.navbar-links a.navbar-cta {
  background: var(--accent);
  color: #000000;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}

.navbar-links a.navbar-cta:hover {
  background: var(--accent-dark);
  color: #000000;
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  margin: 6px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(215, 255, 129, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(215, 255, 129, 0.1);
  border: 1px solid rgba(215, 255, 129, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

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

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-white);
  color: var(--bg-dark);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(215, 255, 129, 0.15);
  opacity: 1;
}

.store-btn svg {
  width: 24px;
  height: 24px;
}

.store-btn .store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn .store-label small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
}

.hero-visual {
  flex: 0 0 360px;
  position: relative;
}

.hero-screenshot {
  width: 340px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(215, 255, 129, 0.08);
}

/* ========================================
   Features
   ======================================== */
.features {
  padding: 100px 24px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(215, 255, 129, 0.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 255, 129, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(215, 255, 129, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  padding: 100px 24px;
  background: linear-gradient(180deg, transparent, rgba(30, 17, 69, 0.3), transparent);
}

.steps-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 24px;
}

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

.step p {
  color: var(--text-muted);
  font-size: 15px;
}

.step-connector {
  position: absolute;
  top: 32px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: rgba(215, 255, 129, 0.3);
}

.step:last-child .step-connector {
  display: none;
}

/* ========================================
   Download CTA
   ======================================== */
.download-cta {
  padding: 100px 24px;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--purple), #2D1B69);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(215, 255, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 36px;
}

.cta-box .store-buttons {
  justify-content: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 60px 24px 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-white);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ========================================
   Mobile Bottom Bar
   ======================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  padding-bottom: env(safe-area-inset-bottom, 8px);
}

.mobile-bottom-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 16px;
  transition: color 0.2s;
}

.bottom-bar-item:hover,
.bottom-bar-item.active {
  color: var(--accent);
  opacity: 1;
}

.bottom-bar-item svg {
  width: 22px;
  height: 22px;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-page {
  padding: 120px 24px 100px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-container h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--accent);
}

.legal-container h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.legal-container p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

.legal-container ul {
  list-style: none;
  margin: 12px 0 24px;
}

.legal-container ul li {
  color: var(--text-muted);
  font-size: 15px;
  padding: 6px 0 6px 24px;
  position: relative;
}

.legal-container ul li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.legal-container strong {
  color: var(--text-white);
}

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

.legal-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 14px;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-visual {
    flex: 0 0 280px;
  }

  .hero-screenshot {
    width: 280px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
    font-size: 16px;
  }

  .store-buttons {
    justify-content: center;
  }

  .hero-visual {
    flex: none;
  }

  .hero-screenshot {
    width: 260px;
    margin: 0 auto;
    display: block;
  }

  .features {
    padding: 60px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .how-it-works {
    padding: 60px 20px;
  }

  .steps-container {
    flex-direction: column;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }

  .download-cta {
    padding: 60px 20px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .cta-box h2 {
    font-size: 28px;
  }

  .footer {
    padding: 40px 20px 120px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .legal-page {
    padding: 100px 20px 120px;
  }

  .legal-container h1 {
    font-size: 28px;
  }
}
