/* ===== LOGO IMAGES ===== */
.nav-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
}
.hero-mainlogo {
  height: 100px;
  width: auto;
  margin-bottom: 24px;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* ===== VARIABLES (from FFF colors.js) ===== */
:root {
  --bg-primary: #0a1628;
  --bg-card: #0d1f3c;
  --bg-card-elevated: #112040;
  --accent: #4A9EFF;
  --accent-dark: #2563eb;
  --accent-light: #7DBEFF;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #4A5568;
  --border: rgba(74, 158, 255, 0.15);
  --border-bright: rgba(74, 158, 255, 0.35);
  --success: #22c55e;
  --font-heading: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== UTILITIES ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.1;
}
.hidden { display: none !important; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  color: #fff;
}
.logo-icon.small { width: 32px; height: 32px; font-size: 0.75rem; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.nav-cta {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -100px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,158,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { flex: 1; max-width: 520px; }
.hero-badge {
  display: inline-block;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid var(--border-bright);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 8vw, 7rem);
  letter-spacing: 4px;
  line-height: 0.95;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 60%, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ===== PHONE MOCKUPS (real screenshots) ===== */
.hero-phones {
  flex: 1;
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-frame {
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid var(--border-bright);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.mockup-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mockup-frame.large {
  border-radius: 36px;
  border: 2px solid var(--accent);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(74,158,255,0.2);
}
.mockup-phone { position: absolute; }
.mockup-phone .mockup-frame { width: 200px; height: 420px; }

.mockup-left {
  transform: rotate(-10deg) translateX(-130px) translateY(20px);
  opacity: 0.6;
  z-index: 1;
}
.mockup-center {
  transform: rotate(0deg);
  z-index: 3;
}
.mockup-center .mockup-frame {
  width: 230px;
  height: 480px;
  border-color: var(--accent);
  box-shadow: 0 50px 100px rgba(0,0,0,0.7), 0 0 50px rgba(74,158,255,0.25);
}
.mockup-right {
  transform: rotate(10deg) translateX(130px) translateY(20px);
  opacity: 0.6;
  z-index: 1;
}

/* ===== DEMO VIDEO ===== */
.demo {
  padding: 100px 0;
  background: var(--bg-card);
}
.demo-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -32px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.video-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-bright);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 40px rgba(74,158,255,0.1);
  aspect-ratio: 16 / 9;
  position: relative;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


.screens {
  padding: 100px 0;
  background: var(--bg-primary);
}
.screens-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -32px;
  margin-bottom: 56px;
  font-size: 1.05rem;
}
.screens-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.screens-featured {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.featured-phone .mockup-frame {
  width: 260px;
  height: 540px;
}
.featured-info {
  max-width: 340px;
}
.featured-info h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--accent-light);
  transition: all 0.3s ease;
}
.featured-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  transition: all 0.3s ease;
}
.featured-phone .mockup-frame img {
  transition: opacity 0.15s ease;
}

.screens-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: 900px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.screens-thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.thumb:hover { transform: translateY(-4px); }
.thumb img {
  width: 80px;
  height: 160px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  border: 2px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.thumb span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s;
}
.thumb.active img {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(74,158,255,0.4);
}
.thumb.active span { color: var(--accent-light); }

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-card) 100%);
  text-align: center;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.pain-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.pain-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.pain-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.pain-card p { color: var(--text-secondary); font-size: 0.95rem; }
.problem-statement {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--accent-light);
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--bg-card);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-icon-wrap { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 0;
  background: var(--bg-primary);
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
}
.step-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  letter-spacing: 3px;
  color: var(--accent);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.step p { color: var(--text-secondary); font-size: 0.95rem; }
.step-arrow {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.5;
  padding-top: 24px;
}

/* ===== WAITLIST ===== */
.waitlist {
  padding: 100px 0;
  background: var(--bg-card);
}
.waitlist-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-primary);
  border: 1px solid var(--border-bright);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.waitlist-glow {
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74,158,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.waitlist-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.waitlist-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-input {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-muted); }
.form-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.success-msg {
  margin-top: 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 500;
}
.error-msg {
  margin-top: 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 80px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.6s ease both; }
.hero-badge { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.2s; }
.hero-sub { animation-delay: 0.35s; }
.btn-primary { animation-delay: 0.5s; }
.hero-phones { animation: fadeUp 0.8s ease 0.3s both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 110px 24px 60px;
  }
  .hero-phones {
    height: 340px;
    width: 100%;
  }
  .mockup-left { transform: rotate(-8deg) translateX(-90px) translateY(10px); }
  .mockup-right { transform: rotate(8deg) translateX(90px) translateY(10px); }
  .mockup-phone .mockup-frame { width: 150px; height: 310px; }
  .mockup-center .mockup-frame { width: 170px; height: 350px; }
  .screens-featured { flex-direction: column; gap: 32px; }
  .featured-phone .mockup-frame { width: 220px; height: 460px; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .footer { flex-direction: column; text-align: center; padding: 32px 24px; }
  .waitlist-card { padding: 40px 24px; }
  .nav { padding: 14px 20px; }
}