/* landing.css -- styles for /index.html (RetirePlusPlus marketing landing).
   Extracted from inline <style> blocks in wave29 R3. The public landing page
   does NOT use header-embed.js (per DEV_GUIDE.txt §SHARED_HEADER); it owns
   its own brand header, hero, and navigation. */

:root { --otrotl-trigger-accent: #f59e0b; --otrotl-trigger-accent-soft: rgba(245,158,11,0.12); --otrotl-trigger-accent-ring: rgba(245,158,11,0.35); }

/* ---- Landing Page Specific ---- */
.landing-body {
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Nav */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--retire-bg);
  border-bottom: 0.0625rem solid var(--retire-border);
  transition: box-shadow var(--transition-normal);
}
.landing-nav.scrolled {
  box-shadow: var(--retire-shadow-md);
}
.nav-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--retire-text);
  font-weight: 800;
  font-size: 1.375rem;
}
.nav-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--retire-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.125rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: var(--retire-text-secondary);
  text-decoration: none;
  font-size: var(--font-body);
  font-weight: 500;
  border-radius: 0.375rem;
  transition: color var(--transition-fast), background var(--transition-fast);
  min-height: var(--touch-min);
}
.nav-links a:hover {
  color: var(--retire-primary);
  background: var(--retire-bg-alt);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  border: none;
  background: transparent;
  color: var(--retire-text);
  font-size: 1.375rem;
  cursor: pointer;
  border-radius: 0.375rem;
}
.mobile-menu-btn:hover { background: var(--retire-surface); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 4.25rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--retire-bg);
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  color: var(--retire-text);
  text-decoration: none;
  font-size: var(--font-label);
  font-weight: 500;
  border-radius: 0.5rem;
  min-height: var(--touch-min);
}
.mobile-nav a:hover { background: var(--retire-surface); }

/* Theme toggle */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  border: 0.0625rem solid var(--retire-border);
  background: var(--retire-surface);
  color: var(--retire-text);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1.125rem;
  transition: all var(--transition-fast);
}
.theme-btn:hover { background: var(--retire-card-hover-bg); }

/* Hero */
.hero-section {
  background: var(--retire-hero-gradient);
  padding: 8rem 1.5rem 5rem;
  text-align: center;
}
.hero-title {
  font-size: clamp(var(--font-heading-lg), 5vw, var(--font-heading-hero));
  font-weight: 800;
  line-height: var(--line-height-heading);
  color: var(--retire-text);
  margin-bottom: 1.25rem;
}
.hero-title span {
  color: var(--retire-primary);
}
.hero-subtitle {
  font-size: clamp(var(--font-body), 2vw, var(--font-heading-sm));
  color: var(--retire-text-secondary);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: var(--line-height-body);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-image {
  max-width: 50rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--retire-shadow-lg);
}
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--retire-primary) 0%, var(--retire-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: var(--font-heading-md);
  font-weight: 600;
}

/* Sections */
.landing-section {
  padding: var(--section-padding) 1.5rem;
}
.landing-section-alt {
  background: var(--retire-bg-alt);
}
.section-container {
  max-width: 75rem;
  margin: 0 auto;
}
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-heading h2 {
  font-size: var(--font-heading-lg);
  font-weight: 700;
  color: var(--retire-text);
  margin-bottom: 0.75rem;
  line-height: var(--line-height-heading);
}
.section-heading p {
  font-size: var(--font-label);
  color: var(--retire-text-secondary);
  max-width: 36rem;
  margin: 0 auto;
}

/* Pillar Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  background: var(--retire-surface-elevated);
  border: 0.0625rem solid var(--retire-border);
  border-radius: var(--card-radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
}
.pillar-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--retire-shadow-lg);
  border-color: var(--retire-primary-light);
}
.pillar-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.pillar-card h3 {
  font-size: var(--font-heading-sm);
  font-weight: 700;
  color: var(--retire-text);
  margin-bottom: 0.75rem;
}
.pillar-card p {
  font-size: var(--font-body);
  color: var(--retire-text-secondary);
  line-height: var(--line-height-body);
}

/* Features highlight */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.feature-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}
.feature-item h3 {
  font-size: var(--font-heading-sm);
  font-weight: 700;
  color: var(--retire-text);
  margin-bottom: 0.375rem;
}
.feature-item p {
  font-size: var(--font-body);
  color: var(--retire-text-secondary);
  line-height: var(--line-height-body);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--retire-surface-elevated);
  border: 0.0625rem solid var(--retire-border);
  border-radius: var(--card-radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--retire-primary);
  box-shadow: 0 0 0 0.0625rem var(--retire-primary), var(--retire-shadow-lg);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--retire-primary);
  color: #FFFFFF;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: var(--font-heading-sm);
  font-weight: 700;
  color: var(--retire-text);
  margin-bottom: 0.5rem;
}
.pricing-amount {
  font-size: var(--font-heading-xl);
  font-weight: 800;
  color: var(--retire-primary);
  margin-bottom: 0.25rem;
}
.pricing-period {
  font-size: var(--font-body);
  color: var(--retire-text-muted);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: var(--font-body);
  color: var(--retire-text-secondary);
  line-height: 1.5;
}
.pricing-features li i {
  color: var(--retire-secondary);
  margin-top: 0.1875rem;
  flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--retire-surface-elevated);
  border: 0.0625rem solid var(--retire-border);
  border-radius: var(--card-radius);
  padding: 2rem;
}
.testimonial-stars {
  color: var(--retire-accent);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: var(--font-body);
  color: var(--retire-text-secondary);
  line-height: var(--line-height-body);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--retire-primary-light), var(--retire-secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: var(--retire-text);
  font-size: var(--font-body);
}
.testimonial-role {
  font-size: 0.875rem;
  color: var(--retire-text-muted);
}

