@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Merriweather:wght@400;700&display=swap');

/* Define Light Theme Variables (Default) */
:root {
    /* Color Palette */
    --bg-color: #FFFFFF;
    --text-color: #212529; /* Near black for better contrast */
    --text-muted-color: #495057; /* Darkened gray for AA contrast */
    --heading-color: #0A365E; /* Dark Blue */
    --primary-accent: #005A9C; /* Deep Blue */
    --primary-accent-hover: #004175; /* Darker blue */
    --secondary-accent: #FFC107; /* Gold/Yellow */
    --secondary-accent-hover: #ffca2c; /* Lighter yellow */
    --button-accent-text: #212529; /* Dark text for yellow button */
    --link-color: var(--primary-accent);
    --link-hover-color: var(--primary-accent-hover);
    --section-bg-alternate: #f8f9fa; /* Light Gray */
    --card-bg-color: #FFFFFF;
    --border-color: #dee2e6;
    --placeholder-bg: #e9ecef;
    --placeholder-border: #ced4da;
    --placeholder-text: var(--text-muted-color);
    --shadow-color: rgba(0, 0, 0, 0.08);
    --guarantee-bg: rgba(10, 54, 94, 0.85); /* Dark blue bg for guarantee */
    --guarantee-text: #FFFFFF;
    --guarantee-border: var(--secondary-accent);
    --faq-bg: var(--card-bg-color);
    --faq-border: var(--border-color);
    --faq-hover-bg: var(--section-bg-alternate);
    --table-header-bg: var(--primary-accent);
    --table-header-text: #FFFFFF;
    --table-row-even-bg: var(--section-bg-alternate);
    --table-hover-bg: #e9ecef;
    --footer-bg: var(--heading-color); /* Dark Blue */
    --footer-text: #e0e0e0; /* Light gray */
    --logo-filter: grayscale(80%);
    --logo-filter-hover: grayscale(0%);
    --logo-opacity: 0.7;
    --logo-opacity-hover: 1;
    --highlight-border: var(--secondary-accent);

    /* Fonts */
    --heading-font: 'Merriweather', serif;
    --body-font: 'Poppins', sans-serif;

    /* Layout & Spacing */
    --border-radius: 8px;
    --box-shadow: 0 4px 12px var(--shadow-color);
    --transition-speed: 0.3s ease;
    --container-width: 1140px;
    --gutter: 1.5rem; /* 24px */
}

/* Define Dark Theme Variables */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #e0e0e0;
        --text-muted-color: #adb5bd;
        --heading-color: #FFFFFF;
        --primary-accent: #4dabf7; /* Lighter Blue */
        --primary-accent-hover: #74c0fc; /* Even Lighter Blue */
        /* --secondary-accent: #FFC107; /* Gold/Yellow - Stays the same */
        /* --secondary-accent-hover: #ffca2c; /* Lighter yellow - Stays the same */
        /* --button-accent-text: #212529; /* Dark text for yellow button - Stays the same */
        --link-color: var(--primary-accent);
        --link-hover-color: var(--primary-accent-hover);
        --section-bg-alternate: #1f1f1f; /* Slightly Lighter Dark Gray */
        --card-bg-color: #2c2c2c; /* Medium Dark Gray */
        --border-color: #444444;
        --placeholder-bg: #333333;
        --placeholder-border: #555555;
        --placeholder-text: var(--text-muted-color);
        --shadow-color: rgba(255, 255, 255, 0.08);
        --guarantee-bg: rgba(44, 44, 44, 0.85); /* Dark Card bg for guarantee */
        --guarantee-text: #e0e0e0;
        /* --guarantee-border: var(--secondary-accent); /* Stays the same */
        --faq-bg: var(--card-bg-color);
        --faq-border: var(--border-color);
        --faq-hover-bg: #3a3a3a; /* Darker hover for FAQ */
        --table-header-bg: var(--primary-accent);
        --table-header-text: #121212; /* Dark text on light blue header */
        --table-row-even-bg: var(--section-bg-alternate);
        --table-hover-bg: #3a3a3a;
        --logo-filter: grayscale(50%) brightness(1.5); /* Adjust filter for dark */
        --logo-filter-hover: grayscale(0%) brightness(1);
        --logo-opacity: 0.8;
        /* --logo-opacity-hover: 1; /* Stays the same */
        /* --highlight-border: var(--secondary-accent); /* Stays the same */
    }

    /* Specific Dark Mode Adjustments */
    #hero .calendly-placeholder {
        background: rgba(255, 193, 7, 0.15); /* Slightly more opaque yellow */
        border-color: var(--secondary-accent);
        color: #e0e0e0; /* Light text */
    }

    #hero .calendly-placeholder::before {
        color: var(--secondary-accent);
    }

     #final-cta {
        background-color: var(--secondary-accent);
     }
     #final-cta h2,
     #final-cta .sub,
     #final-cta .micro-copy {
         color: #212529; /* Dark text on yellow bg */
     }
     #final-cta .final-button {
         background-color: var(--heading-color); /* White */
         color: #121212; /* Dark text */
     }
      #final-cta .final-button:hover,
      #final-cta .final-button:focus {
         background-color: #f1f1f1; /* Off-white */
      }

      header nav a:hover,
      header nav a:focus {
         background-color: rgba(255, 193, 7, 0.15); /* Accent hover background */
         color: var(--secondary-accent); /* Accent hover text */
      }

      /* Make yellow step counter text dark for contrast */
      #momentum-engine li::before {
          color: var(--button-accent-text);
      }

      /* Ensure primary button text remains dark */
       .button, button {
           color: var(--button-accent-text);
       }
       .button:hover, button:hover,
       .button:focus, button:focus {
           color: var(--button-accent-text);
       }

}


