/* ZoraRx Trials Marketing Site - Matching Homepage Design */

/* CSS Variables matching the application design system */
:root {
    /* Colors - matching Tailwind/shadcn config */
    --color-primary: hsl(217, 78%, 51%);
    --color-primary-foreground: hsl(0, 0%, 100%);
    --color-background: hsl(0, 0%, 100%);
    --color-foreground: hsl(220, 13%, 9%);
    --color-muted: hsl(220, 8%, 96%);
    --color-muted-foreground: hsl(220, 9%, 46%);
    --color-border: hsl(220, 13%, 85%);
    --color-card: hsl(0, 0%, 100%);
    --color-card-border: hsl(220, 13%, 88%);
    
    /* Gradient colors */
    --color-blue: #3b82f6;
    --color-green: #10b981;
    --color-purple: #a855f7;
    --color-orange: #f97316;
    --color-red: #ef4444;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: hsl(220, 13%, 9%);
        --color-foreground: hsl(0, 0%, 98%);
        --color-muted: hsl(220, 13%, 15%);
        --color-muted-foreground: hsl(220, 9%, 60%);
        --color-border: hsl(220, 13%, 25%);
        --color-card: hsl(220, 13%, 12%);
        --color-card-border: hsl(220, 13%, 20%);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-foreground);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Utilities */
.text-primary {
    color: var(--color-primary);
}

/* Icons */
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 40px; height: 40px; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 2.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: hsl(217, 78%, 45%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-foreground);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-muted);
    border-color: var(--color-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    min-height: 2rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    min-height: 3rem;
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Premium gradient background with animation */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, 
        hsla(217, 78%, 51%, 0.08) 0%,
        transparent 50%
    );
    z-index: -1;
    animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.hero-content {
    max-width: 75rem;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.hero-logo img {
    max-width: 100%;
    height: 90px;
    width: auto;
}

.hero-title {
    margin-bottom: var(--spacing-lg);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-muted-foreground);
    max-width: 56rem;
    margin: 0 auto var(--spacing-3xl);
    line-height: 1.6;
    font-weight: 500;
}

/* CTA Grid */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.cta-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

@media (prefers-color-scheme: dark) {
    .cta-card {
        background: rgba(30, 30, 40, 0.8);
    }
}

.cta-card.featured {
    border-color: var(--color-primary);
    border-width: 2px;
}

.cta-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.cta-card:hover .cta-icon {
    transform: scale(1.1);
}

.blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: var(--shadow-lg);
}

.green-gradient {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: var(--shadow-lg);
}

.orange-gradient {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: var(--shadow-lg);
}

.purple-gradient {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    box-shadow: var(--shadow-lg);
}

.cta-card h3 {
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.cta-card p {
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.cta-card .btn {
    margin-top: var(--spacing-md);
}

.hero-cta {
    padding-top: var(--spacing-lg);
}

/* Social Proof Section */
.social-proof-section {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(219, 234, 254, 0.3));
}

@media (prefers-color-scheme: dark) {
    .social-proof-section {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 58, 138, 0.2));
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.metric-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
}

.metric-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon.blue { background-color: rgba(59, 130, 246, 0.1); color: var(--color-blue); }
.metric-icon.green { background-color: rgba(16, 185, 129, 0.1); color: var(--color-green); }
.metric-icon.purple { background-color: rgba(168, 85, 247, 0.1); color: var(--color-purple); }

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.metric-value.blue { color: var(--color-blue); }
.metric-value.green { color: var(--color-green); }
.metric-value.purple { color: var(--color-purple); }

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.metric-sublabel {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.star-filled {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
    color: var(--color-primary);
}

.testimonial-text {
    font-style: italic;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-author {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.author-name {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* Compliance Section */
.compliance-section {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.3), rgba(233, 213, 255, 0.2));
}

@media (prefers-color-scheme: dark) {
    .compliance-section {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(107, 33, 168, 0.2));
    }
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.compliance-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.compliance-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.compliance-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--spacing-md);
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.compliance-card h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.card-description {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.text-green {
    color: var(--color-green);
}

/* Trial Finder Section */
.trial-finder-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(219, 234, 254, 0.5));
}

