/* ================================================
   GREEENY LANDING PAGE — MOBILE FIRST CSS
   Palette: Forest Fresh
   ================================================ */

/* ── RESET & VARIABLES ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #7CB342;
    --primary-light: #9ACD32;
    --primary-dark: #3A6B1C;
    --accent: #F59E0B;
    --bg-main: #F0FDF4;
    --bg-soft: #DCFCE7;
    --bg-card: #FFFFFF;
    --text-dark: #064E3B;
    --text-muted: #6B7280;
    --border: #D1FAE5;
    --border-medium: #A7F3D0;
    --shadow-sm: 0 2px 8px rgba(124,179,66,0.08);
    --shadow-md: 0 4px 20px rgba(124,179,66,0.12);
    --shadow-lg: 0 8px 40px rgba(124,179,66,0.16);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-main); color: var(--text-dark); line-height: 1.6; }

/* ── HEADER ── */
.header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo img { height: 40px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 14px; }
.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-soft);
    padding: 4px;
    border-radius: 10px;
    border: 2px solid var(--border);
}
.lang-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-btn:hover { color: var(--text-dark); }
.lang-btn.active { background: var(--primary); color: white; }
.status-badge {
    display: none; /* visibile da tablet */
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── HERO ── */
.hero {
    padding: 50px 0 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
}
.hero-container { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 auto 30px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.cta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
}
.cta-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: var(--shadow-md); }
.cta-primary:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cta-secondary { background: var(--bg-card); color: var(--text-dark); border: 2px solid var(--border-medium); }
.cta-secondary:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cta-secondary .cta-icon { color: var(--primary); }
.cta-icon { flex-shrink: 0; }
.cta-text { text-align: left; }
.cta-label { display: block; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; }
.cta-desc { display: block; font-size: 0.82rem; opacity: 0.8; margin-top: 2px; }

/* ── SECTIONS BASE ── */
.section { padding: 50px 0; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-title { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); }

/* ── STEPS ── */
.steps-section { background: var(--bg-card); padding: 40px 0; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.step-card { text-align: center; padding: 22px; }
.step-number {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800;
    margin: 0 auto 16px; box-shadow: var(--shadow-md);
}
.step-title { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-desc { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }

/* ── BENEFITS ── */
.benefits-section { background: var(--bg-main); }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.benefit-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s ease;
}
.benefit-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
    width: 52px; height: 52px;
    background: var(--bg-soft);
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); margin-bottom: 16px;
}
.benefit-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.benefit-desc { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }
.premium-tag {
    display: inline-block; background: var(--accent); color: white;
    padding: 3px 10px; border-radius: 6px; font-size: 0.68rem;
    font-weight: 700; text-transform: uppercase; margin-top: 10px;
}

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; text-align: center; }
.cta-title { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.cta-text { font-size: 1rem; opacity: 0.9; margin: 0 auto 24px; line-height: 1.7; }
.launch-badge {
    display: inline-block; background: rgba(255,255,255,0.2);
    padding: 10px 24px; border-radius: 30px;
    font-weight: 700; font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.3);
}

/* ── FOOTER ── */
.footer { background: var(--text-dark); color: white; padding: 40px 0 24px; text-align: center; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.footer-logo { height: 44px; width: auto; }
.footer-message { font-size: 1rem; margin-bottom: 6px; }
.footer-tagline { color: rgba(255,255,255,0.6); font-style: italic; margin-bottom: 20px; font-size: 0.9rem; }
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* ================================================
   SMALL TABLET  ≥ 560px
   ================================================ */
@media (min-width: 560px) {
    .hero-ctas { flex-direction: row; justify-content: center; }
    .cta-card { width: auto; max-width: none; }
    .footer-links { flex-direction: row; justify-content: center; gap: 28px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================
   TABLET  ≥ 768px
   ================================================ */
@media (min-width: 768px) {
    /* Header */
    .header { padding: 16px 0; }
    .header-container { padding: 0 24px; }
    .header-logo img { height: 50px; }
    .header-nav { gap: 20px; }
    .lang-btn { padding: 8px 16px; font-size: 0.9rem; }
    .status-badge { display: inline-block; }

    /* Hero */
    .hero { padding: 80px 0 60px; }
    .hero-container { padding: 0 24px; }
    .hero-title { font-size: 2.6rem; margin-bottom: 20px; }
    .hero-subtitle { font-size: 1.15rem; margin-bottom: 44px; max-width: 700px; }
    .cta-card { padding: 18px 28px; min-width: 260px; }
    .cta-label { font-size: 1.05rem; }

    /* Sections */
    .section { padding: 80px 0; }
    .section-container { padding: 0 24px; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1.05rem; }

    /* Steps */
    .steps-section { padding: 60px 0; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .step-card { padding: 28px; }

    /* Benefits */
    .benefit-card { padding: 28px; }

    /* CTA */
    .cta-title { font-size: 2rem; }
    .cta-text { font-size: 1.1rem; max-width: 600px; margin-bottom: 30px; }

    /* Footer */
    .footer { padding: 50px 0 30px; }
    .footer-container { padding: 0 24px; }
    .footer-logo { height: 50px; }
}

/* ================================================
   DESKTOP  ≥ 1024px
   ================================================ */
@media (min-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .cta-card { padding: 20px 32px; min-width: 280px; }
    .section-title { font-size: 2.2rem; }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .benefit-card { padding: 30px; }
    .step-card { padding: 30px; }
    .step-number { width: 60px; height: 60px; font-size: 1.5rem; }
}
