/* Home page styles */

/* Hero Section Styling (Light Theme) */
.hero {
    padding: 6rem 0 5rem;
    position: relative;
    background: rgba(4, 120, 87, 0.04);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(4, 120, 87, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #0f172a;
}
.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.hero-stat-item h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}
.hero-stat-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.hero-visual-card {
    background: #ffffff;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06), var(--shadow-glow);
    position: relative;
}
.visual-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.market-pill {
    background: rgba(22, 163, 74, 0.12);
    color: var(--color-success);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Calculator Styling */
.calc-box {
    background: #ffffff;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.form-slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    accent-color: var(--gold);
    cursor: pointer;
    margin-top: 1rem;
}
.calc-result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}
.calc-result-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    margin: 0.5rem 0;
}

/* Asset Grid */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}
.asset-icon {
    width: 50px;
    height: 50px;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

/* Grid children may shrink below their content width (prevents sideways scrolling on phones) */
.hero-grid > *, .calc-grid > * { min-width: 0; }

.calc-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-bottom: 0.5rem;
}
.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.calc-result-total { grid-column: span 2; }
#roiPlanSelect { max-width: 100%; text-overflow: ellipsis; }

@media (max-width: 992px) {
    .hero-grid, .calc-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-grid { gap: 3rem; }
    .hero-title { font-size: 2.5rem; }
}

.home-wallet-card { padding: 3rem; }

@media (max-width: 576px) {
    .home-wallet-card { padding: 1.8rem 1.2rem; }
    .hero { padding: 3rem 0 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions a { width: 100%; text-align: center; justify-content: center; }
    .hero-stats-row { gap: 0.8rem; }
    .hero-stat-item h3 { font-size: 1.3rem; }
    .hero-visual-card { padding: 1.5rem; }
    .calc-box { padding: 1.5rem; }
    .calc-grid { gap: 2rem; }
    .calc-results { grid-template-columns: 1fr; }
    .calc-result-total { grid-column: auto; }
    #roiTotalPayout { font-size: 2rem !important; }
}
