/* ========================================
   TOTAL RELIEF - PUBLIC WEBSITE STYLES
   Modern, Professional Medical Design
   ======================================== */

/* CSS Variables - Total Relief MD Rebrand */
:root {
    /* Primary Colors - Deep Navy */
    --primary-navy: #0f172a;
    --primary-navy-light: #1e293b;
    --primary-navy-dark: #020617;
    
    /* Accent Colors - Tech Teal */
    --accent-teal: #06b6d4;
    --accent-teal-light: #22d3ee;
    --accent-teal-dark: #0891b2;
    
    /* Secondary - Electric Blue for alerts/connectivity */
    --electric-blue: #3b82f6;
    --electric-blue-light: #60a5fa;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Shadows - Enhanced for modern SaaS feel */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-link.btn-login {
    background: var(--primary-navy);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-link.btn-login:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--gray-800);
    transition: all var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 50%, var(--accent-teal-dark) 100%);
    color: var(--white);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0v60M0 30h60" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
}

/* Logo Background Element - Removed, now using actual logo element above title */

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    max-width: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
    opacity: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    stroke-width: 2;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-teal);
    color: var(--primary-navy);
}

.btn-primary:hover {
    background: var(--accent-teal-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
}

/* Alternative button for dark backgrounds */
.btn-primary-alt {
    background: var(--white);
    color: var(--primary-navy);
}

.btn-primary-alt:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--gray-50);
}

/* Founders Letter */
.founders-letter {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 5rem;
    border-left: 6px solid var(--accent-teal);
}

.letter-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.letter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.letter-salutation {
    font-size: 1.25rem;
    color: var(--gray-700);
    font-style: italic;
}

.letter-content {
    max-width: 900px;
    margin: 0 auto;
}

.letter-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.letter-content p strong {
    color: var(--primary-navy);
    font-weight: 600;
}

.letter-emphasis {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-teal-dark);
    font-style: italic;
    padding: 1.5rem 2rem;
    background: rgba(6, 182, 212, 0.05);
    border-left: 4px solid var(--accent-teal);
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.letter-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.letter-signature p {
    margin-bottom: 0.5rem;
}

.signature-names {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.signature-title {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Leadership Header */
.leadership-header {
    margin-top: 5rem;
}

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

.doctor-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid var(--gray-200);
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-teal);
}

.doctor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
    stroke-width: 2;
}

.doctor-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-teal);
    box-shadow: var(--shadow-lg);
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    color: var(--accent-teal);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.doctor-education {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.education-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-600);
    justify-content: center;
}

.education-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-teal);
    fill: none;
    flex-shrink: 0;
}

/* Doctor Bio */
.doctor-bio {
    text-align: left;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
}

.bio-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.bio-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-teal-dark);
    margin: 1.5rem 0 0.75rem;
}

.doctor-bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.key-focus {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--accent-teal);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.key-focus strong {
    color: var(--primary-navy);
}

/* Brand Tagline */
.tagline-section {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.brand-tagline {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--electric-blue));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    stroke-width: 2;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   VALUE PROPOSITION SECTION
   ======================================== */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.value-prop-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 1.25rem;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-prop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--electric-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.value-prop-card:hover::before {
    transform: scaleX(1);
}

.value-prop-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.value-prop-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.value-prop-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
    stroke-width: 2;
}

.value-prop-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.value-prop-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 1rem;
    font-style: italic;
}

.value-prop-description {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    padding: 4rem 3rem;
    border-radius: 1.5rem;
    color: var(--white);
    margin-top: 3rem;
}

.how-it-works-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-teal);
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0.2);
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.step-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ========================================
   TECHNOLOGY SECTION
   ======================================== */
.technology {
    background: var(--primary-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><path d="M40 0v80M0 40h80" stroke="rgba(6,182,212,0.05)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

.technology .container {
    position: relative;
    z-index: 1;
}

.technology .section-title,
.technology .section-subtitle {
    color: var(--white);
}

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

.tech-feature {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all var(--transition-base);
}

.tech-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-teal);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-teal);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-navy);
    stroke-width: 2;
}

.tech-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.tech-feature p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.tech-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 1rem;
    border: 2px solid var(--accent-teal);
}

