/* --- BRAND VARIABLES (From Logo) --- */
:root {
    --logo-deep-navy: #1A2B56;
    /* Darkest part of the mountain base */
    --logo-vibrant-blue: #3A8DDE;
    /* Bright blue at the tip of the arrow */
    --logo-text-blue: #2E5FA9;
    /* The color of "FINANCIAL GROUP" */
    --heartland-gold: #D4AF37;
    /* For your "Premium" accents */
    --bg-light: #f8f9fa;
    --text-dark: #333;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVIGATION --- */
.navbar {
    border-top: 4px solid;
    border-image: linear-gradient(to right, var(--logo-vibrant-blue), var(--logo-deep-navy)) 1;
    background-color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: var(--logo-deep-navy);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-subtext {
    color: var(--logo-text-blue);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--logo-deep-navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--logo-vibrant-blue);
}

.nav-links .nav-cta {
    background-color: var(--logo-deep-navy);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-links .nav-cta:hover {
    background: var(--logo-vibrant-blue);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(26, 43, 86, 0.9), rgba(26, 43, 86, 0.9)),
        url('../assets/midwest-skyline.jpg') center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- BUTTONS --- */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Primary "Mountain Blue" Gradient */
.cta-button.gold {
    background: linear-gradient(135deg, var(--logo-vibrant-blue) 0%, var(--logo-deep-navy) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 43, 86, 0.3);
}

.cta-button.gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 43, 86, 0.4);
    background: linear-gradient(135deg, #4da3f5 0%, #1A2B56 100%);
}

.cta-button.outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.cta-button.outline:hover {
    background: white;
    color: var(--logo-deep-navy);
}

/* White Outline for Dark Backgrounds (Scorecard) */
.cta-button.outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.outline-white:hover {
    background: white;
    color: var(--logo-deep-navy);
}

/* --- VALUE GRID --- */
.value-prop {
    padding: 100px 20px;
    background: var(--bg-light);
    text-align: center;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--logo-text-blue);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

/* --- COMPARISON TABLE --- */
.comparison-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-card {
    padding: 60px 50px;
    text-align: left;
}

.w2-card {
    background-color: var(--logo-deep-navy);
    color: white;
}

.i1099-card {
    background-color: #fcfcfc;
    color: var(--logo-deep-navy);
    border: 1px solid #eee;
}

.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--heartland-gold);
    font-weight: bold;
}

/* --- TEAM SECTION --- */
.team-section {
    padding: 100px 20px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    border-bottom: 4px solid var(--heartland-gold);
    margin-bottom: 20px;
}

/* --- FINAL CTA & FOOTER --- */
.final-cta {
    padding: 100px 20px;
    background-color: var(--logo-deep-navy);
    text-align: center;
    color: white;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.legal-footer {
    padding: 40px 20px;
    background: #111;
    color: #888;
    font-size: 0.8rem;
    text-align: center;
}

/* --- TIMELINE (For Transition Page) --- */
.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 60px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--heartland-gold);
}

.step-number {
    background-color: var(--logo-deep-navy);
    color: var(--heartland-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 2;
}


.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

/* This must be at the very BOTTOM of your stylesheet */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column !important;
        align-items: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        /* Keep them in a row but allow wrapping */
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 0;
    }
}