@media (prefers-color-scheme: dark) {
    .trial-finder-section {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.2));
    }
}

.trial-finder-demo {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.trial-finder-demo h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.demo-description {
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-xl);
}

.search-form {
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-muted-foreground);
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    padding-left: 3rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-background);
    color: var(--color-foreground);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.demo-note {
    padding: var(--spacing-md);
    background-color: var(--color-muted);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.demo-note p {
    margin: 0;
}

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

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.problem-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
}

.problem-card.red {
    border-color: rgba(239, 68, 68, 0.2);
    background-color: rgba(239, 68, 68, 0.05);
}

.problem-card.orange {
    border-color: rgba(249, 115, 22, 0.2);
    background-color: rgba(249, 115, 22, 0.05);
}

.problem-card.blue {
    border-color: rgba(59, 130, 246, 0.2);
    background-color: rgba(59, 130, 246, 0.05);
}

.problem-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card.red .problem-icon {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-red);
}

.problem-card.orange .problem-icon {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--color-orange);
}

.problem-card.blue .problem-icon {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
}

.problem-stat {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.problem-card.red .problem-stat { color: var(--color-red); }
.problem-card.orange .problem-stat { color: var(--color-orange); }
.problem-card.blue .problem-stat { color: var(--color-blue); }

.problem-label {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    background-color: var(--color-background);
}

.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

/* Technology Stack Grid */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

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

.tech-stack-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    transition: all 0.3s ease;
}

.tech-stack-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.tech-stack-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.tech-stack-header h3 {
    margin-top: var(--spacing-md);
    font-size: 1.25rem;
}

.tech-icon-large {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-xl);
}

.stat-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.blue { background-color: rgba(59, 130, 246, 0.1); color: var(--color-blue); }
.stat-icon.green { background-color: rgba(16, 185, 129, 0.1); color: var(--color-green); }
.stat-icon.purple { background-color: rgba(168, 85, 247, 0.1); color: var(--color-purple); }
.stat-icon.orange { background-color: rgba(249, 115, 22, 0.1); color: var(--color-orange); }

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

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

/* Telehealth Section */
.telehealth-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(233, 213, 255, 0.1));
}

@media (prefers-color-scheme: dark) {
    .telehealth-section {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(107, 33, 168, 0.2));
    }
}

.telehealth-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.telehealth-stat {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
}

.telehealth-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telehealth-icon.green { background-color: rgba(16, 185, 129, 0.1); color: var(--color-green); }
.telehealth-icon.blue { background-color: rgba(59, 130, 246, 0.1); color: var(--color-blue); }
.telehealth-icon.purple { background-color: rgba(168, 85, 247, 0.1); color: var(--color-purple); }
.telehealth-icon.orange { background-color: rgba(249, 115, 22, 0.1); color: var(--color-orange); }

.telehealth-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

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

.telehealth-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-xl);
}

.feature-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.feature-header h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.feature-header p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.feature-description {
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--color-background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

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

.benefit-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-xl);
}

