/* landing.css — index.html only, the marketing/landing page. Kept separate
   from style.css so the app's own pages don't carry this page's specific
   layout rules around for no reason. */

.hero-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 32px;
  max-width: 1160px; margin: 0 auto;
}
.topnav-links { display: flex; gap: 26px; }
.topnav-links a {
  color: var(--ink-dim); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: color 0.15s ease;
}
.topnav-links a:hover { color: var(--ink); text-decoration: none; }
.topbar-ctas { display: flex; align-items: center; gap: 10px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { max-width: 760px; margin: 0 auto; padding: 54px 24px 50px; text-align: center; }
.hero-badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 6px 16px;
  border-radius: 20px; background: rgba(139,92,246,0.12); color: #c4b5fd;
  border: 1px solid rgba(139,92,246,0.3); margin-bottom: 22px;
}
.hero-title {
  font-size: 42px; line-height: 1.22; margin-bottom: 22px;
  background: linear-gradient(140deg, #f5b942 0%, #8b5cf6 60%, #6d28d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 16.5px; line-height: 1.75; color: var(--ink-dim); margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.hero-cta { font-size: 15.5px; padding: 14px 30px; }
.hero-note { font-size: 12.5px; color: var(--ink-faint); }

/* Honest trust signals under the hero CTA (no fake numbers/testimonials) */
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; font-size: 13px; color: var(--ink-dim);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: "✓"; color: var(--gold); font-weight: 800; font-size: 12px;
}

/* ── Section heading shared look ────────────────────────────────────── */
.section-heading {
  font-size: 28px; text-align: center; margin-bottom: 16px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.section-sub {
  font-size: 15px; line-height: 1.75; color: var(--ink-dim);
  max-width: 620px;
}
.section-sub-center { margin: 0 auto 36px; text-align: center; }

/* ── How it works ───────────────────────────────────────────────────── */
.how-it-works { max-width: 1100px; margin: 30px auto 0; padding: 40px 24px 20px; }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
  margin-top: 34px;
}
.step-card {
  background: linear-gradient(175deg, var(--card), var(--bg-1));
  border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.step-number {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #241505;
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 13.5px; line-height: 1.65; color: var(--ink-dim); }

/* ── "Built for the distance" section ──────────────────────────────── */
.together {
  max-width: 1100px; margin: 60px auto 0; padding: 20px 24px 20px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.together-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.together-list li { font-size: 14.5px; line-height: 1.6; color: var(--ink-dim); display: flex; gap: 12px; align-items: flex-start; }
.together-icon { font-size: 18px; flex-shrink: 0; }
.together-visual {
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  padding: 30px 20px;
}
.visual-card {
  width: 100%; max-width: 260px; padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(175deg, var(--card), var(--bg-1));
  border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.visual-card-a { transform: translateX(-14px) rotate(-1.5deg); }
.visual-card-b { transform: translateX(20px) rotate(1.2deg); }
.visual-card-c { transform: translateX(-6px) rotate(-0.6deg); }

/* ── Herae Moments (emotional climax) ───────────────────────────────── */
.memories {
  max-width: 1100px; margin: 76px auto 0; padding: 48px 24px 56px;
  background: radial-gradient(ellipse 760px 460px at 50% 20%, rgba(139,92,246,0.13), transparent 62%);
}
.moments-eyebrow {
  text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.moments-tagline {
  text-align: center; font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px; font-style: italic; margin: -18px auto 36px; max-width: 560px;
  background: linear-gradient(140deg, #f5b942 0%, #8b5cf6 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.moments-outro {
  text-align: center; font-size: 14.5px; line-height: 1.75; color: var(--ink-dim);
  max-width: 640px; margin: 34px auto 0;
}
.features {
  max-width: 1000px; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px;
}
.feature-card {
  background: linear-gradient(175deg, var(--card), var(--bg-1));
  border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.feature-icon { font-size: 30px; margin-bottom: 12px; }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 13.5px; line-height: 1.65; color: var(--ink-dim); }

/* ── Final CTA ──────────────────────────────────────────────────────── */
.cta-section {
  text-align: center; padding: 80px 24px 90px; margin-top: 40px;
  background: radial-gradient(ellipse 700px 400px at 50% 30%, rgba(139,92,246,0.14), transparent 65%);
}
.cta-section h2 { font-size: 28px; margin-bottom: 26px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.landing-footer {
  text-align: center; padding: 30px 24px 54px;
  color: var(--ink-faint); font-size: 12.5px;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 12px; }
.footer-links a { color: var(--ink-dim); font-size: 13px; }
.footer-social { margin-top: 10px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-dim); font-size: 13px; font-weight: 600;
  transition: color 0.15s ease;
}
.footer-social a:hover { color: var(--ink); text-decoration: none; }
.footer-ig-icon { font-size: 14px; }

/* ── Scroll-reveal (tasteful, respects reduced-motion) ─────────────────
   .reveal elements are fully visible by default — only body.reveal-ready
   (added by index.js once it confirms it can actually observe and reveal
   them) switches them to the hidden starting state, so a JS failure never
   leaves the page's content stuck invisible. */
.reveal { opacity: 1; transform: none; }
body.reveal-ready .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.reveal-ready .reveal.reveal-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .together { grid-template-columns: 1fr; }
  .together-visual { padding-top: 10px; }
}
@media (max-width: 640px) {
  .hero-topbar { flex-wrap: wrap; padding: 16px 18px; gap: 10px; }
  .topnav-links { order: 3; width: 100%; justify-content: center; gap: 18px; }
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero { padding: 40px 18px 34px; }
  .section-heading { font-size: 22px; }
  .cta-section h2 { font-size: 22px; }
}

/* ── Logo-led branding (the mark replaces the old "💜 Herae" text) ────
   .brand-link / .brand-logo / .brand-wordmark themselves live in style.css,
   which this page already loads — shared with every app page so the lockup
   is identical everywhere. Only this page's own larger hero treatment is
   here. */
.hero-logo-wrap { margin-bottom: 26px; }
.hero-logo {
  width: 112px; height: 112px; border-radius: 30px;
  filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.5));
  animation: hero-logo-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

.hero-topbar .brand-logo { width: 34px; height: 34px; border-radius: 10px; }

.footer-brand { display: inline-flex; margin-bottom: 16px; }
.footer-logo {
  width: 34px; height: 34px; border-radius: 10px; opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.footer-brand:hover .footer-logo { opacity: 1; transform: translateY(-2px); }

@media (max-width: 640px) {
  .hero-logo { width: 84px; height: 84px; border-radius: 24px; }
  .hero-logo-wrap { margin-bottom: 18px; }
}

/* ── Problem (emotional hook) ───────────────────────────────────────── */
.problem { max-width: 760px; margin: 70px auto 0; padding: 0 24px; text-align: center; }
.problem-turn {
  font-size: 20px; font-weight: 700; margin-top: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  background: linear-gradient(140deg, #f5b942 0%, #8b5cf6 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Why Herae vs screen sharing ────────────────────────────────────── */
.compare { max-width: 940px; margin: 72px auto 0; padding: 0 24px; }
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px;
}
.compare-col {
  border: 1px solid var(--border); border-radius: 18px; padding: 26px 26px 28px;
}
.compare-old { background: rgba(255,255,255,0.02); opacity: 0.9; }
.compare-new {
  background: linear-gradient(175deg, rgba(139,92,246,0.12), rgba(245,185,66,0.06));
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35);
}
.compare-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
  background: rgba(255,255,255,0.06); color: var(--ink-dim); margin-bottom: 18px;
}
.compare-tag-gold {
  background: linear-gradient(140deg, var(--gold), var(--gold-deep)); color: #241505;
}
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.compare-col li { font-size: 14.5px; line-height: 1.55; display: flex; gap: 11px; align-items: flex-start; }
.compare-old li { color: var(--ink-dim); }
.compare-old li::before { content: "✕"; color: #b4526a; font-weight: 800; flex-shrink: 0; }
.compare-new li { color: var(--ink); }
.compare-new li::before { content: "✓"; color: var(--gold); font-weight: 800; flex-shrink: 0; }

/* ── Who it's for ───────────────────────────────────────────────────── */
.usecases { max-width: 1100px; margin: 76px auto 0; padding: 0 24px; }
.usecase-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px;
  margin-top: 34px;
}
.usecase-card {
  background: linear-gradient(175deg, var(--card), var(--bg-1));
  border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.usecase-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.usecase-hero {
  border-color: rgba(139,92,246,0.45);
  background: linear-gradient(175deg, rgba(139,92,246,0.14), var(--bg-1));
}
.usecase-emoji { font-size: 30px; margin-bottom: 14px; }
.usecase-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.usecase-desc { font-size: 13.5px; line-height: 1.65; color: var(--ink-dim); }

/* ── Feature highlights section wrapper ─────────────────────────────── */
.features-section { max-width: 1100px; margin: 76px auto 0; padding: 0 24px; }
.features-section .section-heading { margin-bottom: 34px; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 80px auto 0; padding: 0 24px; }
.faq-list { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(175deg, var(--card), var(--bg-1));
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 700;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--gold);
  transition: transform 0.2s ease; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 14px; line-height: 1.7; color: var(--ink-dim);
  padding: 0 0 20px; margin: 0;
}

/* ── Final CTA extra copy ───────────────────────────────────────────── */
.cta-sub { font-size: 15px; color: var(--ink-dim); margin: -12px auto 26px; max-width: 460px; }

/* ── Responsive for new sections ────────────────────────────────────── */
@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; }
  .problem-turn { font-size: 18px; }
}