/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Visually hidden but accessible skip link */
.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-accent);
    color: var(--button-accent-text);
    border-radius: var(--border-radius);
    z-index: 1100; /* Above everything */
    text-decoration: none;
    box-shadow: var(--box-shadow);
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    padding-left: 1rem; 
    padding-right: 1rem;
    overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.6rem; margin-bottom: 0.75rem; font-weight: 600; color: var(--primary-accent); }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted-color); /* Use muted text color for paragraphs */
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover, a:focus {
    color: var(--link-hover-color);
    text-decoration: underline;
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem; /* Indentation for list items */
}

li {
    margin-bottom: 0.75rem;
}

blockquote {
    border-left: 4px solid var(--secondary-accent); /* Use accent color */
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted-color);
}

blockquote footer {
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    background-color: var(--card-bg-color); /* Use card background */
    transition: background-color var(--transition-speed);
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

thead th {
    background-color: var(--table-header-bg);
    color: var(--table-header-text);
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-accent-hover); /* Use hover color for heavier border */
}

tbody tr {
    transition: background-color var(--transition-speed);
}

tbody tr:nth-child(even) {
    background-color: var(--table-row-even-bg);
}

tbody tr:hover {
    background-color: var(--table-hover-bg);
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.text-center {
    text-align: center;
}

.button, button {
    display: inline-block;
    background-color: var(--secondary-accent);
    color: var(--button-accent-text); /* Use specific text color for accent button */
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed), color var(--transition-speed);
    box-shadow: 0 2px 4px var(--shadow-color);
}

.button:hover, button:hover,
.button:focus, button:focus {
    background-color: var(--secondary-accent-hover);
    color: var(--button-accent-text);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-color);
}

/* Secondary Button Style */
.button.secondary, button.secondary {
    background-color: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    box-shadow: none;
}

.button.secondary:hover, button.secondary:hover,
.button.secondary:focus, button.secondary:focus {
    background-color: rgba(0, 90, 156, 0.1); /* Primary accent with alpha */
    color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    transform: translateY(-1px);
    box-shadow: none;
}

.button.secondary:focus, button.secondary:focus {
    background-color: rgba(0, 90, 156, 0.1); /* Primary accent with alpha */
    color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    transform: translateY(-1px);
    box-shadow: none;
    outline: 2px solid var(--primary-accent); /* Basic focus outline */
    outline-offset: 2px;
}

/* Standard Button Focus Visible */
.button:focus-visible, button:focus-visible {
     outline: 3px solid var(--primary-accent-hover); 
     outline-offset: 2px;
     box-shadow: 0 0 0 4px rgba(0, 90, 156, 0.2); /* Outer glow */
}
.button.secondary:focus-visible {
     outline: 3px solid var(--primary-accent-hover);
     outline-offset: 2px;
     box-shadow: none;
}

/* Text Link Style (if needed for some CTAs) */
.text-link-cta {
    color: var(--primary-accent);
    text-decoration: underline;
    font-weight: 600;
}
.text-link-cta:hover, .text-link-cta:focus {
    color: var(--primary-accent-hover);
}

/* Sections General Styling */
section {
    padding: 4rem 0; /* Generous vertical padding */
    transition: background-color var(--transition-speed);
}

