:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(30, 64, 175, 0.7), rgba(15, 23, 42, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

.logo {
    width: 120px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-download {
    background-color: var(--accent-color);
    color: #000;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(251, 191, 36, 0.39);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
    background-color: #f59e0b;
}

.counter {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* Features Section Overhaul */
.features-section {
    padding: 8rem 2rem;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.section-title p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 32px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.feature-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 2rem;
    width: 70px;
    height: 70px;
    background: #eff6ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

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

.feature-card p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .features-section { padding: 5rem 1.5rem; }
    .section-title h2 { font-size: 2.25rem; }
}

/* Donation Section */
.donation {
    padding: 5rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.donation-content {
    max-width: 600px;
    margin: 0 auto;
}

.btn-donate {
    display: inline-block;
    margin-top: 2rem;
    background: #0070ba;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-donate:hover {
    background: #005ea6;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
}
