/* ============================================================
   Manvero™ Landing Page — Design System & Styles
   © 2026 Damián Hudáček
   ============================================================ */

/* ---------- 1. FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --color-blue:        #1677F2;
  --color-blue-rgb:    22, 119, 242;
  --color-blue-rgb:    22, 119, 242;
  --color-blue-dark:   #1252C0;
  --color-blue-light:  #3B8BF5;
  --color-green:       #22C55E;
  --color-green-dark:  #16A34A;
  --color-deep-blue:   #1E3A8A;

  /* Gradient */
  --gradient-brand:    linear-gradient(135deg, var(--color-blue) 0%, #22C55E 100%);
  --gradient-brand-r:  linear-gradient(135deg, #22C55E 0%, var(--color-blue) 100%);
  --gradient-hero:     linear-gradient(180deg, #050D1A 0%, #0A1628 60%, #0D1F3C 100%);

  /* Neutral Dark */
  --bg-base:           #070E1C;
  --bg-base-rgb:       7, 14, 28;
  --bg-surface:        #0D1628;
  --bg-surface-rgb:    13, 22, 40;
  --bg-card:           #111E35;
  --bg-card-hover:     #162340;
  --border:            rgba(var(--text-white-rgb), 0.08);
  --border-active:     rgba(var(--color-blue-rgb), 0.4);

  /* Text */
  --text-primary:      #F0F4FF;
  --text-secondary:    #8EA3C3;
  --text-muted:        #4D6280;
  --text-white:        #FFFFFF;
  --text-white-rgb:    255, 255, 255;

  /* Feature Colors */
  --fc-blue:    rgba(var(--color-blue-rgb), 0.15);
  --fc-green:   rgba(34,197,94,0.15);
  --fc-purple:  rgba(139,92,246,0.15);
  --fc-orange:  rgba(249,115,22,0.15);
  --fc-cyan:    rgba(6,182,212,0.15);
  --fc-pink:    rgba(236,72,153,0.15);

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Radius */
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1.25rem;
  --radius-xl:  2rem;
  --radius-full:9999px;

  /* Shadows */
  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 1px 8px rgba(0,0,0,0.3);
  --shadow-glow-blue:  0 0 40px rgba(var(--color-blue-rgb), 0.35);
  --shadow-glow-green: 0 0 40px rgba(34,197,94,0.25);

  /* Transitions */
  --transition-fast:  0.15s ease;
  --transition-base:  0.25s ease;
  --transition-slow:  0.45s ease;

  /* Max widths */
  --max-content: 1200px;
  --max-narrow:  760px;
}

/* ---------- 2.1 LIGHT THEME ---------- */
:root[data-theme="light"] {
  /* Backgrounds */
  --bg-base:           #F5F7FA;
  --bg-base-rgb:       245, 247, 250;
  --bg-surface:        #FFFFFF;
  --bg-surface-rgb:    255, 255, 255;
  --bg-card:           #EAEFF6;
  --bg-card-hover:     #DDE4EF;

  /* Borders */
  --border:            rgba(0, 0, 0, 0.09);
  --border-active:     rgba(var(--color-blue-rgb), 0.5);

  /* Text */
  --text-primary:      #0F172A;
  --text-secondary:    #3D526B;
  --text-muted:        #64748B;
  --text-white-rgb:    15, 23, 42; /* re-mapped for light borders */

  /* Hero gradient */
  --gradient-hero:     linear-gradient(180deg, #EBF0F8 0%, #F5F7FA 60%, #FFFFFF 100%);

  /* Feature icon backgrounds */
  --fc-blue:    rgba(var(--color-blue-rgb), 0.1);
  --fc-green:   rgba(34, 197, 94, 0.1);
  --fc-purple:  rgba(139, 92, 246, 0.1);
  --fc-orange:  rgba(249, 115, 22, 0.1);
  --fc-cyan:    rgba(6, 182, 212, 0.1);
  --fc-pink:    rgba(236, 72, 153, 0.1);
}

/* ---------- 3. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 4. UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.container--narrow {
  max-width: var(--max-narrow);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: rgba(var(--color-blue-rgb), 0.1);
  border: 1px solid rgba(var(--color-blue-rgb), 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  
  transition: all var(--transition-base);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(var(--color-blue-rgb), 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--color-blue-rgb), 0.55);
}

.btn-secondary {
  background: rgba(var(--text-white-rgb), 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(var(--text-white-rgb), 0.1);
  border-color: rgba(var(--text-white-rgb), 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-store {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  gap: 0.625rem;
  transition: all var(--transition-base);
}
.btn-store:hover {
  border-color: var(--color-blue);
  background: rgba(var(--color-blue-rgb), 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--color-blue-rgb), 0.2);
}
.btn-store .store-icon { width: 24px; height: 24px; flex-shrink: 0; }
.btn-store .store-texts { display: flex; flex-direction: column; text-align: left; }
.btn-store .store-sub  { font-size: 0.65rem; font-weight: 400; color: var(--text-secondary); line-height: 1; margin-bottom: 2px; }
.btn-store .store-name { font-size: 0.9rem; font-weight: 700; line-height: 1; }

/* ---------- 5. HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(var(--bg-base-rgb), 0);
  border-bottom: 1px solid rgba(var(--text-white-rgb), 0);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(var(--bg-base-rgb), 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(var(--text-white-rgb), 0.05);
  padding-block: var(--space-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 48px; width: auto; }

/* Logo – transparent PNGs */
.logo-light {
  display: none;
}
.logo-dark {
  display: block;
}

/* Light mode: show logo-light, hide logo-dark */
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark  { display: none; }

/* Footer logo same rules */
.footer-brand .logo-light {
  display: none;
}
.footer-brand .logo-dark {
  display: block;
}
[data-theme="light"] .footer-brand .logo-light { display: block; }
[data-theme="light"] .footer-brand .logo-dark  { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--text-primary); }

.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  
  color: var(--text-primary);
  padding: 0.5rem;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--bg-base-rgb), 0.97);
  backdrop-filter: blur(20px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}
