/* ============================================================
   Material Merge — Marketing Website
   styles.css
   ============================================================ */

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

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

:root {
  --bg:           #08090D;
  --surface:      #0F1119;
  --surface-2:    #161B27;
  --surface-3:    #1C2333;
  --border:       #1E2535;
  --border-light: #252E42;

  --text:         #F4F6FA;
  --text-2:       #B0BAC8;
  --text-3:       #6B7A8F;

  --accent:       #3B82F6;
  --accent-dark:  #2563EB;
  --accent-2:     #8B5CF6;
  --accent-grad:  linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --hero-grad:    linear-gradient(160deg, #0F1119 0%, #0D1321 50%, #0F0A1A 100%);

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.5);
  --glow:         0 0 60px rgba(59,130,246,0.12);

  --nav-height:   68px;
  --max-w:        1120px;
  --max-w-text:   680px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Gradient text ── */
.grad-text {
  background: var(--accent-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: 13px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(59,130,246,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-light);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(59,130,246,0.08);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ── App Store button ── */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.18s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.btn-appstore svg { flex-shrink: 0; }
.btn-appstore .store-text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.btn-appstore .store-pre { font-size: 10px; font-weight: 500; opacity: 0.65; letter-spacing: 0.04em; }
.btn-appstore .store-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.btn-appstore.coming-soon { opacity: 0.5; cursor: default; pointer-events: none; }

/* ── Section labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

/* ── Section headings ── */
.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: var(--max-w-text);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8,9,13,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 32px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.nav-hamburger:hover { background: var(--surface-2); }
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.22s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(8,9,13,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: all 0.15s;
}
.nav-mobile a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-mobile .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--hero-grad);
  padding-top: var(--nav-height);
}

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  pointer-events: none;
}

/* Glows */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-note svg { color: var(--accent); flex-shrink: 0; }

/* Phone mockups row */
.hero-phones {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 16px;
}

