/* ============================================
   OPA FIT — STYLES
   ============================================ */

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

/* === CSS VARIABLES === */
:root {
  --color-primary: #2193B9;
  --color-secondary: #1F9E85;
  --color-text: #1a1a1a;
  --color-text-light: #777777;
  --color-text-muted: #999999;
  --color-text-inverted: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #F7F9FC;
  --color-bg-light: #F7F9FC;
  --color-bg-dark: #0D0D0D;
  --color-bg-dark-2: #111827;
  --color-bg-dark-card: #161e2b;
  --color-danger: #E05555;
  --color-border: rgba(255,255,255,0.08);
  --color-border-light: rgba(0,0,0,0.08);

  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: clamp(1rem, 2vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 2.5vw, 1.375rem);
  --font-size-xl: clamp(1.5rem, 3vw, 2rem);
  --font-size-2xl: clamp(2rem, 4vw, 3rem);
  --font-size-hero: clamp(2.8rem, 7vw, 5rem);

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 7rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.14);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.22);
  --shadow-glow: 0 0 60px rgba(33,147,185,0.25);

  --max-width: 1200px;
  --nav-height: 72px;

  --gradient-brand: linear-gradient(135deg, #2193B9, #1F9E85);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: var(--font-size-base); color: var(--color-text); background: var(--color-bg); 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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--spacing-md); }

.section { padding: var(--spacing-2xl) 0; }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-inverted); }
.section--dark-2 { background: var(--color-bg-dark-2); color: var(--color-text-inverted); }
.section--light { background: var(--color-bg-alt); color: var(--color-text); }
.section--white { background: var(--color-bg); color: var(--color-text); }
.section--gradient { background: var(--gradient-brand); color: var(--color-text-inverted); }

/* === SECTION LABELS & TITLES === */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}
.section-label--blue { color: var(--color-primary); }

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}
.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}
.section--dark .section-subtitle,
.section--dark-2 .section-subtitle { color: rgba(255,255,255,0.6); }

