/* Base Styles */
:root {
    --primary-color: #5A46C6; /* Vibrant Purple */
    --secondary-color: #2e3192; /* Deep Blue */
    --accent-color: #F0F0FE; /* Light Lavender */
    --text-color: #333333; /* Dark Gray */
    --light-text: #FFFFFF; /* White */
    --background-color: #FFFFFF; /* White */
    --section-bg-light: #F0F0FE; /* Light Lavender */
    --section-bg-dark: #2e3192; /* Deep Blue */
    --border-color: #E0E0E0; /* Light Gray */
    --success-color: #4CAF50; /* Green */
    --warning-color: #D86666; /* Lighter Red */
    --box-shadow: 0 4px 12px rgba(90, 70, 198, 0.15); /* Adjusted shadow */
    --border-radius: 12px; /* Slightly larger radius */
}

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7; /* Increased line height */
    color: var(--text-color);
    background-color: var(--background-color);
}

/* For seniors, we're using slightly larger default text */
p {
    margin-bottom: 1.5rem;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif; /* Changed font */
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 700; /* Default bold for headings */
}

h1 {
    font-size: 3rem; /* Adjusted size */
    font-weight: 900;
}

h2 {
    font-size: 2.5rem; /* Adjusted size */
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 1.75rem; /* Adjusted size */
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600; /* Slightly less bold */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style-type: none;
}

section {
    position: relative;
    padding: 4rem 0;
}

/* Remove the separator styles */
/* section:not(:first-child)::before {
    display: none;
} */

/* Section Separator - Notched Style */
/*
section:not(:first-child)::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%; 
    max-width: 1200px; 
    height: 2px; 
    background-color: var(--border-color); 
    background-image: repeating-linear-gradient(
        90deg, 
        transparent, 
        transparent 8px,  
        var(--border-color) 8px, 
        var(--border-color) 30px 
    );
    background-size: 30px 100%; 
    margin-top: -1px; 
}
*/

.section-intro {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Logo Container Styles */
.logo-container {
    background-color: var(--accent-color); /* Light Lavender background to match hero */
    padding: 1rem 0; /* Consistent vertical padding */
}

.logo-container .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: flex-start;
}

.logo img {
    height: 36px; /* Reduced height by 10% (from 40px) */
    width: auto;
    object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
}

.desktop-nav ul li {
    margin-left: 1.5rem;
}

.desktop-nav ul li a {
    font-weight: 600;
    color: var(--secondary-color);
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    z-index: 999;
}