.tech-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    background: var(--gray-50);
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.pricing-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pricing-description {
    font-size: 1.125rem;
    opacity: 0.95;
}

.pricing-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--gray-200);
}

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

.pricing-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.pricing-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.pricing-value span {
    font-size: 1.25rem;
    color: var(--gray-500);
    font-weight: 500;
}

.pricing-features {
    padding: 3rem 2rem;
}

.pricing-features h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-700);
}

.pricing-features svg {
    width: 24px;
    height: 24px;
    stroke: var(--success);
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-cta {
    padding: 2rem;
    text-align: center;
    background: var(--gray-50);
}

.pricing-note {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.pricing-message {
    text-align: center;
    padding: 2rem;
}

.pricing-message p {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: var(--gray-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-teal);
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-navy);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-answer {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer strong {
    color: var(--gray-900);
    font-weight: 600;
}

.faq-citation {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-teal);
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--accent-teal-dark);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-highlight {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.contact-highlight h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-highlight p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--gray-300);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

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

.footer-tagline {
    color: var(--gray-400);
    line-height: 1.7;
}

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

.footer-column h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-logo {
        max-width: 340px;
        height: auto;
        margin-bottom: 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Founders Letter */
    .founders-letter {
        padding: 2.5rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .letter-title {
        font-size: 1.75rem;
    }
    
    .letter-salutation {
        font-size: 1.125rem;
    }
    
    .letter-content p {
        font-size: 1rem;
    }
    
    .letter-emphasis {
        font-size: 1.125rem;
        padding: 1rem 1.5rem;
    }
    
    /* Doctor Cards */
    .doctors-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-card {
        padding: 2rem 1.5rem;
    }
    
    .doctor-bio {
        padding: 1.5rem;
    }
    
    /* Brand Tagline */
    .brand-tagline {
        font-size: 1.75rem;
    }
    
    .value-props {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-logo {
        max-width: 280px;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll offset for fixed nav */
section {
    scroll-margin-top: 80px;
}

/* ========================================
   TRUST STATS BAR
   ======================================== */
.trust-stats-bar {
    background: var(--white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
}

.trust-stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .trust-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .trust-stat-number {
        font-size: 2rem;
    }
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--warning);
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-300);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 1rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}

/* ========================================
   LEAD MAGNET SECTION
   ======================================== */
.lead-magnet {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    padding: 4rem 0;
}

.lead-magnet-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead-magnet-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.lead-magnet-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-teal);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lead-magnet-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-navy);
    stroke-width: 2;
}

.lead-magnet-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.lead-magnet-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.checklist-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-preview li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.checklist-preview svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-teal);
    flex-shrink: 0;
}

.lead-magnet-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
}

.lead-magnet-form .form-group {
    margin-bottom: 1rem;
}

.lead-magnet-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

.lead-magnet-form input:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.15);
}

.lead-magnet-form .btn {
    width: 100%;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .lead-magnet-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .lead-magnet-card {
        padding: 2rem;
    }
    
    .lead-magnet-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .lead-magnet-text h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   CONTACT SUBLABEL
   ======================================== */
.contact-sublabel {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    padding: 8rem 0 4rem;
    margin-top: 70px;
    color: var(--white);
    text-align: center;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.legal-effective {
    font-size: 1.125rem;
    opacity: 0.9;
}

.legal-content {
    padding: 4rem 0;
    background: var(--white);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.legal-intro p {
    margin-bottom: 1rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-teal);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-section li {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--accent-teal-dark);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--accent-teal);
}

.contact-info-legal {
    background: var(--gray-50);
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.contact-info-legal p {
    margin-bottom: 0.5rem;
}

.legal-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 3rem;
    border-top: 2px solid var(--gray-200);
    margin-top: 3rem;
}

/* HIPAA Page Specific */
.hipaa-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.hipaa-badge svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-teal);
}

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

.compliance-item {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.compliance-item:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-md);
}

.compliance-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal-dark));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.compliance-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
    stroke-width: 2;
}

.compliance-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.compliance-item ul {
    margin: 0;
    padding-left: 1.25rem;
}

.compliance-item li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.security-notice {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--error);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 0 3rem;
    }
    
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    .legal-nav {
        flex-direction: column;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
}
