/* Focusr Landing Page */

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

:root {
  --bg:           #0a0a0f;
  --bg-card:      #12121a;
  --bg-hover:     #1a1a26;
  --border:       #1e1e2e;
  --text:         #e8e8f0;
  --text-dim:     #c9c9d6;   /* was #9090b0 — too faint on a card */
  --accent:       #a8382a;   /* clay red. white on it = 6.43:1, APCA 86 */
  --accent-light: #ce5748;   /* the tint, 4.78:1 on the page */
  --accent-glow:  rgba(168, 56, 42, 0.18);  /* no neon: dark + coloured glow is a named tell */
  --green:        #51cf66;
  --radius:       16px;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Global scroll-in 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; }

a { text-decoration: none; color: inherit; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin:0 auto;
  padding:16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap:8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.nav-cta {
  min-height: 44px;
  background: var(--accent);
  color: #fff;
  padding:8px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 1px 1px rgba(0,0,0,0.30), 0 2px 4px rgba(0,0,0,0.22);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 1px 1px rgba(0,0,0,0.34), 0 3px 8px rgba(0,0,0,0.26); }

/* ── Buttons ── */
.btn-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap:8px;
  background: var(--accent);
  color: #fff;
  padding:12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 1px 1px rgba(0,0,0,0.30), 0 2px 4px rgba(0,0,0,0.24), 0 4px 8px rgba(0,0,0,0.18);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap:8px;
  color: var(--text-dim);
  padding:12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ── Animated background orbs ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
}
.bg-orb-1 {
  width: 700px; height: 700px;
  background: none;
  top: -300px; left: -300px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.bg-orb-2 {
  width: 600px; height: 600px;
  background: none;
  bottom: -200px; right: -200px;
  animation: orbFloat2 15s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(60px, 80px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-50px, -60px); }
}

/* ── Labels ── */
.section-label {
  display: none;   /* removed 9 Aug: a kicker pill is a named tell, and the heading says it anyway */
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(168, 56, 42, 0.12);
  padding:4px 12px;
  border-radius: 24px;
  margin-bottom:16px;
  animation: labelPulse 3s ease-in-out infinite;
}
@keyframes labelPulse {
  0%, 100% { background: rgba(168, 56, 42,0.12); }
  50%       { background: rgba(168, 56, 42,0.22); }
}

/* ── Hero ── */
.hero {
  max-width: 760px;
  margin:0 auto;
  padding:96px 24px 96px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap:8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(168, 56, 42, 0.12);
  padding:4px 12px;
  border-radius: 24px;
  margin-bottom:24px;
  border: 1px solid rgba(168, 56, 42, 0.3);
  animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom:20px;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 540px;
  margin:0 auto 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:12px;
  flex-wrap: wrap;
  margin-bottom:24px;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── Features ── */
.features {
  max-width: 1100px;
  margin:0 auto;
  padding:80px 24px;
  text-align: center;
}
.features h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom:12px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom:48px;
  /* ch is the width of "0", not of a character — 52ch is what lands under 80. */
  max-width: 52ch;
  margin-inline: auto;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding:24px 24px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(168, 56, 42,0.5);
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.28), 0 8px 16px rgba(0,0,0,0.22), 0 16px 32px rgba(0,0,0,0.16);
}
.feature-icon {
  animation: iconBob 3s ease-in-out infinite;
}
@keyframes iconBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.feature-icon {
  font-size: 24px;
  margin-bottom:12px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom:8px;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Pro ── */
.pro {
  background: var(--accent);
  padding:80px 24px;
}
.pro-inner {
  max-width: 1000px;
  margin:0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap:64px;
  align-items: center;
}
.pro-left h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom:12px;
}
.pro-left > p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom:24px;
  line-height: 1.7;
}
.pro-list {
  list-style: none;
  margin-bottom:32px;
  display: flex;
  flex-direction: column;
  gap:8px;
}
.pro-list li {
  display: flex;
  align-items: center;
  gap:8px;
  font-size: 15px;
  color: var(--text-dim);
}
.check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding:32px 24px;
  text-align: center;
  box-shadow: 0 0 60px var(--accent-glow);
  border-color: rgba(168, 56, 42, 0.3);
}
.price-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom:16px;
}
.price-amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom:4px;
}
.price-amount span {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dim);
}
.price-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom:24px;
}
.price-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top:12px;
}

/* ── FAQ ── */
.faq {
  max-width: 700px;
  margin:0 auto;
  padding:80px 24px;
}
.faq h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom:32px;
}
.faq-list { display: flex; flex-direction: column; gap:2px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding:20px 0;
}
.faq-q {
  font-size: 17px;
  font-weight: 600;
  margin-bottom:8px;
}
.faq-a {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── CTA ── */
.cta {
  text-align: center;
  padding:80px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom:12px;
}
.cta p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom:32px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding:32px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin:0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap:16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap:4px;
  font-weight: 700;
  font-size: 15px;
}
.footer-links {
  display: flex;
  gap:24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
  /* 44pt, the same bar the iPhone apps are held to. Padding only. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pro-inner { grid-template-columns: 1fr; gap:40px; }
  .price-card { max-width: 380px; margin:0 auto; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
