@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #080808;
    --text-color: #ffffff;
    --accent-color: #f7d147;
    --secondary-accent: #151515;
    --muted-text: rgba(255, 255, 255, 0.6);
    --container-padding: 8vw;
    --transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.custom-cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    padding-left: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    /* Handled by GSAP ScrollTo but native as fallback */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

h1,
h2,
h3,
.impact-text {
    font-family: 'Antonio', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.container {
    padding: 0 var(--container-padding);
}

/* Animations Helpers */
.reveal {
    overflow: hidden;
}

.reveal>* {
    transform: translateY(110%);
    display: block;
}

/* Navbar */
h2 {
    text-shadow: 0 0 30px rgba(247, 209, 71, 0.1);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10001;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.8), transparent);
}

nav.scrolled {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.2rem var(--container-padding);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--accent-color);
    text-transform: uppercase;
}

.nav-cta {
    margin-left: 2rem;
}

@media (max-width: 900px) {
    .nav-cta {
        display: none;
    }
}

/* Nav Links (Desktop) */
.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.5rem 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--accent-color);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Hamburger & Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10002;
    padding: 1rem;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-family: 'Antonio', sans-serif;
    font-size: 3rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.6s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.4);
    object-fit: cover;
}

.hero h1 {
    font-family: 'Antonio', sans-serif;
    font-weight: 700;
    font-size: 12vw;
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--muted-text);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color) !important;
    color: #000 !important;
    font-weight: 800;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 222, 89, 0.4);
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: #000;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: #fff;
    transition: var(--transition);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}

/* Hover & Glow Utilities */
.hover-scale {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale:hover {
    transform: scale(1.02);
}

.glow-on-hover {
    transition: box-shadow 0.4s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(247, 209, 71, 0.15);
}

/* Sections */
section {
    padding: 5vh 0;
}

#mission {
    background-color: var(--bg-color);
    position: relative;
    z-index: 1;
    padding-top: 8vh;
}

.section-title {
    font-size: 5vw;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

/* Grid Layouts */
/* Mission Grid (Simple Cards) */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background: var(--secondary-accent);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-15px);
    background: #1a1a1a;
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mission-card i,
.mission-card svg {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mission-card:hover i,
.mission-card:hover svg {
    transform: scale(1.2) rotate(10deg);
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

.mission-card:hover h3 {
    color: var(--accent-color);
}

.mission-card p {
    color: var(--muted-text);
    font-size: 1rem;
    line-height: 1.6;
}

/* Financial Comparison */
#savings {
    position: relative;
    padding: 10vh var(--container-padding);
    background: linear-gradient(to right, rgba(8, 8, 8, 0.9) 30%, rgba(8, 8, 8, 0.4)), url('savings-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 60px;
    margin: 6rem auto;
    max-width: 1600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: calc(100% - 2 * var(--container-padding));
}

.savings-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.savings-box {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(247, 209, 71, 0.3);
    padding: 3rem;
    border-radius: 40px;
}

.savings-table {
    width: 100%;
    border-collapse: collapse;
}

.savings-table th,
.savings-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

/* Calculator Section */
.calc-container {
    background: rgba(21, 21, 21, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calc-input-group {
    margin-bottom: 2rem;
}

.calc-input-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.calc-input-group input,
.calc-input-group select {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    border-radius: 10px;
}

.calc-result {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
}

.calc-result h4 {
    font-size: 1.5rem;
    color: var(--muted-text);
}

.calc-total {
    font-size: 4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.savings-table .highlight {
    color: var(--accent-color);
    font-weight: 900;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #333;
    padding: 2rem 0;
}

.faq-question {
    font-size: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--muted-text);
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--secondary-accent);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--secondary-accent);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    background: #1a1a1a;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* Concerns Grid */
.concerns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.concern-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.concern-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.concern-item p {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 5vh var(--container-padding);
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--muted-text);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .savings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 15vw;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .concerns-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .marquee-container {
        font-size: 2.5rem !important;
    }

    .container {
        --container-padding: 1.25rem;
    }
}

/* Interest Form Inline Styles */
.form-container {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: #111;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--muted-text);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.input-group.full-width {
    grid-column: span 2;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.08);
}

.radio-label input[type="radio"]:checked+span {
    color: var(--accent-color);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--accent-color);
    background: rgba(247, 209, 71, 0.05);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .input-group.full-width {
        grid-column: span 1;
    }
}


