/* === Home Page Styles === */

/* NFLBI Badge */
.nflbi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: var(--text-fine);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--green-deep);
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.08), rgba(4, 120, 87, 0.14));
    border: 1px solid rgba(4, 120, 87, 0.18);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

/* Hero Section */
.hero {
    background: var(--warm);
    padding: var(--space-4xl) 0 var(--space-3xl);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative gradient orb behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.hero-left h1 {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    line-height: 1.12;
    margin-bottom: var(--space-lg);
    color: var(--ink);
    letter-spacing: -0.5px;
}

.hero-left p {
    font-size: var(--text-lead);
    color: var(--slate);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    max-width: 520px;
}

.hero-left p.hero-subhead {
    font-size: var(--text-body-lg, 17px);
    color: var(--ink);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-md);
    font-size: var(--text-body-sm);
    font-weight: 500;
    color: var(--charcoal);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--ease-short);
}

.trust-badge:hover {
    border-color: rgba(4, 120, 87, 0.15);
    box-shadow: var(--shadow-sm);
}

.trust-badge::before {
    content: '✓';
    color: white;
    font-weight: 700;
    font-size: 12px;
    background: var(--green);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Form Card */
.form-card {
    background: linear-gradient(160deg, #0f1729 0%, var(--ink) 50%, #0a1018 100%);
    border-radius: var(--radius-2xl);
    padding: 36px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.form-card::before,
.form-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.form-card::before {
    width: 350px;
    height: 350px;
    background: var(--green);
    top: -180px;
    right: -120px;
    filter: blur(80px);
    opacity: 0.12;
}

.form-card::after {
    width: 250px;
    height: 250px;
    background: var(--amber);
    bottom: -120px;
    left: -80px;
    filter: blur(70px);
    opacity: 0.08;
}

.form-card-inner {
    position: relative;
    z-index: 2;
}

.form-card h2 {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

/* Form input/submit/validation styles inherited from main.css shared section */

.form-agent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-agent-photo {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
}

.form-agent-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.form-agent-name {
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: #fff;
}

.form-agent-badge {
    font-family: var(--font-body);
    font-size: var(--text-fine);
    font-weight: 500;
    color: var(--green);
    letter-spacing: 0.3px;
}

/* .form-social-proof, .form-response-badge, .form-success inherited from main.css */

/* How It Works Section */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: white;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    position: relative;
}

.step-item {
    text-align: left;
    padding: 0;
    position: relative;
    border-top: 1px solid rgba(12, 18, 32, 0.1);
    padding-top: var(--space-lg);
    transition: all var(--ease-medium);
}

/* Large editorial serif numerals replace filled circles — breaks the AI-slop 3-col icon pattern */
.step-number {
    display: block;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.5px;
}

.step-number::before {
    content: '0';
    opacity: 0.9;
}

/* Step 2 is the USP — Ali personally reviews — subtle emphasis */
.step-item:nth-child(2) {
    border-top-color: var(--green);
}

.step-item:nth-child(2) .step-number {
    color: var(--green-deep);
}

.step-item h3 {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    margin-bottom: var(--space-sm);
    color: var(--ink);
    line-height: 1.2;
}

.step-item p {
    color: var(--slate);
    font-size: var(--text-body-sm);
    line-height: 1.65;
    max-width: 320px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        max-width: 520px;
        margin: var(--space-xl) auto 0;
    }
    .step-item { padding-top: var(--space-md); }
    .step-number { font-size: 36px; }
}

/* Trusted Carriers styles moved to main.css (used on homepage + product pages) */

/* Agent Bio Section */
.agent-section {
    padding: var(--space-4xl) 0;
    background: white;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-fine);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green);
    text-align: center;
    width: 100%;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    margin-bottom: var(--space-2xl);
    text-align: center;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.section-title + .section-desc {
    margin-top: calc(var(--space-xl) * -1);
}

.section-desc {
    font-family: var(--font-body);
    font-size: var(--text-lead);
    color: var(--slate);
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.agent-card {
    display: flex;
    gap: 40px;
    align-items: center;
    background: var(--cream);
    border-radius: var(--radius-2xl);
    padding: 48px;
}

.agent-image {
    flex-shrink: 0;
}

.agent-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--ink);
}

