/* =========================================================
   Simple Insights — Marketing Site Stylesheet
   Apple-style dark design with on-device privacy focus
   ========================================================= */

/* ── Custom Properties ── */
:root {
  --bg-dark:    #07070f;
  --bg-darker:  #04040a;
  --bg-mid:     #0f0f1a;
  --bg-navy:    #0a0d18;
  --bg-light:   #f5f5f7;
  --bg-white:   #ffffff;

  --text-light:       #f5f5f7;
  --text-muted-dark:  #98989f;
  --text-dark:        #1d1d1f;
  --text-muted-light: #6e6e73;

  --accent-blue:   #007AFF;
  --accent-purple: #BF5AF2;
  --accent-green:  #30D158;

  --gradient-ai: linear-gradient(135deg, #007AFF 0%, #BF5AF2 100%);
  --gradient-hero-bg: radial-gradient(ellipse 80% 60% at 60% 0%, rgba(30,20,80,0.8) 0%, transparent 70%),
                      radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0,60,120,0.3) 0%, transparent 60%),
                      #07070f;

  --device-bg:     #1c1c1e;
  --device-rim:    #2c2c2e;
  --device-shine:  rgba(255,255,255,0.07);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Inter, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-card: 0 2px 12px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
  --shadow-device: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-device-light: 0 24px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.08);

  --radius-card: 20px;
  --radius-btn:  14px;
  --nav-h: 64px;
}

/* ── Reset ── */
*, *::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);
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

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

/* ── Layout helpers ── */
.container       { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: 760px;  margin: 0 auto; padding: 0 24px; }

/* ── Section backgrounds ── */
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-dark  { background: var(--bg-dark);  color: var(--text-light); }
.section-mid   { background: var(--bg-mid);   color: var(--text-light); }
.section-navy  { background: var(--bg-navy);  color: var(--text-light); }
.section-cta   { background: var(--bg-darker); color: var(--text-light); position: relative; overflow: hidden; }

section { padding: 100px 0; }

/* ── Typography ── */
h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
p  { font-size: 17px; line-height: 1.65; }

.section-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  {
  font-size: 19px;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto;
}
.section-light .section-header p { color: var(--text-muted-light); }

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

.br-desktop { display: block; }

/* ── Eyebrow labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-ai);
}
.eyebrow-gradient {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.eyebrow-blue { color: var(--accent-blue); }

/* ── App Store Button ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-btn);
  padding: 12px 22px;
  transition: transform 0.2s var(--ease-out), background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.app-store-btn:hover {
  background: #1c1c1e;
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.apple-icon { flex-shrink: 0; }
.btn-text   { display: flex; flex-direction: column; align-items: flex-start; }
.btn-small  { font-size: 10px; opacity: 0.75; letter-spacing: 0.03em; line-height: 1; }
.btn-large  { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.cta-btn    { padding: 16px 28px; }
.cta-btn .btn-large { font-size: 19px; }

/* ── Trust strip ── */
.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted-dark);
}
.trust-strip .sep { opacity: 0.35; }

/* ── Nav ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
  background: rgba(7,7,15,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}
.nav-logo span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-light);
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-light); }
.nav-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-blue);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.nav-download-btn:hover {
  background: #0071e3;
  transform: scale(1.04);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 1px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(7,7,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 24px 24px;
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted-dark);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s ease;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--text-light); }
.mobile-store-link {
  margin-top: 8px;
  background: var(--accent-blue) !important;
  color: #fff !important;
  text-align: center;
  padding: 14px 0 !important;
  border-radius: 12px;
  font-weight: 600 !important;
  border-bottom: none !important;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  background: var(--gradient-hero-bg);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 75% 40%, rgba(0,122,255,0.08) 0%, transparent 70%),
    radial-gradient(circle 400px at 20% 60%, rgba(191,90,242,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-text h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 19px;
  color: var(--text-muted-dark);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.6;
}
.hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Problem section ── */
#problem { padding: 100px 0; }
.section-light .section-title { color: var(--text-dark); }
.section-light em { color: var(--accent-blue); font-style: normal; font-weight: 600; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.problem-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.problem-icon {
  font-size: 36px;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 15px;
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* ── Feature split layout ── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-split.feature-reverse {
  grid-template-columns: 1fr 1fr;
}
.feature-split.feature-reverse .feature-text { order: 2; }
.feature-split.feature-reverse .feature-device { order: 1; }

.feature-text h2 { margin-bottom: 20px; }
.feature-body {
  font-size: 17px;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
  line-height: 1.65;
}
.feature-light .feature-body { color: var(--text-muted-light); }
.feature-device { display: flex; justify-content: center; align-items: center; }

/* ── Check lists ── */
.check-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted-light);
}
.check-list.dark li { color: var(--text-muted-dark); }
.check-list li::before {
  content: "";
  width: 18px; height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(0,122,255,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23007AFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.check-list.dark li::before { background-color: rgba(0,122,255,0.12); }

/* ── Ask AI section ── */
#ask-ai .feature-split { gap: 60px; }
.prompt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
}
.prompt-bubble {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-muted-dark);
  font-style: italic;
  transition: background 0.2s ease;
}
.prompt-bubble:hover { background: rgba(255,255,255,0.1); }
.ai-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(0,122,255,0.08);
  border: 1px solid rgba(0,122,255,0.2);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-top: 8px;
}
.ai-callout-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.ai-callout strong { font-size: 15px; color: var(--text-light); display: block; margin-bottom: 4px; }
.ai-callout p { font-size: 14px; color: var(--text-muted-dark); line-height: 1.5; margin: 0; }

