/* ── MAIN ── */
main { width: min(1400px, 92%); margin: auto; position: relative; z-index: 1; }

/* ── HERO ── */
.hero-section {
    min-height: 90vh; display: grid; grid-template-columns: 1.2fr 1fr;
    align-items: center; gap: 4rem; padding: 4rem 0;
}
.hero-left { animation: fadeUp 1s ease; }

.badge {
    display: inline-flex; align-items: center;
    padding: 0.7rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    border-radius: 999px; font-size: 0.75rem; font-weight: 600;
    letter-spacing: 1.5px; color: var(--accent); margin-bottom: 2rem;
}
.hero-left h1 {
    font-size: 5rem; line-height: 0.95; letter-spacing: -3px;
    font-weight: 800; color: var(--text-strong); margin-bottom: 2rem;
}
.hero-left > p {
    max-width: 560px; color: var(--muted); font-size: 1.1rem;
    line-height: 1.8; margin-bottom: 2.5rem;
}

/* ── BUTTONS ── */
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }
button { border: none; font-weight: bold; cursor: pointer; font-family: inherit; transition: all 0.3s cubic-bezier(.4,0,.2,1); }
.primary-btn {
    background: var(--accent); color: var(--text-strong);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.8rem; border-radius: 16px;
    font-size: 0.95rem; font-weight: 700;
}
.primary-btn:hover { background: var(--accent-light); transform: scale(1.02); box-shadow: 0 15px 40px rgba(194,136,64,0.3); }
.secondary-btn {
    background: none; color: var(--text-strong);
    border: 1px solid var(--accent);
    padding: 1rem 1.8rem; border-radius: 16px;
    font-size: 0.95rem; font-weight: 700;
}
.secondary-btn:hover { background: var(--accent-light); color: var(--text-strong); transform: scale(1.02); box-shadow: 0 15px 40px rgba(194,136,64,0.25); }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px; padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s;
}
.stat-card:hover { border-color: rgba(194,136,64,0.3); }
.stat-card h3 { font-size: 2rem; font-weight: 800; color: var(--text-strong); margin-bottom: 0.4rem; letter-spacing: -1px; }
.stat-card span { color: var(--muted); font-size: 0.85rem; }

/* ── DASHBOARD CARD ── */
.hero-right { display: flex; justify-content: center; animation: fadeUp 1s ease 0.15s both; }
.dashboard-card {
    width: 100%; max-width: 450px;
    background: var(--surface); border: 1px solid var(--surface-border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 30px; padding: 2rem;
}
body.dark-theme .dashboard-card {
    box-shadow: 0 0 15px #0A0A0A, 0 0 35px #0A0A0A, 0 0 70px #0A0A0A;
    border-color: rgba(185,125,52,0.05);
}
body.light-theme .dashboard-card {
    box-shadow: 0 0 15px rgba(185,125,52,0.05), 0 0 35px rgba(185,125,52,0.04);
    border-color: rgba(185,125,52,0.1);
}
.dashboard-header {
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 2rem; font-weight: 600; letter-spacing: 1px;
    font-size: 0.85rem; color: var(--text-strong);
}
.dashboard-live {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    background: var(--positive); box-shadow: 0 0 12px var(--positive);
    animation: livePulse 2s infinite;
}
.dashboard-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem; font-weight: 600; color: var(--text-strong);
}
.positive { color: var(--positive); }
.negative { color: var(--negative); }
.dashboard-chart {
    position: relative; height: 180px; margin: 2rem 0 0;
    overflow: hidden; border-radius: 20px;
    background: linear-gradient(to bottom, rgba(194,136,64,0.12), transparent);
}
.chart-line {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 0%, transparent 20%, rgba(194,136,64,0.4) 50%, transparent 80%);
    animation: scan 4s linear infinite;
}

/* ── INFO SECTION ── */
.info-section { margin-top: 6rem; padding-top: 6rem; border-top: 1px solid var(--surface-border); }
.how-it-works { text-align: center; max-width: 700px; margin: 0 auto 6rem; }
.how-it-works h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text-strong); margin-bottom: 1rem; }
.how-it-works p { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }

/* ── TESTIMONIALS ── */
.testimonials { margin-bottom: 8rem; }
.testimonials h2 { text-align: center; font-size: 2.5rem; font-weight: 800; letter-spacing: -1.5px; color: var(--text-strong); margin-bottom: 3rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 2rem; }
.testimonial-card {
    background: var(--surface); border: 1px solid var(--surface-border);
    backdrop-filter: blur(20px); border-radius: 24px; padding: 2rem;
    transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.testimonial-card p { line-height: 1.8; color: var(--text); margin-bottom: 1.5rem; font-size: 0.95rem; }
.testimonial-card span { color: var(--muted); font-weight: 600; font-size: 0.85rem; }


/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .hero-section { grid-template-columns: 1fr; min-height: auto; padding-top: 3rem; gap: 3rem; }
    .hero-left h1 { font-size: 4rem; }
    .hero-right { order: -1; }
}
@media (max-width: 700px) {
    main { width: 92%; }
    .hero-section { padding: 2rem 0; gap: 2.5rem; }
    .hero-left h1 { font-size: 2.6rem; letter-spacing: -1.5px; margin-bottom: 1.4rem; }
    .badge { font-size: 0.68rem; padding: 0.6rem 1rem; margin-bottom: 1.4rem; }
    .hero-left > p { font-size: 1rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; margin-bottom: 2.5rem; }
    .hero-buttons button { width: 100%; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
    .stat-card { padding: 1rem 0.7rem; border-radius: 16px; }
    .stat-card h3 { font-size: 1.3rem; }
    .stat-card span { font-size: 0.7rem; }
    .dashboard-card { padding: 1.5rem; border-radius: 22px; max-width: 100%; }
    .dashboard-chart { height: 130px; }
    .info-section { margin-top: 3rem; padding-top: 3rem; }
    .how-it-works { margin-bottom: 3rem; }
    .how-it-works h2, .testimonials h2 { font-size: 1.8rem; letter-spacing: -1px; }
    .testimonials { margin-bottom: 3rem; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .footer { padding: 3rem 6%; }
    .footer-top { flex-direction: column; gap: 2.5rem; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
}
@media (max-width: 420px) {
    .hero-left h1 { font-size: 2.1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
}