/* Funding Section Redesign */
#funding {
    position: relative;
    background: linear-gradient(to right, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 50%, rgba(8, 8, 8, 0.3) 100%), url('funding-bg.png');
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
    padding: 12vh var(--container-padding) !important;
    margin: 4rem 0 !important;
    border-radius: 40px;
    max-width: 1600px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(100% - 2 * var(--container-padding));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.funding-layout {
    display: block;
    max-width: 650px;
}

.funding-content h2 {
    font-size: 6vw;
    margin-bottom: 2rem;
    line-height: 0.9;
}

.funding-highlight {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: 'Antonio', sans-serif;
    margin: 2rem 0;
    display: block;
}

.funding-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.funding-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.funding-card.lsta-model {
    background: rgba(247, 209, 71, 0.05);
    border: 1px solid rgba(247, 209, 71, 0.4);
    box-shadow: 0 0 40px rgba(247, 209, 71, 0.05);
}

.funding-card.lsta-model:hover {
    background: rgba(247, 209, 71, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 60px rgba(247, 209, 71, 0.1);
}

.funding-card.ail-fallback {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}



.funding-card.ail-fallback:hover {
    opacity: 1;
    border-style: solid;
}

.funding-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.funding-card p {
    color: var(--muted-text);
    font-size: 1rem;
    line-height: 1.5;
}

.funding-image-container {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 100%;
    min-height: 600px;
}

.funding-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.funding-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 10;
}

@media (max-width: 1100px) {
    #funding {
        background-attachment: scroll;
        border-radius: 30px;
        padding: 8vh var(--container-padding) !important;
    }

    .funding-layout {
        max-width: 100%;
    }

    .funding-content h2 {
        font-size: 10vw;
    }

    .funding-highlight {
        font-size: 2.5rem;
    }

    .funding-card {
        padding: 1.5rem;
    }
}