section:nth-child(odd) {
     background-color: var(--section-bg-alternate); /* Alternate section backgrounds */
}
section:nth-child(1) { /* Keep hero white/default bg */
     background-color: var(--bg-color);
}


/* Placeholder Base Styles (Will be refined per section) */
.visual-placeholder, .logo-placeholder, .calendly-placeholder {
    border: 2px dashed var(--placeholder-border);
    background-color: var(--placeholder-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--body-font);
    color: var(--placeholder-text);
    font-weight: 600;
    min-height: 150px; /* Base height */
    padding: 1rem;
    text-align: center;
    transition: background-color var(--transition-speed), border-color var(--transition-speed), color var(--transition-speed);
}

/* Fade-in Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Remove duplicated :root block */
/* Remove duplicated html block */
/* Remove duplicated Basic Reset block */
/* Remove duplicated body placeholder block */
/* Remove duplicated main block */
/* Remove duplicated section separator block */
/* Remove duplicated heading placeholder block */
/* Remove duplicated p placeholder block */
/* Remove duplicated button placeholder block */

/* --- Header Styles --- */
header {
    background-color: var(--bg-color);
    padding: 0.75rem 0; /* Slightly adjust padding for taller logo */
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure header stays on top */
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem; /* Add gap between logo, nav, cta */
}

.logo img {
    height: 55px; /* Increased logo height */
    width: auto;
}

/* Desktop Navigation Layout */
header nav.main-nav {
    flex-grow: 1; /* Allow nav to take up space */
    display: flex;
    justify-content: center; /* Center nav links */
    gap: 1.5rem;
}

header nav a {
    color: var(--link-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

header nav a:hover,
header nav a:focus {
    background-color: rgba(255, 193, 7, 0.1); /* Use accent color with alpha */
    color: var(--secondary-accent);
    text-decoration: none;
}

/* Specific style for header CTA button */
.header-cta-container .button.small-button {
    padding: 0.5rem 1.2rem; /* Smaller padding */
    font-size: 0.9rem;
    font-weight: 600;
}

/* Header focus visible styles */
header :is(a, button):focus-visible {
    outline: 3px solid var(--primary-accent-hover);
    outline-offset: 2px;
    border-radius: 4px; /* Optional: round the outline slightly */
}
/* Ensure logo focus is clear */
header .logo:focus-visible {
     outline: 3px solid var(--primary-accent-hover);
     outline-offset: 2px;
     border-radius: 4px;
}

/* Hide mobile toggle by default */
.mobile-nav-toggle {
    display: none;
}

/* --- Hero Section (#hero) --- */
#hero {
    text-align: center;
    padding: 5rem 0 4rem 0; /* Adjusted padding */
    background-color: var(--bg-color); /* Ensure correct background */
}

#hero .container { /* Apply container styles here too */
    max-width: 800px; /* Slightly narrower for focus */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

#hero h1 {
    font-size: 3.2rem; /* Larger heading */
    color: var(--heading-color); /* Use heading color */
    margin-bottom: 1rem;
}

#hero .sub-headline {
    font-size: 1.2rem;
    color: var(--text-muted-color); /* Use muted text color */
    max-width: 650px;
    margin: 0 auto 2rem auto; /* Adjusted margin */
    line-height: 1.8;
}

/* New Hero Visual Area */
.hero-visual {
    height: 220px; /* Adjusted height */
    max-width: 450px; /* Slightly wider */
    margin: 2.5rem auto 3rem auto; /* Adjusted margin */
    border-radius: var(--border-radius);
    position: relative; /* Needed for pseudo-elements */
    overflow: hidden; /* Keep animated elements contained */
    background: var(--card-bg-color); /* Use card background as base */
    box-shadow: var(--box-shadow), 0 0 0 1px var(--border-color); /* Add subtle border */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Background Elements */
.hero-visual::before, 
.hero-visual::after {
    content: '';
    position: absolute;
    top: -50%; 
    left: -50%;
    width: 200%; 
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(0, 90, 156, 0.15), /* Primary accent */
        rgba(255, 193, 7, 0.15),  /* Secondary accent */
        rgba(0, 90, 156, 0.15) /* Primary accent again */
    );
    background-size: 200% 200%; /* Needed for animation */
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

.hero-visual::after {
    filter: blur(30px); /* Soften the effect */
    animation-direction: reverse; /* Make it move differently */
    opacity: 0.6;
}

/* Content inside the visual (like text or icons) */
.hero-visual .icon-placeholder {
    font-size: 3rem;
    opacity: 0.6; /* Keep icons visible but subtle */
    position: relative; /* Ensure it's above pseudo-elements */
    z-index: 2;
    color: var(--heading-color); /* Use heading color */
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Call to Action Button */
.hero-cta {
    padding: 1rem 2.5rem; /* Larger padding */
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem; /* Space before micro-copy */
}

#hero .micro-copy {
    font-size: 0.9rem;
    color: var(--text-muted-color);
    margin-top: 1rem; /* Reduced margin */
}

/* --- Coach Pain Section (#coach-pain) --- */
#coach-pain .container {
    max-width: 800px; /* Keep content focused */
}

