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

:root {
    --navy: #1B2951;
    --teal: #4DB6AC;
    --teal-light: #80CBC4;
    --teal-dark: #26A69A;
    --warm-cream: #F9F6F1;
    --light-cream: #F5F2ED;
    --card-cream: #FDFCFA;
    --soft-beige: #F0EDE8;
    --medium-gray: #E2E8F0;
    --border-light: #B8B3AC;
    --text-primary: #2A2A2A;
    --text-secondary: #4A4A4A;
    --text-muted: #666666;
    --accent-gold: #D4AF37;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--light-cream) 50%, #F2EFE9 100%);
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(77, 182, 172, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(27, 41, 81, 0.02) 0%, transparent 60%);
    overflow-x: hidden;
    position: relative;
    font-size: 18px;
}

/* Ensure all containers stay within viewport */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

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

/* Header */
header {
    background: var(--card-cream);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(15px);
    background: rgba(253, 252, 250, 0.95);
    border-bottom: 3px solid var(--teal);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(253, 252, 250, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 3rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--teal);
    background: rgba(77, 182, 172, 0.1);
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--teal);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
}

.cta-buttons {
    display: flex;
    align-items: center;
}

/* Unified CTA Button System */
.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 16px rgba(77, 182, 172, 0.3);
    white-space: nowrap;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(77, 182, 172, 0.4);
    background: linear-gradient(135deg, var(--teal-dark) 0%, #1e8b84 100%);
}

.cta-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(77, 182, 172, 0.3);
}

.cta-primary.large:hover {
    box-shadow: 0 10px 32px rgba(77, 182, 172, 0.4);
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--teal);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.cta-secondary:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(77, 182, 172, 0.3);
}

/* Legacy support - redirect old classes to new system */
.primary-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 16px rgba(77, 182, 172, 0.3);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(77, 182, 172, 0.4);
    background: linear-gradient(135deg, var(--teal-dark) 0%, #1e8b84 100%);
}

.secondary-cta {
    display: inline-block;
    background: transparent;
    color: var(--teal);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.secondary-cta:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(77, 182, 172, 0.3);
}

