:root {
  --primary: #000a17;
  --primary-light: #001428;
  --accent: #3e9dff;
  --accent-light: #66b1ff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --glass-bg: rgba(0, 127, 255, 0.08);
  --glass-border: rgba(0, 127, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 127, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--primary);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 10, 23, 0.8);
  border-bottom: 1px solid rgba(62, 157, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-cta {
  color: var(--text);
  background: linear-gradient(135deg, rgba(62, 157, 255, 0.2) 0%, rgba(62, 157, 255, 0.1) 100%);
  border: 1px solid rgba(62, 157, 255, 0.3);
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, rgba(62, 157, 255, 0.3) 0%, rgba(62, 157, 255, 0.15) 100%);
  border-color: rgba(62, 157, 255, 0.5);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.15) 0%, transparent 50%);
  z-index: -1;
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.lead {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(62, 157, 255, 0.1);
  border: 1px solid rgba(62, 157, 255, 0.2);
  border-radius: 100px;
}

.text-gradient {
  background: linear-gradient(90deg, #ffffff 0%, #3e9dff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================
   STORE BADGES
   ===================== */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.store-badge {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.store-badge img {
  height: 52px;
  width: auto;
}

/* Google Play badge has extra padding, so we need to make it larger to match visually */
.store-badge img[alt*="Google Play"] {
  height: 77px;
  margin: -12px -12px;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badges-vertical {
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .store-badges-vertical {
    flex-direction: row;
    align-items: center;
  }
}

/* =====================
   BUTTONS
   ===================== */
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.button-primary {
  background: linear-gradient(135deg, #3e9dff 0%, #2b7fd4 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(62, 157, 255, 0.35);
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(62, 157, 255, 0.45);
}

.button-primary:hover::before {
  opacity: 1;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* =====================
   STATUS PILL
   ===================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(62, 242, 161, 0.1) 0%, rgba(62, 242, 161, 0.05) 100%);
  border: 1px solid rgba(62, 242, 161, 0.25);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ef2a1;
  box-shadow: 0 0 12px rgba(62, 242, 161, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* =====================
   HERO VISUAL
   ===================== */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(62, 157, 255, 0.2) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.phone-card {
  background: linear-gradient(
    145deg,
    rgba(0, 127, 255, 0.12) 0%,
    rgba(0, 40, 100, 0.2) 50%,
    rgba(0, 10, 30, 0.3) 100%
  );
  border-radius: 2.5rem;
  padding: 2.5rem;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 8px 32px rgba(0, 127, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(62, 157, 255, 0.2);
  animation: float 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* =====================
   SECTIONS
   ===================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-glass {
  background: linear-gradient(
    180deg,
    rgba(0, 85, 255, 0.08) 0%,
    rgba(0, 50, 150, 0.05) 50%,
    rgba(0, 10, 23, 0.02) 100%
  );
  position: relative;
}

.section-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 157, 255, 0.3), transparent);
}

.section-heading {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.15;
}

/* =====================
   FEATURES GRID
   ===================== */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 255, 0.1) 0%,
    rgba(0, 40, 100, 0.08) 50%,
    rgba(0, 20, 50, 0.06) 100%
  );
  border-radius: 1.5rem;
  border: 1px solid rgba(62, 157, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 157, 255, 0.3);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.25),
    0 8px 24px rgba(0, 127, 255, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(62, 157, 255, 0.2) 0%, rgba(62, 157, 255, 0.1) 100%);
  border: 1px solid rgba(62, 157, 255, 0.25);
  margin-bottom: 1.25rem;
  color: var(--accent-light);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =====================
   TWO COLUMN LAYOUT
   ===================== */
.two-column {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.two-column h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.two-column > div > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.glass-panel {
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 255, 0.12) 0%,
    rgba(0, 50, 150, 0.08) 100%
  );
  border: 1px solid rgba(62, 157, 255, 0.2);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-panel h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.glass-panel p {
  color: var(--muted);
  line-height: 1.7;
}

/* =====================
   CTA SECTION
   ===================== */
.section-cta {
  padding: 5rem 0 6rem;
  position: relative;
}

.cta-panel {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 3.5rem;
  border-radius: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 255, 0.18) 0%,
    rgba(0, 80, 200, 0.12) 50%,
    rgba(0, 40, 100, 0.08) 100%
  );
  border: 1px solid rgba(62, 157, 255, 0.25);
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.35),
    0 8px 32px rgba(0, 127, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(62, 157, 255, 0.15) 0%, transparent 60%);
  filter: blur(60px);
}

.cta-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.cta-panel .store-badges {
  position: relative;
  z-index: 1;
}

/* =====================
   FAQ SECTION
   ===================== */
.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.75rem 2rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 255, 0.08) 0%,
    rgba(0, 50, 150, 0.05) 100%
  );
  border: 1px solid rgba(62, 157, 255, 0.15);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(62, 157, 255, 0.25);
}

.faq-item[open] {
  background: linear-gradient(
    135deg,
    rgba(0, 127, 255, 0.12) 0%,
    rgba(0, 60, 180, 0.08) 100%
  );
  border-color: rgba(62, 157, 255, 0.3);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(62, 157, 255, 0.1);
  line-height: 1.7;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  border-top: 1px solid rgba(62, 157, 255, 0.1);
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(0, 10, 23, 0.9) 0%, var(--primary) 100%);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse at center bottom, rgba(62, 157, 255, 0.08) 0%, transparent 70%);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: inline-block;
  margin: 0 auto;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-tag {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-light), #ffffff, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

/* =====================
   BACKGROUND EFFECTS
   ===================== */
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-top {
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(62, 157, 255, 0.2) 0%, transparent 65%);
  filter: blur(60px);
  animation: glow-pulse 8s ease-in-out infinite;
}

.bg-glow-bottom {
  bottom: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(62, 157, 255, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  animation: glow-pulse 10s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

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

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 10, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(62, 157, 255, 0.1);
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

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

  .hero {
    padding-top: 4rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    text-align: center;
  }

  .phone-card {
    padding: 1.75rem;
    border-radius: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .cta-panel {
    padding: 2.5rem;
    border-radius: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
