/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #e6f0ff;
    --text-primary: #1a1a1a;
    --text-secondary: #4d4d4d;
    --background: #ffffff;
    --background-alt: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #22c55e;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.25rem;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 6rem 20px;
    text-align: center;
}

.hero .container {
    max-width: 900px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    min-width: 200px;
}

.hero-buttons .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: #f0f0f0;
}

.hero-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Stats Section */
.stats {
    background: var(--background-alt);
    padding: 4rem 20px;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Benefits Grid */
.benefits {
    padding: 5rem 20px;
    background: var(--background);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: 0.75rem;
    background: var(--background-alt);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Organizers Section */
.organizers {
    padding: 5rem 20px;
    background: var(--background-alt);
}

.organizers h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.flow-step {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 2rem;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.step-content h3 {
    margin-top: 0;
}

.step-list {
    list-style: none;
    padding-left: 0;
}

.step-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.step-list li:before {
    content: "▸ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.payment-methods {
    list-style: none;
    padding-left: 0;
    columns: 2;
    gap: 2rem;
}

.payment-methods li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    break-inside: avoid;
}

.payment-methods li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Donor Experience */
.donor-experience {
    padding: 5rem 20px;
    background: white;
}

.donor-experience h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.donor-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.donor-step {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: var(--background-alt);
    transition: all 0.3s;
}

.donor-step:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.donor-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.donor-step h4 {
    margin-bottom: 0.5rem;
}

.donor-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Features Detailed */
.features-detailed {
    padding: 5rem 20px;
    background: var(--background-alt);
}

.features-detailed h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-section {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.feature-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-check {
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item strong {
    color: var(--text-primary);
}

.feature-item div {
    color: var(--text-secondary);
}

/* Global Section */
.global {
    padding: 5rem 20px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    text-align: center;
}

.global h2 {
    color: white;
    margin-bottom: 1rem;
}

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

.global-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

.global-features li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

/* CTA Section */
.cta {
    padding: 5rem 20px;
    background: var(--background-alt);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 20px 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

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

.footer-section a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 3rem 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .flow-step {
        flex-direction: column;
        gap: 1rem;
    }

    .payment-methods {
        columns: 1;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .donor-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .global-features {
        grid-template-columns: 1fr;
    }

    .feature-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 15px;
    }

    .navbar .container {
        padding: 0.75rem 15px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 2rem 15px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .flow-step {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .donor-flow {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .feature-item {
        gap: 0.75rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Print Styles */
@media print {
    .navbar, .cta, .footer {
        display: none;
    }

    body {
        background: white;
    }

    .flow-step, .benefit-card, .feature-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}