.benefit-header {
    margin-bottom: var(--spacing-lg);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.benefit-badge.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.benefit-badge.green {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.benefit-badge.purple {
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--color-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.benefit-badge.orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--color-orange);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.benefit-header h3 {
    font-size: 1.5rem;
}

.benefit-description {
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

/* Portals Section */
.portals-section {
    background-color: var(--color-background);
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.portal-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.portal-card.featured {
    border-color: rgba(59, 130, 246, 0.3);
}

.portal-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--shadow-xl);
}

.portal-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.portal-card:hover .portal-icon {
    transform: scale(1.1);
}

.portal-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.portal-description {
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
}

.portal-highlight {
    background-color: var(--color-muted);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.portal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.portal-stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.portal-subtitle {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.portal-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.portal-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.portal-features .icon-sm {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 0.125rem;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.feature-subtitle {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

.portal-cta {
    margin-top: var(--spacing-lg);
}

/* About Section */
.about-section {
    background-color: var(--color-background);
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.about-metric {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.about-metric:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.about-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.about-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
}

.about-card.mission {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1));
}

.card-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: var(--spacing-md);
    background-color: var(--color-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.card-header h4 {
    font-size: 1.25rem;
}

.why-list {
    display: grid;
    gap: var(--spacing-md);
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.why-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon.blue { background-color: rgba(59, 130, 246, 0.1); color: var(--color-blue); }
.why-icon.green { background-color: rgba(16, 185, 129, 0.1); color: var(--color-green); }
.why-icon.purple { background-color: rgba(168, 85, 247, 0.1); color: var(--color-purple); }
.why-icon.orange { background-color: rgba(249, 115, 22, 0.1); color: var(--color-orange); }

.why-title {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.why-subtitle {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.certifications {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.certifications h4 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    max-width: 140px;
}

.cert-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: var(--spacing-md);
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.cert-title {
    font-weight: 700;
    white-space: nowrap;
    margin-bottom: 0.25rem;
}

.cert-subtitle {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

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

.faq-container {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 56rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: var(--spacing-md);
}

.faq-question h3 {
    font-size: 1.125rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-muted-foreground);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: var(--spacing-md);
}

.faq-answer p {
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.1));
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
}

.cta-content > p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* Contact Section */
.contact-section {
    background-color: var(--color-background);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-3xl);
}

.contact-info {
    display: grid;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--color-muted-foreground);
}

.contact-value a {
    color: var(--color-primary);
}

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

.contact-form-container {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
}

.contact-form select {
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-background);
    color: var(--color-foreground);
    cursor: pointer;
}

.contact-form textarea {
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: inherit;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
    height: 60px;
    width: auto;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer-address {
    font-size: 0.875rem;
}

.address-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* ==========================
   NEW SECTIONS - Persona, Workflow, ROI
   ========================== */

/* Persona Sections */
.persona-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-background);
}

.persona-section.persona-alt {
    background: var(--color-muted);
}

.persona-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.persona-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

/* Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
}

.pain-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
}

.pain-icon {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.pain-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-foreground);
}

.pain-card p {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Solution Content */
.solution-content {
    margin-bottom: var(--spacing-3xl);
}

.solution-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-foreground);
}

.solution-grid {
    display: grid;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.solution-card {
    display: flex;
    gap: var(--spacing-lg);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.solution-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.solution-number.blue {
    background: linear-gradient(135deg, var(--color-blue-500), var(--color-blue-600));
}

.solution-number.green {
    background: linear-gradient(135deg, var(--color-green-500), var(--color-green-600));
}

.solution-number.orange {
    background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
}

.solution-number.purple {
    background: linear-gradient(135deg, var(--color-purple-500), var(--color-purple-600));
}

.solution-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-foreground);
}

.solution-text p {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Workflow Example */
.workflow-example {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.workflow-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-foreground);
}

.workflow-steps {
    display: grid;
    gap: var(--spacing-lg);
}

.workflow-step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-foreground);
}

.step-content p {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Patient Rights */
.patient-rights {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.rights-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-foreground);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.right-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-foreground);
}

.right-item p {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Outcomes Section */
.outcomes-section {
    margin-bottom: var(--spacing-2xl);
}

.outcomes-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--color-foreground);
}

.outcomes-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.outcome-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-lg);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.outcome-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-foreground);
}

.outcome-item p {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-muted);
}

.workflow-diagram {
    max-width: 900px;
    margin: 0 auto;
}

.workflow-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.workflow-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.workflow-content {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.workflow-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.workflow-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-foreground);
}