.section-header { margin-bottom: var(--spacing-xl); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-gradient { background: var(--gradient-brand); color: white; }
.btn-gradient { text-shadow: 0 1px 1px rgba(0,0,0,0.28); }
.btn-gradient:hover { box-shadow: 0 8px 28px rgba(33,147,185,0.4); }

/* === STORE BADGES === */
.store-badges { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; align-items: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  background: #000;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 155px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.55); }
.store-badge__icon { flex-shrink: 0; width: 26px; height: 26px; }
.store-badge__text { display: flex; flex-direction: column; }
.store-badge__sub { font-size: 0.65rem; font-weight: 400; line-height: 1; opacity: 0.8; }
.store-badge__main { font-size: 1rem; font-weight: 700; line-height: 1.3; font-family: var(--font-heading); }

/* === NAVIGATION === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.page-home .site-header { background: transparent; }
.site-header.scrolled {
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10);
}
.page-download .site-header,
.page-support .site-header {
  background: var(--color-bg-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.nav-container { display: flex; align-items: center; height: var(--nav-height); gap: var(--spacing-lg); }
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-img { height: 32px; width: auto; }
.nav-main { flex: 1; }
.nav-links { display: flex; align-items: center; gap: var(--spacing-lg); justify-content: flex-end; }
.nav-link { font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.8); transition: color 0.2s ease; position: relative; }
.nav-link:hover { color: white; }
.nav-link.active { color: white; }
.nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--color-secondary); border-radius: 2px; }
.nav-cta { flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.hamburger { display: none; color: white; font-size: 1.5rem; padding: 0.5rem; background: none; border: none; }

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--color-bg-dark);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; color: white; font-size: 1.75rem; padding: 0.5rem; cursor: pointer; line-height: 1; }
.mobile-nav-links { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }
.mobile-nav-link { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: white; transition: color 0.2s ease; }
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--color-secondary); }
.mobile-nav-cta { padding: 0.875rem 2.5rem; font-size: 1rem; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(33,147,185,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(31,158,133,0.09) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  position: relative; z-index: 1;
}
.hero-content { display: flex; flex-direction: column; gap: var(--spacing-md); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(31,158,133,0.12);
  border: 1px solid rgba(31,158,133,0.3);
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.hero-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: var(--font-size-hero);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: var(--font-size-lg); color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 480px; }
.hero-ctas { display: flex; flex-direction: row; gap: var(--spacing-sm); flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-image-wrapper { position: relative; display: inline-block; }
.hero-image-wrapper::before {
  content: '';
  position: absolute; inset: -50px;
  background: radial-gradient(ellipse, rgba(33,147,185,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-img { max-height: 600px; width: auto; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 24px 60px rgba(0,0,0,0.55)); }
.hero-scroll { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.35); font-size: var(--font-size-sm); margin-top: var(--spacing-xs); }
.hero-scroll-arrow { animation: bounceDown 1.6s ease-in-out infinite; }
@keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* === PROBLEM SECTION === */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(31,158,133,0.35);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.problem-card:hover { transform: translateY(-5px); border-color: #2193B9; box-shadow: 0 8px 32px rgba(33,147,185,0.15); }
.problem-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--spacing-sm);
}
.problem-card h3 { font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: var(--spacing-xs); }
.problem-card p { color: rgba(255,255,255,0.55); font-size: 0.9375rem; line-height: 1.65; }

/* === SOLUTION SECTION === */
.solution-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-2xl); align-items: center; }
.solution-pillars { display: flex; flex-direction: column; gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.solution-pillar { display: flex; gap: var(--spacing-md); align-items: flex-start; }
.solution-pillar-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.solution-pillar-body h3 { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.25rem; }
.solution-pillar-body p { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.65; }
.solution-image { display: flex; justify-content: center; }
.solution-img { max-height: 520px; width: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* === FEATURES CAROUSEL === */
.features-carousel-wrap { position: relative; }
.features-carousel-viewport {
  overflow: hidden;
  /* Fade right edge so peeking 4th card fades out */
  -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, black 88%, transparent 100%);
}
.features-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.feature-card {
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { border-color: rgba(33,147,185,0.45); box-shadow: 0 16px 48px rgba(33,147,185,0.15); }

/* Full-height image */
.feature-card-img-wrap {
  position: relative;
  height: 640px;
  background: #0a0a0a;
  overflow: hidden;
}
.feature-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Gradient overlay so text is readable on image */
.feature-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 58%;
  background: linear-gradient(to top,
    rgba(8,12,20,0.98) 0%,
    rgba(8,12,20,0.82) 45%,
    transparent 100%);
  pointer-events: none;
}

/* Text overlaid at the bottom of the image */
.feature-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 1.5rem 1.75rem;
  z-index: 1;
}
.feature-card-body h3 { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 0.45rem; }
.feature-card-body p { font-size: 0.85rem; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* Carousel navigation */
.carousel-nav {
  display: flex; justify-content: center; align-items: center;
  gap: var(--spacing-md); margin-top: var(--spacing-lg);
}
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.carousel-btn:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(33,147,185,0.4);
  transform: scale(1.08);
}
.carousel-btn:disabled { opacity: 0.2; cursor: not-allowed; pointer-events: none; transform: none; }
.carousel-dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer; transition: all 0.25s ease; border: none; padding: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.carousel-dot:hover { background: rgba(255,255,255,0.5); }
.carousel-dot.active {
  background: var(--gradient-brand);
  width: 28px; border-radius: 5px;
  box-shadow: 0 0 10px rgba(33,147,185,0.6);
}

/* === HOW IT WORKS === */
.steps-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); position: relative; }
.steps-layout::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.7% + 28px);
  right: calc(16.7% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  opacity: 0.25;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--spacing-md); position: relative; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: white;
  flex-shrink: 0; z-index: 1; position: relative;
  box-shadow: 0 0 0 6px rgba(33,147,185,0.12);
}
.step h3 { font-size: 1.125rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.25rem; }
.step p { font-size: 0.9375rem; color: var(--color-text-light); line-height: 1.65; }

