/* ==========================================================================
   REEL SIMPLE — MODERN CLEAN DESIGN SYSTEM
   Brand Colors: Teal (#00D2C4) & Obsidian (#090D10)
   Units: 100% REM for responsive scaling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Dark Theme (Default) */
  --bg-base: #090D10;
  --bg-surface: #0E1419;
  --bg-card: #131B21;
  --bg-card-hover: #18222A;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 210, 196, 0.35);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #090D10;

  --accent-teal: #00D2C4;
  --accent-teal-dark: #00A89D;
  --accent-teal-glow: rgba(0, 210, 196, 0.3);
  --accent-cyan: #00E5FF;
  --accent-purple: #B026FF;

  --glass-bg: rgba(14, 20, 25, 0.9);
  --glass-border: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
  --shadow-md: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.6);

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 999rem;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: 250ms ease;
}

/* Light Theme */
html[data-theme='light'] {
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --border-accent: rgba(8, 145, 178, 0.4);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --accent-teal: #0891B2;
  --accent-teal-dark: #0E7490;
  --accent-teal-glow: rgba(8, 145, 178, 0.2);

  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(15, 23, 42, 0.08);
}

/* --- 2. BASE RESETS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* --- 3. LAYOUT & CONTAINER --- */
.container {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 1;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(75rem, 100vw);
  height: 40rem;
  background: radial-gradient(circle, var(--accent-teal-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(5rem);
  opacity: 0.65;
}

/* --- 4. NAVIGATION HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.75rem;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(1.25rem);
  -webkit-backdrop-filter: blur(1.25rem);
  border-bottom: 1px solid var(--glass-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 1.25rem var(--accent-teal-glow);
}

.brand-name span {
  color: var(--accent-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle-btn:hover {
  color: var(--accent-teal);
  border-color: var(--border-accent);
}

.theme-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-toggle-btn {
  display: none;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
}

.menu-toggle-btn svg {
  width: 1.375rem;
  height: 1.375rem;
}

.mobile-drawer {
  position: fixed;
  top: 4.75rem;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
  color: var(--accent-teal);
}

/* --- 5. BUTTONS & PLAY STORE BADGES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-teal);
  color: var(--text-inverse);
  box-shadow: 0 0.25rem 1.25rem var(--accent-teal-glow);
  padding: 0.875rem 1.75rem;
}

.btn-primary:hover {
  background: var(--accent-teal-dark);
  transform: translateY(-0.125rem);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  height: 3.75rem;
  padding: 0 1.75rem;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-0.125rem);
}

/* Google Play Store Badge System */
.playstore-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}

.playstore-badge-link:hover {
  transform: translateY(-0.125rem) scale(1.02);
  filter: drop-shadow(0 0.5rem 1.5rem var(--accent-teal-glow));
}

/* Hero & CTA Badge (Large & Prominent) */
.hero-badge-link,
.cta-badge-link {
  height: 3.75rem;
  overflow: visible;
}

.hero-badge-img,
.cta-badge-img {
  height: 15rem;
  width: auto;
  max-width: none;
  display: block;
}

/* Header Navbar Badge */
.header-badge-link {
  height: 2.75rem;
  overflow: visible;
}

.header-badge-img {
  height: 11rem;
  width: auto;
  max-width: none;
  display: block;
}

/* Drawer Badge */
.drawer-badge-link {
  height: 3.75rem;
  overflow: visible;
  margin: 0.5rem 0;
}

.drawer-badge-img {
  height: 15rem;
  width: auto;
  max-width: none;
  display: block;
}

/* --- 6. HERO SECTION --- */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 6rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 210, 196, 0.1);
  color: var(--accent-teal);
  border: 1px solid var(--border-accent);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent-teal);
  border-radius: 50%;
  box-shadow: 0 0 0.625rem var(--accent-teal);
}

.hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

.hero-description {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent-teal);
  flex-shrink: 0;
}

/* --- 7. LARGE PHONE MOCKUPS --- */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-mockup-glow {
  position: absolute;
  width: 25rem;
  height: 42rem;
  background: radial-gradient(circle, var(--accent-teal-glow) 0%, var(--accent-purple) 60%, transparent 80%);
  filter: blur(4rem);
  z-index: 0;
  opacity: 0.6;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24rem;
  background: #080C0E;
  border: 0.375rem solid #222D36;
  border-radius: 3rem;
  padding: 0.625rem;
  box-shadow: var(--shadow-lg), 0 0 2.5rem var(--accent-teal-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition);
}