.agent-detail {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.agent-detail label {
    font-weight: 600;
    color: var(--slate);
    min-width: 100px;
}

.agent-detail span {
    color: var(--charcoal);
}

/* Lead Magnet Section */
.lead-magnet {
    padding: var(--space-4xl) 0;
    background: linear-gradient(160deg, var(--charcoal) 0%, var(--ink) 60%, #0a1018 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.lead-magnet::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.lead-magnet .section-title {
    color: white;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-magnet-form {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-2xl);
    padding: 44px;
    backdrop-filter: blur(20px);
}

.lead-magnet-form h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 8px;
    color: white;
}

.lead-magnet-form .guide-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.08);
    color: white;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
}

.lead-magnet-form .guide-form-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.lead-magnet-form .guide-form-input:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.lead-magnet-form .guide-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-magnet-form .guide-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--green);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lead-magnet-form .guide-submit-btn:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4,120,87,0.3);
}

.lead-magnet-book {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 440px;
}

.book-mockup {
    position: relative;
    width: 280px;
    perspective: 1000px;
}

.book-cover {
    background: linear-gradient(145deg, var(--green), var(--green-deep));
    border-radius: 4px 16px 16px 4px;
    padding: 40px 30px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    box-shadow: -6px 6px 20px rgba(0,0,0,0.4), 0 0 60px rgba(4,120,87,0.15);
    position: relative;
    transform: rotateY(-8deg);
    transition: transform 0.4s ease;
}

.book-cover:hover {
    transform: rotateY(-3deg);
}

.book-cover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.2), transparent);
    border-radius: 4px 0 0 4px;
}

.book-cover .book-badge {
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.book-cover .book-title {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.book-cover .book-subtitle {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.5;
}

.book-cover .book-author {
    font-size: 12px;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 16px;
    width: 100%;
}

.book-features {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-feature-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.lead-magnet-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.lead-magnet-trust svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* Video Section */
.video-section {
    padding: var(--space-4xl) 0;
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.video-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    transition: all var(--ease-medium);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.video-title {
    padding: 16px 20px 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    color: var(--ink);
    text-align: center;
}

.video-desc {
    padding: 0 20px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate);
    text-align: center;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border-top: 3px solid;
    transition: all var(--ease-medium);
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: var(--shadow-sm);
}

.product-card.term { border-top-color: var(--green); }
.product-card.whole { border-top-color: var(--amber); }
.product-card.universal { border-top-color: var(--indigo); }
.product-card.mortgage { border-top-color: var(--pink); }

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    margin-bottom: var(--space-sm);
    color: var(--ink);
}

.product-card p {
    font-size: var(--text-body-sm);
    color: var(--slate);
    margin-bottom: var(--space-md);
    line-height: 1.65;
}

.product-ideal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.product-tag {
    font-size: var(--text-caption);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-weight: 500;
    background: var(--cloud);
    color: var(--charcoal);
}

/* Scenario Cards */
.scenario-card {
    cursor: pointer;
    position: relative;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scenario-icon {
    font-size: 40px;
    margin-bottom: var(--space-md);
    line-height: 1;
}

.scenario-rec {
    margin-top: auto;
    padding-top: var(--space-md);
}

.scenario-rec .product-tag {
    background: var(--green-glow);
    color: var(--green-deep);
    font-weight: 600;
    border: 1px solid rgba(4, 120, 87, 0.12);
}

/* Why Work With Me Section */
.why-section {
    padding: var(--space-4xl) 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.why-item {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--ease-medium);
    background: var(--warm);
}

.why-item:hover {
    border-color: rgba(4, 120, 87, 0.1);
    box-shadow: var(--shadow-md);
    background: white;
}

.why-icon {
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--green-glow);
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.why-item h3 {
    font-family: var(--font-heading);
    font-size: var(--text-h5);
    margin-bottom: var(--space-sm);
    color: var(--ink);
}

.why-item p {
    color: var(--slate);
    font-size: var(--text-body-sm);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* Service Areas Section */
.service-areas {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.region-block {
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-bottom: 32px;
}
.region-block.south {
    background: linear-gradient(135deg, rgba(4,120,87,0.08), rgba(5,150,105,0.04));
    border: 1px solid rgba(4,120,87,0.15);
}
.region-block.central {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.04));
    border: 1px solid rgba(99,102,241,0.15);
}
.region-block.north {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.04));
    border: 1px solid rgba(245,158,11,0.15);
}

.region-block h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 8px;
    color: var(--ink);
    text-align: center;
}
.region-block .region-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--mist);
    text-align: center;
    margin-bottom: 20px;
}