#coach-pain h2 {
    color: var(--primary-accent); /* Use primary accent */
}

#coach-pain ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 2rem;
}

#coach-pain li {
    position: relative;
    padding-left: 2rem; /* Space for custom marker */
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color); /* Use default text color */
}

#coach-pain li::before {
    content: '❌'; /* Custom marker */
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--secondary-accent); /* Use accent color */
    font-size: 1.2rem;
}

#coach-pain blockquote {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
}

#coach-pain blockquote footer {
    font-size: 1rem;
}

#coach-pain p:last-of-type {
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    color: var(--heading-color); /* Use heading color */
}

/* --- Solution Snapshot Section (#solution-snapshot) --- */
#solution-snapshot .split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    align-items: start; /* Align items to the top */
}

#solution-snapshot .coach-view,
#solution-snapshot .client-view {
    background-color: var(--card-bg-color); /* Use card bg */
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

#solution-snapshot h3 {
    margin-top: 0; /* Remove top margin inside cards */
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-accent); /* Match H3 base style */
}

#solution-snapshot .visual-placeholder {
    margin-top: 1.5rem;
    min-height: 220px;
    border-color: var(--primary-accent);
    background-color: var(--placeholder-bg);
    color: var(--primary-accent);
}

#solution-snapshot .client-view .visual-placeholder {
    border-color: var(--secondary-accent);
    background-color: var(--placeholder-bg); /* Consistent placeholder bg */
    color: var(--secondary-accent);
}

/* Remove duplicate responsiveness block */

/* --- Momentum Engine Section (#momentum-engine) --- */
#momentum-engine ol.steps {
    list-style: none;
    padding-left: 0;
    counter-reset: steps-counter;
    max-width: 900px;
    margin: 3rem auto 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

#momentum-engine li {
    position: relative;
    margin-bottom: 2rem; /* Space between steps */
    padding: 1.5rem 1.5rem 1.5rem 3.5rem; /* Space for counter */
    background-color: var(--card-bg-color); /* Use card bg */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    counter-increment: steps-counter;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

#momentum-engine li::before {
    content: counter(steps-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    width: 2.5rem; /* Circle size */
    height: 2.5rem;
    background-color: var(--secondary-accent);
    color: var(--button-accent-text); /* Ensure dark text on yellow */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

#momentum-engine li h3 {
    margin-top: 0; /* Adjust heading margin within list */
    margin-bottom: 0.5rem;
    color: var(--primary-accent); /* Match H3 base style */
}

/* Placeholder for Progress Bar GIF */
#momentum-engine .progress-gif-placeholder {
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    min-height: 50px;
    background-color: var(--placeholder-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--placeholder-text); font-style: italic;
    transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed), color var(--transition-speed);
}

/* Style the div placeholder used instead of img */
#momentum-engine .progress-placeholder {
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    min-height: 80px; /* Give it some height */
    background-color: var(--placeholder-bg);
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--placeholder-text); 
    font-style: italic;
    font-weight: 600;
    border-radius: var(--border-radius);
     transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed), color var(--transition-speed);
}

#momentum-engine .insight {
    text-align: center;
    font-style: italic;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--primary-accent);
    font-weight: 600;
}

/* --- Why GhostWriter Section (#why-ghostwriter) --- */
#why-ghostwriter table {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden; /* Ensures border-radius clips content */
}

#why-ghostwriter th,
#why-ghostwriter td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

#why-ghostwriter td[data-label="Your Goal"] {
    font-weight: 600;
    color: var(--heading-color); /* Use heading color for emphasis */
}

#why-ghostwriter td[data-label="GhostWriter Advantage"] {
    font-weight: 600;
    color: var(--primary-accent);
}

