
:root {
    --primary-red: #dc2626;
    --primary-red-light: #ef4444;
    --primary-red-dark: #991b1b;
    --primary-red-deep: #7f1d1d;
    --primary-black: #000000;
    --primary-black-light: #111827;
    --primary-black-dark: #020617;
    --primary-white: #ffffff;
    --primary-white-off: #fafafa;
    --primary-white-dark: #f3f4f6;
    
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #dc2626 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #111827 50%, #1f2937 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #f3f4f6 100%);
    --gradient-health: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(153, 27, 27, 0.05));
    
    --shadow-xs: 0 2px 8px rgba(220, 38, 38, 0.04);
    --shadow-sm: 0 4px 16px rgba(220, 38, 38, 0.06);
    --shadow-md: 0 8px 24px rgba(220, 38, 38, 0.08);
    --shadow-lg: 0 16px 32px rgba(220, 38, 38, 0.12);
    --shadow-xl: 0 24px 48px rgba(220, 38, 38, 0.16);
    --shadow-2xl: 0 32px 64px rgba(220, 38, 38, 0.2);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-full: 9999px;
    
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-black);
    overflow-x: hidden;
    background: var(--primary-white);
    width: 100%;
    position: relative;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* ===== PREMIUM HERO SECTION ===== */
.eclipse-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background: linear-gradient(135deg, #000000 0%, #111827 50%, #1f2937 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0;
}

.eclipse-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 60%);
    animation: rotate 40s linear infinite;
    pointer-events: none;
}

.eclipse-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0 L60 30 L30 60 L0 30 Z" fill="rgba(220,38,38,0.03)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.2;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.eclipse-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.eclipse-hero-image {
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.eclipse-hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(220, 38, 38, 0.25));
    border-radius: var(--radius-lg);
}

.eclipse-hero-content {
    color: white;
}

.eclipse-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(220, 38, 38, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    margin-bottom: 30px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.eclipse-badge i {
    color: #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.eclipse-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
}

.eclipse-hero-title span {
    background: linear-gradient(135deg, #ffffff, #fecaca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eclipse-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.eclipse-hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.eclipse-stat-item {
    text-align: left;
}

.eclipse-stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.eclipse-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eclipse-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 45px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: 0 24px 48px rgba(220, 38, 38, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.eclipse-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.eclipse-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 32px 64px rgba(220, 38, 38, 0.2);
}

.eclipse-btn-primary:hover::before {
    left: 100%;
}

.eclipse-btn-primary i {
    transition: transform 0.3s ease;
}

.eclipse-btn-primary:hover i {
    transform: translateX(8px);
}

/* ===== SECTION HEADER ===== */
.section-header-premium {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
}

.section-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(220, 38, 38, 0.08);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    margin-bottom: 25px;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.section-subtitle-badge span {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle-badge i {
    color: var(--primary-red);
    animation: pulse 2s infinite;
}

.section-title-premium {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title-premium span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description-premium {
    font-size: 1.2rem;
    color: var(--primary-black-light);
    max-width: 800px;
    margin: 30px auto 0;
    line-height: 1.7;
}

/* ===== CONTENT SECTION ===== */
.eclipse-content-section {
    padding: 100px 0;
    background: white;
}

.eclipse-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.eclipse-content-text {
    font-size: 1.1rem;
    color: var(--primary-black-light);
    line-height: 1.8;
}

.eclipse-content-text p {
    margin-bottom: 25px;
}

.eclipse-content-text strong {
    color: var(--primary-red);
    font-weight: 700;
}

.eclipse-highlight-box {
    background: var(--gradient-health);
    border-left: 4px solid var(--primary-red);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 40px 0;
}

.eclipse-highlight-box .stat-highlight {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 10px;
}

/* ===== BENEFITS GRID ===== */
.eclipse-benefits-section {
    padding: 100px 0;
    background: var(--primary-white-off);
}

.eclipse-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.eclipse-benefit-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.eclipse-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.eclipse-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(220, 38, 38, 0.2);
}

.eclipse-benefit-card:hover::before {
    transform: scaleX(1);
}

.eclipse-benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-health);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--primary-red);
    transition: var(--transition-smooth);
}