.region-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}
.region-city {
    background: white;
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--charcoal);
    border: 1px solid var(--cloud);
    transition: all 0.2s;
}
.region-city:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.region-counties {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--mist);
    text-align: center;
    line-height: 1.8;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.region-counties strong {
    color: var(--slate);
    font-size: 13px;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-4xl) 0;
    background: white;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--cloud);
    padding: 24px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
    user-select: none;
}

.faq-question:hover {
    color: var(--green);
}

.faq-question h3 {
    font-family: var(--font-heading);
    font-size: 21px;
    color: var(--charcoal);
    flex: 1;
}

.faq-chevron {
    color: var(--green);
    font-weight: bold;
    transition: transform 0.3s ease;
    font-size: 20px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--slate);
    line-height: 1.6;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 16px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Reviews Section */
.reviews-section {
    padding: var(--space-4xl) 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.review-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--ease-medium);
    box-shadow: var(--shadow-sm);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.review-stars {
    color: var(--amber);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-initials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.review-location {
    font-size: 0.78rem;
    color: var(--mist);
}

.review-cta {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--green-glow);
    color: var(--green-deep);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.review-cta:hover {
    background: rgba(4, 120, 87, 0.2);
}


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

/* CTA Section */
.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--cream);
}

.cta-card {
    background: linear-gradient(160deg, #0f1729 0%, var(--ink) 50%, #0a1018 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
    letter-spacing: -0.3px;
    position: relative;
}

.cta-button {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-body);
    cursor: pointer;
    transition: all var(--ease-short);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.25);
    position: relative;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
}

/* Footer */


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--ink);
}

.modal-content p {
    color: var(--slate);
    margin-bottom: 24px;
    font-size: 15px;
}