.workflow-content > p {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.workflow-features {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}

.workflow-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
}

.workflow-connector {
    text-align: center;
    margin: var(--spacing-lg) 0;
}

.workflow-connector i {
    color: var(--color-muted-foreground);
}

/* ROI Section */
.roi-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-background);
}

/* Mobile-Optimized Comparison Cards */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto var(--spacing-2xl);
}

.comparison-card {
    background: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.comparison-card-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-border);
}

.comparison-card-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: var(--spacing-md);
}

.comparison-option {
    flex: 1;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-border);
}

.comparison-option.zorarx {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
    border: 3px solid var(--color-green);
}

.comparison-option.traditional {
    background: var(--color-muted);
    border: 2px solid var(--color-border);
}

.option-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-md);
}

.comparison-option.zorarx .option-label {
    color: var(--color-green);
}

.comparison-option.zorarx .option-label i {
    color: var(--color-green);
}

.option-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.comparison-option.zorarx .option-value {
    color: var(--color-green);
}

.option-note {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    line-height: 1.4;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    padding: 0 var(--spacing-sm);
    min-width: 40px;
}

.roi-disclaimer {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: rgba(var(--color-orange-rgb), 0.1);
    border: 1px solid var(--color-orange-500);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.6;
}

.roi-disclaimer strong {
    color: var(--color-foreground);
}

/* Gradient utilities for new sections */
.red-gradient {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-logo img {
        height: 60px;
    }

    .footer-logo {
        height: 40px;
    }

    .cta-grid,
    .metrics-grid,
    .compliance-grid,
    .benefits-grid,
    .portals-grid,
    .pain-points-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .workflow-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .workflow-icon {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .comparison-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .comparison-card {
        padding: var(--spacing-lg);
    }

    .comparison-card-title {
        font-size: 1rem;
    }

    .comparison-card-content {
        flex-direction: column;
    }

    .comparison-vs {
        padding: var(--spacing-sm) 0;
        min-width: auto;
    }

    .option-value {
        font-size: 1.125rem;
    }

    .option-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   Persona Tabs
   ========================================== */
.personas-container {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-muted);
}

.personas-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.persona-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
    padding: 0 var(--spacing-md);
}

.persona-tab {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--color-muted-foreground);
    cursor: pointer;
    transition: all 0.2s ease;
}

.persona-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.persona-tab.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.persona-tab-panels {
    position: relative;
}

.persona-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.persona-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Scroll-Triggered Animations
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: hsl(217, 78%, 45%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   Responsive Updates for Tabs
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-md);
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .persona-tabs {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .persona-tab {
        font-size: 0.875rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    /* Hide back-to-top on mobile to prevent overlap with sticky CTA */
    @media (max-width: 768px) {
        .back-to-top {
            display: none !important;
        }
    }
}

/* ==========================================
   Testimonials Carousel Section
   ========================================== */
.testimonials-section {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5), rgba(233, 213, 255, 0.2));
    padding: 5rem 0;
}

@media (prefers-color-scheme: dark) {
    .testimonials-section {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(107, 33, 168, 0.15));
    }
}

.testimonials-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    padding: 0 4rem;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.testimonial-slide {
    display: none;
    animation: slideIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-content {
    background-color: var(--color-card);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.quote-icon {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    opacity: 0.1;
    color: var(--color-primary);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-foreground);
    font-style: italic;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.testimonial-author-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    margin-bottom: var(--spacing-md);
}

.author-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-foreground);
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0.125rem;
}

.author-company {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    font-weight: 500;
}

