/* ============================================================
   BENECOOP — landing.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary-green:       #1a5c3a;
    --primary-green-dark:  #124028;
    --primary-green-light: #2d7a52;
    --accent-green:        #3d8b5f;
    --light-green-bg:      #f0f7f3;
    --text-dark:           #1a1a1a;
    --text-gray:           #6b7280;
    --text-light:          #9ca3af;
    --white:               #ffffff;
    --border-light:        #e5e7eb;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- Utility ---------- */
.section-padding { padding: 5rem 0; }

.section-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: .75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-weight: 600;
    font-size: .875rem;
    padding: .625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
    border: none;
}

.btn-primary-benecoop {
    background: var(--primary-green);
    color: #fff;
}
.btn-primary-benecoop:hover {
    background: var(--primary-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,92,58,.3);
}

.btn-outline-benecoop {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}
.btn-outline-benecoop:hover {
    background: var(--primary-green);
    color: #fff;
}

.btn-light-benecoop {
    background: #fff;
    color: var(--primary-green);
}
.btn-light-benecoop:hover {
    background: var(--light-green-bg);
    color: var(--primary-green-dark);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-benecoop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    padding: .75rem 0;
    transition: box-shadow .3s;
}
.navbar-benecoop.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.navbar-brand img { height: 40px; }

.navbar-links {
    display: flex;
    list-style: none;
    gap: .25rem;
}
.navbar-links a {
    font-weight: 500;
    font-size: .875rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: .5rem 1rem;
    border-radius: 6px;
    transition: color .2s;
}
.navbar-links a:hover { color: var(--primary-green); }

/* Hamburger */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .25rem;
}
.navbar-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-banner {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 50%, var(--accent-green) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='80' cy='20' r='40' fill='rgba(255,255,255,0.03)'/%3E%3Ccircle cx='20' cy='80' r='30' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") center/cover;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero-title span { color: #a8e6cf; }

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,.85);
    max-width: 500px;
    margin: 0 auto 2rem;
}
.hero-buttons {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}
.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}
.hero-stat-label {
    font-size: .75rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--light-green-bg); }

.about-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: end;
}
.about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.about-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: all .3s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.about-card-icon {
    width: 48px; height: 48px;
    background: var(--light-green-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--primary-green);
}
.about-card-title {
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: .5rem;
}
.about-card-text {
    font-size: .8125rem;
    color: var(--text-gray);
    line-height: 1.5;
}
.about-more {
    text-align: center;
    margin-top: 1.5rem;
}
.about-more a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section { background: #fff; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.benefit-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all .3s ease;
}
.benefit-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(26,92,58,.08);
    transform: translateY(-2px);
}
.benefit-icon {
    width: 44px; height: 44px;
    background: var(--light-green-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--primary-green);
}
.benefit-title {
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: .4rem;
}
.benefit-price {
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: .4rem;
}
.benefit-text {
    font-size: .8125rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ============================================================
   PLANS
   ============================================================ */
.plans-section { background: var(--light-green-bg); }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.plan-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: all .3s ease;
    position: relative;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.plan-card.featured {
    background: var(--primary-green);
    color: #fff;
}
.plan-card.featured .plan-name,
.plan-card.featured .plan-price,
.plan-card.featured .plan-price-period,
.plan-card.featured .plan-feature { color: #fff; }

.plan-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: #fbbf24;
    color: var(--text-dark);
    font-size: .6875rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 50px;
    text-transform: uppercase;
}
.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.plan-price-currency { font-size: 1rem; font-weight: 600; vertical-align: top; }
.plan-price-suffix  { font-size: 1rem; font-weight: 600; }
.plan-price-period {
    font-size: .875rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}
.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .8125rem;
    color: var(--text-gray);
    margin-bottom: .75rem;
}
.plan-feature i {
    color: var(--primary-green);
    font-size: 1rem;
    margin-top: .125rem;
    flex-shrink: 0;
}
.plan-card.featured .plan-feature i { color: #a8e6cf; }
.plan-btn { display: block; text-align: center; margin-top: 1.5rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works-section { background: #fff; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.step-card { text-align: center; padding: 2rem 1rem; }
.step-number {
    width: 48px; height: 48px;
    background: var(--primary-green);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.step-icon {
    width: 64px; height: 64px;
    background: var(--light-green-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-green);
}
.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: .5rem;
}
.step-text {
    font-size: .875rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { background: var(--light-green-bg); }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .75rem;
}
.partner-logo {
    background: #fff;
    border-radius: 12px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: all .3s ease;
}
.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.partner-logo span {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #fff; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--light-green-bg);
    border-radius: 20px;
    padding: 2rem;
}
.testimonial-quote {
    font-size: 2rem;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 1rem;
}
.testimonial-text {
    font-size: .9375rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .875rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-size: .875rem;
    font-weight: 600;
}
.testimonial-role {
    font-size: .75rem;
    color: var(--text-gray);
}

/* ============================================================
   APP SECTION
   ============================================================ */
.app-section {
    background: linear-gradient(135deg, var(--primary-green-dark) 0%, var(--primary-green) 100%);
    color: #fff;
}
.app-section .section-label { color: rgba(255,255,255,.7); }
.app-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.app-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.app-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
}
.app-features { display: flex; flex-direction: column; gap: 1.25rem; }
.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.app-feature-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #fff;
}
.app-feature-title {
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: .25rem;
}
.app-feature-text {
    font-size: .8125rem;
    color: rgba(255,255,255,.8);
}
.app-mockup { text-align: center; }
.app-mockup img {
    max-height: 400px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,.3);
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section { background: #fff; text-align: center; }
.cta-buttons {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-benecoop {
    background: var(--text-dark);
    color: #fff;
    padding: 4rem 0 2rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 2rem;
}
.footer-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.footer-link {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: .875rem;
    text-decoration: none;
    margin-bottom: .75rem;
    transition: color .2s;
}
.footer-link:hover { color: #fff; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a {
    color: rgba(255,255,255,.5);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color .2s;
}
.footer-social a:hover { color: #fff; }
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2rem 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
}
.footer-bottom p {
    font-size: .8125rem;
    color: rgba(255,255,255,.5);
}

/* ============================================================
   SECTION CONTAINER (generic)
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-5 { margin-bottom: 3rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-cards,
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: repeat(3, 1fr); }
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .app-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar-links { display: none; flex-direction: column; width: 100%; }
    .navbar-links.open { display: flex; }
    .navbar-inner { flex-wrap: wrap; }
    .navbar-toggler { display: block; }
    .navbar-cta { display: none; }

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.875rem; }
    .section-padding { padding: 3rem 0; }

    .about-header { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
    .steps-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .app-inner { grid-template-columns: 1fr; }
    .app-mockup { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .about-cards,
    .benefits-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