/* === STORY SECTION === */
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-2xl); align-items: start; }
.story-content p { color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: var(--spacing-md); font-size: var(--font-size-base); }
.story-social { display: flex; align-items: center; gap: var(--spacing-sm); margin-top: var(--spacing-lg); flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s ease;
}
.social-link:hover { border-color: var(--color-secondary); color: var(--color-secondary); background: rgba(31,158,133,0.08); }
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.youtube-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
}
.youtube-play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--spacing-sm);
  background: rgba(0,0,0,0.5);
  transition: background 0.2s ease;
  text-decoration: none;
}
.youtube-play-overlay:hover { background: rgba(0,0,0,0.25); }
.youtube-play-btn {
  width: 72px; height: 72px;
  background: #FF0000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 20px rgba(255,0,0,0.4);
}
.youtube-play-overlay:hover .youtube-play-btn { transform: scale(1.1); }
.youtube-play-btn svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }
.youtube-channel-label { color: white; font-size: 0.875rem; font-weight: 600; text-align: center; }
.youtube-sub-label { color: rgba(255,255,255,0.55); font-size: 0.8125rem; }
.youtube-bg-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.03);
  pointer-events: none;
}

/* === PRICING SECTION === */
.pricing-wrapper { display: flex; justify-content: center; padding: var(--spacing-sm) 0; }
.pricing-card {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  max-width: 480px; width: 100%;
  box-shadow: 0 0 0 2px rgba(33,147,185,0.35), var(--shadow-lg);
  position: relative;
  text-align: center;
}
.pricing-card::before { display: none; }
.pricing-badge {
  display: inline-block;
  background: var(--gradient-brand);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--spacing-md);
}
.pricing-price { font-family: var(--font-heading); font-size: 4.5rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 0.25rem; }
.pricing-price-label { font-size: 0.9375rem; color: rgba(255,255,255,0.5); margin-bottom: var(--spacing-lg); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: var(--spacing-lg); text-align: left; }
.pricing-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: rgba(255,255,255,0.9); }
.pricing-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(31,158,133,0.2);
  color: var(--color-secondary);
  font-weight: 700; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pricing-download-btn {
  display: flex; justify-content: center; align-items: center;
  width: 100%; padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  background: white;
  color: var(--color-bg-dark);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.pricing-download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,0.2); background: rgba(255,255,255,0.92); }

/* === SOCIAL PROOF === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); margin-bottom: var(--spacing-xl); }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  display: flex; flex-direction: column; gap: var(--spacing-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(33,147,185,0.3); }
.testimonial-stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 3px; }
.testimonial-quote { font-size: 0.9375rem; color: rgba(255,255,255,0.7); line-height: 1.75; font-style: italic; flex: 1; }
.testimonial-author strong { display: block; color: white; font-weight: 600; font-size: 0.9375rem; }
.testimonial-author span { color: rgba(255,255,255,0.4); font-size: 0.8125rem; }

.social-bar { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-md); padding-top: var(--spacing-lg); border-top: 1px solid rgba(255,255,255,0.07); }
.social-bar-desc { color: rgba(255,255,255,0.45); font-size: 0.875rem; }
.social-bar-links { display: flex; gap: var(--spacing-sm); }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
  color: white; font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s ease;
}
.social-btn:hover { transform: translateY(-2px); }
.social-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33,147,185,0.18);
}
.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-btn--yt:hover { border-color: #FF0000; background: rgba(255,0,0,0.08); color: #ff4444; }
.social-btn--ig:hover { border-color: #E1306C; background: rgba(225,48,108,0.08); color: #E1306C; }

/* Higher-contrast social buttons on light sections (Support page, etc.) */
.section--light .social-btn,
.section--white .social-btn {
  border-color: rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.92);
  color: #111;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}
.section--light .social-btn:hover,
.section--white .social-btn:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
  border-color: rgba(0,0,0,0.20);
}
.section--light .social-btn--yt:hover,
.section--white .social-btn--yt:hover {
  border-color: rgba(255,0,0,0.55);
  background: rgba(255,0,0,0.14);
  color: #b80000;
}
.section--light .social-btn--ig:hover,
.section--white .social-btn--ig:hover {
  border-color: rgba(225,48,108,0.55);
  background: rgba(225,48,108,0.14);
  color: #b51d51;
}

