/* Modern Reset & Variables */
:root {
    /* Brand Colors - Deep Blue & Yellow Palette */
    --color-bg: #002845;
    /* Deep Rich Blue */
    --color-bg-gradient: linear-gradient(135deg, #001a2e 0%, #002845 100%);

    --color-text: #FFFFFF;
    --color-text-muted: #B0C4DE;
    /* Light Steel Blue */

    --color-accent: #FFD700;
    /* Vibrant Yellow */
    --color-accent-glow: rgba(255, 215, 0, 0.4);

    --color-secondary: #FFFFFF;
    /* White */
    --color-secondary-glow: rgba(255, 255, 255, 0.2);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --backdrop-blur: blur(12px);

    /* Spacing & Layout */
    --container-width: 1100px;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;

    --font-main: 'Inter', sans-serif;
}

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

body {
    background: var(--color-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.1;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.subheadline {
    font-size: 1.25rem;
    color: #CBD5E1;
    /* Slate 300 */
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 99px;
    /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
    /* Dark text on yellow for contrast */
    box-shadow: 0 4px 20px var(--color-accent-glow);
    border: 1px solid rgba(255, 230, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
    background: #E6C200;
    /* Darker yellow/gold for hover */
}

.btn-large {
    width: 100%;
    font-size: 1.125rem;
    padding: 1.125rem 2rem;
}

/* Glass Card */
.card,
.step,
.feature-item,
.offer-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.feature-item:hover,
.step:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

/* Section Specifics */

/* Hero */
.hero-section {
    padding: 8rem 0 6rem;
    /* More top padding for breathing room */
    text-align: center;
    position: relative;
}

.navbar {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--color-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-logo-icon {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hero Image & Layout */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

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

.hero-visual {
    width: 100%;
    max-width: 900px;
    margin-top: 1rem;
    animation: fadeIn 1.2s ease-out;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.support-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* Problem Section */


/* Problem Section */
.problem-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.problem-content {
    text-align: center;
    max-width: 700px;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.problem-visual {
    width: 100%;
    max-width: 800px;
}

.problem-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card h3 {
    color: var(--color-secondary);
}

/* How It Works */
.steps-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.step {
    position: relative;
    overflow: hidden;
}

/* Steps Images */
.step-image-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 160px;
}

.step-image {
    max-width: 100%;
    max-height: 140px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.step-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(255, 215, 0, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 99px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.05);
}

.step-content {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0 0.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

/* Timing Section */
.timing-section {
    position: relative;
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.timing-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.timing-content {
    text-align: center;
    max-width: 600px;
}

.timing-visual {
    width: 100%;
    max-width: 700px;
}

.timing-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.timing-section h2 {
    background: linear-gradient(to right, #FFD700, #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Outcomes */
/* Outcomes */
.outcomes-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.outcomes-visual {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.outcomes-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-item h3 {
    color: var(--color-text);
}

/* Offer Section */
.offer-section {
    padding-bottom: 8rem;
}

.offer-card {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Subtle Yellow border */
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.offer-badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--color-accent);
    padding: 0.35rem 1rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.offer-list {
    list-style: none;
    margin: 2.5rem 0;
    text-align: left;
}

.offer-list li {
    margin-bottom: 1rem;
    padding-left: 1.75rem;
    position: relative;
    color: #E2E8F0;
}

.offer-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    /* Yellow tick */
    font-weight: bold;
}

.micro-copy {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.footer-link:hover {
    border-color: var(--color-secondary);
}

.copyright {
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Animation utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

/* Media Queries */
@media (min-width: 768px) {

    /* Desktop Layout Updates */
    h1 {
        font-size: 4.5rem;
    }

    /* Hero Side-by-Side */
    .hero-wrapper {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 4rem;
    }

    .hero-content {
        max-width: 50%;
        margin: 0;
    }

    .hero-visual {
        max-width: 50%;
        margin-top: 0;
    }

    .cta-group {
        align-items: flex-start;
    }

    .card-grid,
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Problem Section Split */
    .problem-wrapper {
        flex-direction: row;
        text-align: left;
        align-items: center;
        justify-content: space-between;
    }

    .problem-content {
        text-align: left;
        max-width: 45%;
    }

    .problem-visual {
        max-width: 50%;
    }

    /* Timing Section Split */
    .timing-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .timing-content {
        order: 1;
        /* Text Left */
        width: 45%;
        text-align: left;
    }

    .timing-visual {
        order: 2;
        /* Image Right */
        width: 50%;
    }

    /* Outcomes Section Split */
    .outcomes-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .outcomes-visual {
        width: 45%;
        margin: 0;
    }

    .outcomes-content {
        width: 50%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-large {
        width: auto;
        min-width: 320px;
    }

    .section {
        padding: 8rem 0;
    }

    .offer-card {
        padding: 3.5rem;
    }
}

/* Form & Application Styles */
.form-card {
    max-width: 700px;
    /* Slightly wider for form */
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.price-disclosure {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.price-disclosure p {
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.price-subtext {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: 0 !important;
}

.application-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    margin-left: 0.25rem;
}

.required {
    color: var(--color-accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="tel"],
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    color: var(--color-text);
    font-family: var(--font-main);
    transition: all 0.2s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Custom Checkbox Styling */
.checkbox-group {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "✓";
    color: var(--color-bg);
    font-weight: bold;
    font-size: 14px;
}

.reduced-friction-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    opacity: 0.8;
}

/* Select dropdown specific fix for dark mode */
.form-group select option {
    background-color: var(--color-bg);
    color: var(--color-text);
}