#why-ghostwriter .bottom-line {
    text-align: center;
    font-weight: 600;
    font-size: 1.15rem;
    margin-top: 3rem;
    color: var(--heading-color); /* Use heading color */
}

/* --- Client Benefits Section (#client-benefits) --- */
#client-benefits ul {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
}

#client-benefits li {
    position: relative;
    padding-left: 2.5rem; /* Space for icon */
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color); /* Use default text color */
}

#client-benefits li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 1.4rem;
    color: var(--primary-accent); /* Use primary accent */
}

#client-benefits strong {
    color: var(--heading-color); /* Use heading color for emphasis */
    font-weight: 700;
}

#client-benefits .download-link {
    display: inline-block;
    margin-top: 2rem;
    background-color: var(--primary-accent);
    color: #FFFFFF; /* White text on primary button */
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    text-align: center; /* Center text if link wraps */
}

#client-benefits .download-link:hover,
#client-benefits .download-link:focus {
    background-color: var(--primary-accent-hover);
    color: #FFFFFF; /* Ensure text stays white */
    transform: translateY(-2px);
    text-decoration: none;
}

/* Center the download link */
#client-benefits .container > a.download-link {
    display: table; /* Allow centering with margin auto */
    margin-left: auto;
    margin-right: auto;
}

/* --- Social Proof Section (#social-proof) --- */
/* Removed background color override - handled by section:nth-child */

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

#social-proof .testimonial {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--primary-accent);
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

#social-proof .testimonial p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-color); /* Use default text color */
    margin-bottom: 1rem;
}

#social-proof .testimonial footer {
    font-style: normal;
    font-weight: 600;
    color: var(--heading-color); /* Use heading color */
    font-size: 0.95rem;
}

#social-proof .logos {
    margin-top: 4rem;
    text-align: center;
}

#social-proof .logos p {
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--text-muted-color);
}

#social-proof .logo-placeholder-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

#social-proof .logo-placeholder {
    min-height: 60px;
    min-width: 120px;
    background-color: var(--placeholder-bg); /* Consistent placeholder bg */
    border: none; /* Remove border */
    filter: var(--logo-filter);
    opacity: var(--logo-opacity);
    transition: filter var(--transition-speed), opacity var(--transition-speed), background-color var(--transition-speed);
}

#social-proof .logo-placeholder:hover {
    filter: var(--logo-filter-hover);
    opacity: var(--logo-opacity-hover);
}


/* --- Packages Section (#packages) --- */
#packages .pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    align-items: stretch; /* Make cards equal height */
}

#packages .package {
    background-color: var(--card-bg-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column; /* Stack content */
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed), border-color var(--transition-speed);
    border: 3px solid transparent; /* Add transparent border for hover alignment */
    position: relative; /* For badge positioning */
}

#packages .package:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

#packages .package.most-popular {
    border-color: var(--highlight-border);
    transform: scale(1.03); /* Slightly less scale than before */
    z-index: 10;
}

#packages .package .badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--highlight-border);
    color: var(--button-accent-text); /* Dark text on yellow */
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Mobile Nav - Hide by default, Style when open */
@media (max-width: 768px) {
    /* Hide desktop nav elements */
    header nav.main-nav {
        display: none; /* Hide by default */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        right: 0;
        background-color: var(--card-bg-color);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding: 1rem 0;
        flex-direction: column; /* Stack links vertically */
        align-items: center;
        border-top: 1px solid var(--border-color);
        flex-grow: 0;
        justify-content: flex-start;
    }
    .header-cta-container {
        display: none;
    }
    
    /* Show mobile toggle */
    .mobile-nav-toggle {
        display: block; /* Show hamburger on mobile */
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 1001; /* Above nav */
        /* Ensure minimum tap target size */
        min-width: 44px; 
        min-height: 44px;
        /* Center icon within larger tap area if needed */
        display: flex; 
        align-items: center;
        justify-content: center;
    }

    /* Show nav when open */
     header.nav-open nav.main-nav {
        display: flex; 
    }

    /* Hamburger Icon Styles */
     .hamburger-icon {
        display: block;
        width: 24px;
        height: 18px; 
        position: relative;
    }
    .hamburger-icon span {
        display: block;
        position: absolute;
        height: 3px; 
        width: 100%;
        background: var(--heading-color);
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    .hamburger-icon span:nth-child(1) { top: 0px; }
    .hamburger-icon span:nth-child(2) { top: 7px; }
    .hamburger-icon span:nth-child(3) { top: 14px; }

    /* Hamburger Active State */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) { top: 7px; transform: rotate(135deg); }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) { opacity: 0; left: -60px; }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) { top: 7px; transform: rotate(-135deg); }

    /* Mobile Menu Link Styling */
    nav.main-nav a {
        padding: 0.8rem 1rem;
        width: 100%;
        text-align: center;
    }

    /* Adjust table for smaller screens */
    #why-ghostwriter td {
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: left; /* Re-align for smaller screens */
        padding-top: 2.5rem; /* More space for label */
    }
     #why-ghostwriter td::before {
        top: 0.75rem;
        left: 1rem;
        width: auto;
    }

    #packages .package {
        padding: 2rem 1.5rem;
    }
     #packages .package.highlight {
         border-width: 2px; /* Slightly thinner border on mobile */
     }


    #faq summary {
        padding: 1rem;
        font-size: 1rem;
    }
     #faq summary::after {
        right: 1rem;
    }
     #faq details p {
        padding: 0 1rem 1rem 1rem;
        padding-top: 1rem;
    }

    #final-cta h2 { font-size: 2rem; }
    #final-cta .final-button { font-size: 1.1rem; padding: 0.8rem 2rem; }
}

