/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #1B365D;
    --coral: #FF6B6B;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #2C3E50;
    --soft-blue: #3498DB;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
}

/* Left-align body paragraphs for better readability */
.problem-section p,
.solution-section p,
.about-section p,
.final-cta p,
.opening-section p,
.testimonial p {
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep headlines centered */
.problem-section h2,
.solution-section h2,
.about-section h2,
.final-cta h2,
.testimonials h2,
.faq-section h2,
.pricing-section h2,
.opening-section h2 {
    text-align: center;
}

/* Keep short callouts and highlights centered */
.highlight,
.price-callout,
.trust-badge,
.subheadline {
    text-align: center;
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.nav-brand a {
    display: block;
    line-height: 0;
}

.nav-brand img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border: 2px solid var(--coral);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--coral);
    color: var(--white);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--coral);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 2px solid var(--coral);
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--coral);
    color: var(--white);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--soft-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.subheadline {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 3rem 0;
    background: var(--light-gray);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: 4rem 0;
}

.problem-section .highlight {
    font-size: 1.25rem;
    color: var(--coral);
    margin: 2rem 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.stat h3 {
    font-size: 3rem;
    color: var(--coral);
    margin-bottom: 0.5rem;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.solution-section .subtitle {
    font-size: 1.25rem;
    color: var(--soft-blue);
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.bonus-features {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.bonus-features ul {
    list-style: none;
    padding-left: 0;
}

.bonus-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.bonus-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 4rem 0;
    background: var(--white);
}

.testimonial {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--coral);
}

.testimonial p {
    font-style: italic;
}

.attribution {
    font-weight: 600;
    color: var(--deep-blue);
    margin-top: 1rem;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--dark-gray);
    font-size: 1.5rem;
    display: block;
}

.current-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--coral);
    display: block;
}

.guarantee {
    background: #FFF9E6;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #FFD700;
    margin: 2rem 0;
}

.whats-included {
    margin: 2rem 0;
}

.whats-included ul {
    list-style: none;
    padding: 0;
}

.whats-included li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.cta-button {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #E74C3C;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.secondary-cta {
    margin-top: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 4rem 0;
    background: var(--deep-blue);
    color: var(--white);
    text-align: center;
}

.final-cta h2,
.final-cta p {
    color: var(--white);
}

.final-cta p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--coral);
}

.disclaimer {
    font-size: 0.9rem;
    margin: 2rem 0;
    opacity: 0.8;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--soft-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.thank-you-hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thank-you-hero .subheadline {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.download-section {
    padding: 4rem 0;
    text-align: center;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.download-button {
    display: inline-block;
    margin: 2rem 0;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

.note {
    color: var(--dark-gray);
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.8;
}

.war-room-intro {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.war-room-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.war-room-intro p {
    text-align: center;
    margin-bottom: 2rem;
}

.war-room-cta {
    text-align: center;
    margin-top: 3rem;
}

.war-room-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* ===== CONTENT WIDTH CONSTRAINTS FOR READABILITY ===== */
/* Prevents text from stretching too wide on large monitors */
/* Optimal reading width: 600-900px for body text */

/* Content wrapper for sections with full-width backgrounds */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wide content wrapper for grids and multi-column layouts */
.content-wrapper-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure inline-styled sections have proper width constraints */
section[style*="padding"] > *:not(.container):not(.content-wrapper):not(.content-wrapper-wide) {
    max-width: 900px;
}

/* Location page specific styles */
.gray-divorce-callout {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.issue-card-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Service areas and grid sections */
.service-areas,
.intro-section,
.what-is-section,
.services-overview {
    padding-left: 20px;
    padding-right: 20px;
}

.service-areas > *:not(.locations):not(.resources-grid):not(.services-grid),
.intro-section > *:not(.container),
.what-is-section > *:not(.container):not(.resources-grid),
.services-overview > *:not(.container):not(.services-grid) {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 20px;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #1B365D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #FF6B6B;
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.85rem;
        padding: 12px 15px;
    }
}

/* State-specific callout boxes - comprehensive fix for all states */
.unique-wa-box,
.unique-az-box,
.unique-co-box,
.unique-ct-box,
.unique-dc-box,
.unique-id-box,
.unique-il-box,
.unique-ma-box,
.unique-md-box,
.unique-nc-box,
.unique-nj-box,
.unique-nv-box,
.unique-ny-box,
.unique-va-box,
.unique-state-box {
    max-width: 900px !important;
    margin: 40px auto !important;
    padding: 30px;
    border-radius: 8px;
}

.unique-wa-box h3,
.unique-az-box h3,
.unique-co-box h3,
.unique-ct-box h3,
.unique-dc-box h3,
.unique-id-box h3,
.unique-il-box h3,
.unique-ma-box h3,
.unique-md-box h3,
.unique-nc-box h3,
.unique-nj-box h3,
.unique-nv-box h3,
.unique-ny-box h3,
.unique-va-box h3,
.unique-state-box h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.unique-wa-box ul,
.unique-az-box ul,
.unique-co-box ul,
.unique-ct-box ul,
.unique-dc-box ul,
.unique-id-box ul,
.unique-il-box ul,
.unique-ma-box ul,
.unique-md-box ul,
.unique-nc-box ul,
.unique-nj-box ul,
.unique-nv-box ul,
.unique-ny-box ul,
.unique-va-box ul,
.unique-state-box ul {
    margin: 15px 0;
    padding-left: 25px;
}

.unique-wa-box li,
.unique-az-box li,
.unique-co-box li,
.unique-ct-box li,
.unique-dc-box li,
.unique-id-box li,
.unique-il-box li,
.unique-ma-box li,
.unique-md-box li,
.unique-nc-box li,
.unique-nj-box li,
.unique-nv-box li,
.unique-ny-box li,
.unique-va-box li,
.unique-state-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .unique-wa-box,
    .unique-az-box,
    .unique-co-box,
    .unique-ct-box,
    .unique-dc-box,
    .unique-id-box,
    .unique-il-box,
    .unique-ma-box,
    .unique-md-box,
    .unique-nc-box,
    .unique-nj-box,
    .unique-nv-box,
    .unique-ny-box,
    .unique-va-box,
    .unique-state-box {
        margin: 30px 15px !important;
        padding: 20px;
    }
}