/* === COMPARISON SECTION === */
.comparison-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.comparison-table { width: 100%; min-width: 640px; border-collapse: collapse; background: white; }
.comparison-table th {
  padding: 1rem var(--spacing-sm);
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--color-border-light);
}
.comparison-table th:first-child { text-align: left; padding-left: var(--spacing-md); }
.comparison-table th.col-opa { background: var(--gradient-brand); color: white; }
.comparison-table td {
  padding: 0.875rem var(--spacing-sm);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
  vertical-align: middle;
  color: var(--color-text);
}
.comparison-table td:first-child { text-align: left; font-weight: 500; padding-left: var(--spacing-md); }
.comparison-table td.col-opa { background: rgba(33,147,185,0.04); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(0,0,0,0.02); }
.comparison-table tr:hover td.col-opa { background: rgba(33,147,185,0.07); }
/* Comparison table status icons —
   fixed width + flex-start keeps every icon on the same vertical line;
   text-align:center on the parent td centers the whole block in the column */
.check-yes,
.check-no,
.check-partial {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 130px;           /* uniform width → icons always on same vertical line */
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}
.check-yes  { color: #16a34a; }
.check-no   { color: #dc2626; }
.check-partial { color: #d97706; }

/* SVG icon via ::before pseudo-element */
.check-yes::before,
.check-no::before,
.check-partial::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Green circle checkmark */
.check-yes::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2316a34a'/%3E%3Cpath d='M7 12.4l3.5 3.6 6.5-7.2' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* Red circle X */
.check-no::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23dc2626'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='white' stroke-width='2.2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

/* Orange warning triangle */
.check-partial::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5L22.5 21H1.5L12 2.5Z' fill='%23f59e0b'/%3E%3Crect x='11' y='9.5' width='2' height='5.5' rx='1' fill='white'/%3E%3Ccircle cx='12' cy='17.5' r='1' fill='white'/%3E%3C/svg%3E");
}

/* === CTA SECTION === */
.cta-section { text-align: center; }
.cta-section .section-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--spacing-md); }
.cta-section .cta-sub { font-size: var(--font-size-lg); opacity: 0.85; margin-bottom: var(--spacing-lg); }
.cta-section .store-badges { justify-content: center; }
.cta-section .store-badge { background: rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.3); }
.cta-section .store-badge:hover { background: rgba(0,0,0,0.45); border-color: white; }

/* === FOOTER === */
.site-footer { background: #080808; color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-main { padding: var(--spacing-2xl) 0 var(--spacing-xl); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.8fr 1.4fr; gap: var(--spacing-xl); }
.footer-brand { display: flex; flex-direction: column; gap: var(--spacing-md); }
.footer-logo { height: 28px; width: auto; }
.footer-tagline { font-size: 0.9375rem; line-height: 1.65; max-width: 260px; }
.footer-social { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; margin-top: var(--spacing-xs); }
.footer-section h4 { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--spacing-md); }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.9375rem; color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer-links a:hover { color: white; }
.footer-download { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.footer-download .store-badge { min-width: 0; max-width: 180px; padding: 0.5rem 1rem; }
.footer-download .store-badge__main { font-size: 0.875rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: var(--spacing-md) 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--spacing-sm); }
.footer-copyright { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer-crafted { font-size: 0.8125rem; color: rgba(255,255,255,0.25); }
.footer-crafted a { color: rgba(255,255,255,0.45); transition: color 0.2s ease; }
.footer-crafted a:hover { color: white; }
.footer-legal { display: flex; gap: var(--spacing-md); }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); transition: color 0.2s ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* === BREADCRUMBS === */
.breadcrumbs { padding: var(--spacing-sm) 0; font-size: var(--font-size-sm); color: var(--color-text-light); }
.breadcrumbs a { color: var(--color-primary); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--color-secondary); }
.breadcrumbs-sep { margin: 0 0.4rem; opacity: 0.5; }