@media (max-width: 576px) {
    :root {
        /* Container becomes full width with padding */
        --container-width: 100%;
    }
    body { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    #hero { padding: 3rem 0; }
    #hero h1 { font-size: 2.2rem; }
    #hero .sub-headline { max-width: 90%; }

    header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    header nav a {
        padding: 0.4rem 0.8rem;
    }

    section { padding: 3rem 0; }

    #final-cta h2 { font-size: 2rem; }
    #final-cta .final-button { font-size: 1.1rem; padding: 0.8rem 2rem; }

    /* Mobile Footer Adjustments */
    footer {
        padding-top: 2.5rem;
        padding-bottom: 6rem; /* Adjust bottom padding for sticky */
    }
    .footer-nav {
        flex-direction: column; /* Stack links vertically */
        gap: 0.5rem; /* Reduce gap for vertical layout */
        align-items: center; /* Center links */
    }
     .footer-nav a {
        padding: 0.4rem 0; /* Adjust padding */
    }
}

/* Footer Nav Mobile */
.footer-nav {
    gap: 0.5rem 1.5rem; /* Reduce vertical gap slightly */
}
.footer-nav a {
    padding: 0.3rem 0; /* Add some vertical tap area */
}

/* Adjust table for smaller screens */
#why-ghostwriter thead {
    display: none; /* Hide table header */
}

/* Apply table stacking at a smaller breakpoint */
@media (max-width: 640px) {
     #why-ghostwriter thead {
        display: none; /* Hide table header */
    }
    #why-ghostwriter tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        background-color: var(--card-bg-color); /* Use card bg */
        transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
    }
    #why-ghostwriter td {
        display: block;
        text-align: right; /* Align content to the right */
        padding-left: 50%; /* Make space for label */
        position: relative;
        border-bottom: 1px solid var(--border-color); /* Use border color */
        transition: border-color var(--transition-speed);
    }
    #why-ghostwriter td:last-child {
        border-bottom: none;
    }
    #why-ghostwriter td::before {
        content: attr(data-label); /* Use data-label for heading */
        position: absolute;
        left: 1rem;
        width: calc(50% - 2rem);
        text-align: left;
        font-weight: 600;
        color: var(--primary-accent); /* Use primary accent */
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Adjust table cell padding for stacked layout */
    #why-ghostwriter td {
        padding-left: 1rem;
        padding-right: 1rem;
        text-align: left; /* Re-align for smaller screens */
        padding-top: 2.5rem; /* More space for label */
    }
     #why-ghostwriter td::before {
        top: 0.75rem;
        left: 1rem;
        width: auto;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1050; /* High z-index */
    display: none; /* Hidden by default, shown by JS */
    transition: background-color var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

.cookie-banner a {
    color: var(--link-color);
    text-decoration: underline;
}

.cookie-banner button {
    flex-shrink: 0; /* Prevent button from shrinking */
}

/* Adjust layout on smaller screens */
@media (max-width: 576px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        margin-bottom: 0.75rem;
    }
}

/* --- Animations --- */ 

/* Contact Page */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* Updated styles for form inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    background-color: var(--bg-color); /* Use main background */
    color: var(--text-color);
    transition: border-color var(--transition-speed), background-color var(--transition-speed), color var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Add slight differentiation for select */
