/* ============================================================
   Final Approach — Landing Page Styles
   Brand: #0057d9 (blue), #f5a623 (orange)
   ============================================================ */

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

:root {
  --blue-900: #001d4a;
  --blue-800: #003080;
  --blue-700: #0042a8;
  --blue-600: #0052cc;
  --blue-500: #0057d9;
  --blue-400: #3d85e0;
  --blue-300: #6ba3e8;
  --blue-200: #a5c8f0;
  --blue-100: #dce9f7;
  --blue-50: #f0f5fc;
  --orange-500: #f5a623;
  --orange-400: #f7b84d;
  --orange-600: #e09200;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--blue-700); }

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

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

/* ─── Scroll Animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ─── Navigation ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo span {
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-800);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--blue-500);
}
.nav-cta {
  background: var(--blue-500);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--blue-600);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-50) 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,87,217,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 560px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 87, 217, 0.08);
  color: var(--blue-600);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '✈';
  font-size: 14px;
}
.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero h1 .highlight-orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0, 87, 217, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 87, 217, 0.4);
  color: var(--white);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--gray-700);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--blue-300);
  color: var(--blue-600);
}

/* Hero phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--gray-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 6px var(--gray-700);
  position: relative;
  overflow: hidden;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: var(--gray-900);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 40%);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
}
.phone-screen img {
  width: 80px;
  opacity: 0.9;
}
.phone-screen .app-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--blue-800);
}
.phone-screen .app-tagline {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}
/* Floating decorative elements */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  animation: float 4s ease-in-out infinite;
}
.hero-float.float-1 {
  top: 15%;
  right: -40px;
  animation-delay: 0s;
}
.hero-float.float-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: 1.5s;
}
.hero-float .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.hero-float .icon.blue { background: rgba(0,87,217,0.1); }
.hero-float .icon.orange { background: rgba(245,166,35,0.1); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--blue-500);
  letter-spacing: -1px;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 4px;
}

/* ─── Features ───────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--gray-50);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--gray-900);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-icon.blue { background: rgba(0,87,217,0.08); }
.feature-icon.orange { background: rgba(245,166,35,0.08); }
.feature-icon.green { background: rgba(22,163,106,0.08); }
.feature-icon.purple { background: rgba(139,92,246,0.08); }
.feature-icon.red { background: rgba(239,68,68,0.08); }
.feature-icon.teal { background: rgba(20,184,166,0.08); }
.feature-card h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── Screenshots / App Preview ──────────────────────────── */
.preview {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}
.preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.preview-phones {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.preview-phone {
  width: 220px;
  height: 440px;
  background: var(--gray-100);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--gray-200);
}
.preview-phone:nth-child(2) {
  margin-top: 40px;
}
.preview-text h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 36px);
  color: var(--gray-900);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.preview-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(22,163,106,0.1);
  color: #16a36a;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Pricing ────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  border: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.price-card.featured .price-label {
  color: var(--blue-200);
}
.price-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 12px;
}
.price-amount {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -2px;
  margin-bottom: 4px;
}
.price-amount .suffix {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
.price-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.price-card.featured .price-desc {
  color: var(--blue-200);
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
}
.price-features li {
  font-size: 14px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-features li::before {
  content: '✓';
  color: var(--blue-500);
  font-weight: 700;
}
.price-card.featured .price-features li::before {
  color: var(--orange-400);
}
.price-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--blue-500);
  color: var(--blue-500);
  transition: all var(--transition);
  cursor: pointer;
}
.price-btn:hover {
  background: var(--blue-500);
  color: var(--white);
}
.price-card.featured .price-btn {
  background: var(--orange-500);
  color: var(--white);
  border-color: var(--orange-500);
}
.price-card.featured .price-btn:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: var(--white);
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 70%);
}
.cta h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  position: relative;
}
.cta p {
  font-size: 18px;
  color: var(--blue-200);
  margin-bottom: 32px;
  position: relative;
}
.cta .btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
  font-size: 16px;
  padding: 16px 36px;
}
.cta .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.5);
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 32px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
}
.footer-col h4 {
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-600);
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--gray-300); }

/* ─── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
  }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .hero-float { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .preview-content { grid-template-columns: 1fr; text-align: center; }
  .preview-phones { order: -1; }
  .check-list { align-items: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── Legal Pages ────────────────────────────────────────── */
.legal {
  padding: 120px 0 80px;
}
.legal h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.legal .last-updated {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 40px;
}
.legal h2 {
  font-weight: 700;
  font-size: 20px;
  color: var(--gray-800);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal p, .legal ul {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal ul {
  padding-left: 24px;
}
.legal li {
  margin-bottom: 8px;
}
