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

:root {
    --primary-color: #3B82F6;      /* Corporate Blue */
    --secondary-color: #1E40AF;    /* Deep Blue */
    --accent-color: #10B981;       /* Success Green */
    --dark: #0F172A;               /* Dark Navy */
    --darker: #020617;             /* Almost Black */
    --light: #1E293B;              /* Dark Gray */
    --gray: #94A3B8;               /* Light Gray */
    --success: #10B981;            /* Green */
    --danger: #EF4444;             /* Red */
}

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

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

/* Navigation */
.navbar {
    background: var(--dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: #E2E8F0;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.btn-accent:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

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

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--darker);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #E2E8F0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--dark);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #E2E8F0;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Signup Section */
.signup {
    padding: 5rem 0;
    background: var(--dark);
}

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

.signup h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #E2E8F0;
}

.signup > .container > .signup-content > p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.signup-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: left;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #E2E8F0;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #334155;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--dark);
    color: #E2E8F0;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #1a2332;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.privacy-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.875rem;
}

/* Donation Section */
.donation {
    padding: 5rem 0;
    background: var(--darker);
}

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

.donation h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #E2E8F0;
}

.donation-content > p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

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

.donation-card {
    background: var(--dark);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border-color: var(--primary-color);
}

.donation-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: var(--primary-color);
}

.donation-card.featured .donation-amount {
    color: white;
}

.donation-card.selected {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.donation-card.featured.selected {
    border-color: white;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.donation-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #E2E8F0;
}

.donation-card p {
    color: var(--gray);
}

.donation-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.custom-amount {
    margin: 2rem auto;
    max-width: 300px;
}

.custom-amount input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    background: var(--dark);
    color: #E2E8F0;
}

.donation-note {
    margin-top: 1.5rem;
    color: var(--gray);
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--dark);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #E2E8F0;
}

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

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #E2E8F0;
    font-style: normal !important;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    animation: slideIn 0.3s;
}

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

.close {
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray);
    line-height: 1;
}

.close:hover {
    color: var(--dark);
}

.modal-content h2 {
    margin: 1rem 0;
    color: var(--dark);
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .features h2,
    .signup h2,
    .donation h2,
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .donation-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .signup-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
}
