/* ============================================================
   Qualiflow — Shared Stylesheet
   qaliflo.com
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --dark-navy:   #001C3D;
  --brand-blue:  #0084FF;
  --light-blue:  #33A1FF;
  --accent:      #2DBD7E;
  --bg-light:    #EBF0F6;
  --text-primary:#0D1B2A;
  --text-sec:    #7A8694;
  --white:       #FFFFFF;
  --card-bg:     rgba(255,255,255,0.07);
  --card-border: rgba(255,255,255,0.12);
  --shadow-sm:   0 2px 12px rgba(0,132,255,0.10);
  --shadow-md:   0 8px 32px rgba(0,132,255,0.18);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.25);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font:        'Inter', 'Poppins', system-ui, sans-serif;
  --nav-h:       72px;

  /* Light-mode surface */
  --surface:     #FFFFFF;
  --surface-2:   #F4F7FB;
  --border:      rgba(13,27,42,0.10);
  --text-on-dark:#FFFFFF;
}

/* ── Dark Mode ──────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light:    #0a1628;
    --surface:     #0f1f35;
    --surface-2:   #0D1B2A;
    --text-primary:#e8edf4;
    --text-sec:    #8fa3b8;
    --border:      rgba(255,255,255,0.08);
    --card-bg:     rgba(255,255,255,0.05);
    --card-border: rgba(255,255,255,0.10);
  }
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { color: var(--text-sec); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(0,132,255,0.10);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-sub {
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-sec);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--light-blue));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,132,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,132,255,0.50);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-ghost:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.navbar.light-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}
.navbar.light-nav .nav-link { color: var(--navy); }
.navbar.light-nav .nav-link:hover { color: var(--brand-blue); }
.navbar.light-nav .hamburger span { background: var(--navy); }

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo .logo-svg { width: 38px; height: 38px; }
.nav-logo .logo-wordmark { color: #fff; }
.light-nav .nav-logo .logo-wordmark { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(20px);
  padding: 2rem 5%;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu .nav-link {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark-navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.7rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--brand-blue); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--brand-blue); }

/* ── Cards ──────────────────────────────────────────────────── */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,132,255,0.3);
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.surface-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* ── Utility ────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight { color: var(--brand-blue); }
.accent-text { color: var(--accent); }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Wave divider */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blue { background: rgba(0,132,255,0.15); color: var(--brand-blue); }
.badge-green { background: rgba(45,189,126,0.15); color: var(--accent); }

/* ── Legal Pages ────────────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
  padding: calc(var(--nav-h) + 4rem) 5% 4rem;
  text-align: center;
  color: #fff;
}
.legal-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.legal-hero p { color: rgba(255,255,255,0.65); }

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 5%;
}
.legal-body h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0,132,255,0.15);
}
.legal-body h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}
.legal-body p { margin-bottom: 1rem; color: var(--text-sec); }
.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-body ul li { color: var(--text-sec); margin-bottom: 0.4rem; }
.legal-body a { color: var(--brand-blue); }
.legal-body a:hover { text-decoration: underline; }
.legal-updated {
  display: inline-block;
  background: rgba(0,132,255,0.08);
  color: var(--brand-blue);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Dark mode overrides for light sections ─────────────────── */
@media (prefers-color-scheme: dark) {
  .surface-card { background: var(--surface); border-color: var(--border); }
  .footer { background: #000d1a; }
}

/* ============================================================
   INDEX PAGE — Section Styles
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,132,255,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(45,189,126,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #001C3D 0%, #0D1B2A 50%, #001C3D 100%);
  will-change: transform;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) scale(0.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 6rem;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  position: relative;
  z-index: 2;
  width: 260px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 8px rgba(255,255,255,0.06);
  animation: floatPhone 4s ease-in-out infinite;
}
.phone-mockup img { width: 100%; display: block; }
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: orbFloat ease-in-out infinite;
  pointer-events: none;
}
.orb-1 {
  width: 200px; height: 200px;
  background: rgba(0,132,255,0.25);
  top: -40px; right: -40px;
  animation-duration: 6s;
}
.orb-2 {
  width: 140px; height: 140px;
  background: rgba(45,189,126,0.2);
  bottom: 20px; left: -20px;
  animation-duration: 8s;
  animation-delay: 2s;
}
.orb-3 {
  width: 100px; height: 100px;
  background: rgba(51,161,255,0.3);
  top: 50%; right: -60px;
  animation-duration: 5s;
  animation-delay: 1s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.05); }
  66%       { transform: translate(-10px, 15px) scale(0.95); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-sec);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Features ───────────────────────────────────────────────── */
.features {
  padding: 6rem 0;
  background: var(--bg-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
}
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,132,255,0.12), rgba(51,161,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  color: var(--brand-blue);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--brand-blue), var(--light-blue));
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; }

