/* ===== Base / Reset ===== */
:root {
    --okie-green: #3EAA5F;
    --okie-green-dark: #2E8B4A;
    --okie-green-light: #E8F5EC;
    --okie-footer-bg: #D6E8D4;
    --okie-footer-bottom-bg: #C5DCCA;
    --okie-text: #333333;
    --okie-text-muted: #666666;
    --okie-white: #FFFFFF;
    --okie-who-section-bg: #e3f1fe;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--okie-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== OKIE Logo ===== */
.okie-logo-img {
    height: 100px;
    width: auto;
    display: block;
}

.okie-logo-img-footer {
    height: 100px;
}

/* ===== Navbar ===== */
.navbar {
    padding: 0.75rem 0;
    z-index: 1000;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand:hover {
    text-decoration: none;
}

.btn-download-app {
    background-color: var(--okie-green);
    color: var(--okie-white) !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-download-app:hover {
    background-color: var(--okie-green-dark);
    transform: translateY(-1px);
    color: var(--okie-white) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    --hero-aspect: 16 / 9;
    position: relative;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--hero-aspect);
    min-height: 22rem;
    max-height: auto;
    background-color: #E8EDE9;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(232, 245, 236, 0.97) 0%,
        rgba(62, 170, 95, 0.28) 55%,
        rgba(62, 170, 95, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    padding: 3rem 0;
    margin-left: clamp(1.5rem, 5vw, 3.5rem);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.80rem;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-get-started {
    background-color: var(--okie-green);
    color: var(--okie-white) !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
    display: inline-block;
}

.btn-get-started:hover {
    background-color: var(--okie-green-dark);
    transform: translateY(-1px);
    color: var(--okie-white) !important;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--okie-text);
}

/* ===== How it Works ===== */
.how-it-works-section {
    padding: 5rem 0;
    background-color: var(--okie-white);
}

.feature-card {
    padding: 1.5rem 1rem;
}

.feature-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.feature-icon-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--okie-green-light);
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--okie-green);
}

.feature-title {
    font-weight: 700;
    font-size: 1.80rem;
    margin-bottom: 0.5rem;
    color: var(--okie-text);
}

.feature-desc {
    font-size: 0.925rem;
    color: var(--okie-text-muted);
    max-width: 250px;
    margin: 0 auto;
}

/* ===== Who is it for? ===== */
.who-section {
    padding: 5rem 0;
    background: var(--okie-who-section-bg);
}

.audience-card {
    padding: 1.5rem 1rem;
}

.audience-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-icon-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.audience-icon-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--okie-green-light);
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--okie-green);
}

.audience-title {
    font-weight: 700;
    font-size: 1.80rem;
    margin-bottom: 0.5rem;
    color: var(--okie-text);
}

.audience-desc {
    font-size: 0.925rem;
    color: var(--okie-text-muted);
    max-width: 260px;
    margin: 0 auto;
}

/* ===== Download Now ===== */
.download-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fafcfb 0%, var(--okie-white) 100%);
}

.download-lead {
    max-width: 640px;
    margin: -1rem auto 2.5rem;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--okie-text-muted);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem 2.25rem;
}

.store-badge-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    line-height: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.store-badge-link:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

.store-badge-link:focus-visible {
    outline: 2px solid var(--okie-green);
    outline-offset: 4px;
    border-radius: 8px;
}

.store-badge-img {
    display: block;
    width: auto;
    height: 80px;
}

.store-badge-img--google {
    height: 80px;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #e8f3ea 0%, var(--okie-footer-bg) 48%, #d4e8d8 100%);
    padding-top: 3rem;
    padding-bottom: 0;
}

.footer-inner {
    padding-bottom: 2.5rem;
}

.footer-brand-row {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(46, 139, 74, 0.18);
}

.footer-logo {
    height: 44px;
    width: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--okie-green-dark);
    margin: 0 0 1rem;
}

.footer-body {
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.75;
    color: var(--okie-text);
    max-width: 520px;
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--okie-text-muted);
}

.footer-contact-link {
    color: var(--okie-green-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: var(--okie-text);
    text-decoration: underline;
}

.footer-contact-address {
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--okie-text);
    max-width: 320px;
}

.footer-bottom {
    background-color: var(--okie-footer-bottom-bg);
    padding: 1.125rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(46, 139, 74, 0.12);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--okie-text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-section {
        max-height: min(88vh, 900px);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        aspect-ratio: 4 / 5;
        max-height: none;
        min-height: 26rem;
        background-position: 60% center;
    }

    .hero-container {
        justify-content: center;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        padding: 4rem 1rem;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2rem;
        color: #fff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .how-it-works-section,
    .who-section,
    .download-section {
        padding: 3rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand-row {
        display: flex;
        justify-content: center;
    }

    .footer-body {
        max-width: none;
    }

    .footer-contact-address {
        max-width: none;
    }

    .download-lead {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-download-app {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1.25rem;
    }

    .store-badge-link {
        min-height: 72px;
    }

    .store-badge-img,
    .store-badge-img--google {
        height: 68px;
    }
}