/* COMPREHENSIVE MOBILE STYLES */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 14vw;
        padding: 0 0.5rem;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 7vw;
        margin-bottom: 1rem;
    }

    /* Mission Cards - 2 columns, last odd card spans full */
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .mission-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .mission-card {
        padding: 1.25rem;
    }

    .mission-card h3 {
        font-size: 1rem;
    }

    .mission-card p {
        font-size: 0.8rem;
    }

    .mission-card i,
    .mission-card svg {
        width: 28px;
        height: 28px;
        margin-bottom: 1rem;
    }

    /* Savings Section */
    #savings {
        border-radius: 20px;
        margin: 2rem auto;
        padding: 4vh var(--container-padding);
        width: calc(100% - 1rem);
        background-attachment: scroll;
    }

    .savings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .savings-box {
        padding: 1rem;
        border-radius: 16px;
    }

    .savings-box h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .savings-table th,
    .savings-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }

    .calc-container {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .calc-container h3 {
        font-size: 1.1rem !important;
    }

    .calc-total {
        font-size: 2.5rem !important;
    }

    /* Process Grid - 2 columns */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .process-step {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .process-step:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .step-number {
        font-size: 1.8rem;
    }

    .process-step h3 {
        font-size: 0.95rem;
    }

    .process-step p {
        font-size: 0.8rem;
    }

    /* Funding Section */
    .funding-layout {
        gap: 1.5rem;
    }

    .funding-content h2 {
        font-size: 10vw;
    }

    .funding-highlight {
        font-size: 1.6rem;
        margin: 1rem 0;
    }

    .funding-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .funding-card h3 {
        font-size: 1rem;
    }

    .funding-card p {
        font-size: 0.8rem;
    }

    .funding-image-container {
        min-height: 200px;
        border-radius: 16px;
    }

    .funding-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.3rem 0.75rem;
        font-size: 0.6rem;
    }

    /* Benefits Grid - 2 columns */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .benefit-card:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .benefit-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .benefit-card h3 {
        font-size: 0.95rem;
    }

    .benefit-card p {
        font-size: 0.8rem;
    }

    .benefit-card i,
    .benefit-card svg {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 0.75rem !important;
    }

    /* Concerns Grid - 2 columns */
    .concerns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .concern-item:last-child:nth-child(odd) {
        grid-column: span 2;
    }

    .concern-item {
        padding: 1rem;
        border-radius: 12px;
    }

    .concern-q {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .concern-item p {
        font-size: 0.75rem;
    }

    /* Marquee */
    .marquee-container {
        padding: 1rem 0 !important;
        font-size: 1.5rem !important;
    }

    /* FAQ Section */
    .faq-item {
        padding: 1rem 0;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    /* Vote Section */
    #vote h2 {
        font-size: 9vw !important;
    }

    #vote p {
        font-size: 0.95rem !important;
    }

    #vote .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        width: auto;
    }

    /* Footer */
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 3vh var(--container-padding);
    }

    footer .logo {
        font-size: 1rem;
    }

    footer .copyright {
        font-size: 0.7rem;
    }

    footer .liaisons p {
        text-align: center !important;
        font-size: 0.7rem !important;
    }

    /* Section margins for card-style sections */
    #savings,
    #funding {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* ========================================
       MOBILE: REDUCE BOXY FEEL
       Remove card backgrounds, use cleaner layout
       ======================================== */

    /* Mission cards - remove box, use left accent */
    #mission .mission-card {
        background: transparent !important;
        border: none !important;
        border-left: 2px solid var(--accent-color) !important;
        border-radius: 0 !important;
        padding: 0 0 0 1rem !important;
        margin-bottom: 1.5rem;
    }

    #mission .mission-card:last-child {
        margin-bottom: 0;
    }

    /* Mission grid - single column flow */
    #mission .mission-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Process steps - simpler list style */
    #how-it-works .process-step {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 1rem 0 !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    #how-it-works .process-step:last-child {
        border-bottom: none !important;
    }

    #how-it-works .process-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    #how-it-works .step-number {
        display: inline-block;
        margin-right: 0.75rem;
        font-size: 1.2rem !important;
    }

    #how-it-works .process-step h3 {
        display: inline;
    }

    /* Benefits - cleaner cards with accent */
    #benefits .benefit-card {
        background: transparent !important;
        border: none !important;
        border-left: 2px solid var(--accent-color) !important;
        border-radius: 0 !important;
        padding: 0 0 0 1rem !important;
        margin-bottom: 1.5rem;
    }

    #benefits .benefits-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Concerns - cleaner style */
    #concerns .concern-item {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 !important;
        padding: 1rem 0 !important;
    }

    #concerns .concerns-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Hide custom cursor on mobile/touch */
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }

    /* Concerns section mobile fix */
    #concerns {
        border-radius: 0 !important;
        background: transparent !important;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* Footer padding to avoid sticky CTA overlap */
    footer {
        padding-bottom: 6rem !important;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 12vw;
    }

    .section-title {
        font-size: 8vw;
    }

    .funding-content h2 {
        font-size: 12vw;
    }

    .mission-grid,
    .benefits-grid,
    .concerns-grid {
        grid-template-columns: 1fr;
    }

    .savings-table th,
    .savings-table td {
        padding: 0.4rem 0.2rem;
        font-size: 0.65rem;
    }

    .mobile-link {
        font-size: 1.8rem;
    }
}

/* Section Backgrounds & Flow */
/* Uniform section padding - desktop */
#mission,
#savings,
#how-it-works,
#benefits,
#faq,
#interest,
#resources {
    padding-top: 10vh;
    padding-bottom: 10vh;
}

/* Section backgrounds */
#mission {
    background-color: #0a0a0a;
}

#savings {
    background: radial-gradient(circle at center, #151515 0%, #0a0a0a 100%);
}

#how-it-works {
    background-color: #0a0a0a;
}

#benefits {
    background-color: #111;
}

#faq {
    background-color: #0a0a0a;
}

#interest {
    background: linear-gradient(to bottom, #111 0%, #050505 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#resources {
    background-color: #050505;
}