.contact-form select {
     appearance: none; /* Remove default system appearance */
     background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23005A9C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); /* Basic arrow icon */
     background-repeat: no-repeat;
     background-position: right 1rem center;
     background-size: 0.65em auto;
     padding-right: 2.5rem; /* Space for arrow */
}

/* Dark mode select arrow */
@media (prefers-color-scheme: dark) {
    .contact-form select {
         background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234dabf7%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); /* Lighter blue arrow */
    }
}

/* Updated focus styles */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-accent);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 2px rgba(0, 90, 156, 0.25); /* Subtle focus ring + inner shadow */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px; /* Ensure decent minimum height */
}

.contact-form .form-submit {
    text-align: right;
}

#contact-details a {
     font-weight: 600;
}

/* Security Page specific list styling */

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto; /* Disable smooth scrolling */
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
   /* Specifically disable hero gradient animation */
   .hero-visual::before,
   .hero-visual::after {
        animation: none;
   }
   /* Disable fade-in section animation */
    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Animations --- */
/* @keyframes fadeIn removed - using JS Intersection Observer now */

/* Contact Page */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* Updated styles for form inputs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    background-color: var(--bg-color); /* Use main background */
    color: var(--text-color);
    transition: border-color var(--transition-speed), background-color var(--transition-speed), color var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Add slight differentiation for select */
.contact-form select {
     appearance: none; /* Remove default system appearance */
     background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23005A9C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); /* Basic arrow icon */
     background-repeat: no-repeat;
     background-position: right 1rem center;
     background-size: 0.65em auto;
     padding-right: 2.5rem; /* Space for arrow */
}

/* Dark mode select arrow */
@media (prefers-color-scheme: dark) {
    .contact-form select {
         background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234dabf7%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); /* Lighter blue arrow */
    }
}

/* Updated focus styles */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-accent);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05), 0 0 0 2px rgba(0, 90, 156, 0.25); /* Subtle focus ring + inner shadow */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px; /* Ensure decent minimum height */
}

.contact-form .form-submit {
    text-align: right;
}

#contact-details a {
     font-weight: 600;
}

/* Security Page specific list styling */

/* Visually hidden utility */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* --- New Homepage Elements --- */

/* Platform Preview in Hero */
.platform-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.preview-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.preview-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-accent);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.writing-preview {
    background: var(--section-bg-alternate);
    padding: 1rem;
    border-radius: 4px;
    font-style: italic;
}

.progress-mini {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-accent);
}

/* Dashboard and Client Preview Lists */
.dashboard-preview ul,
.client-preview ul {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
}

/* Progress Visual */
.progress-visual {
    padding: 2rem 0;
}

.progress-bar-demo {
    max-width: 400px;
    margin: 0 auto;
}

.progress-track {
    height: 24px;
    background: var(--placeholder-bg);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-accent) 0%, var(--primary-accent-hover) 100%);
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 0.5rem;
    color: var(--text-muted-color);
    font-size: 0.875rem;
}

/* Pricing Updates */
.package .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--primary-accent);
}

.package .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted-color);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-muted-color);
}

/* Publisher Names (instead of logos) */
.publisher-name {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--section-bg-alternate);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-muted-color);
}