.trust-badges {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-badge {
    background: rgba(77, 182, 172, 0.1);
    color: var(--teal);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(77, 182, 172, 0.3);
    white-space: nowrap;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    margin-right: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(253, 252, 250, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.3s ease;
    padding: 6rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem 0;
    display: block;
    border-bottom: 1px solid rgba(77, 182, 172, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--teal);
    padding-left: 1rem;
}

.mobile-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(77, 182, 172, 0.2);
}

.mobile-contact .contact-item {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.mobile-cta .cta-primary {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-cta .cta-secondary {
    display: block;
    text-align: center;
}

/* Legacy mobile support */
.mobile-cta .get-quote-btn {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.mobile-cta .nurse-cta {
    display: block;
    text-align: center;
}

@media (max-width: 1000px) {
    .contact-info {
        display: none;
    }
    
    .trust-badges {
        display: none;
    }
    
    .header-nav {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    
    .cta-buttons {
        gap: 0.5rem;
    }
    
    .get-quote-btn,
    .nurse-cta {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }

    /* Responsive adjustments for unified CTA system */
    .cta-primary,
    .cta-secondary,
    .cta-button,
    .case-cta-btn,
    .consultation-cta,
    .email-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-primary.large,
    .case-cta-btn.primary,
    .email-button {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }

    /* CTA Section responsive */
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .cta-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        padding: 1rem;
        margin-right: 0.25rem;
    }
    
    .header-nav {
        gap: 1rem;
    }

    .header-right {
        gap: 0.5rem;
    }

    .header-right .cta-primary {
        display: none;
    }

    .header-hipaa-logo {
        height: 24px;
        max-width: 60px;
    }

    .hero {
        margin-top: 65px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.6rem 0;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu {
        width: 280px;
        padding: 5rem 1.5rem 2rem;
    }
    
    .header-right {
        gap: 0.25rem;
    }

    .header-right .cta-primary {
        display: none;
    }
    
    .mobile-menu-toggle {
        padding: 1.25rem 0.75rem;
        margin-right: 0;
    }
    
    .header-hipaa-logo {
        height: 20px;
        max-width: 50px;
    }
    
    .hero {
        margin-top: 75px;
    }
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, var(--navy) 0%, #243B6B 100%);
    color: white;
    text-align: center;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.announcement-bar.show {
    top: 0;
    opacity: 1;
    visibility: visible;
}


.announcement-bar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.announcement-bar .highlight {
    background: var(--teal);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.announcement-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.announcement-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.8rem;
        padding: 0.6rem 0;
    }
    
    .announcement-bar p {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .announcement-bar .highlight {
        padding: 0.1rem 0.4rem;
    }
    
    .announcement-close {
        right: 0.5rem;
        font-size: 1rem;
    }
    
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    height: 48px;
    width: 48px;
    filter: drop-shadow(0 4px 12px rgba(77, 182, 172, 0.3));
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(77, 182, 172, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.company-name .case {
    color: var(--text-primary);
}

.company-name .nurse {
    color: var(--teal);
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--card-cream) 0%, var(--warm-cream) 50%, var(--light-cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 182, 172, 0.12) 0%, rgba(212, 175, 55, 0.06) 50%, transparent 80%);
    animation: subtleFloat 60s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(77, 182, 172, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes subtleFloat {
    0%, 100% { transform: translate(0%, 0%); opacity: 0.05; }
    50% { transform: translate(3%, 2%); opacity: 0.08; }
}

@keyframes processFlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 500;
    opacity: 0.9;
}

/* Legacy cta-button redirected to unified system */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 20px rgba(77, 182, 172, 0.3);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(77, 182, 172, 0.4);
    background: linear-gradient(135deg, var(--teal-dark) 0%, #1e8b84 100%);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--soft-beige) 0%, #EBE7E0 50%, var(--light-cream) 100%);
    border-bottom: 4px solid var(--border-light);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

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

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:nth-child(2)::before {
    animation-delay: -2s;
}

.stat-item:nth-child(3)::before {
    animation-delay: -4s;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.6rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stat-counter {
    display: inline-block;
    position: relative;
}

.stat-counter::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.8s ease;
    transform-origin: left;
}

.stat-counter.animated::after {
    transform: scaleX(1);
}

.stat-item {
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(77, 182, 172, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(77, 182, 172, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(77, 182, 172, 0.4);
    background: rgba(255, 255, 255, 0.95);
}


.stat-label {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* SVG Icons */
.svg-icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    33% { transform: translateY(-8px); }
    66% { transform: translateY(4px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Micro Interactions */
.micro-bounce {
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.micro-bounce:hover {
    transform: scale(1.05);
}

.micro-bounce:active {
    transform: scale(0.98);
}

/* Premium Gradient Text */
.premium-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--accent-gold) 50%, var(--teal-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

/* Premium Cursor Effects */
.micro-bounce, .cta-button, .email-button, .badge {
    cursor: pointer;
}

.value-card, .stat-item {
    cursor: default;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(77, 182, 172, 0.2);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(77, 182, 172, 0.2);
    color: var(--text-primary);
}

/* Quality Promise Cards */
.guarantee-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.8rem !important;
    border-radius: 14px !important;
    border: 1px solid rgba(77, 182, 172, 0.2) !important;
    border-left: 4px solid var(--teal) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
    transition: all 0.3s ease !important;
    cursor: default;
}

.guarantee-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 40px rgba(77, 182, 172, 0.2), 0 8px 24px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
    border-color: rgba(77, 182, 172, 0.4) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Case Types Showcase */
.case-types-showcase {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, #F9F7F4 0%, var(--warm-cream) 50%, #F6F3EE 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(77, 182, 172, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(27, 41, 81, 0.04) 0%, transparent 50%);
    position: relative;
}

.case-types-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

/* Hero Cards - Base Styling */
.case-type-hero {
    background: linear-gradient(135deg, var(--card-cream) 0%, #FEFCF9 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(77, 182, 172, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.case-type-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 50%, var(--navy) 100%);
}

/* Personal Injury Hero Styling */
.personal-injury-hero {
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.personal-injury-hero::before {
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 50%, #43A047 100%);
}

.personal-injury-hero .case-icon-large {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

/* Workers' Compensation Hero Styling */
.workers-comp-hero {
    border: 2px solid rgba(255, 152, 0, 0.2);
}

.workers-comp-hero::before {
    background: linear-gradient(90deg, #ff9800 0%, #FFA726 50%, #FB8C00 100%);
}

.workers-comp-hero .case-icon-large {
    background: linear-gradient(135deg, #ff9800 0%, #FFA726 100%);
}

.case-type-hero:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.hero-badge {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #E8C547 100%);
    color: var(--navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.case-icon-large {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--navy) 0%, #2A3B6B 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 4px 16px rgba(27, 41, 81, 0.3);
}

.case-icon-large svg {
    width: 36px;
    height: 36px;
}

.case-type-hero h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--navy);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.case-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(77, 182, 172, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(77, 182, 172, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.case-subtypes-hero {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.case-subtypes-hero li {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2.5rem;
    border-left: 3px solid var(--teal);
    transition: all 0.2s ease;
}

.case-subtypes-hero li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--teal);
    font-weight: bold;
}

.case-subtypes-hero li:hover {
    background: rgba(77, 182, 172, 0.1);
    transform: translateX(4px);
}

.hero-cta {
    margin-top: auto;
    text-align: center;
    padding-top: 2.5rem;
}

/* Legacy case-cta-btn redirected to unified system */
.case-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 16px rgba(77, 182, 172, 0.3);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.case-cta-btn.primary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(77, 182, 172, 0.3);
}

.case-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(77, 182, 172, 0.4);
    background: linear-gradient(135deg, var(--teal-dark) 0%, #1e8b84 100%);
}

.case-cta-btn.primary:hover {
    box-shadow: 0 10px 32px rgba(77, 182, 172, 0.4);
}

.starting-at {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Supporting Cases Grid */
.supporting-cases-grid {
    display: grid;
    gap: 1.5rem;
}

.case-type-card {
    background: var(--card-cream);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid rgba(184, 179, 172, 0.2);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.case-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.case-type-card:hover::before {
    transform: scaleX(1);
}

.case-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-type-card.personal-injury::before {
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 100%);
}

.case-type-card.birth-injury::before {
    background: linear-gradient(90deg, #e91e63 0%, #EC407A 100%);
}

.case-type-card.workers-comp::before {
    background: linear-gradient(90deg, #ff9800 0%, #FFA726 100%);
}

.case-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.case-icon svg {
    width: 24px;
    height: 24px;
}

.case-type-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--navy);
}

.case-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.case-subtypes {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.case-subtypes li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.case-subtypes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.turnaround {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.case-footer .case-cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .case-types-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .case-types-showcase {
        padding: 3rem 0;
    }
    
    .case-type-hero {
        padding: 2rem;
    }
    
    .case-type-hero h3 {
        font-size: 1.8rem;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Value Proposition */
.value-prop {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--card-cream) 0%, var(--warm-cream) 50%, #F4F1EC 100%);
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(77, 182, 172, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.value-prop::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(77, 182, 172, 0.03) 0%, transparent 70%);
    animation: float 20s linear infinite;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.6;
}

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

.value-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(77, 182, 172, 0.2);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--teal) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 60px rgba(77, 182, 172, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(77, 182, 172, 0.4);
    background: rgba(255, 255, 255, 0.95);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(77, 182, 172, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: transform 0.3s ease;
    transform: scale(0);
}

.value-card:hover .value-icon::before {
    transform: scale(1);
}

.value-card:hover .value-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(77, 182, 172, 0.4);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Process Section */
.process {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--soft-beige) 0%, #E8E4DF 50%, var(--light-cream) 100%);
    background-image: 
        radial-gradient(circle at 40% 60%, rgba(77, 182, 172, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(27, 41, 81, 0.03) 0%, transparent 50%);
    position: relative;
    border-top: 4px solid var(--border-light);
    border-bottom: 4px solid var(--border-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--teal) 20%, var(--teal) 80%, transparent 100%);
    border-radius: 1px;
    z-index: 1;
    animation: processFlow 10s ease-in-out infinite;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

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

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F0F0 100%);
    border: 3px solid var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--teal);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--teal), var(--teal-dark), var(--teal));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-number.active {
    color: white;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(77, 182, 172, 0.4);
}

.step-number.active::before {
    opacity: 1;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.process-step:hover .step-number {
    background: var(--teal);
    color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 16px 40px rgba(77, 182, 172, 0.35);
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Pricing Structure */
.pricing-structure {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.pricing-card.main-pricing {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(77, 182, 172, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.main-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.pricing-card.main-pricing:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(77, 182, 172, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(77, 182, 172, 0.4);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

/* Case Examples */
.case-examples {
    width: 100%;
    max-width: 900px;
}

.case-examples h4 {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.case-example {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(77, 182, 172, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.case-example:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(77, 182, 172, 0.15);
    border-color: rgba(77, 182, 172, 0.3);
}

.case-type {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.case-pages {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.case-cost {
    font-weight: 700;
    color: var(--teal);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.case-indicator {
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 600;
}

.professional-approach {
    margin-bottom: 1.5rem;
}

.consultation-text {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
}

/* Legacy consultation-cta redirected to unified system */
.consultation-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 16px rgba(77, 182, 172, 0.3);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    margin-top: 1.5rem;
}

.consultation-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(77, 182, 172, 0.4);
    background: linear-gradient(135deg, var(--teal-dark) 0%, #1e8b84 100%);
}

.price-large {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--teal);
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1;
}

.price-large .per-page {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: block;
    margin-top: 0.5rem;
}

.price-comparison {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

.value-includes {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card .cta-primary {
    margin-top: 1.5rem;
}

.value-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-item:last-child {
    margin-bottom: 0;
}

/* Pricing Tables */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(77, 182, 172, 0.1);
}

.pricing-table th {
    background: var(--teal);
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(77, 182, 172, 0.1);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-table tr:hover td {
    background: rgba(77, 182, 172, 0.05);
    transform: scale(1.01);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:nth-child(even) td {
    background: #F8F8F8;
}

.price {
    font-weight: 700;
    color: var(--teal);
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.per-page {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-top: 0.3rem;
}

.comparison-note {
    background: #FFFBF0;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.comparison-note strong {
    color: var(--text-primary);
    font-weight: 700;
}

.includes-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.includes-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.includes-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Preprocessing Table Styles */
.preprocessing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow-card);
    border-radius: 12px;
    overflow: hidden;
}

.preprocessing-table th {
    background: var(--navy);
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.preprocessing-table td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-light);
    background: #FFFFFF;
}

.preprocessing-table tr:last-child td {
    border-bottom: none;
}

.preprocessing-table .fee-amount {
    font-weight: 700;
    font-size: 1.3rem;
}

.preprocessing-table .minor { color: #4CAF50; }
.preprocessing-table .moderate { color: #FF9800; }
.preprocessing-table .severe { color: #F44336; }

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, #243B6B 50%, #2A4A7A 100%);
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(77, 182, 172, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.contact * {
    color: var(--text-primary) !important;
}

.contact h2,
.contact .contact-subtitle,
.contact .response-time {
    color: var(--text-primary) !important;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(77, 182, 172, 0.05) 50%, transparent 70%);
    pointer-events: none;
}


.contact-content {
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
}

.contact-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 500;
    color: var(--text-secondary) !important;
}

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

/* CTA Section Styling */
.cta-section {
    margin: 2rem 0;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Legacy email-button redirected to unified system */
.email-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 20px rgba(77, 182, 172, 0.3);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.email-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(77, 182, 172, 0.4);
    background: linear-gradient(135deg, var(--teal-dark) 0%, #1e8b84 100%);
}

.response-time {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
    color: var(--text-muted) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--soft-beige) 0%, #E5E0DB 50%, var(--light-cream) 100%);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(77, 182, 172, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    color: var(--text-secondary);
    padding: 4rem 0;
    text-align: center;
    border-top: 4px solid var(--teal);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.footer-content p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-badges {
    margin-top: 2rem;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.trust-indicators {
    margin: 4rem 0;
    text-align: center;
}

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

.trust-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(77, 182, 172, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(77, 182, 172, 0.3);
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
}

.trust-item h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.badge {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    font-size: 1rem;
    border: 2px solid rgba(77, 182, 172, 0.3);
    color: var(--teal);
    font-weight: 700;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--accent-gold) 50%, var(--teal) 100%);
}

.badge:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 16px 48px rgba(77, 182, 172, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: rgba(77, 182, 172, 0.5);
    background: rgba(255, 255, 255, 1);
}

.footer-logos {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compliance-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.compliance-logo:hover {
    opacity: 1;
}

.header-hipaa-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}

.header-hipaa-logo:hover {
    opacity: 1;
}

/* Desktop Optimizations */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .hero h1 {
        font-size: 3.6rem;
        line-height: 1.1;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        margin-top: 85px;
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero h1 .gradient-text {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 75px;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .process::before {
        display: none;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .footer-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Responsive Tables - Mobile Card Layout */
    .pricing-table, .preprocessing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table table, .pricing-table thead, .pricing-table tbody, 
    .pricing-table th, .pricing-table td, .pricing-table tr,
    .preprocessing-table table, .preprocessing-table thead, .preprocessing-table tbody, 
    .preprocessing-table th, .preprocessing-table td, .preprocessing-table tr {
        display: block;
    }
    
    .pricing-table thead tr, .preprocessing-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .pricing-table tr, .preprocessing-table tr {
        border: 1px solid rgba(77, 182, 172, 0.2);
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .pricing-table td, .preprocessing-table td {
        border: none;
        position: relative;
        padding: 0.5rem 0 0.5rem 50%;
        background: transparent;
    }
    
    .pricing-table td:before, .preprocessing-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        font-weight: 600;
        color: var(--text-primary);
        white-space: nowrap;
    }
    
    /* Fix alternating row backgrounds on mobile cards */
    .pricing-table tr:nth-child(even) td,
    .preprocessing-table tr:nth-child(even) td {
        background: transparent;
    }
    
    .price {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--teal);
    }
    
    .includes-list {
        grid-template-columns: 1fr;
    }
    
    .comparison-note {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .pricing-card.main-pricing {
        padding: 2rem 2.5rem;
    }
    
    .price-large {
        font-size: 2.8rem;
    }
    
    .pricing-card h3 {
        font-size: 1.5rem;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .case-example {
        padding: 1rem;
    }
    
    .case-type {
        font-size: 0.9rem;
    }
    
    .case-cost {
        font-size: 1rem;
    }
    
    .case-indicator {
        font-size: 0.85rem;
    }
}

/* Progress Bar Animation */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(77, 182, 172, 0.5);
}

/* Enhanced Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 2s ease-in-out infinite;
}