.date-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.date-option {
    padding: 12px;
    border: 2px solid var(--cloud);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.date-option:hover {
    border-color: var(--green);
    background: var(--green-glow);
}

.date-option.selected {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.time-picker {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.time-option {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--cloud);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.time-option:hover {
    border-color: var(--green);
    background: var(--green-glow);
}

.time-option.selected {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-button.primary {
    background: var(--green);
    color: white;
}

.modal-button.primary:hover {
    background: var(--green-deep);
}

.modal-button.secondary {
    background: var(--cloud);
    color: var(--charcoal);
}

.modal-button.secondary:hover {
    background: var(--mist);
}

/* ===== STICKY MOBILE CTA BAR ===== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--green);
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.sticky-cta.visible {
    transform: translateY(0);
}
.sticky-cta button {
    background: white;
    color: var(--green-deep);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    letter-spacing: 0.3px;
}
.sticky-cta button:active {
    transform: scale(0.97);
}
@media (max-width: 900px) {
    .sticky-cta { display: block; }
    body { padding-bottom: 70px; }
}


/* ===== URGENCY BADGE ===== */
.urgency-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: var(--text-caption);
    font-weight: 500;
    color: var(--amber);
    line-height: 1.4;
    animation: urgency-fade-in var(--ease-long);
}
.urgency-badge::before {
    content: '\23F0';
    font-size: 14px;
    flex-shrink: 0;
}
@keyframes urgency-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ===== COMPARISON TABLE (Agent vs DIY) ===== */
.comparison-section { padding: var(--space-4xl) 0; background: var(--warm); }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-top: 32px;
    font-family: var(--font-body);
}
.comparison-table th {
    background: var(--charcoal);
    color: white;
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}
.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--cloud);
    font-size: 15px;
    color: var(--slate);
}
.comparison-table tr:nth-child(even) { background: #f8fafb; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check-cell { color: var(--green); font-weight: 700; font-size: 18px; }
.comparison-table .x-cell { color: #ccc; font-size: 18px; }

/* ===== COVERAGE CALCULATOR ===== */
.calculator-section { padding: var(--space-4xl) 0; background: white; }
.calculator-card {
    background: var(--warm);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 640px;
    margin: var(--space-xl) auto 0;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.calc-step {
    margin-bottom: 24px;
}
.calc-step label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--charcoal);
    margin-bottom: 8px;
}
.calc-step input[type="range"] {
    width: 100%;
    accent-color: var(--green);
    height: 6px;
}
.calc-step .calc-value {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--green-deep);
    font-weight: 600;
    margin-top: 4px;
}
.calc-step select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--cloud);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    background: white;
    color: var(--ink);
}
.calc-result {
    background: white;
    border: 2px solid var(--green);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-top: 24px;
}
.calc-result .result-amount {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--green-deep);
    margin-bottom: 4px;
}
.calc-result .result-label {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 16px;
}
.calc-result .calc-cta {
    display: inline-block;
    background: var(--green);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.calc-result .calc-cta:hover { background: var(--green-deep); }

.calc-urgency {
    font-size: 13px;
    color: var(--slate);
    margin-top: 12px;
    font-style: italic;
    opacity: 0.8;
}

/* ===== RESPONSE TIME BADGE ===== */
.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-family: var(--font-body);
    font-size: var(--text-fine);
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}
.response-badge .badge-icon {
    color: var(--green);
    font-size: 13px;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: toast-in 0.3s ease, toast-out 0.3s ease 4s forwards;
    max-width: 360px;
}
.toast.success { background: var(--green-deep); }
.toast.error { background: #dc2626; }
.toast.warning { background: #d97706; }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { from { opacity: 1; } to { opacity: 0; } }

/* === EXIT-INTENT POPUP === */
.exit-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    align-items: center;
    justify-content: center;
}
.exit-popup.show {
    display: flex;
}
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}
.exit-popup-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px 40px 32px;
    max-width: 460px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    z-index: 1;
    animation: exitPopupIn 0.3s ease;
}
@keyframes exitPopupIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.exit-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--mist);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}
.exit-popup-close:hover { color: var(--ink); }
.exit-popup-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--amber-glow);
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.exit-popup-content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 8px;
    text-align: center;
}
.exit-popup-content > p {
    color: var(--slate);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}