.phone-frame {
  flex-shrink: 0;
  width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.phone-frame::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  z-index: 2;
}
.phone-frame-inner {
  padding: 28px 16px 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-screen-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 4px;
}
.phone-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--surface-3);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.phone-item-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--border-light);
  flex-shrink: 0;
}
.phone-item-thumb.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.phone-item-thumb.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.phone-item-thumb.green { background: linear-gradient(135deg, #10B981, #059669); }
.phone-item-thumb.orange { background: linear-gradient(135deg, #F59E0B, #D97706); }
.phone-item-thumb.pink { background: linear-gradient(135deg, #EC4899, #DB2777); }
.phone-item-info { flex: 1; min-width: 0; }
.phone-item-name {
  height: 9px;
  background: var(--border-light);
  border-radius: 4px;
  margin-bottom: 5px;
  width: 70%;
}
.phone-item-meta {
  height: 7px;
  background: var(--border);
  border-radius: 4px;
  width: 50%;
}
.phone-frame.center { transform: translateY(-24px); width: 220px; }
.phone-frame.center .phone-frame-inner { min-height: 420px; }

/* ── Features ── */
.features {
  padding: 100px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 60px;
}

.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
  position: relative;
}
.feature-card:hover { background: var(--surface-2); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-card:nth-child(4) .feature-icon,
.feature-card:nth-child(5) .feature-icon { color: #8B5CF6; background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.2); }
.feature-card:nth-child(6) .feature-icon { color: #10B981; background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); }

.feature-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── How it works ── */
.how {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(59,130,246,0.1);
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Screenshots ── */
.screenshots {
  padding: 100px 0;
  overflow: hidden;
}

.screenshots-scroll-wrap {
  position: relative;
  margin-top: 60px;
}
.screenshots-scroll-wrap::before,
.screenshots-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.screenshots-scroll-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.screenshots-scroll-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.screenshots-track {
  display: flex;
  gap: 20px;
  padding: 20px 80px 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.screenshots-track::-webkit-scrollbar { display: none; }
.screenshots-track:active { cursor: grabbing; }

.screenshot-card {
  flex-shrink: 0;
  width: 240px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.screenshot-card:hover { transform: translateY(-6px); }

.screenshot-header {
  padding: 18px 16px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.screenshot-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.screenshot-title-bar {
  height: 10px;
  background: var(--border-light);
  border-radius: 5px;
  flex: 1;
}

.screenshot-body {
  padding: 14px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ss-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 4px;
  padding: 0 4px;
}

.ss-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--surface-3);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.ss-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
}
.ss-info { flex: 1; min-width: 0; }
.ss-name {
  height: 8px;
  border-radius: 4px;
  background: var(--border-light);
  margin-bottom: 4px;
}
.ss-meta {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  width: 60%;
}
.ss-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}

.ss-section-card {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.ss-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ss-section-name {
  height: 9px;
  background: var(--border-light);
  border-radius: 4px;
  width: 60%;
}
.ss-section-count {
  height: 9px;
  background: var(--border);
  border-radius: 4px;
  width: 20%;
}
.ss-section-items { display: flex; flex-direction: column; gap: 6px; }
.ss-mini-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ss-mini-thumb {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  flex-shrink: 0;
}
.ss-mini-name {
  height: 7px;
  background: var(--border-light);
  border-radius: 3px;
  flex: 1;
}

/* Screenshot accent colors */
.c-blue   { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.c-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.c-green  { background: linear-gradient(135deg, #10B981, #047857); }
.c-orange { background: linear-gradient(135deg, #F59E0B, #B45309); }
.c-pink   { background: linear-gradient(135deg, #EC4899, #9D174D); }
.c-teal   { background: linear-gradient(135deg, #14B8A6, #0D9488); }
.c-red    { background: linear-gradient(135deg, #EF4444, #B91C1C); }
.c-indigo { background: linear-gradient(135deg, #6366F1, #4338CA); }
.c-rose   { background: linear-gradient(135deg, #F43F5E, #BE123C); }
.c-slate  { background: linear-gradient(135deg, #64748B, #475569); }
.c-amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }

/* Badge colors */
.badge-clean  { background: rgba(16,185,129,0.15); color: #10B981; }
.badge-worn   { background: rgba(107,114,128,0.2); color: #9CA3AF; }
.badge-dirty  { background: rgba(239,68,68,0.15); color: #EF4444; }
.badge-laundry { background: rgba(245,158,11,0.15); color: #F59E0B; }

/* ── CTA banner ── */
.cta-banner {
  padding: 100px 0;
}

.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
}
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 40px;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

/* ── FAQ ── */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-top: 20px;
  align-items: start;
}

.faq-list { padding-top: 40px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent); }
.faq-question.open { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all 0.2s;
}
.faq-question.open .faq-chevron {
  background: rgba(59,130,246,0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: 22px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--accent); text-decoration: underline; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 60px 0 40px;
}

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

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-brand-logo img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}
.footer-brand-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-brand-email {
  font-size: 13px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
}
.footer-brand-email:hover { opacity: 0.8; }

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

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

.footer-copyright {
  font-size: 13px;
  color: var(--text-3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--text-2); }

/* ── Inner page hero (privacy, terms, support) ── */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--hero-grad);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.page-hero-sub {
  font-size: 16px;
  color: var(--text-2);
}

/* ── Document body (privacy/terms) ── */
.doc-body {
  padding: 72px 0 100px;
}
.doc-content {
  max-width: 760px;
}
.doc-meta {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 48px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: inline-block;
}
.doc-content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  color: var(--text);
}
.doc-content h2:first-of-type { margin-top: 0; }
.doc-content h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
  color: var(--text);
}
.doc-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.doc-content ul, .doc-content ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}
.doc-content li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 8px;
}
.doc-content strong { color: var(--text); font-weight: 600; }
.doc-content a { color: var(--accent); text-decoration: underline; }
.doc-content a:hover { opacity: 0.8; }
.doc-contact-box {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.doc-contact-box p { margin: 0; }
.doc-contact-box a { color: var(--accent); font-weight: 600; }

/* ── Support page ── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 0;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.support-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.support-card-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Contact form */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: var(--surface-3);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7A8F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-select option { background: #1C2333; }

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 2px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #10B981;
}
.form-success h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-2); }

/* Contact info card */
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.contact-item:hover { border-color: var(--border-light); }
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
.contact-item-val {
  font-size: 14px;
  color: var(--text-2);
}
.contact-item-val a { color: var(--accent); }

/* Support FAQ (inline) */
.support-faq-section {
  margin-top: 80px;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Divider ── */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent-grad);
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-list { padding-top: 0; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .container { padding: 0 20px; }

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

  .hero { min-height: calc(100vh - var(--nav-height)); }
  .hero-inner { padding: 48px 0 60px; }
  .hero-phones { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-appstore { width: 100%; max-width: 260px; }

  .features { padding: 72px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 24px; }

  .how { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }

  .screenshots { padding: 72px 0; }
  .screenshots-track { padding: 20px 32px 40px; }
  .screenshot-card { width: 200px; }

  .cta-banner { padding: 72px 0; }
  .cta-card { padding: 48px 28px; }

  .faq { padding: 72px 0; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .footer-brand-desc { max-width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

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

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 20px; }
  .doc-body { padding: 48px 0 72px; }
  .support-card { padding: 28px 24px; }
}

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--surface-3);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s;
  z-index: 50;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); color: white; border-color: var(--accent); }
