/* landing.css — public landing page (templates/landing.html).
   Layout/buttons come from Bootstrap 4 / Syntrans app.css; this file only
   styles the landing sections: hero, stats bar, feature grid. */

.landing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* ecolyxis.css pins the global palette light for the app widgets;
       remap it here so the landing sections follow the dark Syntrans theme */
    --bg-card: rgb(0 0 0 / 0.24);
    --border: rgb(255 255 255 / 0.14);
    --text-secondary: #c3cbd1;
    --text-muted: #9aa4ad;
    --green-primary: #2ecc71;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0 40px;
    min-height: 400px;
}
.hero-content { flex: 1; }
.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 28px;
}
.highlight { color: var(--green-primary); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--green-primary);
    margin-bottom: 20px;
    font-weight: 600;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-graphic {
    flex: 0 0 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.eco-orb {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,204,113,0.2), transparent 70%);
    animation: float 4s ease-in-out infinite;
}
.eco-orb-icon { position: absolute; font-size: 5rem; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ── Stats bar ────────────────────────────────────────────────────────── */

.stats-bar {
    display: flex;
    gap: 32px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 0.1rem 0.7rem rgb(0 0 0 / 18%);
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}
.stat-icon { font-size: 1.8rem; }
.stat-text { display: flex; flex-direction: column; }
.stat-text strong { font-size: 0.95rem; }
.stat-text span { font-size: 0.8rem; color: var(--text-secondary); }

/* ── Features ─────────────────────────────────────────────────────────── */

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 32px;
}
.features { padding: 0 0 60px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 0.1rem 0.7rem rgb(0 0 0 / 18%);
    padding: 24px;
    transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--green-primary);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding: 40px 0 20px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-graphic { flex: none; }
    .stats-bar { flex-direction: column; gap: 16px; }
    .feature-grid { grid-template-columns: 1fr; }
}