.exit-form-row {
    display: flex;
    gap: 10px;
}
.exit-form-row .form-group {
    flex: 1;
}
.exit-popup-content .form-group {
    margin-bottom: 10px;
}
.exit-popup-content .form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--cloud);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    color: var(--ink);
    background: var(--warm);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.exit-popup-content .form-group input::placeholder {
    color: var(--mist);
}
.exit-popup-content .form-group input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-glow);
    background: white;
}
.exit-popup-content .form-submit {
    width: 100%;
    padding: 14px;
    background: var(--amber);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    margin-top: 4px;
}
.exit-popup-content .form-submit:hover { background: #d97706; }
.exit-popup-note {
    text-align: center;
    font-size: 13px;
    color: var(--mist);
    margin-top: 14px;
    letter-spacing: 0.02em;
}
@media (max-width: 480px) {
    .exit-popup-card { padding: 28px 20px 24px; }
    .exit-popup-content h2 { font-size: 22px; }
    .exit-form-row { flex-direction: column; gap: 0; }
}

/* Inline field errors */
.field-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    font-family: var(--font-body);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        gap: 8px;
        z-index: 99;
    }
    .nav-links.open a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 4px 0;
    }

    .hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .hero-content,
    .lead-magnet-content,
    .agent-card {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    /* Mobile hero order: keyword-matched H1 + subhead → form → story + trust.
       Gets the form close to the fold so Google Ads clicks can convert in 1 scroll. */
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: var(--space-lg);
    }
    .hero-left {
        display: contents;
    }
    .hero-lead { order: 1; }
    .hero-right { order: 2; }
    .hero-supporting { order: 3; }

    .hero-left h1 {
        font-size: 36px;
        margin-bottom: var(--space-sm);
        line-height: 1.15;
    }

    .hero-left p {
        font-size: 17px;
        margin-bottom: var(--space-md);
    }

    .trust-badges {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .trust-badge {
        font-size: var(--text-caption);
        padding: 8px 10px;
        gap: 8px;
    }

    .trust-badge::before {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .form-card {
        padding: var(--space-lg);
    }

    .form-card h2 {
        font-size: var(--text-h4);
        margin-bottom: 4px;
    }

    .agent-card {
        flex-direction: column;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-left h1 {
        font-size: 32px;
    }
    .section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .hero-content {
        gap: var(--space-lg);
    }

    .hero-left h1 {
        font-size: 28px;
        margin-bottom: var(--space-sm);
    }

    .hero-left p {
        font-size: var(--text-body-sm);
        margin-bottom: var(--space-md);
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .trust-badge {
        font-size: var(--text-caption);
        padding: 5px 8px;
    }

    .form-card,
    .lead-magnet-form,
    .agent-card {
        padding: 20px;
    }

    .form-agent-header {
        margin-bottom: 12px;
    }

    .form-card h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .book-features {
        position: static;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 24px;
    }

    .book-cover {
        transform: rotateY(0deg);
    }

    .lead-magnet-book {
        min-height: auto;
    }

    .agent-info h3 {
        font-size: 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 24px;
    }

    .video-iframe {
        height: 280px;
    }

    .nav-cta {
        padding: 10px 16px;
        font-size: 14px;
    }

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

/* === Coverage Gap Analyzer CTA === */
.gap-cta-section {
    padding: 48px 0;
}

.gap-cta-card {
    background: linear-gradient(135deg, #0c1220 0%, #1a2335 100%);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gap-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.gap-cta-content {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.gap-cta-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(4, 120, 87, 0.2);
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.gap-cta-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.gap-cta-card p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.gap-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--green);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.gap-cta-btn:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .gap-cta-card {
        padding: 32px 24px;
    }
    .gap-cta-card h2 {
        font-size: 1.4rem;
    }
}

/* Gap Analyzer Hero Section */
.gap-hero-section {
    padding: 80px 0;
    background: var(--cream);
}

.gap-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #0c1220 0%, #1a2335 100%);
    border-radius: var(--radius-2xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.gap-hero-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gap-hero-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.gap-hero-visual {
    position: relative;
    z-index: 1;
}

.gap-meter-demo {
    padding: 20px;
}

.gap-meter-bar {
    display: flex;
    height: 56px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gap-meter-covered {
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gap-meter-gap {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse-gap 2s ease-in-out infinite;
}

@keyframes pulse-gap {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.gap-meter-stat {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-style: italic;
}

.gap-hero-content {
    position: relative;
    z-index: 1;
}

.gap-hero-content .nflbi-badge {
    background: rgba(4, 120, 87, 0.2);
    border-color: rgba(4, 120, 87, 0.3);
    color: #34d399;
}

.gap-hero-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-h2);
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gap-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.gap-hero-btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--green);
    color: white;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

.gap-hero-btn:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 120, 87, 0.4);
}

.gap-hero-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .gap-hero-card {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
    }
    .gap-hero-content h2 {
        font-size: var(--text-h3);
    }
}