/* Final CTA */
.cta-section {
  background: linear-gradient(135deg, var(--retire-primary) 0%, var(--retire-primary-dark) 100%);
  color: #FFFFFF;
  text-align: center;
  padding: var(--section-padding) 1.5rem;
}
.cta-section h2 {
  font-size: var(--font-heading-lg);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: var(--line-height-heading);
}
.cta-section p {
  font-size: var(--font-label);
  opacity: 0.9;
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: var(--line-height-body);
}
.cta-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--touch-min);
  padding: 0.875rem 2rem;
  font-size: var(--font-label);
  font-weight: 700;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  background: #FFFFFF;
  color: var(--retire-primary);
  text-decoration: none;
  transition: all var(--transition-normal);
}
.cta-btn-white:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

/* Footer */
.landing-footer {
  background: var(--retire-surface);
  border-top: 0.0625rem solid var(--retire-border);
  padding: 3rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--retire-text);
  margin-bottom: 0.75rem;
}
.footer-col h4 {
  font-size: var(--font-body);
  font-weight: 700;
  color: var(--retire-text);
  margin-bottom: 0.875rem;
}
.footer-col a {
  display: block;
  color: var(--retire-text-secondary);
  text-decoration: none;
  padding: 0.3125rem 0;
  font-size: var(--font-body);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--retire-primary); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  border-radius: 0.5rem;
  background: var(--retire-card-hover-bg);
  color: var(--retire-text-secondary);
  font-size: 1.125rem;
  transition: all var(--transition-fast);
}
.footer-social a:hover {
  background: var(--retire-primary);
  color: #FFFFFF;
}
.footer-bottom {
  max-width: 75rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--retire-border);
  text-align: center;
  color: var(--retire-text-muted);
  font-size: 0.875rem;
}

/* Desktop breakpoint */
@media (min-width: 48rem) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero-section { padding: 10rem 1.5rem 5rem; }
}
@media (min-width: 64rem) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Auth-Aware Section Toggling ── */
[data-auth-show="authenticated"] { display: none !important; }
body.is-authenticated [data-auth-show="authenticated"] { display: block !important; }
body.is-authenticated [data-auth-show="guest"] { display: none !important; }
body.is-authenticated [data-auth-show="authenticated"][data-auth-display="flex"] { display: flex !important; }
body.is-authenticated [data-auth-show="authenticated"][data-auth-display="grid"] { display: grid !important; }
.auth-fade-in { animation: authFadeIn 0.35s ease-in; }
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(0.5rem); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-hero-section { padding: 8rem 1.5rem 3.5rem; }
@media (min-width: 48rem) { .auth-hero-section { padding: 10rem 1.5rem 4rem; } }
.auth-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; max-width: 56rem; margin: 0 auto; }
.auth-action-card {
    background: var(--retire-surface-elevated); border: 0.0625rem solid var(--retire-border);
    border-radius: var(--card-radius); padding: 1.75rem 1.5rem; text-align: center;
    text-decoration: none; color: inherit; transition: all var(--transition-normal);
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.auth-action-card:hover { transform: translateY(-0.25rem); box-shadow: var(--retire-shadow-lg); border-color: var(--retire-primary-light); }
.auth-action-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.375rem; }
.auth-action-card h3 { font-size: var(--font-heading-sm); font-weight: 700; color: var(--retire-text); }
.auth-action-card p { font-size: var(--font-body); color: var(--retire-text-secondary); }
.nav-user-group { display: flex; align-items: center; gap: 0.5rem; }
.nav-avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: linear-gradient(135deg, var(--retire-primary-light), var(--retire-secondary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.875rem; text-decoration: none; }
.nav-bell-btn { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0.0625rem solid var(--retire-border); background: var(--retire-surface); color: var(--retire-text-secondary); border-radius: 0.5rem; cursor: pointer; font-size: 1rem; transition: all 0.2s ease; }
.nav-bell-btn:hover { background: var(--retire-card-hover-bg, var(--retire-surface-elevated)); color: var(--retire-text); }

/* ============================================================
   Wave30 Epic B: page-specific extracts (index.html FAQ block).
   ============================================================ */
.faq-card {
    border: 0.0625rem solid var(--retire-border);
    border-radius: 0.625rem;
    margin-bottom: 0.625rem;
    overflow: hidden;
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    min-height: 2.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--retire-text);
}
.faq-chevron {
    font-size: 0.625rem;
    color: var(--retire-text-muted);
    transition: transform 150ms ease;
    flex-shrink: 0;
}
.faq-answer {
    padding: 0 1.25rem 1rem 2.75rem;
    font-size: 0.9375rem;
    color: var(--retire-text-secondary);
    line-height: 1.65;
}
