/* ===== CLINICAL CLARITY - VERITAS BS REDESIGN ===== */

/* ===== CSS CUSTOM PROPERTIES - ENHANCED COLOR PALETTE ===== */
:root {
  /* Primary Colors - High Contrast */
  --primary-dark: #0f2419;        /* Very dark green - main headings */
  --primary-medium: #1b4d3e;      /* Current green - buttons, accents */
  --primary-light: #2d5a4b;       /* Lighter green - hover states */

  /* Text Colors - Maximum Readability */
  --text-primary: #1a202c;        /* Near black - main content */
  --text-secondary: #2d3748;      /* Dark grey - secondary content */
  --text-light: #4a5568;          /* Medium grey - supporting text */
  --text-muted: #718096;          /* Light grey - metadata only */

  /* Background Colors */
  --bg-white: #ffffff;            /* Pure white - main backgrounds */
  --bg-light: #f7fafc;            /* Very light grey - section breaks */
  --bg-accent: #f0fff4;           /* Very light green - highlights */

  /* Accent Colors */
  --accent-blue: #2b6cb0;         /* Professional blue - primary CTAs */
  --accent-amber: #d69e2e;        /* Warning/highlight color */
  --accent-success: #38a169;      /* Success states */

  /* Borders */
  --border-light: #e2e8f0;        /* Light grey borders */
  --border-medium: #cbd5e0;       /* Medium grey borders */
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 6px;
    background: var(--accent-blue);
    color: var(--bg-white);
    padding: 12px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: top 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid var(--bg-white);
    outline-offset: 2px;
}

/* ===== ENHANCED TYPOGRAPHY SYSTEM ===== */
h1 {
    font-size: 48px;              /* Hero headlines */
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: 36px;              /* Section headlines */
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;              /* Subsection headlines */
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

/* Body Text Classes */
.body-large {
    font-size: 20px;              /* Hero descriptions */
    line-height: 1.6;
    color: var(--text-secondary);
}

.body-regular {
    font-size: 18px;              /* Main content */
    line-height: 1.7;
    color: var(--text-primary);
}

.body-small {
    font-size: 16px;              /* Supporting content */
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Default paragraph styling */
p {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-width-800px {
    max-width: 800px;
}

.max-width-900px {
    max-width: 900px;
}

.max-width-1000px {
    max-width: 1000px;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-horizontal {
    height: 40px;
    width: auto;
}

.logo-stacked {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-horizontal {
        display: none;
    }
    
    .logo-stacked {
        display: block;
    }
}

@media (min-width: 769px) {
    .logo-horizontal {
        display: block;
    }
    
    .logo-stacked {
        display: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-medium);
}

.nav-link.nav-cta {
    background: var(--accent-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-link.nav-cta:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger:hover {
    opacity: 0.7;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
}

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

.hero-title {
    max-width: 800px;
    margin: 0 auto 24px auto;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto 32px auto;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px auto;
    padding: 24px;
    background: var(--bg-accent);
    border-radius: 12px;
    border-left: 4px solid var(--primary-medium);
}

.hero-cta {
    margin: 40px 0;
}

.hero-trust {
    margin: 32px 0;
}

.trust-text {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* Enhanced CTAs */
.cta-primary {
    background: var(--accent-blue);
    color: white;
    padding: 20px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.cta-primary:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.3);
}

.cta-secondary {
    background: var(--primary-medium);
    color: white;
    padding: 16px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.cta-subtext {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
}

/* Interactive Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    cursor: pointer;
    padding: 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.stat-item:hover {
    background: var(--bg-accent);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-medium);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.stat-detail-popup {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    min-height: 60px;
    border-left: 4px solid var(--primary-medium);
}

/* ===== ENHANCED PROBLEM SECTION ===== */
.problem-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.sound-familiar-box {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

.familiar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.familiar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.familiar-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.research-facts {
    margin: 40px 0;
}

.fact-highlight {
    text-align: center;
    margin-bottom: 24px;
}

.fact-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-medium);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.fact-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.fact-item.highlight {
    background: var(--bg-accent);
    border-color: var(--primary-medium);
}

.fact-stat {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-medium);
    margin-bottom: 8px;
}

.fact-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.key-insight {
    text-align: center;
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-accent);
    border-radius: 12px;
}

.insight-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.insight-source {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== INTERACTIVE THREE QUESTIONS SECTION ===== */
.three-questions {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: center;
}

.questions-grid {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}

.question-card {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.question-card:hover {
    border-color: var(--primary-medium);
}

.question-header {
    padding: 32px;
    cursor: pointer;
}

.question-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.question-text {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}

.question-preview {
    color: var(--text-secondary);
    line-height: 1.6;
}

.expand-hint {
    display: block;
    color: var(--primary-medium);
    font-weight: 500;
    margin-top: 8px;
    font-size: 14px;
}

.question-content {
    border-top: 1px solid var(--border-light);
    padding: 32px;
    background: var(--bg-light);
    display: none;
}

.question-content.show {
    display: block;
}

.questions-cta {
    text-align: center;
    margin: 40px 0;
}

/* ===== ENHANCED SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.services-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-light);
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-medium);
    border-bottom-color: var(--primary-medium);
}

.service-content {
    min-height: 400px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card.featured {
    border: 2px solid var(--primary-medium);
    background: var(--bg-accent);
}

.service-header {
    margin-bottom: 24px;
}

.service-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-medium);
    margin: 16px 0;
}

.service-tagline {
    color: var(--text-secondary);
    font-size: 16px;
}

.service-features {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

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

.service-outcome {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
    font-weight: 500;
}

.service-guarantee {
    background: var(--bg-accent);
    padding: 16px;
    border-radius: 8px;
    margin: 24px 0;
    border-left: 4px solid var(--accent-amber);
}

.service-cta {
    margin-top: 32px;
}

/* ===== SOCIAL PROOF SECTION ===== */
.social-proof {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.research-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease;
}

.research-item:hover {
    transform: translateY(-2px);
}

.research-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.research-item h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.research-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.research-source {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

/* ===== ENHANCED CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.contact-option {
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.contact-option.primary {
    background: var(--bg-accent);
    border: 2px solid var(--primary-medium);
}

.contact-option.secondary {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
}

.contact-form-container {
    margin-top: 40px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

.cta-submit {
    width: 100%;
    background: var(--accent-blue);
    color: white;
    padding: 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-submit:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

.form-result {
    margin-top: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.question-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== FOCUS STATES ===== */
*:focus {
    outline: 2px solid var(--primary-medium);
    outline-offset: 2px;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    .body-large {
        font-size: 18px;
    }
    
    .body-regular {
        font-size: 16px;
    }
    
    .body-small {
        font-size: 14px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 60px 0;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .familiar-grid {
        grid-template-columns: 1fr;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .question-header {
        padding: 20px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .research-citations {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 80px 0 40px 0;
    }
    
    .cta-primary {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .service-card {
        padding: 24px;
    }
} 

/* ===== RESEARCH FOUNDATION SECTION ===== */
.research-foundation {
    background-color: var(--bg-light);
    padding: 80px 0;
}

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

.research-citations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.research-citation {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.research-citation:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-medium);
}

.research-logo {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.research-citation h4 {
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.research-citation p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.citation {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    display: block;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

/* ===== RESPONSIVE DESIGN ===== */ 