.testimonial-category {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--color-muted);
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background-color: var(--color-muted-foreground);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--color-primary);
    width: 2rem;
    border-radius: var(--radius-xl);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonials-carousel-container {
        padding: 0 3rem;
    }
    
    .testimonial-content {
        padding: var(--spacing-xl);
    }
    
    .testimonials-carousel {
        min-height: 450px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .quote-icon {
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .testimonial-author-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel-container {
        padding: 0 2.5rem;
    }
    
    .testimonial-content {
        padding: var(--spacing-lg);
    }
    
    .testimonials-carousel {
        min-height: 500px;
    }
    
    .testimonial-quote {
        font-size: 0.9375rem;
    }
    
    .carousel-btn {
        width: 2rem;
        height: 2rem;
    }
    
    .author-avatar {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -0.5rem;
    }
    
    .carousel-next {
        right: -0.5rem;
    }
}

/* ========================================== */
/* Modal & Calculator Styles */
/* ========================================== */

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--spacing-lg);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.modal-container {
    background-color: var(--color-card);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xl);
    border-bottom: 2px solid var(--color-border);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-foreground);
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    color: var(--color-muted-foreground);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: var(--color-muted);
    color: var(--color-foreground);
}

/* Modal Body */
.modal-body {
    padding: var(--spacing-xl);
    overflow-y: auto;
    flex: 1;
}

/* Calculator Layout */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.calculator-inputs h3,
.calculator-results h3 {
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
    color: var(--color-foreground);
}

/* Input Group */
.input-group {
    margin-bottom: var(--spacing-xl);
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-foreground);
}

/* Slider Container */
.slider-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.slider {
    flex: 1;
    height: 8px;
    border-radius: var(--radius-xl);
    background: var(--color-muted);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-lg);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-lg);
}

.slider-value {
    min-width: 3rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-primary);
}

/* Number Input with Prefix */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: var(--spacing-md);
    font-weight: 600;
    color: var(--color-muted-foreground);
    pointer-events: none;
}

.number-input {
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    padding-left: 2.5rem;
    font-size: 0.875rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-weight: 600;
    transition: all 0.2s ease;
}

.number-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Result Cards */
.result-card {
    background-color: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.result-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.result-card.traditional {
    border-color: rgba(239, 68, 68, 0.3);
    background-color: rgba(239, 68, 68, 0.05);
}

.result-card.zorarx {
    border-color: rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.05);
}

.result-card.savings {
    border-color: rgba(16, 185, 129, 0.3);
    background-color: rgba(16, 185, 129, 0.05);
}

.result-card.time {
    border-color: rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.05);
}

.result-card.annual {
    border-color: rgba(16, 185, 129, 0.3);
    background-color: rgba(16, 185, 129, 0.05);
}

.result-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: var(--spacing-xs);
}

.result-sublabel {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    margin-bottom: var(--spacing-sm);
}

.result-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-foreground);
}

.result-value.large {
    font-size: 2.25rem;
}

.result-value.primary {
    color: var(--color-primary);
}

.result-value.green {
    color: var(--color-green);
}

.result-value.blue {
    color: var(--color-blue);
}

/* Calculator Note */
.calculator-note {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: var(--color-muted);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    align-items: flex-start;
}

.calculator-note i {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.calculator-note p {
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    margin: 0;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .modal-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: var(--spacing-lg);
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .result-value.large {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: var(--spacing-lg);
    }
    
    .modal-body {
        padding: var(--spacing-md);
    }
    
    .input-group {
        margin-bottom: var(--spacing-lg);
    }
    
    .result-card {
        padding: var(--spacing-md);
    }
    
    .slider-value {
        min-width: 2.5rem;
        font-size: 0.875rem;
    }
}

/* ==========================================
   Mobile Sticky Bottom CTA
   ========================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--color-background) 90%, transparent 100%);
    padding: var(--spacing-lg);
    padding-bottom: calc(var(--spacing-lg) + env(safe-area-inset-bottom, 0px));
    z-index: 998;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    /* Ensure modals clear the sticky CTA bar */
    body:has(.modal-overlay.active) .mobile-sticky-cta {
        z-index: 900; /* Below modals */
    }
}
