/* ==========================================================================
   GLS Equity - Home page (Session 5). Page layout only; buttons, pills and cards come from styles.css.
   Written mobile-first: the base rules are the phone layout, the min-width: 769px block is the desktop one.
   ========================================================================== */

/* ---- Shared section shell ---- */
.section { padding: 56px 16px; }
.section-alt { background: #ffffff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 760px; }
.eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #059669; }
.section h2 { margin: 0 0 12px; font-size: 1.75rem; line-height: 1.2; color: #0f172a; letter-spacing: -0.01em; }
.section-sub { margin: 0 0 32px; max-width: 720px; color: #475569; font-size: 1.05rem; line-height: 1.6; }

/* ---- Hero ---- */
.hero { background: #0f172a; color: #f8fafc; padding: 48px 16px 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(16,185,129,0.22), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(37,99,235,0.18), transparent 50%); pointer-events: none; }
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.hero .eyebrow { color: #6ee7b7; }
.hero h1 { margin: 0 0 14px; font-size: 2.2rem; line-height: 1.1; letter-spacing: -0.02em; color: #ffffff; }
.hero-sub { margin: 0 0 22px; font-size: 1.08rem; line-height: 1.6; color: #cbd5e1; max-width: 560px; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; }
.hero-cta .btn { width: 100%; }
.btn-outline-light { background: transparent; color: #f8fafc; border: 1px solid #475569; }
.btn-outline-light:hover { background: #1e293b; color: #fff; }
.hero-note { margin: 14px 0 0; font-size: 0.85rem; color: #94a3b8; }

/* Illustrative product cards */
.hero-visual { display: flex; flex-direction: column; gap: 12px; }
.mock-card { background: #ffffff; color: #0f172a; border-radius: 12px; padding: 14px 16px; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6); }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 8px; gap: 8px; }
.mock-chip { font-size: 0.65rem; font-weight: 700; text-transform: none; letter-spacing: 0; background: #eff6ff; color: #1d4ed8; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mock-chip-green { background: #d1fae5; color: #047857; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.mock-table th { text-align: left; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; padding: 4px 6px; border-bottom: 1px solid #e2e8f0; }
.mock-table td { padding: 7px 6px; border-bottom: 1px solid #f1f5f9; }
.mock-table tr:last-child td { border-bottom: none; }
.mock-table .up { color: #059669; font-weight: 700; }
.mock-table .down { color: #dc2626; font-weight: 700; }
.mock-chart { width: 100%; height: auto; display: block; }
.mock-note { margin: 0; font-size: 0.7rem; color: #64748b; text-align: right; }

/* ---- Numbers strip ---- */
.stats-strip { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 20px 16px; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.stat-label { font-size: 0.8rem; color: #64748b; line-height: 1.3; }

/* ---- Steps ---- */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px 20px; position: relative; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: #0f172a; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; font-size: 1.15rem; color: #0f172a; }
.step p { margin: 0 0 12px; color: #475569; line-height: 1.6; font-size: 0.95rem; }
.step-link { color: #2563eb; font-weight: 700; text-decoration: none; }
.step-link:hover { text-decoration: underline; }

/* ---- Features ---- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.feature-icon { font-size: 1.5rem; margin-bottom: 8px; }
.feature h3 { margin: 0 0 6px; font-size: 1.05rem; color: #0f172a; }
.feature p { margin: 0; color: #475569; font-size: 0.92rem; line-height: 1.55; }

/* ---- Pricing ---- */
.founder-banner { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; border-radius: 10px; padding: 14px 16px; font-size: 0.95rem; line-height: 1.5; margin-bottom: 24px; }
.plans { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
.plan { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.plan-pro { border: 2px solid #10b981; box-shadow: 0 20px 40px -24px rgba(16,185,129,0.5); }
.plan-badge { position: absolute; top: -12px; left: 22px; background: #10b981; color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 1.1rem; color: #0f172a; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font-size: 2.4rem; font-weight: 800; color: #0f172a; letter-spacing: -0.03em; }
.plan-per { color: #64748b; font-weight: 600; }
.plan-tag { margin: 4px 0 16px; color: #475569; font-size: 0.95rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: #334155; font-size: 0.95rem; line-height: 1.5; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #059669; font-weight: 800; }
.plan-foot { margin: 10px 0 0; text-align: center; font-size: 0.8rem; color: #64748b; }

/* ---- FAQ ---- */
.faq { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: #0f172a; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: #64748b; flex-shrink: 0; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: #475569; line-height: 1.6; font-size: 0.95rem; }

/* ---- Final CTA ---- */
.cta-band { background: #0f172a; color: #f8fafc; padding: 56px 16px; text-align: center; }
.cta-inner h2 { margin: 0 0 10px; font-size: 1.7rem; color: #ffffff; }
.cta-inner p { margin: 0 auto 22px; max-width: 560px; color: #cbd5e1; line-height: 1.6; }
.cta-inner .btn { width: 100%; }
.cta-sub { font-size: 0.9rem; color: #94a3b8 !important; margin-top: 18px !important; }
.cta-sub a { color: #6ee7b7; }

/* ---- Desktop ---- */
@media (min-width: 769px) {
    .section { padding: 80px 24px; }
    .section h2 { font-size: 2.2rem; }
    .hero { padding: 80px 24px 72px; }
    .hero-inner { flex-direction: row; align-items: center; gap: 56px; }
    .hero-copy { flex: 1.1; }
    .hero-visual { flex: 0.9; }
    .hero h1 { font-size: 3.4rem; }
    .hero-cta { flex-direction: row; }
    .hero-cta .btn { width: auto; }
    .stats-inner { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .stat-num { font-size: 2rem; }
    .steps { flex-direction: row; }
    .step { flex: 1; padding: 28px 26px; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .plans { grid-template-columns: 1fr 1fr; max-width: 900px; margin: 0 auto; }
    .plan { padding: 32px 30px; }
    .founder-banner { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
    .cta-inner .btn { width: auto; }
    .cta-inner h2 { font-size: 2.2rem; }
}