/* === SCROLL-TO-TOP === */
.scroll-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-brand); color: white;
  font-size: 1.25rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 900;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: none; cursor: pointer;
}
.scroll-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* === PAGE HEADER (inner pages) === */
.page-header {
  background: var(--color-bg-dark);
  padding: calc(var(--nav-height) + var(--spacing-xl)) 0 var(--spacing-xl);
  color: white; text-align: center;
}
.page-header h1 { font-size: var(--font-size-2xl); margin-bottom: var(--spacing-sm); animation: fadeInUp 0.5s ease 0.1s both; }
.page-header p { font-size: var(--font-size-lg); color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; line-height: 1.7; animation: fadeInUp 0.5s ease 0.25s both; }

/* === DOWNLOAD PAGE === */
.download-hero {
  background: var(--color-bg-dark);
  padding: calc(var(--nav-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
  color: white; text-align: center; position: relative; overflow: hidden;
}
.download-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, rgba(33,147,185,0.13) 0%, transparent 60%); pointer-events: none; }
.download-hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--spacing-lg); }
.download-hero h1 { font-size: var(--font-size-2xl); animation: fadeInUp 0.5s ease 0.1s both; }
.download-hero .hero-sub { font-size: var(--font-size-lg); color: rgba(255,255,255,0.6); animation: fadeInUp 0.5s ease 0.25s both; }
.download-hero .store-badges { justify-content: center; animation: fadeInUp 0.5s ease 0.4s both; }
.download-hero-img { max-height: 420px; animation: fadeInUp 0.6s ease 0.5s both; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5)); }

.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); max-width: 480px; margin: 0 auto; }
.qr-card {
  background: white; border-radius: var(--radius-lg); padding: var(--spacing-lg);
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border-light);
  display: flex; flex-direction: column; align-items: center; gap: var(--spacing-sm);
}
.qr-placeholder {
  width: 110px; height: 110px;
  background: var(--color-bg-alt); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(0,0,0,0.12);
}
.qr-placeholder p { font-size: 0.75rem; color: var(--color-text-light); text-align: center; padding: 0.5rem; line-height: 1.4; }
.qr-card-label { font-size: 0.9rem; font-weight: 700; color: var(--color-text); }
.qr-card-sub { font-size: 0.8rem; color: var(--color-text-light); }

.mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); max-width: 580px; margin: 0 auto; }
.mini-feature { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-xs); text-align: center; padding: var(--spacing-md); background: white; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); }
.mini-feature-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin: 0 auto var(--spacing-sm);
}
.mini-feature h3 { font-size: 0.875rem; font-weight: 700; color: var(--color-text); }

/* === SUPPORT PAGE === */
.support-layout { max-width: 640px; margin: 0 auto; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: var(--spacing-md); }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.form-label .req { color: var(--color-primary); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: var(--font-size-base);
  color: var(--color-text); background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(33,147,185,0.12); }
.form-input.error, .form-select.error, .form-textarea.error { border-color: var(--color-danger); box-shadow: 0 0 0 3px rgba(224,85,85,0.1); }
.form-textarea { resize: vertical; min-height: 150px; }
.select-wrap { position: relative; }
.select-wrap::after { content: '▾'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--color-text-light); }
.form-error { font-size: 0.8125rem; color: var(--color-danger); display: none; }
.form-error.visible { display: block; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; }
.form-success {
  display: none;
  background: rgba(31,158,133,0.07);
  border: 1px solid rgba(31,158,133,0.3);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
}
.form-success.visible { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: var(--spacing-md); }
.form-success h3 { font-size: var(--font-size-xl); margin-bottom: var(--spacing-sm); color: var(--color-secondary); }
.form-success p { color: var(--color-text-light); }
.support-alt { margin-top: var(--spacing-xl); padding-top: var(--spacing-lg); border-top: 1px solid var(--color-border-light); }
.support-alt p { font-size: 0.9375rem; color: var(--color-text-light); margin-bottom: var(--spacing-md); }
.support-alt-links { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }

/* === ANIMATIONS === */
.anim { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.anim.anim-right { transform: translateX(40px); }
.anim.anim-left { transform: translateX(-40px); }
.anim.anim-fade { transform: none; }
.anim.visible { opacity: 1; transform: translate(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }

.page-home .hero-badge { animation: fadeInUp 0.5s ease 0.1s both; }
.page-home .hero-title { animation: fadeInUp 0.55s ease 0.2s both; }
.page-home .hero-subtitle { animation: fadeInUp 0.5s ease 0.35s both; }
.page-home .hero-ctas { animation: fadeInUp 0.5s ease 0.5s both; }
.page-home .hero-scroll { animation: fadeInUp 0.5s ease 0.65s both; }
.page-home .hero-visual { animation: fadeInRight 0.7s ease 0.25s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(35px); } to { opacity: 1; transform: translateX(0); } }

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

/* === RESPONSIVE: 1024px === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .story-layout { grid-template-columns: 1fr; gap: var(--spacing-xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
  .footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .footer-download { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}

/* === RESPONSIVE: 768px === */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: flex; }

  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: var(--spacing-lg); }
  .hero-content { align-items: center; }
  .hero-subtitle { max-width: 100%; }
  .hero-visual { order: -1; }
  .hero-img { max-height: 300px; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .hero-scroll { justify-content: center; }

  .problem-grid { grid-template-columns: 1fr; }
  .solution-layout { grid-template-columns: 1fr; }
  .solution-image { order: -1; }
  /* features carousel is handled by JS resize */

  .steps-layout { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .steps-layout::before { display: none; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; }
  .step-body { display: flex; flex-direction: column; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; }
  .footer-download { flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .qr-grid { max-width: 300px; }
  .mini-features { grid-template-columns: 1fr; }
  .download-hero-img { max-height: 260px; }

  .section-header--center .section-subtitle { text-align: center; }
}

@media (max-width: 480px) {
  :root { --spacing-2xl: 4.5rem; }
  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }
  .social-bar-links { flex-direction: column; align-items: center; }
  .support-alt-links { flex-direction: column; }
}

/* =============================================
   LEGAL PAGES (Privacy Policy / Terms of Use)
   ============================================= */
.legal-section { background: var(--color-bg); }
.legal-wrap { max-width: 760px; margin: 0 auto; }

.legal-meta {
  display: flex; gap: var(--spacing-md); flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border-light);
}
.legal-meta span { font-size: 0.8125rem; color: var(--color-text-light); }

.legal-intro {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}
.legal-intro p { font-size: 1rem; line-height: 1.7; color: var(--color-text); margin: 0; }

.legal-toc {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}
.legal-toc h2 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-light); margin-bottom: var(--spacing-md); }
.legal-toc ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-toc li { font-size: 0.9375rem; }
.legal-toc a { color: var(--color-primary); font-weight: 500; }
.legal-toc a:hover { text-decoration: underline; }

.legal-body { display: flex; flex-direction: column; gap: var(--spacing-2xl); }

.legal-section-block h2 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border-light);
}
.legal-section-block h3 {
  font-size: 1rem; font-weight: 600;
  color: var(--color-text);
  margin: var(--spacing-md) 0 var(--spacing-sm);
}
.legal-section-block p {
  font-size: 0.9375rem; line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}
.legal-section-block p:last-child { margin-bottom: 0; }
.legal-section-block ul, .legal-section-block ol {
  padding-left: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin: var(--spacing-sm) 0;
}
.legal-section-block li {
  font-size: 0.9375rem; line-height: 1.65;
  color: var(--color-text-light);
}
.legal-section-block strong { color: var(--color-text); font-weight: 600; }
.legal-section-block a { color: var(--color-primary); }
.legal-section-block a:hover { text-decoration: underline; }

.legal-contact {
  display: flex; align-items: center; gap: var(--spacing-lg); flex-wrap: wrap;
  margin-top: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}
.legal-contact p { margin: 0; font-size: 0.9375rem; color: var(--color-text-light); }
.legal-contact .btn-gradient {
  background: linear-gradient(135deg, #146e90, #136b58);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}
.legal-contact .btn-gradient:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
  .legal-toc ol { gap: 0.75rem; }
  .legal-contact { flex-direction: column; align-items: flex-start; }
}