.mobile-nav.open { display: flex; }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}
.mobile-nav-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  
  padding: 0.5rem;
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--color-blue), transparent 70%);
  top: -150px; left: -100px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #22C55E, transparent 70%);
  bottom: -100px; right: -100px;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #1E3A8A, transparent 70%);
  top: 40%; left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
  padding-block: var(--space-5xl);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--space-lg);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.hero-badge svg { color: var(--color-green); flex-shrink: 0; }

/* Hero phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-container {
  position: relative;
  width: 320px;
  filter: drop-shadow(0 40px 80px rgba(var(--color-blue-rgb), 0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

.phone-container img {
  width: 100%;
  border-radius: 2rem;
}

.phone-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  animation: badge-float 3s ease-in-out infinite;
}
.phone-badge-1 {
  top: 15%;
  right: -5%;
  color: var(--color-green);
  animation-delay: 0s;
}
.phone-badge-2 {
  bottom: 25%;
  left: -12%;
  color: var(--color-blue);
  animation-delay: 1.5s;
}
.phone-badge-icon { font-size: 1.1rem; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-6px) rotate(1deg); }
}

/* ---------- 7. TRUST BAR ---------- */
.trust-bar {
  background: var(--bg-surface);
  border-block: 1px solid var(--border);
  padding: var(--space-xl) 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.trust-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---------- 8. FEATURES ---------- */
.features {
  padding-block: var(--space-5xl);
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.features-header .section-label { justify-content: center; }
.features-header .section-subtitle { margin-inline: auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 40px rgba(var(--color-blue-rgb), 0.08);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- 9. SCREENSHOTS + GALLERY ---------- */
.screenshots {
  padding-block: var(--space-5xl);
  background: var(--bg-surface);
  overflow: hidden;
}

.screenshots-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.screenshots-header .section-label { justify-content: center; }


/* Tabs Styling */
.screenshots-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(var(--text-white-rgb), 0.05);
  border: 1px solid rgba(var(--text-white-rgb), 0.1);
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: rgba(var(--text-white-rgb), 0.1);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--color-blue);
  color: var(--text-white);
  border-color: rgba(var(--color-blue-rgb), 0.5);
  box-shadow: 0 4px 15px rgba(var(--color-blue-rgb), 0.4);
}

/* Gallery panels */

.gallery-panel {
  display: none;
}
.gallery-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-glow-blue);
  border-color: var(--color-blue);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}




.gallery-caption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.625rem 0.5rem;
  margin: 0;
  background: var(--bg-card);
}



@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: 9/14; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-content { max-width: 280px; }
}

/* ---------- 10. HOW IT WORKS ---------- */
.howto {
  padding-block: var(--space-5xl);
}

.howto-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.howto-header .section-label { justify-content: center; }

.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Connector line */
.howto-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 1.5rem);
  right: calc(16.66% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  opacity: 0.3;
  z-index: 0;
}

.howto-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: var(--space-xl);
  position: relative;
  box-shadow: 0 0 30px rgba(var(--color-blue-rgb), 0.2);
  transition: all var(--transition-base);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* workaround — number styled via wrapper */
.step-number-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(var(--color-blue-rgb), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  position: relative;
  box-shadow: 0 0 30px rgba(var(--color-blue-rgb), 0.15);
}
.step-num-text {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.howto-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
}
.howto-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

/* ---------- 11. FOR WHOM ---------- */
.for-whom {
  padding-block: var(--space-5xl);
  background: var(--bg-surface);
}

.for-whom-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.for-whom-header .section-label { justify-content: center; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
}
.audience-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(var(--color-blue-rgb), 0.15);
}
.audience-emoji { font-size: 2.5rem; margin-bottom: var(--space-md); }
.audience-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}
.audience-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- 12. PRICING ---------- */
.pricing {
  padding-block: var(--space-5xl);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.pricing-header .section-label { justify-content: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 840px;
  margin-inline: auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--color-blue);
  box-shadow: 0 0 60px rgba(var(--color-blue-rgb), 0.2);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}