header {
    position: relative;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav ul li {
    margin: 0;
    text-align: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

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

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

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-button {
    /* background: linear-gradient(90deg, var(--primary-color) 0%, #7b68d1 100%); */ /* Old purple gradient */
    background: var(--success-color); /* CHANGE: Make primary buttons green */
    color: var(--light-text);
    border: none; /* Removed border */
}

.primary-button:hover {
    background: #388E3C;
    color: var(--light-text);
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* REMOVE Specific style for the first CTA button in the Hero section */
/* 
.hero .cta-button .primary-button {
    background: var(--success-color); * / Solid green background * /
    color: var(--light-text);
    border: none;
} 
*/

/* REMOVE Specific hover style for the first CTA button 
.hero .cta-button .primary-button:hover {
    background: #45a049; * / Slightly darker green on hover * /
    color: var(--light-text);
    box-shadow: 0 8px 15px rgba(76, 175, 80, 0.3); * / Greenish shadow * /
    * / Keep transform and other properties from general button hover if desired * /
    transform: translateY(-3px);
} 
*/

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button {
    margin: 2rem 0;
}

.cta-button.centered {
    text-align: center;
}

.cta-button.large .button {
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
}

/* Hero Section */
.hero {
    background-color: var(--accent-color); /* Use light lavender */
    padding: 3rem 0; /* Adjusted padding */
    overflow: hidden; /* Prevent image overflow issues */
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: center; /* Ensure centered text for inline h1 */
}

/* Style H1 specifically in Hero */
.hero-content h1 {
    font-family: 'Poppins', sans-serif; /* Match H2 font */
    color: var(--text-color); 
    
    /* Highlighter effect - attempt 3 */
    display: inline; 
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone; 
    background-color: rgba(255, 240, 100, 0.7); /* Semi-transparent yellow */
    padding: 0 0.2em; /* Only horizontal padding */
    line-height: 1.3; /* Try original line-height */
    margin: 0; /* Remove default margins */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
}

.subheadline {
    font-size: 1.35rem;
    margin-bottom: 2.5rem; 
    color: var(--secondary-color);
    opacity: 0.9;
    margin-top: 1.5rem; /* Added space above subheadline */
}

/* Problem Section */
.problem {
    background-color: var(--background-color); /* White background */
}

.stats-container {
    display: grid; /* Changed to grid */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive grid */
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box {
    flex: initial;
    min-width: initial;
    background: var(--accent-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(90, 70, 198, 0.1);
    transition: none;
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    transform: none;
    box-shadow: var(--box-shadow);
    border-color: rgba(90, 70, 198, 0.3);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px; /* Thicker line */
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stat-number {
    font-size: 3.5rem; /* Larger number */
    font-weight: 900; /* Bolder */
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.stat-number::after {
    /* Remove underline */
    display: none;
}

.stat-box p {
    font-size: 1rem; /* Slightly smaller text */
    line-height: 1.5;
    color: var(--text-color);
    margin: 0.5rem 0 0; /* Adjusted margin */
    font-weight: 500;
}

.pain-points-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradient background */
    color: var(--light-text); /* White text */
    padding: 3rem;
    border-radius: var(--border-radius);
    margin: 4rem 0; /* Increased margin */
    box-shadow: 0 15px 35px rgba(46, 49, 146, 0.25);
    border: none; /* Removed border */
}

.pain-points-box h3 {
    color: var(--light-text); /* White text */
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.pain-points-box h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* Shorter line */
    height: 3px;
    background-color: var(--light-text); /* White line */
    border-radius: 3px;
    opacity: 0.7;
}

.pain-points-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; /* Reduced gap */
    margin-top: 1.5rem;
}

.pain-points-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    padding: 1.2rem 1.5rem;
    border-radius: 10px; /* Slightly smaller radius */
    box-shadow: none; /* Remove shadow */
    transition: background-color 0.3s ease;
    color: var(--light-text); /* Ensure text is white */
}

.pain-points-list li:hover {
    background-color: rgba(255, 255, 255, 0.25); /* Lighten on hover */
    transform: none; /* Remove transform */
    box-shadow: none;
}

.pain-points-list li i {
    color: var(--light-text); /* Revert to white icon */
    margin-right: 1rem;
    font-size: 1.4rem;
    background-color: rgba(255, 255, 255, 0.2); /* Revert to original white tint */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Solution Section */
.solution {
    background-color: var(--accent-color); /* Light lavender background */
}

.ebook-preview {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.ebook-preview img {
    max-height: 500px;
}

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

.benefit-box {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
    transition: none;
    position: relative;
    text-align: center;
}

.benefit-box:hover {
    transform: none;
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.8rem auto;
    transition: none;
    box-shadow: 0 4px 10px rgba(90, 70, 198, 0.3);
}

.benefit-box:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    transform: none;
}

.benefit-icon i {
    font-size: 2rem; /* Larger icon */
}

.benefit-box h3 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700; /* Bold heading */
    line-height: 1.4;
}

.benefit-box p {
    font-size: 1rem; /* Slightly smaller text */
    text-align: center;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    opacity: 0.9;
}

/* What's Inside Section */
.whats-inside {
    background-color: var(--background-color); /* White background */
}

.content-list {
    margin: 3rem 0;
}

.content-item {
    display: flex;
    align-items: center; /* Align items vertically */
    margin-bottom: 1.5rem;
    background-color: var(--accent-color); /* Light lavender */
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: none; /* Remove shadow */
    border: 1px solid rgba(90, 70, 198, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.content-item:hover {
    transform: none; /* Remove transform */
    box-shadow: none;
    background-color: #e5e5ff; /* Slightly darker lavender */
    border-color: rgba(90, 70, 198, 0.3);
}

.content-icon {
    width: 60px; /* Slightly smaller */
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradient */
    color: var(--light-text);
    border-radius: 12px; /* Match box radius */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.content-item:hover .content-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    transform: none;
}

.content-icon i {
    font-size: 1.8rem;
}

.content-text {
    flex: 1;
}

.content-text h3 {
    margin-bottom: 0.5rem; /* Reduced margin */
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700; /* Bold */
    line-height: 1.4;
}

.content-text p {
    margin-bottom: 0;
    font-size: 1rem; /* Smaller text */
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

/* Medicare Stats Section */
.medicare-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradient background */
    color: var(--light-text);
    padding: 5rem 0; /* Increased padding */
}

.medicare-stats h2 {
    color: var(--light-text);
}

.section-intro.light {
    color: var(--light-text);
    opacity: 0.9;
}

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

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2.5rem; /* Increased padding */
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: none; /* Remove shadow */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Lighter border */
    transition: background-color 0.3s ease;
}

.stat-card:hover {
    transform: none; /* Remove transform */
    background-color: rgba(255, 255, 255, 0.2); /* Lighten background */
}

/* Scope this rule to only apply within the .medicare-stats section */
.medicare-stats .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light-text); /* White numbers */
    margin-bottom: 0.5rem;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat-symbol {
    font-size: 2rem;
    margin-left: 0.2rem;
    opacity: 0.8; /* Slightly transparent */
}

.stat-title {
    font-family: 'Open Sans', sans-serif; /* Use body font */
    font-size: 1.1rem; /* Smaller title */
    font-weight: 700;
    margin-bottom: 0.75rem; /* Reduced margin */
    color: var(--light-text);
    opacity: 0.9;
}

.stat-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.8;
}

.stats-source {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 2rem;
}

.stats-source p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* Expertise Section */
.expertise {
    background-color: var(--accent-color); /* Light Lavender */
    padding: 4rem 0;
}

.expertise-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin: 0 0 0.5rem 0;
}

.expertise-image {
    flex: 1;
}

.expertise-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.expertise-icon {
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(90, 70, 198, 0.1);
}

.expertise-icon:hover {
    transform: none;
    box-shadow: var(--box-shadow);
}

.expertise-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-icon span {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.expertise-text {
    flex: 2;
}

.expertise-text h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    padding-left: 0; /* Remove padding */
    font-weight: 700; /* Bolder */
}

.expertise-text h3:first-child {
    margin-top: 0;
}

.expertise-text h3:before {
    display: none; /* Remove side line */
}

.expertise-text p {
    margin-bottom: 1.5rem; /* Consistent margin */
    line-height: 1.7;
}

@media (max-width: 992px) {
    .expertise-content {
        flex-direction: column;
    }
    
    .expertise-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .expertise-icons {
        grid-template-columns: 1fr;
    }
}

/* Guarantee Section */
.guarantee {
    background-color: var(--background-color); /* White background */
    padding-top: 2rem; /* Add top padding back for desktop */
    padding-bottom: 2rem; /* Add some bottom padding too for balance */
    position: relative;
    z-index: 2;
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--accent-color); /* Light Lavender background */
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(90, 70, 198, 0.1);
    margin-top: 0; /* 4. Fix: Remove negative margin */
}

.guarantee-image {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.guarantee-image img {
    max-width: 100%;
}

.guarantee-text {
    flex: 3;
}

.guarantee-text h2 {
    text-align: left;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0; /* Remove padding */
}

.guarantee-text h2:after {
    display: none; /* Remove underline */
}

.guarantee-text p {
    margin-bottom: 1rem;
}

/* Value Stack Section */
.value-stack {
    background-color: var(--background-color); /* White background */
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    margin-top: 0; /* Remove margin */
}

.offer-container {
    background-color: var(--accent-color); /* Light Lavender */
    padding: 3rem; /* Increased padding */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 3rem 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(90, 70, 198, 0.1);
}

.primary-offer {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.offer-image {
    flex: 1;
    max-width: 250px;
}

.offer-details {
    flex: 2;
}

.offer-value, .bonus-value {
    display: inline-block;
    background-color: #E8F5E9; /* Opaque light success green */
    color: var(--success-color); /* Success green text */
    padding: 0.4rem 1rem; 
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem; 
    border: 1px solid var(--success-color); /* Darker green border */
}

.bonus-offers {
    margin-bottom: 2rem;
}

.bonus-offer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem; /* Increased padding */
    background-color: var(--background-color); /* White boxes */
    border-radius: var(--border-radius);
    border: 1px solid rgba(90, 70, 198, 0.1);
    transition: box-shadow 0.3s ease;
}

.bonus-offer:hover {
    box-shadow: 0 5px 15px rgba(90, 70, 198, 0.15);
}

.bonus-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradient */
    color: var(--light-text);
    border-radius: 10px; /* Rounded square */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.bonus-icon i {
    font-size: 1.5rem;
}

.bonus-details {
    flex: 1;
}

.bonus-details h4 {
    margin-bottom: 0.3rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700; /* Bold */
}

.bonus-details p {
    margin-bottom: 0.5rem;
    color: inherit; /* Let specific rules or parent define color */
    line-height: 1.5;
}

/* Add more specific rule to override conflicting styles */
/* Further increase specificity and force color */
.bonus-details p.bonus-value {
    background-color: #E8F5E9; /* Opaque light success green */
    color: var(--success-color); /* Re-apply success green text (no !important) */
    border: 1px solid var(--success-color); /* Darker green border */
    /* Ensure other styles from the combined rule are inherited or reapplied if needed */
    display: inline-block;
    padding: 0.4rem 1rem; 
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem; 
}

.total-value {
    background-color: var(--background-color); /* White background */
    padding: 2rem; /* Increased padding */
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem; /* Increased margin */
    border: 1px solid rgba(90, 70, 198, 0.1);
}

.value-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.value-line.original {
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.value-line.today {
    font-size: 1.6rem; /* Larger */
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: none; /* Remove border */
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Change color of the final price amount */
.value-line.today .value-amount {
    color: var(--success-color); /* Make the price green */
}

/* Urgency Section */
.urgency {
    background: linear-gradient(135deg, #f0f0fe 0%, #dcdcfc 100%); /* Lighter lavender gradient */
    color: var(--text-color);
    position: relative;
    z-index: 1;
    padding: 4rem 0; /* Add padding back */
}

.urgency h2 {
    color: var(--secondary-color);
}

.urgency p {
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.urgency .cta-button {
    margin-top: 2.5rem;
}

.urgency .button {
    background: linear-gradient(90deg, var(--primary-color) 0%, #7b68d1 100%); /* Match primary button */
    color: var(--light-text);
    border: none; /* Remove border */
    font-size: 1.2rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(90, 70, 198, 0.2);
}

.urgency .button:hover {
    background: linear-gradient(90deg, #4e3aa8 0%, #6a5ac0 100%);
    transform: none;
    box-shadow: 0 4px 15px rgba(90, 70, 198, 0.2);
}

/* FAQ Section */
.faq {
    background-color: var(--background-color); /* White background */
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    margin-bottom: 1rem; /* Reduced margin */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--accent-color); /* Light lavender background */
}

.faq-question {
    padding: 1.5rem;
    background-color: transparent; /* Inherit from faq-item */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(90, 70, 198, 0.1); /* Subtle hover */
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    padding-right: 2rem;
    font-weight: 600; /* Less bold */
    color: var(--secondary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color); /* Purple toggle */
}

.faq-answer {
    padding: 0 1.5rem;
    background-color: var(--background-color); /* White answer area */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease; /* Smooth transition */
}

.faq-answer p {
    margin: 0;
    padding: 1.5rem 0; /* Add padding when open */
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradient background */
    color: var(--light-text);
    padding: 5rem 0; /* Increased padding */
    text-align: center; /* Center text */
}

.final-cta h2 {
    color: var(--light-text);
}

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

.final-cta .button {
    background: var(--light-text);
    color: var(--secondary-color);
    border: none;
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.final-cta .button:hover {
    background: var(--secondary-color);
    color: var(--light-text);
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Order Form */
.order-form {
    background: var(--background-color);
    padding: 4rem 0;
    border-top: none;
}

.purchase-form {
    max-width: 700px;
    margin: 3rem auto;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.purchase-form button[type="submit"] {
    display: block;
    width: 100%;
    margin: 2rem auto 0;
    padding: 1.1rem;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
    background-color: var(--success-color);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.purchase-form button[type="submit"]:hover {
    background-color: #388E3C;
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Slightly smaller radius for inputs */
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #FAFBFC; /* Slightly different bg */
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(90, 70, 198, 0.15); /* Adjusted focus shadow */
    outline: none;
    background-color: white;
}

/* Style for inline form rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 1rem; /* Gap between columns */
    /* margin-bottom: 1.8rem; */ /* Already applied by form-group */
}

/* Remove default bottom margin from direct children divs inside the grid row */
.form-row > div {
     margin-bottom: 0; 
}

/* Style for optional label */
.optional {
    font-weight: 400;
    font-size: 0.9em;
    color: #666;
    margin-left: 0.25em;
}

.payment-options {
    display: none; /* Hide this section */
}

.payment-option {
    display: none; /* Hide this section */
}

.card-main-details {
    /* Style for the main card number input */
    margin-bottom: 1rem; /* Reduce bottom margin */
}

.card-extra-details {
    display: grid; /* Use grid for better layout control */
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 1rem;
    margin-top: 0; /* Remove top margin as it follows card number */
}

.card-extra-details > div {
    flex: initial; /* Remove flex property */
}

/* --- Order Summary Redesign (V1.1 - Softened) --- */
.order-summary {
    background-color: var(--background-color);
    padding: 0;
    border-radius: 0;
    margin: 0 0 2.5rem 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: none;
}

.order-summary h3 {
    margin: 0;
    padding: 1rem 1.8rem; /* Keep padding */
    /* border-bottom: 1px solid var(--border-color); */ /* Remove border */
    border-bottom: none; /* Explicitly remove border */
    color: var(--secondary-color); 
    /* background-color: transparent; */ /* Remove transparent */
    background-color: var(--accent-color); /* New: Soft purple background */
    font-size: 1.2rem; 
    text-align: left; 
}

.order-item, .order-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.8rem; /* Consistent padding */
}

.order-item {
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color); /* Keep thin solid border between items */
    align-items: initial;
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: none;
}

/* Keep highlighting the main product (optional - remove if still too much) */
.order-item:first-of-type {
    background-color: rgba(240, 240, 254, 0.5); 
    font-weight: 600; 
}

/* Keep styling for bonus items */
.order-item:not(:first-of-type) {
    font-size: 0.95rem; 
    opacity: 0.9;
    font-weight: normal; 
}

/* Keep styling for the deleted text */
.order-item span del {
    color: #888; 
    margin-right: 0.5em; 
    font-weight: 400; 
    font-size: 0.9em; 
}

.order-total {
    font-weight: 700;
    padding: 1.5rem 1.8rem; 
    margin-top: 0;
    color: var(--secondary-color); 
    font-size: 1.3rem; 
    /* border-top: 2px solid var(--primary-color); */ /* Old: Top border to separate */
    border-top: 1px solid var(--border-color); /* New: Standard gray border */
    /* background-color: #F0F0FE; */ /* Old: Light lavender background for total */
    background-color: transparent; /* New: No background */
    align-items: initial;
    border-bottom: none;
}

/* Keep total amount style */
.order-total span:last-child {
    color: var(--success-color); 
}
/* --- End Order Summary Redesign (V1.1 - Softened) --- */

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(76, 175, 80, 0.15); /* Use success color tint */
    border-radius: var(--border-radius);
    color: var(--success-color); /* Use success color for text */
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.2); /* Optional: Add subtle border */
}

.secure-checkout i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    color: var(--success-color); /* Ensure icon uses success color */
}

.trust-badges {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
}

.trust-badges img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--secondary-color); /* Deep Blue */
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* New style for the top row container */
.footer-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section a {
    color: var(--accent-color);
}

.footer-section a:hover {
    color: var(--light-text);
}

.sources-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.sources-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Ensure sources section takes full width and has some top margin */
.footer-sources {
    width: 100%;
    margin-top: 1rem;
    min-width: initial;
    flex: none;
}

/* Accessibility Focus Styles */
a:focus, button:focus, input:focus, textarea:focus, .faq-question:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }
    
    .primary-offer {
        flex-direction: column;
        text-align: center;
    }
    
    .primary-offer .offer-image {
        margin: 0 auto;
    }
    
    .guarantee-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guarantee-text h2 {
        text-align: center;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    /* Reduce section padding on mobile */
    section {
        padding: 2rem 0;
    }
    
    /* Adjust red section spacing */
    .urgency {
        padding: 1.5rem 0;
        margin: 0;
    }
    
    .urgency h2 {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .urgency .cta-button {
        margin-top: 1.5rem;
    }
    
    /* Adjust spacing for sections around the red section */
    .value-stack {
        padding-bottom: 2rem;
        margin-bottom: 0;
    }
    
    .value-stack .offer-container {
        margin-bottom: 0;
    }
    
    .faq {
        padding-top: 1rem;
    }
    
    header .container {
        flex-direction: row;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .hero-image img {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .stat-box {
        min-width: 100%;
    }
    
    .pain-points-list {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .pain-points-list li {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .pain-points-box {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
    }
    
    .pain-points-box h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .content-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .content-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .card-extra-details {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }

    /* Adjust logo padding for mobile */
    .logo-container {
        padding: 0.5rem 20px;
    }

    /* Adjust hero padding for mobile */
    .hero {
        padding: 1rem 0;
    }

    .guarantee {
        padding: 0;
    }
    
    .guarantee-content {
        margin-top: 0; /* 4. Fix: Remove negative margin */
    }

    .sub-footer nav a {
        margin: 5px 10px;
    }
}

/* Additional Accessibility Features for Seniors */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.high-contrast-mode {
    --text-color: #000000;
    --background-color: #FFFFFF;
    --primary-color: #006666;
    --secondary-color: #002244;
    --section-bg-light: #F0F0F0;
    --border-color: #000000;
}

/* Ensure all interactive elements have sufficient size for seniors */
button, .button, input[type="submit"], a.button {
    min-height: 44px;
    min-width: 44px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Sub-footer Styles */
.sub-footer {
    background-color: #141540; /* Much darker shade of footer blue */
    padding: 0.5rem 0; /* Vertical padding to center text in ~30px height */
    min-height: 30px;
    display: flex;
    align-items: center;
}

.sub-footer .container {
    display: flex;
    justify-content: center; /* Center the nav */
    align-items: center;
}

.sub-footer nav {
    display: flex;
    gap: 1.5rem; /* Space between links */
}

.sub-footer nav a {
    color: var(--accent-color); /* Use light lavender color */
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sub-footer nav a:hover {
    color: var(--light-text); /* White on hover */
    text-decoration: underline;
}

/* Remove the section-separator class */
/* .section-separator {
    display: none;
} */

/* Audio Player Bar Styles */
#audio-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color, #2e3192); 
    padding: 10px 0; /* Increased padding from 8px */
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15); 
    z-index: 999; 
    border-top: 1px solid var(--primary-color, #5A46C6);
}

.audio-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Reduced padding */
}

#audio-bar-text {
    color: var(--light-text, #FFFFFF);
    font-size: 0.95rem; /* Slightly reduced font size */
    font-weight: 500; /* Slightly reduced font weight */
}

#audio-bar .button {
    height: 30px; /* Explicit height for buttons */
    min-height: 30px; /* Override general min-height for these specific buttons */
    padding: 0 0.8rem; /* Only horizontal padding now */
    font-size: 0.85rem; 
    margin: 0; 
    display: inline-flex; 
    align-items: center; /* Flex property for vertical centering */
    justify-content: center; /* Flex property for horizontal centering (if text is short) */
}

#audio-bar .button i {
    margin-right: 8px;
}

/* Ensure the secondary button style from main styles is applied if not overridden */
#audio-bar #play-pause-audio-btn {
    /* background-color: transparent; 
    color: var(--accent-color); 
    border: 2px solid var(--accent-color); */
    /* Let's use a style that stands out on the dark bar */
    background-color: var(--accent-color);
    color: var(--secondary-color);
    border: none;
}

#audio-bar #play-pause-audio-btn:hover {
    background-color: var(--light-text);
    color: var(--secondary-color);
}

#audio-bar #audio-order-now-btn {
    /* Uses .primary-button styles from main stylesheet */
    /* Ensure it also behaves like a flex container for its own text, like the other button */
    display: inline-flex; /* Already inherited but re-stating for clarity */
    align-items: center; /* Already inherited but re-stating for clarity */
    justify-content: center; /* Already inherited but re-stating for clarity */
    text-decoration: none; /* Common for a tags styled as buttons */
    line-height: 30px; /* Match the explicit height of the button */
    vertical-align: middle; /* Explicitly set vertical alignment for the inline-flex block */
}

.audio-bar-close-btn {
    position: absolute;
    top: 2px; /* Adjusted for new padding */
    right: 10px; /* Adjusted for new padding */
    background: none;
    border: none;
    color: var(--accent-color, #F0F0FE);
    font-size: 20px; /* Reduced size */
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.audio-bar-close-btn:hover {
    color: var(--light-text, #FFFFFF);
}

@media (max-width: 768px) {
    .audio-bar-content {
        flex-direction: column;
        gap: 8px; /* Reduced gap for mobile */
        text-align: center;
    }
    #audio-bar-text {
        font-size: 0.9rem; /* Consistent with desktop reduction */
    }
    #audio-bar .button {
        width: 100%;
        max-width: 300px; /* Prevent buttons from being too wide on mobile */
    }
}

/* Social Proof Popup Styles */
#social-proof-popup {
    position: fixed;
    bottom: 70px; /* Adjust based on audio bar height + desired spacing */
    left: 20px;
    background-color: #ffffff;
    border-radius: var(--border-radius, 12px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 1005; /* Above audio bar, below main popup */
    display: flex; /* Using flex for layout */
    align-items: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, bottom 0.5s ease-in-out;
    max-width: 320px; /* Max width for the popup */
    border: 1px solid var(--border-color, #E0E0E0);
}

#social-proof-popup.show {
    opacity: 1;
    bottom: 90px; /* Slide up slightly when shown - adjust if audio bar height changes */
}

#social-proof-image {
    width: 60px;  /* Size for the mini book image */
    height: auto;
    margin-right: 15px;
    border-radius: 4px;
}

#social-proof-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-color, #333333);
}

#social-proof-text p {
    margin-bottom: 4px; /* Small margin between lines */
    font-size: 0.85rem; /* Ensure paragraph font size is consistent */
}

#social-proof-text p:last-child {
    margin-bottom: 0;
}

