/* ========================================
   NonprofitStream CRM - Landing Page Styles
   Brand Colors: Green Theme (#529704, #386802, #d7fdab, #1e3801)
   ======================================== */

:root {
    /* Brand Colors */
    --primary-green: #529704;
    --primary-green-dark: #386802;
    --primary-green-light: #d7fdab;
    --accent-green: #1e3801;
    --warm-cream: #faf8f3;
    --warm-beige: #f5f2e8;
    --dark-charcoal: #1e3801;
    --text-gray: #4a4a4a;
    --light-gray: #e8e8e8;
    --white: #ffffff;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ========================================
   Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    color: var(--dark-charcoal);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 76px; /* Account for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--dark-charcoal);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-semibold);
}

h3 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-green-dark);
}

/* ========================================
   Navigation Bar
   ======================================== */

.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green) !important;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--primary-green-dark) !important;
}

.brand-text {
    font-weight: var(--font-weight-bold);
    color: var(--primary-green);
}

.nav-link {
    font-weight: var(--font-weight-medium);
    color: var(--dark-charcoal) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(82, 151, 4, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-green);
    color: var(--primary-green);
    font-weight: var(--font-weight-semibold);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--white) 100%);
    padding: 6rem 0 4rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-cta-buttons .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
}

.hero-trial-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Dashboard Preview Section
   ======================================== */

.dashboard-preview {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

.dashboard-preview h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.dashboard-preview p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.dashboard-preview img {
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 30px;
}

/* ========================================
   Feature Sections (Image + Text)
   ======================================== */

.feature-section {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 0 0 20%;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-content ul li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.feature-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
}

.feature-image {
    flex: 0 0 80%;
}

.feature-image img {
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* ========================================
   Trust Badges Section
   ======================================== */

.trust-badges-section {
    background-color: var(--primary-green-light);
    padding: 3rem 0;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem;
}

.trust-badge-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.trust-badge-text {
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-charcoal);
    margin: 0;
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green-light);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.feature-bullets {
    list-style: none;
    padding: 0;
}

.feature-bullets li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
}

.feature-bullets li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--white) 100%);
}

.pricing-card {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(82, 151, 4, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-setup {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.pricing-description {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    padding-left: 2rem;
    position: relative;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: var(--font-weight-bold);
    font-size: 1.2rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   Who We Serve Section
   ======================================== */

.who-we-serve-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.serve-item {
    text-align: center;
    padding: 2rem 1rem;
}

.serve-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.serve-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-charcoal);
    margin-bottom: 0.75rem;
}

.serve-description {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ========================================
   About Us Section
   ======================================== */

.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--white) 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text .highlight {
    color: var(--primary-green);
    font-weight: var(--font-weight-semibold);
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 1rem;
}

.faq-item .accordion-item {
    border: none;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 0;
}

.faq-item .accordion-header {
    margin-bottom: 0;
}

.faq-question {
    background: none !important;
    border: none !important;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-charcoal) !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

/* Hide Bootstrap's default accordion arrow */
.faq-question::after {
    display: none !important;
}

.faq-question:hover {
    background-color: var(--primary-green-light) !important;
    color: var(--primary-green) !important;
}

.faq-question:not(.collapsed) {
    background-color: var(--primary-green-light) !important;
    color: var(--primary-green) !important;
}

.faq-question i {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.accordion-collapse {
    transition: height 0.35s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Final CTA Section
   ======================================== */

.final-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--white);
    text-align: center;
}

.final-cta-headline {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 1rem;
}

.final-cta-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.final-cta-button {
    font-size: 1.25rem;
    padding: 1rem 3rem;
    margin-bottom: 1rem;
}

.final-cta-small-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* ========================================
   Footer
   ======================================== */

.footer-section {
    padding: 3rem 0 2rem;
}

.footer-section h5 {
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--white);
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding: 3rem 0 2rem;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .hero-cta-buttons .btn {
        width: 100%;
    }
    
    .dashboard-preview {
        padding: 40px 20px;
    }
    
    .dashboard-preview h2 {
        font-size: 2rem;
    }
    
    .dashboard-preview p {
        font-size: 1.1rem;
    }
    
    .feature-section,
    .feature-section.reverse {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .feature-image {
        order: -1; /* Image always on top on mobile */
    }
    
    .feature-content h3 {
        font-size: 1.75rem;
    }
    
    .trust-badges-section {
        padding: 2rem 0;
    }
    
    .features-section,
    .pricing-section,
    .who-we-serve-section,
    .about-section,
    .faq-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .final-cta-headline {
        font-size: 2rem;
    }
    
    .final-cta-subtext {
        font-size: 1.1rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .footer-section .col-md-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .brand-text {
        font-size: 0.9rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-olive {
    color: var(--primary-green);
}

.bg-olive {
    background-color: var(--primary-green);
}

.bg-cream {
    background-color: var(--warm-cream);
}

.bg-beige {
    background-color: var(--warm-beige);
}

.shadow-soft {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