/* Stacked phones (Ask AI section) */
.stacked-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
}
.phone-back {
  position: absolute;
  left: 0;
  top: 40px;
  transform: rotate(-4deg) translateX(-20px);
  opacity: 0.7;
  z-index: 1;
}
.phone-front {
  position: relative;
  z-index: 2;
  transform: rotate(2deg) translateX(20px);
}

/* ── Pillars section ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.14);
}
.pillar-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--device-bg);
}
.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.pillar-card:hover .pillar-img img { transform: scale(1.03); }
.pillar-body { padding: 24px; }
.pillar-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.pillar-tag.recovery  { background: rgba(255,69,58,0.15);  color: #ff453a; }
.pillar-tag.training  { background: rgba(0,122,255,0.15);  color: #007AFF; }
.pillar-tag.movement  { background: rgba(48,209,88,0.15);  color: #30D158; }
.pillar-body ul { display: flex; flex-direction: column; gap: 8px; }
.pillar-body li {
  font-size: 14px;
  color: var(--text-muted-dark);
  padding-left: 16px;
  position: relative;
}
.pillar-body li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.3);
}

/* ── Privacy section ── */
#privacy .section-header h2 { color: var(--text-light); }
#privacy .section-header p  { color: var(--text-muted-dark); }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.privacy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
}
.privacy-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}
.privacy-icon { font-size: 32px; margin-bottom: 16px; }
.privacy-card h3 { color: var(--text-light); margin-bottom: 10px; font-size: 18px; }
.privacy-card p  { font-size: 14px; color: var(--text-muted-dark); line-height: 1.6; }
.privacy-statement {
  text-align: center;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.06);
}
.privacy-statement p {
  font-size: 18px;
  color: var(--text-muted-dark);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Screenshots gallery ── */
#screenshots { padding: 100px 0; overflow: hidden; }
.gallery-label {
  padding: 0 0 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.device-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  background: rgba(0,0,0,0.06);
  padding: 4px 12px;
  border-radius: 20px;
}
.screenshots-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 24px 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
  max-width: 1400px;
  margin: 0 auto;
}
.screenshots-track::-webkit-scrollbar { height: 4px; }
.screenshots-track::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }
.shot-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.shot-item p {
  font-size: 13px;
  color: var(--text-muted-light);
  font-weight: 500;
}
.ipad-shot p { color: var(--text-muted-light); }

/* ── How it works ── */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  text-align: center;
  padding: 32px 24px;
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}
.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.step h3 { color: var(--text-light); margin-bottom: 8px; font-size: 17px; }
.step p  { font-size: 14px; color: var(--text-muted-dark); line-height: 1.5; }
.step-arrow {
  font-size: 24px;
  color: var(--text-muted-dark);
  opacity: 0.4;
  flex-shrink: 0;
  padding: 0 8px;
}

/* ── Trust section ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.trust-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.trust-icon { font-size: 36px; margin-bottom: 16px; }
.trust-card h3 { color: var(--text-dark); margin-bottom: 10px; }
.trust-card p  { font-size: 15px; color: var(--text-muted-light); line-height: 1.6; }
.review-quote {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 40px;
  border-left: 4px solid var(--accent-blue);
  box-shadow: var(--shadow-card);
}
.review-quote blockquote {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  background: rgba(0,122,255,0.08);
  border-color: rgba(0,122,255,0.3);
  box-shadow: 0 0 0 1px rgba(0,122,255,0.15), 0 24px 60px rgba(0,0,0,0.3);
}
.pricing-card.featured:hover { border-color: rgba(0,122,255,0.5); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 {
  color: var(--text-muted-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.price-amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 4px;
}
.price-period { font-size: 18px; font-weight: 400; opacity: 0.6; }
.price-sub {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 28px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted-dark);
}
.pricing-features li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-btn {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}
.pricing-btn:hover { background: rgba(255,255,255,0.18); transform: scale(1.02); }
.featured-btn {
  background: var(--accent-blue);
  border-color: transparent;
}
.featured-btn:hover { background: #0071e3; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--accent-blue); }
.faq-q::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted-light);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
  color: var(--accent-blue);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-a p {
  font-size: 15px;
  color: var(--text-muted-light);
  line-height: 1.7;
}

/* ── Final CTA ── */
#cta {
  text-align: center;
  padding: 120px 24px;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 700px at 50% 50%, rgba(0,122,255,0.08) 0%, transparent 70%),
    radial-gradient(circle 400px at 30% 70%, rgba(191,90,242,0.06) 0%, transparent 60%);
  pointer-events: none;
}
#cta .container { position: relative; }
.cta-logo {
  margin: 0 auto 32px;
  width: 80px;
}
.cta-logo img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: var(--shadow-device);
}
#cta h2 { margin-bottom: 16px; color: var(--text-light); }
#cta p  {
  font-size: 19px;
  color: var(--text-muted-dark);
  margin-bottom: 40px;
}

