/* ============================================
   Sentient Machines — Design System & Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- Tokens --- */
:root {
  --bg-primary: #0A0F1C;
  --bg-section: #0F172A;
  --bg-card: #1E293B;
  --accent: #22D3EE;
  --accent-glow: #22D3EE40;
  --accent-subtle: #22D3EE15;
  --accent-border: #22D3EE30;
  --accent-muted: #22D3EE20;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-subtle: #475569;
  --border: #1E293B;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Utilities --- */
.container { max-width: 1440px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 20px 4px var(--accent-glow); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 120px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 15, 28, 0.92);
}

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

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--bg-primary);
}

.nav__logo-text {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
  color: var(--bg-primary);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero Section --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 120px;
  gap: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-muted), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.hero__badge-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
}

.hero__title {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  max-width: 900px;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: var(--bg-primary);
}

.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid var(--text-subtle);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
  border-color: var(--text-secondary);
  transform: translateY(-1px);
  color: var(--text-primary);
}

/* --- Apps Section --- */
.apps-section {
  background: var(--bg-section);
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
}

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

.app-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.app-card__preview {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.app-card__preview--1 {
  background: linear-gradient(135deg, var(--accent-muted), var(--bg-primary));
}

.app-card__preview--2 {
  background: linear-gradient(225deg, var(--accent-muted), var(--bg-primary));
}

.app-card__preview--3 {
  background: linear-gradient(315deg, var(--accent-muted), var(--bg-primary));
}

.app-card__phone {
  width: 120px;
  height: 180px;
  background: var(--bg-section);
  border-radius: 16px;
  border: 1px solid var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-card:hover .app-card__phone {
  transform: translateY(-8px);
}

.app-card__phone-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
  text-align: center;
  line-height: 1.4;
}

.app-card__info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.app-card__badges {
  display: flex;
  gap: 8px;
}

.app-card__badge {
  padding: 4px 12px;
  background: var(--accent-subtle);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.app-card__name {
  font-size: 22px;
  font-weight: 600;
}

.app-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.app-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
  margin-top: auto;
}

.app-card__link:hover { gap: 12px; color: var(--accent); }
.app-card__link svg { width: 16px; height: 16px; }

/* Browser-frame preview for website cards */
.app-card__preview--browser {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card__browser-frame {
  width: 92%;
  height: 265px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-card:hover .app-card__browser-frame {
  transform: translateY(-6px);
}

.app-card__browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-card__browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.app-card__browser-url {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- About Section --- */
.about {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 100px 120px;
}

.about__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
}

.about__title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
}

.about__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__stats-row {
  display: flex;
  gap: 20px;
}

.stat-card {
  flex: 1;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-card__value {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
}

.stat-card__value--accent { color: var(--accent); }

.stat-card__label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 60px 120px 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
}

.footer__brand {
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--bg-primary);
}

.footer__logo-text {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer__columns {
  display: flex;
  gap: 80px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer__col-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col-link:hover { color: var(--text-primary); }

.footer__divider {
  height: 1px;
  background: var(--border);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
}

/* =====================
   APP DETAIL PAGE
   ===================== */

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 120px;
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--text-primary); }
.back-link svg { width: 16px; height: 16px; }

.app-hero {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 60px 120px 80px;
}

.app-hero__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.app-hero__badges {
  display: flex;
  gap: 8px;
}

.app-hero__badge {
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.app-hero__badge--platform {
  background: var(--accent-subtle);
  color: var(--accent);
}

.app-hero__badge--version {
  background: var(--bg-card);
  color: var(--text-muted);
}

.app-hero__badge--category {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-hero__title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.app-hero__desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.app-hero__buttons {
  display: flex;
  gap: 16px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover { transform: translateY(-2px); }

.store-btn--apple {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.store-btn--apple:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  color: var(--bg-primary);
}

.store-btn--google {
  border: 1px solid var(--text-subtle);
  color: var(--text-primary);
}

.store-btn--google:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.store-btn svg { width: 22px; height: 22px; }

.store-btn__text {
  display: flex;
  flex-direction: column;
}

.store-btn__label {
  font-size: 10px;
  opacity: 0.6;
}

.store-btn__name {
  font-size: 16px;
  font-weight: 600;
}

.app-hero__right {
  width: 320px;
  height: 480px;
  border-radius: 32px;
  background: linear-gradient(180deg, var(--accent-subtle), var(--bg-primary));
  border: 1px solid var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-hero__mockup {
  width: 200px;
  height: 380px;
  background: var(--bg-section);
  border-radius: 24px;
  border: 1px solid var(--text-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-hero__mockup svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.app-hero__mockup-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-subtle);
}

/* Features */
.features {
  background: var(--bg-section);
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__title {
  font-size: 18px;
  font-weight: 600;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Privacy Links (on detail page) */
.privacy-links {
  padding: 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 28px;
  gap: 16px;
  transition: transform 0.2s, background 0.2s;
}

.privacy-card:hover {
  transform: translateX(4px);
  background: #253249;
}

.privacy-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.privacy-card__left svg { width: 24px; height: 24px; flex-shrink: 0; }

.privacy-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-card__title {
  font-size: 16px;
  font-weight: 600;
}

.privacy-card__desc {
  font-size: 13px;
  color: var(--text-muted);
}

.privacy-card__chevron {
  color: var(--accent);
  flex-shrink: 0;
}

.privacy-card__chevron svg { width: 18px; height: 18px; }

/* Detail footer (compact) */
.footer-compact {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 120px;
}

.footer-compact__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-compact__icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--bg-primary);
}

.footer-compact__text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
}

/* =====================
   PRIVACY POLICY PAGES
   ===================== */

.privacy-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 60px;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.privacy-nav.scrolled { border-bottom-color: var(--border); }

.privacy-nav__logo {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.privacy-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.privacy-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.privacy-nav__link:hover { color: var(--text-primary); }

.privacy-header {
  background: var(--bg-section);
  padding: 80px 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-header__back {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s;
}

.privacy-header__back:hover { opacity: 0.8; }

.privacy-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent-subtle);
  border-radius: 100px;
  width: fit-content;
}

.privacy-header__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.privacy-header__badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.privacy-header__title {
  font-size: 48px;
  font-weight: 700;
}

.privacy-header__subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

.privacy-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1440px;
}

.privacy-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-section__title {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.privacy-section__body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

.privacy-content__divider {
  height: 1px;
  background: var(--border);
}

.privacy-content__note {
  font-size: 14px;
  color: var(--text-subtle);
  line-height: 1.7;
}

.privacy-footer {
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
}

.privacy-footer__logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.privacy-footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 1024px) {
  .nav, .hero, .apps-section, .about, .footer,
  .back-link, .app-hero, .features, .privacy-links,
  .footer-compact {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero__title { font-size: 48px; }
  .section-title { font-size: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .about {
    flex-direction: column;
    gap: 48px;
  }

  .about__title { font-size: 36px; }

  .app-hero {
    flex-direction: column;
    gap: 40px;
  }

  .app-hero__right {
    width: 100%;
    max-width: 320px;
    height: 400px;
  }

  .app-hero__title { font-size: 40px; }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__columns { gap: 40px; }
  .privacy-content { padding: 40px; }
  .privacy-header { padding: 60px 40px 30px; }
  .privacy-nav { padding: 0 40px; }
  .privacy-footer { padding: 24px 40px; }
}

@media (max-width: 768px) {
  .nav, .hero, .apps-section, .about, .footer,
  .back-link, .app-hero, .features, .privacy-links,
  .footer-compact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 80px 0 0;
    background: var(--bg-primary);
    padding: 32px 20px;
    gap: 24px;
    border-top: 1px solid var(--border);
    z-index: 99;
  }

  .nav__toggle { display: flex; }

  .hero { padding: 60px 20px; }
  .hero__title { font-size: 36px; letter-spacing: -1px; }
  .hero__subtitle { font-size: 16px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn-primary,
  .hero__ctas .btn-secondary { width: 100%; justify-content: center; }

  .apps-grid,
  .features-grid { grid-template-columns: 1fr; }

  .section-title { font-size: 28px; }
  .about__title { font-size: 30px; }
  .about__stats-row { flex-direction: column; }

  .stat-card__value { font-size: 32px; }

  .footer__columns {
    flex-direction: column;
    gap: 32px;
  }

  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .app-hero__title { font-size: 32px; }
  .app-hero__buttons { flex-direction: column; }
  .store-btn { width: 100%; justify-content: center; }

  .privacy-header { padding: 40px 20px 24px; }
  .privacy-header__title { font-size: 32px; }
  .privacy-content { padding: 24px 20px; gap: 36px; }
  .privacy-nav { padding: 0 20px; }
  .privacy-footer { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
}
