
    :root {
        --primary-red: #dc2626;
        --primary-red-light: #ef4444;
        --primary-red-dark: #991b1b;
        --primary-black: #000000;
        --primary-white: #ffffff;
        --dark-gray: #111827;
        --medium-gray: #374151;
        --light-gray: #f3f4f6;
        --optometry-blue: #0b1120;
        --optometry-teal: #0f766e;
        --premium-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
        --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        --glass-bg: rgba(0, 0, 0, 0.9);
        --glass-border: rgba(255, 255, 255, 0.1);
        --smooth-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        --gradient-primary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
        --gradient-optometry: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        --gradient-eye: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    }

    * {
        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;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .container {
        width: 100%;
        max-width: 1500px;
        margin: 0 auto;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    /* ===== Optometry Hero Section ===== */
    .optometry-hero {
        background: var(--gradient-optometry);
        padding: 120px 0 80px;
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid rgba(220, 38, 38, 0.1);
        color: white;
    }

    .optometry-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 10% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
        z-index: 1;
    }

    .optometry-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 600px;
        height: 600px;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><circle cx="50" cy="50" r="20" stroke="%23dc2626" stroke-width="2" fill="none"/><circle cx="40" cy="40" r="3" fill="%23dc2626"/><circle cx="60" cy="60" r="3" fill="%23dc2626"/></svg>');
        background-repeat: repeat;
        z-index: 0;
    }

    .optometry-hero-content {
        position: relative;
        z-index: 2;
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
    }

    .optometry-badge {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: rgba(220,38,38,0.15);
        backdrop-filter: blur(10px);
        padding: 12px 28px;
        border-radius: 100px;
        margin-bottom: 25px;
        border: 1px solid rgba(255,255,255,0.15);
    }

    .optometry-badge i {
        color: var(--primary-red);
        font-size: 1.2rem;
    }

    .optometry-badge span {
        color: white;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .optometry-hero-title {
        font-size: 4rem;
        font-weight: 900;
        color: white;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .optometry-hero-title span {
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

    .optometry-hero-description {
        font-size: 1.3rem;
        color: rgba(255,255,255,0.9);
        line-height: 1.7;
        margin-bottom: 40px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* ===== Trust Badges ===== */
    .trust-badges {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 50px;
        flex-wrap: wrap;
    }

    .trust-badge {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,0.9);
        font-weight: 500;
    }

    .trust-badge i {
        color: var(--primary-red);
        font-size: 1.2rem;
    }

    /* ===== Core Services Section ===== */
    .core-services {
        padding: 100px 0;
        background: white;
        position: relative;
    }

    .core-services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-top: 60px;
    }

    .core-service-card {
        background: white;
        border-radius: 32px;
        padding: 50px 40px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
        transition: var(--smooth-transition);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .core-service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.5s ease;
    }

    .core-service-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 80px rgba(220, 38, 38, 0.15);
        border-color: rgba(220, 38, 38, 0.2);
    }

    .core-service-card:hover::before {
        transform: scaleX(1);
    }

    .core-service-icon {
        width: 90px;
        height: 90px;
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(153, 27, 27, 0.05));
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 35px;
        transition: var(--smooth-transition);
    }

    .core-service-card:hover .core-service-icon {
        background: var(--gradient-primary);
    }

    .core-service-icon i {
        font-size: 42px;
        color: var(--primary-red);
        transition: var(--smooth-transition);
    }

    .core-service-card:hover .core-service-icon i {
        color: white;
    }

    .core-service-card h3 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--dark-gray);
        margin-bottom: 20px;
        line-height: 1.3;
        transition: var(--smooth-transition);
    }

    .core-service-card:hover h3 {
        color: var(--primary-red);
    }

    .core-service-card p {
        color: var(--medium-gray);
        font-size: 1.15rem;
        line-height: 1.7;
        margin-bottom: 25px;
        flex-grow: 1;
    }

    .service-features {
        list-style: none;
        margin-top: auto;
    }

    .service-features li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        color: var(--medium-gray);
        font-weight: 500;
        border-bottom: 1px dashed rgba(220, 38, 38, 0.1);
    }

    .service-features li:last-child {
        border-bottom: none;
    }

    .service-features li i {
        color: var(--primary-red);
        font-size: 1rem;
    }

    /* ===== Features Grid Section ===== */
    .features-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
        position: relative;
        overflow: hidden;
    }

    .features-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 50%, rgba(220, 38, 38, 0.03) 0%, transparent 50%);
        animation: rotate 30s linear infinite;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    .section-header {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
        z-index: 2;
    }

    .section-title {
        font-size: 3.2rem;
        font-weight: 900;
        color: var(--dark-gray);
        margin-bottom: 25px;
        position: relative;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        width: 100px;
        height: 6px;
        background: var(--gradient-primary);
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 3px;
    }

    .section-description {
        font-size: 1.3rem;
        color: var(--medium-gray);
        max-width: 800px;
        margin: 40px auto 0;
        line-height: 1.7;
        font-weight: 500;
        padding: 0 20px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        position: relative;
        z-index: 2;
    }

    .feature-card {
        background: white;
        border-radius: 28px;
        padding: 40px 30px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
        transition: var(--smooth-transition);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(220, 38, 38, 0.1);
        border-color: rgba(220, 38, 38, 0.2);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        background: var(--gradient-primary);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        transition: var(--smooth-transition);
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.1) rotate(5deg);
    }

    .feature-icon i {
        font-size: 32px;
        color: white;
    }

    .feature-card h4 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark-gray);
        margin-bottom: 15px;
    }

    .feature-card p {
        color: var(--medium-gray);
        font-size: 1rem;
        line-height: 1.6;
    }

    .feature-list {
        list-style: none;
        margin-top: 20px;
    }

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        color: var(--medium-gray);
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .feature-list li:last-child {
        border-bottom: none;
    }

    .feature-list li i {
        color: var(--primary-red);
        font-size: 0.9rem;
    }

    /* ===== Optometry Software Section ===== */
    .software-section {
        padding: 100px 0;
        background: white;
    }

    .software-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

    .software-card {
        background: white;
        border-radius: 28px;
        padding: 40px 30px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
        transition: var(--smooth-transition);
        border: 2px solid transparent;
        text-align: center;
    }

    .software-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 70px rgba(220, 38, 38, 0.15);
        border-color: rgba(220, 38, 38, 0.2);
    }

    .software-icon {
        width: 80px;
        height: 80px;
        background: var(--gradient-primary);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 30px;
        transition: var(--smooth-transition);
    }

    .software-card:hover .software-icon {
        transform: scale(1.1) rotate(5deg);
    }

    .software-icon i {
        font-size: 36px;
        color: white;
    }

    .software-card h3 {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--dark-gray);
        margin-bottom: 15px;
    }

    .software-card p {
        color: var(--medium-gray);
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .software-tag {
        display: inline-block;
        background: rgba(220, 38, 38, 0.1);
        color: var(--primary-red);
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* ===== Diagnostic Imaging Section ===== */
    .imaging-section {
        padding: 100px 0;
        background: var(--gradient-optometry);
        position: relative;
        overflow: hidden;
        color: white;
    }

    .imaging-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    }

    .imaging-content {
        position: relative;
        z-index: 2;
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;
    }

    .imaging-badge {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: rgba(255,255,255,0.1);
        padding: 12px 28px;
        border-radius: 100px;
        margin-bottom: 25px;
        border: 1px solid rgba(255,255,255,0.15);
    }

    .imaging-badge i,
    .imaging-badge span {
        color: white;
    }

    .imaging-title {
        font-size: 3.2rem;
        font-weight: 900;
        color: white;
        margin-bottom: 30px;
    }

    .imaging-title span {
        color: var(--primary-red);
    }

    .imaging-text {
        font-size: 1.2rem;
        line-height: 1.8;
        color: rgba(255,255,255,0.9);
        margin-bottom: 50px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .imaging-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 60px;
    }

    .imaging-item {
        padding: 35px 25px;
        background: rgba(255,255,255,0.05);
        border-radius: 24px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1);
        transition: var(--smooth-transition);
    }

    .imaging-item:hover {
        transform: translateY(-10px);
        background: rgba(220, 38, 38, 0.15);
        border-color: var(--primary-red);
    }

    .imaging-item i {
        font-size: 36px;
        color: var(--primary-red);
        margin-bottom: 20px;
    }

    .imaging-item h4 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: white;
    }

    .imaging-item p {
        color: rgba(255,255,255,0.8);
        font-size: 1rem;
        line-height: 1.5;
    }

    /* ===== Premium CTA Buttons ===== */
    .premium-cta-container {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 50px;
        flex-wrap: wrap;
        width: 100%;
    }

    .premium-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding: 20px 40px;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: 700;
        text-decoration: none;
        transition: var(--smooth-transition);
        position: relative;
        overflow: hidden;
        border: none;
        cursor: pointer;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        letter-spacing: 0.3px;
    }

    .premium-cta-btn.primary {
        background: var(--gradient-primary);
        color: white;
        box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
    }

    .premium-cta-btn.primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
        z-index: 1;
    }

    .premium-cta-btn.primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(220, 38, 38, 0.4);
    }

    .premium-cta-btn.primary:hover::before {
        left: 100%;
    }

    .premium-cta-btn.secondary {
        background: white;
        color: var(--primary-red);
        border: 2px solid var(--primary-red);
        box-shadow: 0 15px 35px rgba(220, 38, 38, 0.1);
    }

    .premium-cta-btn.secondary:hover {
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(220, 38, 38, 0.3);
    }

    .premium-cta-btn i {
        font-size: 1.3rem;
        transition: transform 0.3s ease;
        position: relative;
        z-index: 2;
    }

    .premium-cta-btn.primary:hover i,
    .premium-cta-btn.secondary:hover i {
        transform: translateX(8px) scale(1.1);
    }

    .premium-cta-btn.secondary:hover i {
        color: white;
    }

    /* ===== Stats Cards ===== */
    .stats-container {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 60px;
        flex-wrap: wrap;
        width: 100%;
    }

    .stat-card {
        background: white;
        padding: 40px;
        border-radius: 24px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
        text-align: center;
        min-width: 200px;
        transition: var(--smooth-transition);
        border: 2px solid transparent;
    }

    .stat-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 60px rgba(220, 38, 38, 0.15);
        border-color: rgba(220, 38, 38, 0.2);
    }

    .stat-number {
        font-size: 3.5rem;
        font-weight: 900;
        color: var(--primary-red);
        margin-bottom: 10px;
    }

    .stat-label {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--dark-gray);
    }

    /* ===== Premium CTA Section ===== */
    .optometry-cta {
        background: var(--gradient-primary);
        padding: 100px 0;
        position: relative;
        overflow: hidden;
    }

    .optometry-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
        animation: pulse 15s ease-in-out infinite alternate;
    }

    .cta-content {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .cta-title {
        font-size: 3.2rem;
        font-weight: 900;
        color: white;
        margin-bottom: 25px;
        line-height: 1.2;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .cta-description {
        font-size: 1.4rem;
        color: rgba(255,255,255,0.95);
        margin-bottom: 40px;
        line-height: 1.6;
        font-weight: 500;
    }

    .cta-button-white {
        display: inline-flex;
        align-items: center;
        gap: 15px;
        background: white;
        color: var(--primary-red);
        padding: 20px 50px;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: 700;
        text-decoration: none;
        transition: var(--smooth-transition);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .cta-button-white:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
        gap: 20px;
    }

    .cta-button-white i {
        transition: transform 0.3s ease;
    }

    .cta-button-white:hover i {
        transform: translateX(8px);
    }

    /* ===== Animation Classes ===== */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .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 pulse {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 0.8; }
    }

    /* ===== Responsive Design ===== */
    @media screen and (max-width: 1400px) {
        .optometry-hero-title {
            font-size: 3.5rem;
        }
        
        .section-title {
            font-size: 3rem;
        }
    }

    @media screen and (max-width: 1200px) {
        .core-services-grid,
        .features-grid,
        .software-grid,
        .imaging-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }
    }

    @media screen and (max-width: 1024px) {
        .optometry-hero {
            padding: 100px 0 60px;
        }
        
        .optometry-hero-title {
            font-size: 3rem;
        }
        
        .section-title {
            font-size: 2.8rem;
        }
    }

    @media screen and (max-width: 768px) {
        .container {
            padding-left: 20px;
            padding-right: 20px;
        }
        
        .optometry-hero {
            padding: 90px 0 50px;
        }
        
        .optometry-hero-title {
            font-size: 2.5rem;
        }
        
        .optometry-hero-description {
            font-size: 1.1rem;
        }
        
        .core-services-grid,
        .features-grid,
        .software-grid,
        .imaging-grid {
            grid-template-columns: 1fr;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .core-service-card {
            padding: 40px 30px;
        }
        
        .core-service-card h3 {
            font-size: 1.8rem;
        }
        
        .section-title {
            font-size: 2.4rem;
        }
        
        .trust-badges {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        
        .premium-cta-container {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        
        .premium-cta-btn {
            width: 100%;
            justify-content: center;
            padding: 16px 30px;
            font-size: 1rem;
        }
        
        .stats-container {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        
        .stat-card {
            width: 100%;
            max-width: 350px;
        }
        
        .cta-title {
            font-size: 2.4rem;
        }
        
        .cta-description {
            font-size: 1.2rem;
        }
        
        .cta-button-white {
            padding: 16px 40px;
            font-size: 1.1rem;
            width: 100%;
            justify-content: center;
        }
    }

    @media screen and (max-width: 576px) {
        .optometry-hero-title {
            font-size: 2rem;
        }
        
        .core-service-card {
            padding: 35px 25px;
        }
        
        .core-service-card h3 {
            font-size: 1.6rem;
        }
        
        .core-service-icon {
            width: 70px;
            height: 70px;
        }
        
        .core-service-icon i {
            font-size: 32px;
        }
        
        .section-title {
            font-size: 2rem;
        }
        
        .feature-card {
            padding: 30px 20px;
        }
        
        .feature-card h4 {
            font-size: 1.3rem;
        }
        
        .stat-number {
            font-size: 2.8rem;
        }
    }

    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .core-service-card:hover,
        .feature-card:hover,
        .software-card:hover,
        .imaging-item:hover,
        .stat-card:hover {
            transform: none;
        }
        
        .core-service-card:active {
            transform: scale(0.98);
        }
        
        .cta-button-white:active {
            transform: scale(0.98);
        }
    }