/* ── Footer ── */
footer {
  background: #000;
  padding: 64px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.5;
  margin-bottom: 8px;
}
.footer-legal-note { font-size: 12px !important; opacity: 0.6; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted-dark);
  opacity: 0.6;
}

/* ========= DEVICE FRAMES ========= */

/* ── iPhone frame ── */
.iphone-frame {
  position: relative;
  background: var(--device-bg);
  border-radius: 52px;
  padding: 16px 10px 20px;
  box-shadow: var(--shadow-device);
  border: 1px solid var(--device-rim);
  width: 260px;
}
.iphone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 52px;
  background: var(--device-shine);
  pointer-events: none;
}
.iphone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.iphone-screen {
  border-radius: 38px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: #000;
  position: relative;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.iphone-bar {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  margin: 12px auto 4px;
}

/* ── iPad frame (landscape) ── */
.ipad-frame {
  position: relative;
  background: var(--device-bg);
  border-radius: 24px;
  padding: 12px 12px 16px;
  box-shadow: var(--shadow-device);
  border: 1px solid var(--device-rim);
  width: 340px;
}
.ipad-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: var(--device-shine);
  pointer-events: none;
}
.ipad-camera {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: #333;
  border-radius: 50%;
  z-index: 2;
}
.ipad-screen {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
}
.ipad-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.ipad-bar {
  width: 70px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 8px auto 2px;
}

/* ── Size variants ── */
.hero-iphone      { width: 280px; }
.gallery-phone    { width: 170px; border-radius: 40px; }
.gallery-phone .iphone-island { width: 70px; height: 20px; top: 12px; }
.gallery-phone .iphone-screen { border-radius: 28px; }
.gallery-phone .iphone-bar { width: 60px; margin-top: 8px; }
.gallery-phone    { padding: 12px 8px 14px; }

.gallery-pad      { width: 260px; }
.gallery-pad .ipad-screen { aspect-ratio: 4/3; }

.feature-phone    { width: 300px; }
.feature-phone .iphone-island { width: 110px; }

.feature-pad      { width: 420px; }
.feature-pad .ipad-screen { aspect-ratio: 4/3; }

/* Light-section device frames */
.section-light .ipad-frame,
.section-light .iphone-frame {
  box-shadow: var(--shadow-device-light);
}

/* ========= ANIMATIONS ========= */

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero entrance */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .feature-split { grid-template-columns: 1fr; gap: 48px; }
  .feature-split.feature-reverse .feature-text  { order: 0; }
  .feature-split.feature-reverse .feature-device { order: 1; }
  .feature-device { justify-content: center; }
  .stacked-phones { height: 460px; }
  .feature-pad    { width: 360px; }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text  { max-width: 100%; }
  .hero-sub   { max-width: 100%; }
  .hero-device { display: none; }
  .trust-strip { justify-content: center; }
  .hero-btn    { margin: 0 auto; }

  .problem-grid  { grid-template-columns: 1fr; gap: 16px; }
  .pillars-grid  { grid-template-columns: 1fr; gap: 20px; }
  .privacy-grid  { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-grid    { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid  { grid-template-columns: 1fr; gap: 24px; }
  .steps-row     { gap: 8px; }
  .step-arrow    { display: none; }

  .br-desktop    { display: none; }
  section        { padding: 72px 0; }
  #hero          { padding: calc(var(--nav-h) + 40px) 24px 60px; }
}

@media (max-width: 640px) {
  .nav-links      { display: none; }
  .nav-download-btn { display: none; }
  .nav-hamburger  { display: flex; }

  .privacy-grid   { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; }

  .feature-pad    { width: 300px; }
  .feature-phone  { width: 240px; }
  .feature-phone .iphone-island { width: 90px; }

  #cta { padding: 80px 24px; }
  .review-quote { padding: 28px 24px; }
  .review-quote blockquote { font-size: 16px; }
}

@media (max-width: 480px) {
  .steps-row { flex-direction: column; align-items: center; }
}