.pricing-price {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1;
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-xl);
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-feature .check {
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 13. LANGUAGES ---------- */
.languages {
  padding-block: var(--space-5xl);
  background: var(--bg-surface);
}
.languages-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.languages-header .section-label { justify-content: center; }

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}
.lang-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-base);
}
.lang-pill:hover {
  border-color: var(--color-blue);
  background: rgba(var(--color-blue-rgb), 0.08);
}
.lang-flag { font-size: 1.3rem; }

/* ---------- 14. FAQ ---------- */
.faq {
  padding-block: var(--space-5xl);
}
.faq-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.faq-header .section-label { justify-content: center; }

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}
.faq-item.open { border-color: var(--color-blue); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  gap: var(--space-md);
}
.faq-question:hover { color: var(--color-blue-light); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  transition: transform var(--transition-base);
  color: var(--text-secondary);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--color-blue); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- 15. DOWNLOAD CTA ---------- */
.download-cta {
  padding-block: var(--space-5xl);
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  pointer-events: none;
}
.cta-bg-orb-1 {
  width: 500px; height: 500px;
  background: var(--color-blue);
  top: -200px; left: -100px;
}
.cta-bg-orb-2 {
  width: 400px; height: 400px;
  background: var(--color-green);
  bottom: -150px; right: -50px;
}

.download-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

/* A short highlight travels around the download action; there is no static outline. */
.download-flow-badge {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  color: #2563eb;
  background: transparent;
  box-shadow: none;
}
.nav-cta .download-flow-badge {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.18);
}
.download-flow-badge > * {
  position: relative;
  z-index: 1;
}
.download-flow-badge::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 180%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0% 81%,
    rgba(147, 197, 253, 0.12) 84%,
    #60a5fa 88%,
    #dbeafe 91%,
    #ffffff 93%,
    #3b82f6 96%,
    rgba(37, 99, 235, 0.12) 98%,
    transparent 100%
  );
  filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.8));
  animation: download-flow-spin 3.6s linear infinite;
}
.download-flow-badge::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 4px;
  border-radius: inherit;
  background: var(--bg-surface);
}
.nav-cta .download-flow-badge::after {
  background: var(--gradient-brand);
}

@keyframes download-flow-spin {
  to { transform: translate(-50%, -50%) rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
  .download-flow-badge::before { animation: none; }
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}
.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}
.cta-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.cta-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 16. FOOTER ---------- */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding-block: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand img { height: 44px; margin-bottom: var(--space-md); }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-lg);
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
}
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}
.social-link:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: var(--space-xl);
}
.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ---------- 17. ANIMATIONS ---------- */
[data-reveal] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide reveal elements only when JavaScript is available. Without JavaScript
   all content remains readable. */
.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
}
.js-enabled [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .hero-grid     { gap: var(--space-3xl); }
  .phone-container { width: 260px; }
  .screenshot-main { width: 240px; }
  .screenshot-side { width: 180px; }
}

@media (max-width: 768px) {
  :root { --space-5xl: 5rem; }

  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: var(--space-3xl);
  }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-badges  { justify-content: center; }
  .hero-visual  { order: -1; }
  .phone-container { width: 220px; }

  .phone-badge-1 { right: 0; }
  .phone-badge-2 { left: 0; }

  .features-grid { grid-template-columns: 1fr; }
  .howto-steps   { grid-template-columns: 1fr; }
  .howto-steps::before { display: none; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; }
  .trust-divider { display: none; }
  .screenshots-showcase { flex-direction: column; align-items: center; }
  .screenshot-side { display: none; }
  .screenshot-main { width: 280px; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-lg); }
  .audience-grid { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; }
  .cta-store-buttons { flex-direction: column; align-items: center; }
  .btn-store { width: 100%; max-width: 300px; justify-content: center; }
}

/* ---------- 19. SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: rgba(var(--color-blue-rgb), 0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-blue); }

/* ---------- 20. LANG SWITCHER ---------- */
.nav-lang-switcher {
  margin-left: auto;
  margin-right: 1rem;
}

.lang-select,
.mobile-lang-select {
  background: rgba(var(--text-white-rgb), 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(var(--text-white-rgb), 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  
  outline: none;
  transition: all var(--transition-base);
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.lang-select:hover,
.mobile-lang-select:hover {
  background-color: rgba(var(--text-white-rgb), 0.1);
  border-color: rgba(var(--text-white-rgb), 0.2);
}

.lang-select:focus,
.mobile-lang-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(var(--color-blue-rgb), 0.2);
}

.mobile-lang-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-position: right 1rem center;
}

/* Light mode arrow fix */
[data-theme="light"] .lang-select,
[data-theme="light"] .mobile-lang-select {
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%230F172A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Base button focus styles */
.btn, .btn-store, .mobile-nav-toggle, .faq-question, .mobile-nav-close, .tab-btn, .lang-select, .mobile-lang-select {
  cursor: pointer;
}


/* Theme Toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.theme-toggle:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(var(--color-blue-rgb), 0.25);
  outline: none;
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-theme-toggle {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  height: auto;
}
