/* =========================================
   EARNFRAM - LANDING PAGE (REDESIGN)
   ========================================= */

:root {
    --home-bg: #0b0f19;
    --home-card-bg: #131a2b;
    --home-border: #26314b;
    --home-text: #ffffff;
    --home-text-muted: #8892a8;
    --home-purple: #a855f7;
    --home-green: #4ade80;
    --home-blue: #60a5fa;
}

body.home-page {
    background-color: var(--home-bg);
    color: var(--home-text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Navbar */
.home-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--home-border);
}

.home-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    color: #fff;
    text-decoration: none;
}

.brand span { color: var(--ef-primary); }

.nav-links {
    display: none;
    gap: 32px;
}

.nav-links a {
    color: var(--home-text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--ef-primary); }

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.hero-copy {
    flex: 1;
    text-align: center;
}

.hero-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag {
    background-color: #fef08a;
    color: #000;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.tag-accent { background-color: var(--ef-primary); }

.hero-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.hero-title span { color: var(--ef-primary); }

.hero-lead {
    color: var(--home-text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.hero-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    color: var(--home-text-muted);
    font-weight: 600;
    font-size: 14px;
}

.hero-perks li { display: flex; align-items: center; gap: 8px; }
.hero-perks svg { color: var(--ef-primary); }

.hero-art {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #1e293b, #0b0f19);
    border-radius: 30px;
    border: 2px solid var(--home-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}

/* Stats Band */
.stats-band {
    background-color: var(--home-card-bg);
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    padding: 30px 0;
}

.stats-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    text-align: center;
}

.stat-label {
    font-size: 12px;
    color: var(--home-text-muted);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-family: var(--font-heading);
}

.stat-value.accent { color: var(--home-green); }

/* Section General */
.section {
    padding: 80px 0;
}

.section-band {
    background-color: var(--home-card-bg);
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.eyebrow {
    color: var(--ef-primary);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.section-title {
    font-size: 36px;
    font-family: var(--font-heading);
    margin-bottom: 16px;
}

.section-lead {
    color: var(--home-text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works Steps */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.step-card {
    background-color: var(--home-card-bg);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.step-card:hover { transform: translateY(-5px); }

.step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    font-family: var(--font-heading);
    color: var(--home-border);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step-title {
    font-size: 20px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.step-text {
    color: var(--home-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.how-cta {
    text-align: center;
    margin-top: 40px;
}

/* Earn Grid (Cards) */
.earn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    list-style: none;
}

.earn-card {
    background-color: var(--home-card-bg);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.earn-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.earn-title {
    font-size: 16px;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.earn-text {
    color: var(--home-text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

/* Payouts Section */
.payouts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.payouts-panel {
    background-color: var(--home-card-bg);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 24px;
}

.payouts-title {
    font-size: 18px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.payout-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.02);
}

.payout-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payout-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--home-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--ef-primary);
}

.payout-name { font-weight: 800; font-size: 14px; display: block; }
.payout-meta { font-size: 12px; color: var(--home-text-muted); }

.payout-amount {
    font-weight: 800;
    color: var(--home-green);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--home-border);
    padding: 16px 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--ef-primary);
    font-size: 24px;
}
.faq-item[open] summary::after { content: '-'; }

.faq-answer {
    color: var(--home-text-muted);
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Bottom */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, #1e293b, #0b0f19);
    border: 1px solid var(--home-border);
    border-radius: 30px;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 36px;
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.cta-text {
    color: var(--home-text-muted);
    margin-bottom: 24px;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Footer */
.home-footer {
    border-top: 1px solid var(--home-border);
    padding: 60px 24px 30px;
    background-color: var(--home-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-brand p {
    color: var(--home-text-muted);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--home-text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--ef-primary); }

.footer-bottom {
    border-top: 1px solid var(--home-border);
    padding-top: 20px;
    text-align: center;
    color: var(--home-text-muted);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero-grid { flex-direction: row; padding: 100px 0; text-align: left; }
    .hero-copy { text-align: left; }
    .hero-tags, .hero-actions, .hero-perks { justify-content: flex-start; align-items: flex-start; }
    .hero-lead { margin-left: 0; }
    .hero-title { font-size: 64px; }
    .stats-list { grid-template-columns: repeat(4, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .earn-grid { grid-template-columns: repeat(4, 1fr); }
    .payouts-grid { grid-template-columns: 1fr 1fr; }
    .faq-grid { grid-template-columns: 1fr 1.5fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .cta-actions { justify-content: center; }
}