/* Features Page Previews */
.feature-preview {
    background: var(--section-bg-alternate);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.dashboard-mockup,
.comment-mockup,
.milestone-mockup,
.outline-mockup,
.client-prompt-mockup,
.voice-settings,
.editor-mockup,
.feedback-integration {
    max-width: 500px;
    margin: 0 auto;
}

.book-item {
    background: var(--card-bg-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.book-title {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: var(--placeholder-bg);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-bar .fill {
    height: 100%;
    background: var(--primary-accent);
}

.status {
    font-size: 0.75rem;
    color: var(--text-muted-color);
}

/* Comment Thread */
.manuscript-text {
    font-style: italic;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--card-bg-color);
    border-left: 3px solid var(--primary-accent);
}

.comment-thread {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
}

.comment {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
}

.comment.coach {
    background: rgba(0, 90, 156, 0.1);
}

.comment.author {
    background: rgba(255, 193, 7, 0.1);
}

/* Milestone List */
.milestone-list {
    list-style: none;
    padding: 0;
}

.milestone-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
}

.milestone-list .overdue {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.milestone-list .upcoming {
    border-color: var(--secondary-accent);
}

.milestone-list .completed {
    opacity: 0.7;
    text-decoration: line-through;
}

/* Prompt Editor */
.prompt-editor {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.prompt-editor label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.edit-btn {
    background: var(--primary-accent);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Section List */
.section-list > div {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Client Prompt Mockup */
.prompt-card {
    background: var(--secondary-accent);
    color: var(--button-accent-text);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.prompt-card .prompt {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prompt-card .meta {
    font-size: 0.875rem;
    opacity: 0.8;
}

.editor-preview {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.word-count {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted-color);
    margin-top: 0.5rem;
}

/* Voice Settings */
.style-sliders {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
}

.slider-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.slider {
    height: 8px;
    background: var(--placeholder-bg);
    border-radius: 4px;
    position: relative;
}

.slider .handle {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: var(--primary-accent);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Editor Mockup */
.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--section-bg-alternate);
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.editor-toolbar button {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--card-bg-color);
    border-radius: 4px;
    cursor: pointer;
}

.editor-toolbar .spacer {
    flex: 1;
}

.editor-content {
    padding: 1rem;
    min-height: 150px;
}

.focus-mode {
    text-align: center;
    font-size: 0.75rem;
    color: var(--primary-accent);
    padding: 0.5rem;
    background: rgba(0, 90, 156, 0.1);
    border-radius: 0 0 4px 4px;
}

/* Feedback Integration */
.text-with-feedback {
    position: relative;
}

.inline-feedback {
    background: rgba(0, 90, 156, 0.1);
    border-left: 3px solid var(--primary-accent);
    padding: 0.75rem;
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.respond-btn {
    background: var(--primary-accent);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Compact Feature Previews */
.feature-preview.compact {
    padding: 1rem;
}

.version-list h4,
.export-options h4,
.security-badge h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.version-item {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    background: var(--card-bg-color);
    border-radius: 4px;
    font-size: 0.875rem;
}

.version-item.current {
    font-weight: 600;
    background: rgba(0, 90, 156, 0.1);
}

.restore-btn {
    margin-top: 0.5rem;
    width: 100%;
}

/* Export Options */
.export-btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

/* Security Badge */
.security-badge {
    text-align: center;
}

.security-badge .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.security-badge ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.security-badge li {
    padding: 0.25rem 0;
}

/* How It Works Page Step Previews */
.step-preview {
    background: var(--section-bg-alternate);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.setup-checklist h4,
.toc-preview h4,
.review-interface h4,
.monitoring-dashboard h4,
.final-stats h4 {
    margin-bottom: 1rem;
    color: var(--primary-accent);
}

.checklist-item {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    background: var(--card-bg-color);
    border-radius: 4px;
    color: #28a745;
}

.chapter-item {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.chapter-item ul {
    margin: 0.5rem 0 0 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted-color);
}

.info-request {
    background: rgba(255, 193, 7, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    font-style: italic;
}

/* Review Interface */
.content-preview {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
}

.ai-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-actions {
    display: flex;
    gap: 0.5rem;
}

.review-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.review-actions .approve {
    background: #28a745;
    color: white;
}

.review-actions .rewrite {
    background: var(--secondary-accent);
    color: var(--button-accent-text);
}

.review-actions .feedback {
    background: var(--primary-accent);
    color: white;
}

.progress {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted-color);
    font-size: 0.875rem;
}

/* Monitoring Dashboard */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.status-card {
    background: var(--card-bg-color);
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.status-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.status-card.approved .number {
    color: #28a745;
}

.status-card.pending .number {
    color: var(--secondary-accent);
}

.status-card.alert .number {
    color: #dc3545;
}

.status-card .label {
    font-size: 0.875rem;
    color: var(--text-muted-color);
}

.alert-item {
    background: rgba(220, 53, 69, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    color: #dc3545;
    text-align: center;
}

/* Final Stats */
.book-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-accent);
}

.export-final {
    background: var(--primary-accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* Case Studies Stats */
.case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted-color);
}

.testimonial-highlight {
    background: var(--section-bg-alternate);
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-accent);
    margin-top: 1.5rem;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .platform-preview {
        grid-template-columns: 1fr;
    }
    
    .status-grid,
    .book-stats {
        grid-template-columns: 1fr;
    }
    
    .case-study-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-actions {
        flex-direction: column;
    }
}

/* About Page Elements */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: var(--section-bg-alternate);
    border-radius: var(--border-radius);
}

.mission-stats .stat-item {
    text-align: center;
}

.mission-stats .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.mission-stats .label {
    font-size: 1rem;
    color: var(--text-muted-color);
}

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

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .mission-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* --- Reduced Motion --- */ 