/* ═══════════════════════════════════════
   Omni Landing Page — Global Styles
   Colors matched from Flutter app:
   Primary Blue: #4DA6FF
   Deep Sea Blue: #0055AA
   Font: Outfit
   ═══════════════════════════════════════ */

:root {
  --primary-blue: #4DA6FF;
  --deep-sea-blue: #0055AA;
  --surface-dark: #0A1A2F;
  --surface-darker: #060F1A;
  --text-light: #F0F4F8;
  --text-muted: rgba(240, 244, 248, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--surface-dark);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ═══ Navigation ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 26, 47, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
  font-size: 28px;
  font-weight: 900;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  background: var(--primary-blue) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: #3d96ef !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(77, 166, 255, 0.3);
}

/* ═══ Hero Section ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--surface-dark) 0%, #0d2240 50%, var(--deep-sea-blue) 100%);
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-blue);
  top: -200px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--deep-sea-blue);
  bottom: -150px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #7BC4FF;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation: pulse 6s ease-in-out infinite;
}

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

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.25; }
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  margin-right: 60px;
}

.hero-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue), #7BC4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 460px;
  font-weight: 400;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--surface-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--glass-bg);
  color: white;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ═══ Phone Mockup ═══ */
.hero-phone {
  z-index: 2;
  flex-shrink: 0;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-sea-blue));
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-sea-blue));
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 60px;
}

.status-icons {
  display: flex;
  gap: 4px;
}

.signal, .wifi, .battery {
  width: 16px;
  height: 10px;
  background: white;
  border-radius: 2px;
  opacity: 0.7;
}

.battery { border-radius: 3px; width: 22px; }

.phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8px;
}

.phone-welcome {
  font-size: 28px;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 8px;
}

.phone-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.phone-input-placeholder {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 12px;
}

.phone-input-placeholder.short {
  width: 60%;
  height: 48px;
}

.phone-button {
  width: 100%;
  height: 52px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-sea-blue);
  font-weight: 700;
  font-size: 15px;
  margin-top: 12px;
}

/* ═══ Features Section ═══ */
.features {
  padding: 120px 0;
  background: var(--surface-darker);
  position: relative;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 64px;
  font-weight: 400;
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 36px 28px;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(77, 166, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 85, 170, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-sea-blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

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

/* ═══ About Section ═══ */
.about {
  padding: 120px 0;
  background: var(--surface-dark);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ═══ Download Section ═══ */
.download {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--deep-sea-blue), #0040A0, var(--primary-blue));
  text-align: center;
}

.download .section-title {
  margin-bottom: 16px;
}

.download .section-subtitle {
  margin-bottom: 48px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.store-badge:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.store-badge-small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  text-align: left;
}

.store-badge-big {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-align: left;
}

/* ═══ Footer ═══ */
.footer {
  padding: 40px 0;
  background: var(--surface-darker);
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 14px;
}

/* ═══ Responsive ═══ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 24px 60px;
  }

  .hero-content {
    margin-right: 0;
    margin-bottom: 60px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .phone-mockup {
    transform: none;
    width: 240px;
    height: 500px;
  }

  .phone-mockup:hover {
    transform: none;
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-title {
    font-size: 42px;
  }

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

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

  .about-stats {
    gap: 32px;
  }
}

/* ═══ Scroll Animations ═══ */
.feature-card,
.about-text,
.download-buttons {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.about-text.visible,
.download-buttons.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