.eclipse-benefit-card:hover .eclipse-benefit-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.eclipse-benefit-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.eclipse-benefit-description {
    color: var(--primary-black-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== FEATURES LIST ===== */
.eclipse-features-section {
    padding: 100px 0;
    background: white;
}

.eclipse-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.eclipse-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--primary-white-off);
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-white-dark);
    transition: var(--transition-smooth);
}

.eclipse-feature-item:hover {
    border-color: var(--primary-red);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.eclipse-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 20px;
    box-shadow: var(--shadow-sm);
}

.eclipse-feature-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 8px;
}

.eclipse-feature-content p {
    color: var(--primary-black-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== HIPAA COMPLIANCE SECTION ===== */
.eclipse-hipaa-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #111827 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.eclipse-hipaa-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="2" fill="rgba(220,38,38,0.1)"/></svg>');
    background-size: 40px 40px;
    opacity: 0.3;
}

.eclipse-hipaa-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.eclipse-hipaa-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.eclipse-hipaa-title span {
    background: linear-gradient(135deg, #ffffff, #fecaca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eclipse-hipaa-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.eclipse-hipaa-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.2);
    border: 2px solid var(--primary-red);
    padding: 20px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
}

/* ===== CTA SECTION ===== */
.eclipse-cta-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.eclipse-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: linear-gradient(135deg, #ffffff, var(--primary-white-off));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.eclipse-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 20px;
}

.eclipse-cta-title span {
    color: var(--primary-red);
}

.eclipse-cta-text {
    font-size: 1.2rem;
    color: var(--primary-black-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.eclipse-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 20px 50px;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.eclipse-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.eclipse-cta-button i {
    transition: transform 0.3s ease;
}

.eclipse-cta-button:hover i {
    transform: translateX(8px);
}

/* ===== ANIMATION CLASSES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animation-delay-100 { transition-delay: 0.1s; }
.animation-delay-200 { transition-delay: 0.2s; }
.animation-delay-300 { transition-delay: 0.3s; }
.animation-delay-400 { transition-delay: 0.4s; }
.animation-delay-500 { transition-delay: 0.5s; }

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media screen and (max-width: 1200px) {
    .eclipse-hero-grid {
        gap: 50px;
    }
    .eclipse-hero-title {
        font-size: 3.5rem;
    }
    .eclipse-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .eclipse-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .eclipse-hero-image {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }
    
    .eclipse-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .eclipse-hero-stats {
        justify-content: center;
    }
    
    .eclipse-stat-item {
        text-align: center;
    }
    
    .eclipse-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .eclipse-content-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .eclipse-benefits-grid,
    .eclipse-features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title-premium {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .eclipse-hero {
        padding: 100px 0 80px;
    }
    
    .eclipse-hero-title {
        font-size: 2.8rem;
    }
    
    .eclipse-hero-description {
        font-size: 1.1rem;
    }
    
    .eclipse-hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .section-title-premium {
        font-size: 2.4rem;
    }
    
    .eclipse-hipaa-title {
        font-size: 2.2rem;
    }
    
    .eclipse-cta-content {
        padding: 40px 30px;
    }
    
    .eclipse-cta-title {
        font-size: 2rem;
    }
    
    .eclipse-cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .eclipse-hero-title {
        font-size: 2.2rem;
    }
    
    .eclipse-badge {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .section-title-premium {
        font-size: 2rem;
    }
    
    .eclipse-benefit-card,
    .eclipse-feature-item {
        padding: 30px 25px;
    }
    
    .eclipse-hipaa-title {
        font-size: 1.8rem;
    }
    
    .eclipse-hipaa-text {
        font-size: 1.1rem;
    }
    
    .eclipse-hipaa-badge {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .eclipse-cta-title {
        font-size: 1.8rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .eclipse-benefit-card:hover,
    .eclipse-feature-item:hover,
    .eclipse-btn-primary:hover,
    .eclipse-cta-button:hover {
        transform: none;
    }
}