#social-proof-text strong {
    color: var(--primary-color, #5A46C6);
    font-weight: 700;
}

.social-proof-close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    padding: 2px 5px;
    line-height: 1;
}

.social-proof-close-btn:hover {
    color: #333;
}

@media (max-width: 480px) {
    #social-proof-popup {
        left: 10px;
        right: 10px;
        bottom: 70px; /* Adjust if audio bar has different height on mobile */
        max-width: calc(100% - 20px);
    }
    #social-proof-popup.show {
        bottom: 80px; /* Adjust if audio bar has different height on mobile */
    }
}

/* --- Styles for Legal Pages --- */
.legal-content-container {
    padding: 3rem 0; /* Add some vertical padding */
    background-color: var(--background-color); /* White background */
}

.legal-content-container .container {
    max-width: 900px; /* Limit width for readability */
}

.legal-content-container h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-content-container h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.legal-content-container h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.legal-content-container h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: left;
}

.legal-content-container p,
.legal-content-container ul,
.legal-content-container ol {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1rem; /* Standard text size for readability */
}

.legal-content-container ul,
.legal-content-container ol {
    padding-left: 2rem; /* Indent lists */
}

.legal-content-container ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.legal-content-container ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}

.legal-content-container a {
    text-decoration: underline;
}

.legal-content-container a:hover {
    text-decoration: none;
}

.legal-content-container p em {
    font-style: italic;
    color: #555;
}
/* --- End Styles for Legal Pages --- */
