:root {
    --primary-color: #303994;
    --accent-color: #747abb;
    --dark-color: #000000;
    --light-color: #ffffff;
    --text-color: #333;
    --font-family-headings: 'Inter', sans-serif;
    --font-family-body: 'Roboto', sans-serif;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

/* --- Header --- */
.main-header {
    background: var(--light-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    font-family: var(--font-family-headings);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav a:not(.btn) {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:not(.btn):hover {
    color: var(--primary-color);
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.main-nav .btn {
    color: var(--light-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color) !important; /* Ensure text is always light */
    border: 2px solid var(--primary-color);
}


.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--light-color);
    padding: 120px 0 60px;
    margin-top: 60px; /* Adjust for fixed header */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-family-headings);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* --- Features Section --- */
.features {
    padding: 60px 0;
    text-align: center;
}

.features h2 {
    font-family: var(--font-family-headings);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- How It Works Section --- */
.how-it-works {
    padding: 60px 0;
    background-color: var(--light-color);
}

.how-it-works h2 {
    text-align: center;
    font-family: var(--font-family-headings);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
    display: flex;
    flex-direction: column;
}

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

.step h3 {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step img {
    width: 100%;
    margin-top: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* --- CTA Section --- */
.cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-family-headings);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background-color: var(--light-color);
    color: var(--primary-color) !important;
    border-color: var(--light-color);
}

.cta .btn-primary:hover {
    background-color: #eee;
    border-color: #eee;
    color: var(--primary-color) !important;
}


/* --- Footer --- */
.main-footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--light-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 1rem 0;
        text-align: center;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        grid-row: 1;
        margin-bottom: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 1rem;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

/* --- Get Started Page Specific --- */
.get-started-hero {
    background-color: var(--light-color);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px; /* Adjust for fixed header */
}

.get-started-hero h1 {
    font-family: var(--font-family-headings);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.download-section {
    padding: 60px 0;
}

.download-card, .step-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 2rem;
}

.download-card h2, .step-card h2 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.app-badges img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-badges a:hover img {
    transform: scale(1.05);
}

.web-app-link {
    margin-top: 1.5rem;
    color: #666;
}

.web-app-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.web-app-link a:hover {
    text-decoration: underline;
}

/* --- Pricing Page Specific --- */
.pricing-hero {
    background-color: var(--light-color);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px; /* Adjust for fixed header */
}

.pricing-hero h1 {
    font-family: var(--font-family-headings);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pricing-plans {
    padding: 60px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card h2 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-description {
    color: #666;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-top: 2rem;
    padding-left: 1rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.price-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-option {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    position: relative;
    background-color: #f9f9f9;
}

.price-option .price {
    font-size: 1.8rem;
}

.price-option .price-tenure {
    font-size: 0.9rem;
    color: #666;
}

.save-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--accent-color);
    color: var(--light-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(15deg);
}

.non-profit-cta {
    background: var(--light-color);
    padding: 60px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.cta-icon {
    color: var(--accent-color);
}

.cta-icon svg {
    width: 64px;
    height: 64px;
}

.cta-text {
    margin: 0 2rem;
}

.cta-text h2 {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text {
        margin: 2rem 0;
    }

    .price-options {
        flex-direction: column;
    }
}

/* --- Contact Page Specific Styles --- */
.contact-hero {
    background-color: var(--light-color);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px; /* Adjust for fixed header */
}

.contact-hero h1 {
    font-family: var(--font-family-headings);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-content {
    padding: 60px 0;
}

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

.contact-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 64px;
    height: 64px;
}

.contact-card h2 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 2rem;
}

.contact-card address {
    font-style: normal;
    line-height: 1.8;
}

/* Privacy Policy Page Specific Styles */
.privacy-hero {
    background-color: var(--light-color);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 60px; /* Adjust for fixed header */
}

.privacy-hero h1 {
    font-family: var(--font-family-headings);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.privacy-content {
    padding: 60px 0;
    background-color: var(--light-color);
}

.privacy-content h2 {
    font-family: var(--font-family-headings);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 1.5rem;
}

.privacy-content ul {
    list-style: disc;
    padding-left: 2rem;
}

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

.privacy-content a:hover {
    text-decoration: underline;
}
