/* ===========================================
   CCBready - Landing Page
   Marketing pages, hero, features, pricing
   =========================================== */

/* ----- Landing Variables ----- */
.landing {
    --landing-accent: #22c55e;
    --landing-accent-hover: #4ade80;
}

/* ----- Landing Layout ----- */
.landing {
    min-height: 100vh;
    background: #14532d;
    color: var(--white);
}

/* ----- Landing Nav ----- */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.nav-logo span {
    color: var(--landing-accent);
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.nav-links .btn-nav {
    background: var(--landing-accent);
    color: #14532d;
    font-weight: 600;
}

.nav-links .btn-nav:hover {
    background: var(--landing-accent-hover);
}

/* ----- Hero Wrapper (hero + intro share gradient) ----- */
.hero-wrapper {
    background: linear-gradient(160deg, #22c55e 0%, #16a34a 25%, #15803d 50%, #166534 75%, #14532d 100%);
}

/* ----- Hero Section ----- */
.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ----- Intro Section ----- */
.intro-section {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.intro-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.intro-section .highlight {
    color: #22c55e;
}

.intro-section p {
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.intro-section strong {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.2);
    color: var(--landing-accent-hover);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero h1 .highlight {
    color: var(--landing-accent);
}

.hero-sub {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Hero Buttons ----- */
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.btn-hero:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-hero:active {
    transform: translateY(0);
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    color: #15803d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* ----- Problem/Penalty Section ----- */
.problem {
    background: #0f2418;
    padding: 4rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title-landing,
.landing .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.landing .section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.penalty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.penalty-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.penalty-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.penalty-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.penalty-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.penalty-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ----- Features Section ----- */
.features {
    padding: 4rem 2rem;
    background: var(--landing-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ----- Solution Section ----- */
.solution {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #166534 0%, #14532d 100%);
}

.solution .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.solution .section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.solution-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.solution-desc {
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ----- Pricing Section ----- */
.pricing {
    padding: 4rem 2rem;
    background: #0f2418;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--landing-accent);
    background: rgba(34, 197, 94, 0.1);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--landing-accent);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.8);
}

.pricing-features li::before {
    content: "✓ ";
    color: var(--landing-accent);
    font-weight: 700;
}

.pricing-cta {
    display: inline-block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.pricing-cta:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}

.pricing-card.featured .pricing-cta {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    color: #15803d;
}

.pricing-card.featured .pricing-cta:hover {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ----- CTA Section ----- */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--landing-bg);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ----- Final CTA Section ----- */
.final-cta {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #14532d 0%, #0f2418 100%);
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
}

.final-cta p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- Footer ----- */
.landing-footer,
.landing .footer,
.footer {
    padding: 2rem;
    text-align: center;
    background: #0a1a10;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.landing-footer a,
.landing .footer a,
.footer a {
    color: #22c55e;
    text-decoration: none;
    transition: color 0.2s;
}

.landing-footer a:hover,
.landing .footer a:hover,
.footer a:hover {
    color: #4ade80;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