/* Mobile: reset section vertical padding to 0, spacing handled separately */
@media (max-width: 768px) {

    #mission,
    #savings,
    #how-it-works,
    #benefits,
    #faq,
    #interest,
    #resources,
    #concerns {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Success Message Overlay */
.success-message {
    display: none;
    text-align: center;
    padding: 6rem 2rem;
    background: rgba(247, 209, 71, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 40px;
    margin-top: 2rem;
    opacity: 0;
    transform: scale(0.9);
}

.success-message i {
    color: var(--accent-color);
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.success-message h3 {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.success-message p {
    font-size: 1.5rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ---------------------------------------------------------
   MOBILE INTERACTION CLEANUP
   Disables hovers and clicks for informational cards
   --------------------------------------------------------- */
@media (max-width: 992px) {

    .mission-card,
    .process-step,
    .benefit-card,
    .funding-card,
    .saving-box {
        pointer-events: none !important;
        cursor: default !important;
    }

    .mission-card:hover,
    .process-step:hover,
    .benefit-card:hover,
    .funding-card:hover,
    .saving-box:hover {
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
        opacity: 1 !important;
        background: inherit !important;
    }

    /* Neutralize specific icon/heading scales on hover */
    .mission-card:hover i,
    .mission-card:hover svg,
    .mission-card:hover h3,
    .benefit-card:hover i,
    .process-step:hover .step-number {
        transform: none !important;
        color: inherit !important;
    }

    /* Ensure dashed state doesn't change */
    .funding-card.ail-fallback:hover {
        border-style: dashed !important;
        opacity: 0.8 !important;
    }
}

/* ---------------------------------------------------------
   MOBILE STICKY CTA BUTTON
   --------------------------------------------------------- */
.mobile-sticky-cta-bg {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5.5rem;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9997;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-cta-bg.visible {
    opacity: 1;
}

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 9998;
    width: 90%;
    max-width: 400px;
    background: var(--accent-color);
    color: #000;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    box-shadow: 0 0 20px rgba(247, 209, 71, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.mobile-sticky-cta.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-sticky-cta:active {
    transform: translateX(-50%) scale(0.98);
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 222, 89, 0.4);
}

@media (max-width: 768px) {

    .mobile-sticky-cta-bg,
    .mobile-sticky-cta {
        display: block;
    }
}

/* ========================================
   MOBILE: CREATIVE MIXED LAYOUT
   Rhythm: Editorial -> Timeline -> Cards -> Blocks
   (Added at end to override previous styles)
   ======================================== */
@media (max-width: 768px) {

    /* 1. MISSION: Editorial Style (Clean, text-focused) */
    #mission .mission-card {
        background: transparent !important;
        border: none !important;
        border-left: 4px solid var(--accent-color) !important;
        border-radius: 0 !important;
        padding: 0 0 0 1.5rem !important;
        margin-bottom: 2rem;
    }

    #mission .mission-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* 2. HOW IT WORKS: Creative Vertical Timeline */
    #how-it-works .process-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        position: relative;
        padding-left: 1.5rem;
        /* Space for the line */
        border-left: 2px dashed rgba(247, 209, 71, 0.3);
        /* The timeline track */
    }

    #how-it-works .process-step {
        background: transparent !important;
        border: none !important;
        padding: 0 0 2.5rem 2rem !important;
        /* Spacing between steps */
        position: relative;
        text-align: left !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    #how-it-works .process-step:last-child {
        padding-bottom: 0 !important;
    }

    /* The "Node" on the timeline */
    #how-it-works .step-number {
        position: absolute;
        left: -2.35rem;
        /* Center on the line */
        top: 0;
        width: 1.7rem;
        height: 1.7rem;
        background: var(--accent-color);
        color: #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem !important;
        font-weight: 900;
        box-shadow: 0 0 10px rgba(247, 209, 71, 0.5);
        z-index: 2;
    }

    #how-it-works .process-step h3 {
        color: var(--accent-color);
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    #how-it-works .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
        opacity: 0.8;
    }

    /* 3. BENEFITS: Card/Box Style (Contrast) */
    #benefits .benefits-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        /* Stacked cards */
        gap: 1rem !important;
    }

    #benefits .benefit-card {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 16px !important;
        /* Round/Boxy */
        padding: 1.5rem !important;
        position: relative;
        overflow: hidden;
    }

    /* Add a subtle top highlight to benefits cards */
    #benefits .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        opacity: 0.5;
    }

    #benefits .benefit-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    /* 4. CONCERNS: Clean Blocks (Bottom Separators) */
    #concerns .concern-item {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0 !important;
        padding: 1.5rem 0 !important;
    }

    #concerns .concern-item:last-child {
        border-bottom: none !important;
    }

    #concerns .concerns-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
}