/* ============================================
   Family OS Website - Professional Stylesheet
   ============================================ */

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

:root {
  --primary: #4E6EF2;
  --primary-dark: #3B54C4;
  --primary-light: #EEF1FE;
  --secondary: #7C5CFC;
  --grad: linear-gradient(135deg, #4E6EF2, #7C5CFC);
  --grad-hover: linear-gradient(135deg, #3B54C4, #6A4AE8);
  --text: #0F1B2D;
  --text-2: #64748B;
  --text-3: #94A3B8;
  --bg: #F4F6FB;
  --card: #FFFFFF;
  --border: #E7EAF2;
  --success: #10B981;
  --success-light: #D9F5EA;
  --warning: #F59E0B;
  --warning-light: #FEF1D8;
  --danger: #EF4444;
  --danger-light: #FDEBEC;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 4px 16px -4px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 32px -8px rgba(15,23,42,.12);
  --shadow-xl: 0 24px 48px -12px rgba(15,23,42,.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.3s cubic-bezier(.22, 1, .36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

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

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle { margin: 0 auto; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(78,110,242,.4);
}

.btn-primary:hover {
  background: var(--grad-hover);
  box-shadow: 0 6px 24px -4px rgba(78,110,242,.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover { background: #dde3fd; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg { padding: 16px 40px; font-size: 16px; border-radius: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 12px; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(231,234,242,.75);
  transition: all var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.navbar-logo span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}

.navbar-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.navbar-cta { margin-left: 8px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

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

.mobile-menu a {
  display: block;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
}

/* --- Hero --- */
.hero {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -320px;
  right: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(78,110,242,.09) 0%, rgba(124,92,252,.06) 35%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,92,252,.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content { text-align: left; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-light);
  border: 1px solid rgba(78,110,242,.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16,185,129,.15);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
  50% { box-shadow: 0 0 0 7px rgba(16,185,129,.08); }
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(15,23,42,.1);
}

.hero-avatar:first-child { margin-left: 0; }

.hero-rating { display: flex; flex-direction: column; gap: 2px; }

.hero-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-stars svg { width: 14px; height: 14px; }

.hero-stars span {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.hero-rating-text {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

.hero-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.hero-mini span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-mini svg { color: var(--success); flex-shrink: 0; }

/* --- Store Badges --- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  transition: all var(--transition);
  min-width: 180px;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #1a2744;
}

.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }

.store-badge-text { text-align: left; }

.store-badge-text small {
  font-size: 11px;
  font-weight: 500;
  opacity: .8;
  display: block;
  line-height: 1;
}

.store-badge-text strong {
  font-size: 16px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

/* --- Hero Visual --- */
.hero-visual {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(78,110,242,.14) 0%, rgba(124,92,252,.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16,185,129,.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.hero-phones {
  position: relative;
  width: 340px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone {
  background: var(--grad);
  border-radius: 36px;
  padding: 7px;
  box-shadow: 0 32px 64px -16px rgba(78,110,242,.35), 0 4px 16px rgba(15,23,42,.08);
}

.hero-phone-inner {
  width: 100%;
  height: 100%;
  background: var(--card);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-phone-front {
  position: relative;
  z-index: 2;
  width: 272px;
  height: 556px;
}

.hero-phone-back {
  position: absolute;
  z-index: 1;
  width: 250px;
  height: 510px;
  top: 18px;
  right: -10px;
  opacity: 0.72;
  transform: rotate(5deg);
  box-shadow: 0 24px 48px -12px rgba(15,23,42,.18);
  border-radius: 32px;
}

.hero-phone-back .hero-phone-inner {
  border-radius: 26px;
}

.phone-logo {
  width: 72px;
  height: 72px;
  background: var(--grad);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-logo svg { width: 36px; height: 36px; fill: #fff; }

.phone-name { font-size: 18px; font-weight: 800; color: var(--text); }

.phone-tagline {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  padding: 0 20px;
}

.hero-float {
  position: absolute;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
  border: 1px solid rgba(231,234,242,.8);
  z-index: 3;
}

.hero-float-1 { top: 68px; right: -8px; animation-delay: 0s; }
.hero-float-2 { bottom: 88px; left: -14px; animation-delay: 1.5s; }
.hero-float-3 { top: 46%; right: -18px; animation-delay: 0.75s; }

.hero-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon.blue { background: var(--primary-light); color: var(--primary); }
.hero-float-icon.green { background: var(--success-light); color: var(--success); }
.hero-float-icon.purple { background: #EDE9FE; color: #7C3AED; }

.hero-float-text { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.2; }

.hero-float-text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 2px;
}

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

/* --- Features --- */
.features { background: var(--card); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-icon.blue { background: var(--primary-light); color: var(--primary); }
.feature-icon.purple { background: #EDE9FE; color: #7C3AED; }
.feature-icon.green { background: var(--success-light); color: var(--success); }
.feature-icon.orange { background: var(--warning-light); color: var(--warning); }
.feature-icon.red { background: var(--danger-light); color: var(--danger); }
.feature-icon.teal { background: #E0F7FA; color: #0891B2; }

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* --- How It Works --- */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--border);
}

.step { text-align: center; position: relative; }

.step-number {
  width: 80px;
  height: 80px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(78,110,242,.4);
  position: relative;
  z-index: 1;
}

.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--text-2); line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 32px -8px rgba(78,110,242,.2);
}

.pricing-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

.pricing-card .price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-card .price small { font-size: 16px; font-weight: 500; color: var(--text-2); }

.pricing-card .price-desc {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.pricing-features li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--success); }
.pricing-features li.disabled { color: var(--text-3); }
.pricing-features li.disabled svg { color: var(--text-3); }
.pricing-card .btn { width: 100%; }

/* --- CTA Section --- */
.cta-section {
  background: var(--grad);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-section .store-badge { background: #fff; color: var(--text); }
.cta-section .store-badge:hover { background: #f8f9fa; }

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: var(--text);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.5);
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col a {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 14px; color: rgba(255,255,255,.4); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a { font-size: 14px; color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: #fff; }

/* --- Legal Pages --- */
.legal-page { padding: 140px 0 100px; }

.legal-content { max-width: 800px; margin: 0 auto; }

.legal-content h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 48px;
}

.legal-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.legal-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }

.legal-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 8px;
}

.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }

.legal-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.legal-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.legal-nav a:hover, .legal-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* --- Support Page --- */
.support-hero { padding: 140px 0 60px; text-align: center; }

.support-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.support-hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
}

.support-search {
  max-width: 560px;
  margin: 32px auto 0;
  position: relative;
}

.support-search input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 16px;
  font-family: var(--font);
  background: var(--card);
  color: var(--text);
  transition: all var(--transition);
}

.support-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(78,110,242,.1);
}

.support-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-3);
}

.support-topics { padding: 60px 0; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.topic-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.topic-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.topic-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.topic-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.topic-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* --- FAQ --- */
.faq-section { padding: 80px 0; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.active { border-color: var(--primary); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  width: 100%;
  background: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform var(--transition);
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.22, 1, .36, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* --- Contact Card --- */
.contact-section { padding: 60px 0 100px; }

.contact-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border);
}

.contact-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: 16px; color: var(--text-2); margin-bottom: 24px; }

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-method:hover { background: var(--primary-light); }
.contact-method svg { width: 24px; height: 24px; color: var(--primary); }

.contact-method-text { text-align: left; }
.contact-method-text small { font-size: 12px; color: var(--text-3); display: block; }
.contact-method-text strong { font-size: 15px; font-weight: 600; }

/* --- About Page --- */
.about-hero { padding: 140px 0 80px; text-align: center; }

.about-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-mission { padding: 80px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 16px; }

.about-grid p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-values {
  padding: 80px 0;
  background: var(--card);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card { text-align: center; padding: 32px; }

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--grad);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; }

/* --- Page Header --- */
.page-header { padding: 140px 0 60px; text-align: center; }

.page-header h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-mini { justify-content: center; }
  .hero-visual { height: 580px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
  .hero-desc { font-size: 17px; }
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
  .mobile-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .how-it-works-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-it-works-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .cta-section { padding: 60px 24px; }
  .cta-section h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topics-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-grid { gap: 32px; }
  .hero-visual { height: 520px; }
  .hero-phones { width: 300px; height: 520px; }
  .hero-phone-front { width: 240px; height: 490px; }
  .hero-phone-back { width: 220px; height: 450px; right: -6px; }
  .legal-content h1 { font-size: 32px; }
  .support-hero h1, .about-hero h1, .page-header h1 { font-size: 32px; }
  .store-badge { min-width: 160px; padding: 12px 18px; }
  .store-badge svg { width: 24px; height: 24px; }
  .store-badge-text strong { font-size: 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .store-badge { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .store-badge { width: 100%; }
  .contact-methods { flex-direction: column; }
  .contact-method { width: 100%; justify-content: center; }
  .pricing-card { padding: 28px; }
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s cubic-bezier(.22, 1, .36, 1) forwards;
  opacity: 0;
}

.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.22, 1, .36, 1), transform 0.6s cubic-bezier(.22, 1, .36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Stats Bar --- */
.stats-bar {
  padding: 48px 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

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

/* --- Feature Showcase --- */
.showcase-section { overflow: hidden; }

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

.showcase-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.showcase-content h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.showcase-content > p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.showcase-list li svg { flex-shrink: 0; }

/* Showcase Phone */
.showcase-visual { display: flex; justify-content: center; }

.showcase-phone {
  width: 300px;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.showcase-phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.showcase-phone-dots {
  display: flex;
  gap: 6px;
}

.showcase-phone-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.showcase-phone-dots span:nth-child(1) { background: #EF4444; }
.showcase-phone-dots span:nth-child(2) { background: #F59E0B; }
.showcase-phone-dots span:nth-child(3) { background: #10B981; }

.showcase-phone-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.showcase-calendar { padding: 16px 20px; }

.showcase-cal-header { margin-bottom: 12px; }

.showcase-cal-month {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.showcase-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.showcase-cal-days span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  padding: 4px 0;
}

.showcase-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 16px;
}

.cal-day {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  border-radius: 8px;
  cursor: default;
}

.cal-day.active {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}

.showcase-events { display: flex; flex-direction: column; gap: 8px; }

.showcase-event {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.showcase-event.blue { background: var(--primary-light); }
.showcase-event.orange { background: var(--warning-light); }

.showcase-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.showcase-event.blue .showcase-event-dot { background: var(--primary); }
.showcase-event.orange .showcase-event-dot { background: var(--warning); }

.showcase-event small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-top: 2px;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-author small {
  font-size: 12px;
  color: var(--text-3);
}

/* --- Mobile Sticky Download Bar --- */
.mobile-download-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 998;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  .mobile-download-bar { display: block; }
  body { padding-bottom: 72px; }
  .stats-grid { gap: 24px; }
  .stat-divider { display: none; }
  .stat-number { font-size: 28px; }
  .showcase-row { grid-template-columns: 1fr; gap: 40px; }
  .showcase-visual { order: -1; }
  .showcase-phone { width: 280px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .showcase-content h2 { font-size: 28px; }
}

/* --- Screenshots Gallery --- */
.screenshots-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-bottom: 16px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.screenshots-scroll::-webkit-scrollbar { height: 6px; }
.screenshots-scroll::-webkit-scrollbar-track { background: transparent; }
.screenshots-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 100px; }
.screenshots-scroll::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

.screenshots-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px 0;
}

.screenshot-item {
  flex-shrink: 0;
  width: 180px;
  text-align: center;
}

.screenshot-phone {
  width: 180px;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 6px;
  background: var(--text);
  transition: transform var(--transition), box-shadow var(--transition);
}

.screenshot-phone:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.screenshot-phone img {
  width: 100%;
  display: block;
  border-radius: 18px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.screenshot-label {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.2px;
}

/* Hero phone with real image */
.hero-phone-inner:has(img) {
  padding: 0;
  background: var(--text);
  overflow: hidden;
}

.hero-phone-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

@media (max-width: 480px) {
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 24px; }
  .screenshot-item { width: 160px; }
  .screenshot-phone { width: 160px; }
}