.phone-frame:hover {
  transform: translateY(-0.5rem);
}

.phone-notch {
  width: 6.5rem;
  height: 1.25rem;
  background: #11171C;
  border-radius: var(--radius-full);
  margin: 0 auto 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.notch-camera {
  width: 0.5rem;
  height: 0.5rem;
  background: #050709;
  border-radius: 50%;
}

.phone-screen-img {
  width: 100%;
  height: auto;
  border-radius: 2.25rem;
  object-fit: cover;
  display: block;
}

/* --- 8. FEATURE SECTIONS --- */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}

.section-tag {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.showcase-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.showcase-row.reverse .showcase-content {
  order: 2;
}

.showcase-row.reverse .dual-phone-grid,
.showcase-row.reverse .showcase-phone-wrapper {
  order: 1;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.feature-chip {
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.showcase-phone-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.showcase-phone-frame {
  width: 100%;
  max-width: 23rem;
  background: #080C0E;
  border: 0.3125rem solid #222D36;
  border-radius: 2.75rem;
  padding: 0.625rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition);
}

.showcase-phone-frame:hover {
  transform: translateY(-0.375rem);
}

.showcase-phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 2.125rem;
  object-fit: cover;
  display: block;
}

.dual-phone-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.dual-phone-grid .showcase-phone-frame {
  max-width: 18.5rem;
}

/* --- 9. APP TOUR GALLERY --- */
.app-gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}

.gallery-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.gallery-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.gallery-tab-btn.active {
  background: var(--accent-teal);
  color: var(--text-inverse);
  border-color: var(--accent-teal);
  box-shadow: 0 0.25rem 1.25rem var(--accent-teal-glow);
}

.gallery-display-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gallery-slide {
  display: none;
  animation: fadeIn 300ms ease-out forwards;
  width: 100%;
  justify-content: center;
}

.gallery-slide.active {
  display: flex;
}

.gallery-slide .showcase-phone-frame {
  max-width: 24rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* --- 10. DOWNLOAD CTA SECTION --- */
.cta-section {
  padding: 7rem 0;
  position: relative;
}

.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 3rem var(--accent-teal-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 42rem;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.7;
}

/* --- 11. FOOTER --- */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-btn {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-legal-btn:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- 12. MODALS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 44rem;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.modal-close-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.modal-body p {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 64rem / 1024px) */
@media (max-width: 64rem) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-content {
    align-items: center;
  }

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

  .hero-trust-row {
    justify-content: center;
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .showcase-row.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-content {
    order: 1;
  }

  .showcase-row.reverse .dual-phone-grid,
  .showcase-row.reverse .showcase-phone-wrapper {
    order: 2;
  }

  .showcase-content {
    align-items: center;
  }

  .feature-tags-list {
    justify-content: center;
  }

  .showcase-content ul {
    text-align: left;
    max-width: 34rem;
  }
}

/* Mobile Devices (<= 48rem / 768px) */
@media (max-width: 48rem) {
  .nav-links,
  .header .header-badge-link {
    display: none;
  }

  .menu-toggle-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .phone-frame,
  .showcase-phone-frame,
  .dual-phone-grid .showcase-phone-frame,
  .gallery-slide .showcase-phone-frame {
    max-width: 22rem;
  }

  .dual-phone-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .gallery-tab-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

/* Small Mobile (<= 30rem / 480px) */
@media (max-width: 30rem) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-badge-img,
  .cta-badge-img {
    height: 13rem;
  }

  .btn-secondary {
    height: 3.25rem;
    padding: 0 1.25rem;
    font-size: 0.9rem;
  }

  .phone-frame,
  .showcase-phone-frame,
  .dual-phone-grid .showcase-phone-frame,
  .gallery-slide .showcase-phone-frame {
    max-width: 100%;
    border-radius: 2.5rem;
    padding: 0.5rem;
  }

  .showcase-phone-frame img,
  .phone-screen-img {
    border-radius: 2rem;
  }

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }
}
