/* =========================
   CUSTOM CURSOR
========================= */
@media (min-width: 1025px) {
    .custom-cursor {
        position: fixed; width: 40px; height: 40px; border: 1px solid var(--primary);
        border-radius: 50%; pointer-events: none; z-index: 9999;
        transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s;
    }
    .custom-cursor-dot {
        position: fixed; width: 8px; height: 8px; background: var(--primary);
        border-radius: 50%; pointer-events: none; z-index: 10000;
        transform: translate(-50%, -50%);
    }
    .cursor-hover .custom-cursor { width: 60px; height: 60px; background: rgba(11, 94, 215, 0.1); }
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-elements {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}
.glow-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 10s infinite alternate;
}
.orb-1 { width: 400px; height: 400px; background: var(--primary-light); top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: rgba(18, 184, 201, 0.2); bottom: -50px; left: 10%; animation-delay: -5s; }

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.hero-title {
    font-size: 3.4rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Hero Animations (Load Stagger) */
.animate-stagger {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-badge.animate-stagger { animation-delay: 0.2s; }
.hero-title.animate-stagger { animation-delay: 0.4s; }
.hero-subtitle.animate-stagger { animation-delay: 0.6s; }
.hero-buttons.animate-stagger { animation-delay: 0.8s; }

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scientific Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeReveal 1.5s forwards 1s;
}

@keyframes fadeReveal { to { opacity: 1; } }

.molecular-structure {
    width: 100%;
    height: 100%;
    position: relative;
}
.molecular-structure svg { width: 100%; height: 100%; z-index: 2; position: relative; }

.mol-node {
    transform-origin: center;
    animation: pulseNode 3s infinite alternate;
}
.node-1 { animation-delay: 0.5s; }
.node-2 { animation-delay: 1s; }

@keyframes pulseNode {
    0% { transform: scale(0.9); filter: drop-shadow(0 0 5px rgba(11, 94, 215, 0.5)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(11, 94, 215, 0.8)); }
}

.orbit-ring {
    position: absolute; top: 50%; left: 50%;
    border: 1px dashed var(--gray-light); border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}
.ring-1 { width: 300px; height: 300px; }
.ring-2 { width: 450px; height: 450px; animation-direction: reverse; animation-duration: 30s; border-color: rgba(18, 184, 201, 0.2); }

@keyframes rotate { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float { 100% { transform: translateY(-20px); } }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeReveal 1s forwards 1.5s;
}
.scroll-text { font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; color: var(--gray); }
.scroll-arrow { color: var(--primary); animation: bounce 2s infinite; font-weight: bold; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* =========================
   INTRO & TRUST SECTION
========================= */
.intro-visual {
    position: relative;
    height: 400px;
    background: var(--light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 2;
    animation: float 4s infinite alternate;
}
.trust-card-1 { top: 40px; left: -20px; }
.trust-card-2 { bottom: 40px; right: -20px; animation-delay: -2s; }
.glass-card h4 { font-size: 0.95rem; margin-bottom: 2px; }
.glass-card p { font-size: 0.8rem; color: var(--gray); margin: 0; }
.icon-wrap { width: 32px; height: 32px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-wrap .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.icon-wrap .dot.accent { background: var(--accent); }

/* Simple DNA CSS */
.dna-illustration {
    display: flex; flex-direction: column; gap: 8px; opacity: 0.5; transform: rotate(15deg);
}
.strand { width: 100px; height: 4px; background: var(--primary); border-radius: 2px; position: relative; animation: wave 2s infinite ease-in-out alternate; }
.strand:nth-child(2) { width: 80px; margin-left: 10px; animation-delay: 0.2s; background: var(--secondary); }
.strand:nth-child(3) { width: 60px; margin-left: 20px; animation-delay: 0.4s; background: var(--accent); }

@keyframes wave { to { transform: translateX(20px); } }

/* =========================
   STATISTICS SECTION
========================= */
.stat-item {
    text-align: center;
    padding: 30px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border: none; }
.stat-number { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.stat-label { font-size: 1rem; font-weight: 500; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; }

/* =========================
   PRODUCTS SECTION
========================= */
.product-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 94, 215, 0.08);
    border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }

.product-icon { width: 64px; height: 64px; margin-bottom: 24px; }
.product-category { font-size: 0.75rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.product-title { font-size: 1.5rem; margin-bottom: 16px; }
.product-desc { font-size: 0.95rem; color: var(--gray); margin-bottom: 24px; }

.card-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--light); color: var(--primary); font-size: 1.2rem; transition: var(--transition);
}
.product-card:hover .card-link { background: var(--primary); color: var(--white); transform: translateX(5px); }

/* =========================
   R&D TIMELINE
========================= */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}
.timeline-line {
    position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--gray-light); z-index: 1;
}
.timeline-step {
    position: relative; z-index: 2; padding-left: 70px; margin-bottom: 48px;
}
.step-num {
    position: absolute; left: 0; top: 0; width: 50px; height: 50px;
    background: var(--white); border: 2px solid var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; color: var(--primary);
    transition: var(--transition);
}
.timeline-step:hover .step-num { background: var(--primary); color: var(--white); box-shadow: 0 0 20px rgba(11,94,215,0.4); }
.step-content h4 { font-size: 1.25rem; margin-bottom: 8px; }
.step-content p { color: var(--gray); }

/* =========================
   CTA SECTION
========================= */
.cta-section {
    position: relative; background: var(--dark-alt); color: var(--white); text-align: center; overflow: hidden;
}
.cta-bg-animation {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(18,184,201,0.15) 0%, transparent 50%);
    animation: rotate 30s linear infinite; z-index: 0;
}
.cta-container { position: relative; z-index: 1; max-width: 700px; }
.cta-title { font-size: 3rem; margin-bottom: 24px; color: var(--white); }
.cta-desc { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 40px; }

/* Responsive adjustments for Index components */
@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    .hero-visual { height: 300px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .timeline-line { left: 20px; }
    .timeline-step { padding-left: 60px; }
    .step-num { width: 40px; height: 40px; font-size: 0.9rem; }
    .glass-card { position: relative; inset: 0; margin: 10px; animation: none; }
    .intro-visual { flex-direction: column; padding: 20px; height: auto; }
}