/* ── How It Works ───────────────────────────────────────────── */
.how-it-works {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,132,255,0.1) 0%, transparent 70%);
}
.how-it-works .section-label { background: rgba(0,132,255,0.2); }
.how-it-works .section-title { color: #fff; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.step-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(0,132,255,0.4);
}
.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,132,255,0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.step-card h3 { color: #fff; margin-bottom: 0.5rem; }
.step-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.step-arrow {
  font-size: 1.5rem;
  color: rgba(0,132,255,0.5);
  text-align: center;
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing {
  padding: 6rem 0;
  background: var(--bg-light);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.pricing-card {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 1.5rem 0;
}
.currency { font-size: 1.2rem; font-weight: 600; color: var(--text-sec); }
.price { font-size: 3rem; font-weight: 800; color: var(--brand-blue); line-height: 1; }
.period { font-size: 0.9rem; color: var(--text-sec); }
.pricing-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--accent); font-size: 0.8rem; }
.pricing-note { font-size: 0.85rem; color: var(--text-sec); margin-top: 1rem; }

/* ── Payment Methods ────────────────────────────────────────── */
.payment-methods {
  padding: 5rem 0;
  background: var(--surface);
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.payment-card {
  text-align: center;
  padding: 3rem 2rem;
}
.payment-card > i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}
.payment-card .fa-paypal { color: #003087; }
.payment-card .fa-stripe { color: #635bff; }
.payment-card h3 { margin-bottom: 0.5rem; }
.payment-card p { font-size: 0.9rem; }

/* ── Download ───────────────────────────────────────────────── */
.download {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 30% 50%, rgba(0,132,255,0.12) 0%, transparent 70%);
}
.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.download-text .section-label { background: rgba(0,132,255,0.2); }
.download-text .section-title { color: #fff; }
.download-text p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; }

.download-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.store-badge {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: not-allowed;
}
.store-badge img {
  height: 52px;
  width: auto;
  display: block;
  filter: grayscale(0.3);
}
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,28,61,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.coming-soon-overlay span {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-blue);
  padding: 4px 10px;
  border-radius: 100px;
}

.download-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.download-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
}
.download-feature i { color: var(--accent); }

.download-visual {
  display: flex;
  justify-content: center;
}
.app-screenshot {
  width: 280px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 8px rgba(255,255,255,0.06);
  animation: floatPhone 4s ease-in-out infinite;
}
.app-screenshot img { width: 100%; display: block; }

/* ── Contact ────────────────────────────────────────────────── */
.contact {
  padding: 6rem 0;
  background: var(--bg-light);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  text-align: center;
  padding: 2.5rem 2rem;
}
.contact-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,132,255,0.12), rgba(51,161,255,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--brand-blue);
  transition: var(--transition);
}
.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--brand-blue), var(--light-blue));
  color: #fff;
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card a {
  color: var(--brand-blue);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--light-blue); }

/* ── Responsive: Index ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-arrow    { transform: rotate(90deg); }
}
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-bottom: 4rem;
  }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 200px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .payment-grid  { grid-template-columns: 1fr; }
  .download-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .download-badges { justify-content: center; }
  .download-features { justify-content: center; }
  .download-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

/* ── Dark mode: index ───────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  .stats-bar { background: var(--surface); }
  .features  { background: #0a1628; }
  .pricing   { background: #0a1628; }
  .contact   { background: #0a1628; }
  .payment-methods { background: var(--surface); }
}

/* ── Wave divider dark mode ─────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  .wave-divider path { fill: #0a1628 !important; }
}

/* ── Nav active link ────────────────────────────────────────── */
.nav-link.active { color: #fff; }
.nav-link.active::after { width: 100%; }
.light-nav .nav-link.active { color: var(--brand-blue); }
