/* ========================================
   invisa-RED™ Landing Page Styles
   Central Illinois Spine
   ======================================== */

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    /* Primary Brand Colors */
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #4a90e2;
    --secondary-color: #34a853;
    --secondary-dark: #2d8e47;
    /* Accent Colors */
    --accent-red: #ea4335;
    --accent-gold: #fbbc04;
    --accent-purple: #7c3aed;
    /* Neutral Colors */
    --dark: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #666;
    --light-gray: #e5e5e5;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-smooth);
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark);
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary-nav {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    padding: 30px;
    transition: right 0.3s ease;
}

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

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--dark);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.mobile-nav-link {
    padding: 15px;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--light-gray);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(117, 59, 189, 0.95)),
        url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?w=1600&h=1000&fit=crop') center/cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 60px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-subtext {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-trust {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ========================================
   Technology Section
   ======================================== */
.technology-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.technology-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 0 20px rgba(0,124,185,0.18);
}

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

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.technology-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.technology-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.how-it-works-content {
    padding-right: 20px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-content p {
    color: var(--medium-gray);
    line-height: 1.7;
}

.how-it-works-video {
    position: sticky;
    top: 100px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--medium-gray);
    font-size: 0.875rem;
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 0 20px rgba(0,124,185,0.18);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.benefit-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.benefit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.85), rgba(117, 59, 189, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.benefit-content {
    padding: 30px;
}

.benefit-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.benefit-description {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.benefit-list {
    margin-bottom: 20px;
}

.benefit-list li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--medium-gray);
    font-size: 0.95rem;
    list-style: none;
}

.benefit-list i {
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.benefit-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
    color: var(--dark);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Why Choose Section
   ======================================== */
.why-choose-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.why-choose-text {
    padding-right: 20px;
}

.feature-grid {
    display: grid;
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.feature-item i {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-item p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Clinical Trial Card */
.clinical-trial-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 100px;
}

.trial-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.trial-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trial-header p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.trial-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.trial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-label {
    font-weight: 500;
    opacity: 0.9;
}

.trial-value {
    font-weight: 700;
}

.trial-value.highlight {
    color: var(--accent-gold);
    font-size: 1.125rem;
}

.trial-results {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.trial-results h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.result-item {
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.result-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.trial-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trial-footer p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/* ========================================
   Results Section
   ======================================== */
.results-section {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.results-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
}

.results-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.result-stat-large {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.result-stat-large i {
    font-size: 3rem;
    color: var(--accent-gold);
}

.result-stat-large h3 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.result-stat-large p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-section {
    margin-top: 40px;
}

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

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 0 20px rgba(0,124,185,0.18);
}

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

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--dark);
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 0 20px rgba(0,124,185,0.18);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ========================================
   Consultation Section
   ======================================== */
.consultation-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.consultation-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.95), rgba(117, 59, 189, 0.95)),
        url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&h=1000&fit=crop') center/cover;
    z-index: 0;
}

.consultation-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.consultation-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.consultation-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.consult-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
}

.consult-benefit i {
    color: var(--accent-gold);
}

/* GHL Widget Form Container */
.ghl-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 40px;
    overflow: hidden;
    min-height: 783px;
}

.ghl-form-wrapper iframe {
    width: 100%;
    height: 783px;
    border: none;
    display: block;
}

/* Consultation Contact */
.consultation-contact {
    text-align: center;
}

.consultation-contact h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.contact-info:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-hours {
    font-size: 0.95rem;
    opacity: 0.9;
}

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

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-light);
    font-weight: 600;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   Modal
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.modal-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px;
    }

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

    .hero-title {
        font-size: 2.75rem;
    }

    .how-it-works,
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .how-it-works-video {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .subsection-title {
        font-size: 1.5rem;
    }

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

    .consultation-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .clinical-trial-card {
        position: relative;
        top: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .why-choose-content {
        grid-template-columns: 1fr !important;
    }

    .clinical-trial-card {
        width: 100%;
        box-sizing: border-box;
    }

    .ghl-form-wrapper iframe {
        height: 900px;
    }

    .ghl-form-wrapper {
        min-height: 900px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .btn-lg {
        padding: 15px 30px;
        font-size: 1rem;
    }

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

    .consultation-benefits {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
    }
}
