/* ============================================================
   Public landing page
   ============================================================ */
.landing-body {
    background: #0B0B0D;
    color: #c9d1d9;
    margin: 0;
    font-family: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
    /* Sticky-footer pattern: body is a vertical flex container at full
       viewport height, footer gets margin-top:auto so it sits at the bottom
       when content is short and right below content when it's long. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.landing-body > .landing-footer {
    margin-top: auto;
}
.landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #2A2F36;
    padding: 14px 0;
}
.landing-nav .landing-container { display: flex; align-items: center; justify-content: space-between; }
.landing-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}
.landing-brand i { color: #D4AF37; font-size: 1.4rem; }
.landing-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
}
.landing-nav-links { display: flex; gap: 20px; align-items: center; }
.landing-nav-links a { color: #8b949e; text-decoration: none; font-weight: 500; }
.landing-nav-links a:hover { color: #c9d1d9; }
.landing-nav-links .btn { font-weight: 600; padding: 6px 14px; }

/* Hero */
.landing-hero {
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at top right, rgba(212, 175, 55,0.12), transparent 60%),
                radial-gradient(ellipse at bottom left,  rgba(63,185,80,0.08),  transparent 60%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-block;
    background: rgba(212, 175, 55,0.12);
    color: #D4AF37;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
}
.text-gradient {
    background: linear-gradient(90deg, #D4AF37, #3fb950);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: 1.15rem;
    color: #8b949e;
    margin: 0 0 28px;
    line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-bullets { list-style: none; padding: 0; margin: 0; color: #8b949e; }
.hero-bullets li { padding: 6px 0; }

/* Auth panel */
.auth-panel {
    background: #14171C;
    border: 1px solid #30363d;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.auth-tabs {
    display: flex;
    gap: 4px;
    background: #0B0B0D;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 22px;
}
.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #8b949e;
    padding: 9px 14px;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.auth-tab.active { background: #D4AF37; color: #fff; }
.auth-tab:hover:not(.active) { color: #c9d1d9; background: rgba(255,255,255,0.04); }
.auth-form .form-label { font-size: 0.9rem; color: #c9d1d9; }
.auth-switch { text-align: center; color: #8b949e; margin: 16px 0 0; font-size: 0.9rem; }
.auth-switch a { color: #D4AF37; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Sections */
.landing-section { padding: 80px 0; }
.landing-section-alt { background: #0a0e13; }
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 12px;
}
.section-sub { text-align: center; color: #8b949e; max-width: 600px; margin: 0 auto 50px; font-size: 1.05rem; }

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #14171C;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.15s, border-color 0.15s;
}
.feature-card:hover { border-color: #D4AF37; transform: translateY(-2px); }
.feature-icon {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 14px;
    display: block;
}
.feature-card h3 { font-size: 1.15rem; color: #fff; margin: 0 0 10px; font-weight: 600; }
.feature-card p { color: #8b949e; margin: 0; line-height: 1.55; font-size: 0.95rem; }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.step-card {
    background: #14171C;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 24px;
    position: relative;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #D4AF37;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.step-card h3 { font-size: 1.05rem; color: #fff; margin: 0 0 8px; font-weight: 600; }
.step-card p { color: #8b949e; margin: 0; font-size: 0.92rem; line-height: 1.5; }

/* Pricing */
.pricing-card {
    max-width: 380px;
    margin: 0 auto;
    background: #14171C;
    border: 2px solid #D4AF37;
    border-radius: 14px;
    padding: 36px;
    text-align: center;
}
.pricing-tier { color: #D4AF37; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }
.pricing-price { font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: #8b949e; }
.pricing-card ul { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.pricing-card ul li { padding: 6px 0; color: #c9d1d9; }

/* Footer */
.landing-footer {
    border-top: 1px solid #2A2F36;
    padding: 24px 0;
    color: #8b949e;
}
.landing-footer .landing-container { display: flex; justify-content: space-between; align-items: center; }

/* Active nav link indicator */
.landing-nav-links a.nav-active { color: #D4AF37; }

/* Compact hero — used on Features / How / Pricing pages */
.landing-hero-compact { padding: 60px 0 30px; text-align: center; }
.landing-hero-compact h1 { font-size: 2.6rem; margin-bottom: 14px; color: #F5F5F5; line-height: 1.15; font-weight: 800; }
.landing-hero-compact .hero-sub { max-width: 720px; margin: 0 auto; font-size: 1.1rem; color: #8b949e; }
.landing-hero-compact .hero-eyebrow { margin-bottom: 18px; }

/* Bottom CTA used at end of feature/how/pricing pages */
.landing-cta { padding: 60px 0; border-top: 1px solid #2A2F36; }
.landing-cta h2 { font-size: 2rem; color: #F5F5F5; margin-bottom: 8px; font-weight: 800; }

/* Three teaser cards on the homepage */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.teaser-card {
    display: block;
    background: #14171C;
    border: 1px solid #2A2F36;
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all .2s ease;
}
.teaser-card:hover {
    border-color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.08);
}
.teaser-icon { color: #D4AF37; font-size: 2rem; margin-bottom: 16px; }
.teaser-card h3 { color: #F5F5F5; margin-bottom: 10px; font-size: 1.25rem; }
.teaser-card p { color: #8b949e; margin-bottom: 14px; font-size: 0.95rem; line-height: 1.5; }
.teaser-link { color: #D4AF37; font-weight: 600; font-size: 0.9rem; }

/* Two-column pricing grid (Free vs Pro) */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card-2 {
    background: #14171C;
    border: 1px solid #2A2F36;
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
}
.pricing-card-featured {
    border-color: #D4AF37;
    box-shadow: 0 0 0 1px #D4AF37, 0 8px 32px rgba(212, 175, 55, 0.12);
    transform: translateY(-4px);
}
.pricing-pop-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #D4AF37;
    color: #0B0B0D;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pricing-card-2 .pricing-tier { color: #D4AF37; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.pricing-card-2 .pricing-price { font-size: 3rem; font-weight: 800; color: #F5F5F5; margin-bottom: 6px; line-height: 1; }
.pricing-card-2 .pricing-price span { font-size: 0.95rem; font-weight: 500; color: #8b949e; }
.pricing-sub { color: #8b949e; margin-bottom: 24px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-features li { padding: 7px 0; color: #c9d1d9; font-size: 0.95rem; }
.pricing-fineprint { text-align: center; color: #6e7681; font-size: 0.8rem; margin-top: 14px; }

/* Founding Member card */
.founding-card {
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 32px;
}
.founding-badge {
    display: inline-block;
    background: #D4AF37;
    color: #0B0B0D;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.founding-card h3 { color: #F5F5F5; font-size: 1.4rem; margin-bottom: 12px; }
.founding-card p { color: #c9d1d9; line-height: 1.6; }

/* FAQ grid on pricing */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.faq-item h4 { color: #F5F5F5; font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: #8b949e; line-height: 1.55; font-size: 0.95rem; }

/* Footer links cluster */
.landing-footer-links { display: flex; gap: 18px; align-items: center; }
.landing-footer-links a { color: #8b949e; text-decoration: none; font-size: 0.85rem; }
.landing-footer-links a:hover { color: #D4AF37; }

/* Responsive */
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 2.2rem; }
    .landing-hero-compact h1 { font-size: 2rem; }
    .teaser-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card-featured { transform: none; }
    .faq-grid { grid-template-columns: 1fr; }
    .landing-nav-links a:not(.btn) { display: none; }
    .landing-footer .landing-container { flex-direction: column; gap: 12px; }
    .landing-footer-links { flex-wrap: wrap; justify-content: center; }
}
