/* ─── ROOT & GLOBALS ─── */
:root {
  --navy: #050b14;
  --navy-lt: #0a1628;
  --blue: #2962ff;
  --cyan: #00b0ff;
  --warn: #ff9100;
  --ok: #00e676;
  --white: #ffffff;
  --white10: rgba(255,255,255,0.1);
  --white30: rgba(255,255,255,0.3);
  --white70: rgba(255,255,255,0.7);
  --white90: rgba(255,255,255,0.9);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--white70);
}

/* ─── LAYOUT & CONTAINER ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 24px;
  position: relative;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5,11,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s, backdrop-filter .3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  font-family: 'Space Grotesk', sans-serif;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-text span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--white70);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width .3s;
}

.nav-links a:not(.nav-cta).active::after,
.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--white) !important;
  font-weight: 600;
  transition: opacity .2s, transform .2s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ─── BETA BANNER ─── */
#beta-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(90deg, #1a0a00, #3d1a00, #1a0a00);
  border-bottom: 1px solid rgba(255,145,0,0.35);
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--warn);
  letter-spacing: 0.2px;
}

#beta-banner strong {
  font-weight: 700;
  color: #ffb74d;
}

#beta-banner .banner-pill {
  background: rgba(255,145,0,0.15);
  border: 1px solid rgba(255,145,0,0.4);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#beta-banner .banner-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255,145,0,0.5);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color .2s;
}

#beta-banner .banner-close:hover {
  color: var(--warn);
}

body.has-banner nav {
  top: 38px;
}

body.has-banner {
  padding-top: 38px;
}

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

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  color: var(--white70);
}

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

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all .3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(41,98,255,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(41,98,255,0.4);
}

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

.btn-secondary:hover {
  background: var(--white20);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white30);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: var(--white30);
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--white30);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ─── SECTION STYLES ─── */
.section-tag {
  display: inline-block;
  background: rgba(0,176,255,0.1);
  border: 1px solid rgba(0,176,255,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 24px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ─── SCREENSHOTS CAROUSEL ─── */
#screenshots {
  padding: 100px 24px;
  overflow: hidden;
}

#screenshots .section-desc {
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  width: 220px;
}

.slide-phone {
  width: 220px;
  height: 420px;
  background: linear-gradient(135deg, #0d1f3c, #1a2f5a);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
  gap: 8px;
  transition: transform .3s, box-shadow .3s;
}

.carousel-slide.active .slide-phone {
  transform: scale(1.05);
  box-shadow: 0 40px 80px rgba(41,98,255,0.35), 0 0 0 1px rgba(0,176,255,0.2);
}

.slide-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: rgba(0,0,0,0.5);
  border-radius: 3px;
}

.slide-screen {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.slide-label {
  text-align: center;
  font-size: 12px;
  color: var(--white30);
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 0.3px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white70);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}

.carousel-btn:hover {
  background: rgba(0,176,255,0.15);
  border-color: rgba(0,176,255,0.4);
  color: var(--cyan);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.carousel-dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}

/* ─── COUNTDOWN ─── */
.countdown-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.countdown-unit {
  text-align: center;
  min-width: 72px;
}

.countdown-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 11px;
  color: var(--white30);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

.countdown-sep {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: rgba(0,176,255,0.3);
  line-height: 1.1;
  align-self: flex-start;
  padding-top: 4px;
}

/* ─── WAITLIST ─── */
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px;
  padding: 14px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color .2s, background .2s;
}

.waitlist-input::placeholder {
  color: var(--white30);
}

.waitlist-input:focus {
  border-color: rgba(0,176,255,0.5);
  background: rgba(0,176,255,0.06);
}

.waitlist-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.waitlist-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.waitlist-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.waitlist-success {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--ok);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  justify-content: center;
}

.waitlist-count {
  font-size: 12px;
  color: var(--white30);
  margin-top: 12px;
  text-align: center;
}

/* ─── REVIEWS ─── */
#reviews {
  padding: 100px 24px;
  background: linear-gradient(180deg, transparent, rgba(41,98,255,0.03), transparent);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: transform .3s, border-color .3s;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,176,255,0.2);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.review-stars span {
  font-size: 16px;
}

.review-text {
  font-size: 14px;
  color: var(--white70);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.review-text::before {
  content: '"';
  color: var(--cyan);
  font-size: 28px;
  font-style: normal;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.review-role {
  font-size: 12px;
  color: var(--white30);
  margin-top: 2px;
}

.review-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ok);
}

/* ─── SHARE BUTTON ─── */
#share-bar {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.share-tooltip {
  background: rgba(5,11,20,0.95);
  border: 1px solid rgba(0,176,255,0.3);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
}

.share-tooltip.show {
  opacity: 1;
  transform: translateX(0);
}

.share-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(41,98,255,0.4);
  transition: transform .25s, box-shadow .25s;
}

.share-fab:hover {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 12px 32px rgba(41,98,255,0.55);
}

.share-fab svg {
  width: 22px;
  height: 22px;
}

/* ─── FOOTER ─── */
footer {
  padding: 60px 24px 32px;
  background: var(--navy-lt);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-store-mini {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-store-link {
  background: var(--white10);
  border: 1px solid var(--white20);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.footer-store-link:hover {
  background: var(--white20);
  border-color: var(--white30);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white70);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* ─── UTILITIES ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  #hero {
    padding: 140px 20px 80px;
  }

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

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  section {
    padding: 70px 20px;
  }

  footer {
    padding: 32px 20px;
  }

  .carousel-slide {
    width: 180px;
  }

  .slide-phone {
    width: 180px;
    height: 360px;
  }

  .countdown-strip {
    gap: 16px;
  }

  .countdown-unit {
    min-width: 60px;
  }

  .countdown-num {
    font-size: 32px;
  }

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

  #share-bar {
    bottom: 20px;
    right: 20px;
  }

  .share-fab {
    width: 48px;
    height: 48px;
  }

  .share-fab svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    width: 160px;
  }

  .slide-phone {
    width: 160px;
    height: 320px;
  }

  .carousel-controls {
    gap: 12px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .countdown-strip {
    gap: 12px;
  }

  .countdown-unit {
    min-width: 50px;
  }

  .countdown-num {
    font-size: 28px;
  }

  .countdown-label {
    font-size: 10px;
  }
}
