/* ============================================
   BIOTRONIK HOME MONITORING - DESIGN SPECTACULAIRE
   Layouts uniques + Animations impressionnantes
   ============================================ */

/* ============================================
   VARIABLES - Palette vibrante & élégante
   ============================================ */
:root {
    --bio-primary: #A64D79;
    --bio-primary-dark: #8B3D64;
    --bio-primary-light: #F8EDF3;
    --bio-primary-glow: rgba(166, 77, 121, 0.4);
    --bio-accent: #E8739C;
    --bio-accent-light: #F5C4D8;
    --bio-dark: #121218;
    --bio-dark-soft: #1e1e28;
    --bio-gray: #6b7280;
    --bio-gray-light: #9ca3af;
    --bio-bg: #fafafa;
    --bio-white: #ffffff;
    --bio-gradient: linear-gradient(135deg, #A64D79 0%, #D66A9A 100%);
    /* Aliases pour compatibilité */
    --bio-coral: var(--bio-primary);
    --bio-coral-dark: var(--bio-primary-dark);
    --bio-coral-light: var(--bio-primary-light);
    --bio-coral-glow: var(--bio-primary-glow);
}

/* ============================================
   BASE & RESET
   ============================================ */
.biotronik-page {
    background: var(--bio-dark);
    color: var(--bio-white);
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    overflow-x: hidden;
}

/* ============================================
   ANIMATED PARTICLES BACKGROUND
   ============================================ */
.bio-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--bio-accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatParticle 20s infinite;
}

.particle.p1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle.p2 { top: 20%; left: 80%; animation-delay: 2s; }
.particle.p3 { top: 60%; left: 20%; animation-delay: 4s; }
.particle.p4 { top: 70%; left: 90%; animation-delay: 6s; }
.particle.p5 { top: 40%; left: 50%; animation-delay: 8s; }
.particle.p6 { top: 80%; left: 30%; animation-delay: 10s; }
.particle.p7 { top: 30%; left: 70%; animation-delay: 12s; }
.particle.p8 { top: 90%; left: 60%; animation-delay: 14s; }

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.5);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50px) translateX(-30px) scale(1);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-150px) translateX(20px) scale(1.2);
        opacity: 0.5;
    }
}

/* Floating Hearts */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-hearts i {
    position: absolute;
    font-size: 1.5rem;
    color: var(--bio-accent);
    opacity: 0.2;
    animation: floatHeart 15s infinite ease-in-out;
}

.floating-hearts i:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; }
.floating-hearts i:nth-child(2) { top: 45%; left: 95%; animation-delay: 3s; }
.floating-hearts i:nth-child(3) { top: 75%; left: 15%; animation-delay: 6s; }
.floating-hearts i:nth-child(4) { top: 25%; left: 85%; animation-delay: 9s; }
.floating-hearts i:nth-child(5) { top: 85%; left: 75%; animation-delay: 12s; }

@keyframes floatHeart {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.2;
    }
}

/* ============================================
   BACK NAVIGATION
   ============================================ */
.back-nav-bio {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--bio-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-nav-bio:hover {
    background: var(--bio-coral);
    border-color: var(--bio-coral);
    transform: translateX(-5px);
    box-shadow: 0 10px 40px var(--bio-coral-glow);
}

/* ============================================
   HERO SECTION - FULL SCREEN DRAMATIC
   ============================================ */
.hero-bio {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(166, 77, 121, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(232, 115, 156, 0.15) 0%, transparent 40%),
        linear-gradient(180deg, var(--bio-dark) 0%, #1a141a 100%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content-bio {
    animation: fadeInUp 1s ease-out;
}

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

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(166, 77, 121, 0.15);
    border: 1px solid rgba(166, 77, 121, 0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.chip-dot {
    width: 8px;
    height: 8px;
    background: var(--bio-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-chip span {
    color: var(--bio-accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title-bio {
    margin-bottom: 25px;
}

.title-line {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.title-line.accent {
    background: var(--bio-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.title-line sup {
    font-size: 1.5rem;
    -webkit-text-fill-color: var(--bio-coral);
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 480px;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.hero-tagline strong {
    color: var(--bio-accent);
}

/* Hero Features Pills */
.hero-features {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(166, 77, 121, 0.12);
    border-color: rgba(166, 77, 121, 0.35);
    transform: translateY(-3px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--bio-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.hero-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bio-white);
}

/* Hero CTA */
.hero-cta-bio {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    background: var(--bio-gradient);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px var(--bio-coral-glow);
    animation: fadeInUp 1s ease-out 0.7s backwards;
    position: relative;
    overflow: hidden;
}

.hero-cta-bio::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.5s ease;
}

.hero-cta-bio:hover::before {
    left: 100%;
}

.hero-cta-bio:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 60px var(--bio-coral-glow);
}

.cta-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-number {
    font-size: 1.3rem;
    font-weight: 700;
}

.cta-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.cta-arrow {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hero-cta-bio:hover .cta-arrow {
    transform: translateX(5px);
}

/* Hero Visual - 3D Implant */
.hero-visual-bio {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out 0.5s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.implant-3d-container {
    position: relative;
    width: 450px;
    height: 450px;
}

/* Signal Rings */
.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--bio-accent);
    opacity: 0;
    animation: signalRing 3s ease-out infinite;
}

.signal-ring.ring-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.signal-ring.ring-2 {
    width: 300px;
    height: 300px;
    animation-delay: 1s;
}

.signal-ring.ring-3 {
    width: 400px;
    height: 400px;
    animation-delay: 2s;
}

@keyframes signalRing {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Implant Core */
.implant-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.implant-body {
    width: 120px;
    height: 140px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 60px 60px 50px 50px;
    position: relative;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    animation: implantFloat 4s ease-in-out infinite;
}

@keyframes implantFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.implant-chip {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--bio-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 0 30px var(--bio-coral-glow);
    animation: chipGlow 2s ease-in-out infinite;
}

@keyframes chipGlow {
    0%, 100% { box-shadow: 0 0 35px var(--bio-primary-glow); }
    50% { box-shadow: 0 0 60px var(--bio-primary-glow), 0 0 90px rgba(166, 77, 121, 0.35); }
}

.implant-wire {
    position: absolute;
    bottom: -40px;
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #444 0%, transparent 100%);
    border-radius: 2px;
}

.implant-wire.wire-1 {
    left: 35px;
    transform: rotate(-15deg);
}

.implant-wire.wire-2 {
    right: 35px;
    transform: rotate(15deg);
}

.implant-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--bio-coral-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* Data Stream */
.data-stream {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stream-dot {
    width: 10px;
    height: 10px;
    background: var(--bio-accent);
    border-radius: 50%;
    animation: streamFlow 2s ease-in-out infinite;
}

.stream-dot:nth-child(1) { animation-delay: 0s; }
.stream-dot:nth-child(2) { animation-delay: 0.3s; }
.stream-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes streamFlow {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateX(30px);
        opacity: 1;
    }
}

/* Cloud Destination */
.cloud-destination {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cloud-destination i {
    font-size: 2.5rem;
    color: var(--bio-accent);
}

.cloud-destination span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--bio-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   VS COMPARISON SECTION
   ============================================ */
.vs-section {
    padding: 120px 0;
    background: var(--bio-dark-soft);
    position: relative;
    overflow: hidden;
}

.vs-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
}

.vs-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.vs-card.old-way {
    opacity: 0.7;
}

.vs-card.biotronik-way {
    background: linear-gradient(145deg, rgba(166, 77, 121, 0.18) 0%, rgba(166, 77, 121, 0.05) 100%);
    border-color: rgba(166, 77, 121, 0.45);
    box-shadow: 0 25px 70px rgba(166, 77, 121, 0.2);
}

.vs-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.vs-badge.premium {
    background: var(--bio-gradient);
    color: white;
}

.vs-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.old-device {
    width: 100px;
    height: 80px;
    background: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #666;
}

.connection-mess {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mess-line {
    position: absolute;
    height: 2px;
    background: #444;
    border-radius: 1px;
}

.mess-line.l1 {
    width: 60px;
    top: 30%;
    left: 60%;
    transform: rotate(30deg);
}

.mess-line.l2 {
    width: 50px;
    top: 50%;
    left: 55%;
    transform: rotate(-20deg);
}

.mess-line.l3 {
    width: 70px;
    top: 70%;
    left: 50%;
    transform: rotate(10deg);
}

.bio-implant {
    width: 80px;
    height: 100px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 40px 40px 35px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bio-accent);
    position: relative;
    box-shadow: 0 0 40px var(--bio-primary-glow);
    animation: implantPulse 2s ease-in-out infinite;
}

@keyframes implantPulse {
    0%, 100% { box-shadow: 0 0 40px var(--bio-primary-glow); }
    50% { box-shadow: 0 0 70px var(--bio-primary-glow), 0 0 100px rgba(166, 77, 121, 0.3); }
}

.implant-signal {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.implant-signal span {
    display: block;
    height: 3px;
    background: var(--bio-accent);
    border-radius: 2px;
    animation: signalWave 1.5s ease-in-out infinite;
}

.implant-signal span:nth-child(1) { width: 15px; animation-delay: 0s; }
.implant-signal span:nth-child(2) { width: 25px; animation-delay: 0.2s; }
.implant-signal span:nth-child(3) { width: 15px; animation-delay: 0.4s; }

@keyframes signalWave {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(10px); }
}

.vs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vs-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.vs-item i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.vs-item.negative i {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.vs-item.positive i {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.vs-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* VS Divider */
.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 70px;
    height: 70px;
    background: var(--bio-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 10px 40px var(--bio-coral-glow);
    animation: vsPulse 2s ease-in-out infinite;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   SECTION INTROS
   ============================================ */
.section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.intro-tag {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(166, 77, 121, 0.12);
    border: 1px solid rgba(166, 77, 121, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bio-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.section-intro h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bio-white);
    margin-bottom: 15px;
}

.section-intro p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   DIAGONAL FLOW SECTION
   ============================================ */
.flow-section {
    padding: 120px 0;
    background: var(--bio-dark);
    position: relative;
    overflow: hidden;
}

.flow-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(166, 77, 121, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(232, 115, 156, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.diagonal-flow {
    position: relative;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-line {
    fill: none;
    stroke: rgba(166, 77, 121, 0.25);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 10 5;
}

.flow-line-glow {
    fill: none;
    stroke: var(--bio-accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: flowDraw 4s ease-in-out infinite;
}

@keyframes flowDraw {
    0% { stroke-dashoffset: 1500; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1500; }
}

/* Flow Nodes */
.flow-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.flow-node.node-1 { top: 50px; left: 50px; }
.flow-node.node-2 { top: 220px; left: 350px; }
.flow-node.node-3 { top: 420px; left: 620px; }
.flow-node.node-4 { top: 300px; right: 50px; }

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--bio-accent);
    border-radius: 50%;
    opacity: 0;
    animation: nodePulse 3s ease-out infinite;
}

@keyframes nodePulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.node-icon {
    width: 80px;
    height: 80px;
    background: var(--bio-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 15px 40px var(--bio-coral-glow);
    position: relative;
    z-index: 2;
}

.node-label h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bio-white);
    margin-bottom: 5px;
}

.node-label p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 150px;
}

/* Data Particles */
.data-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--bio-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--bio-accent), 0 0 30px var(--bio-primary-glow);
    animation: particleMove 4s linear infinite;
    offset-path: path('M100,100 C300,100 350,300 500,300 C650,300 700,500 900,500 C1000,500 1100,400 1150,350');
}

.data-particle.dp1 { animation-delay: 0s; }
.data-particle.dp2 { animation-delay: 1.3s; }
.data-particle.dp3 { animation-delay: 2.6s; }

@keyframes particleMove {
    0% { offset-distance: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* ============================================
   CONSTELLATION SECTION
   ============================================ */
.constellation-section {
    padding: 120px 0;
    background: var(--bio-dark-soft);
    position: relative;
    overflow: hidden;
}

.constellation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star.s1 { top: 10%; left: 20%; animation-delay: 0s; }
.star.s2 { top: 30%; left: 80%; animation-delay: 0.5s; }
.star.s3 { top: 60%; left: 10%; animation-delay: 1s; }
.star.s4 { top: 80%; left: 70%; animation-delay: 1.5s; }
.star.s5 { top: 45%; left: 50%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.constellation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.constellation-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.constellation-card[data-float="1"] { animation: cardFloat1 6s ease-in-out infinite; }
.constellation-card[data-float="2"] { animation: cardFloat2 7s ease-in-out infinite; }
.constellation-card[data-float="3"] { animation: cardFloat3 8s ease-in-out infinite; }

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.constellation-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(166, 77, 121, 0.15);
    border-color: rgba(166, 77, 121, 0.5);
    box-shadow: 0 25px 60px rgba(166, 77, 121, 0.25);
}

.constellation-card.featured {
    background: linear-gradient(145deg, rgba(166, 77, 121, 0.22) 0%, rgba(166, 77, 121, 0.08) 100%);
    border-color: rgba(166, 77, 121, 0.55);
    box-shadow: 0 15px 40px rgba(166, 77, 121, 0.15);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--bio-coral-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.constellation-card:hover .card-glow {
    opacity: 0.3;
}

.card-icon {
    width: 65px;
    height: 65px;
    background: var(--bio-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px var(--bio-coral-glow);
}

.constellation-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bio-white);
    margin-bottom: 8px;
}

.constellation-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 100px 0;
    background: var(--bio-gradient);
    position: relative;
}

.stats-wave-top,
.stats-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bio-dark-soft);
}

.stats-wave-top {
    top: 0;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.stats-wave-bottom {
    bottom: 0;
    background: var(--bio-dark);
    clip-path: ellipse(60% 100% at 50% 0%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
}

.stat-ring {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
}

.stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 6;
}

.ring-progress {
    fill: none;
    stroke: white;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--progress) / 100));
    transition: stroke-dashoffset 2s ease;
}

.stat-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.stat-label h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.stat-label p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   RADAR SECTION
   ============================================ */
.radar-section {
    padding: 120px 0;
    background: var(--bio-dark);
    position: relative;
}

.radar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.radar-visual {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(166, 77, 121, 0.25);
}

.radar-ring.r1 { width: 150px; height: 150px; }
.radar-ring.r2 { width: 250px; height: 250px; }
.radar-ring.r3 { width: 350px; height: 350px; }

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 175px;
    height: 2px;
    background: linear-gradient(90deg, var(--bio-accent) 0%, transparent 100%);
    transform-origin: left center;
    animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--bio-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    z-index: 10;
    box-shadow: 0 0 40px var(--bio-coral-glow);
}

.radar-blip {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: blipPulse 2s ease-in-out infinite;
}

.radar-blip.blip-1 {
    top: 20%;
    right: 30%;
    background: #ef4444;
    color: white;
}

.radar-blip.blip-2 {
    bottom: 25%;
    left: 20%;
    background: #f59e0b;
    color: white;
    animation-delay: 0.5s;
}

.radar-blip.blip-3 {
    top: 40%;
    left: 15%;
    background: #10b981;
    color: white;
    animation-delay: 1s;
}

@keyframes blipPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Alerts List */
.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.alert-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.alert-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.alert-item.critical .alert-dot {
    background: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    animation: alertBlink 1s infinite;
}

@keyframes alertBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.alert-item.warning .alert-dot {
    background: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.alert-item.info .alert-dot {
    background: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.alert-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bio-white);
    margin-bottom: 8px;
}

.alert-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.alert-time {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SECURITY ORBIT SECTION
   ============================================ */
.security-section {
    padding: 120px 0;
    background: var(--bio-dark-soft);
    position: relative;
    overflow: hidden;
}

.security-orbit {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    border: 2px dashed rgba(166, 77, 121, 0.25);
    border-radius: 50%;
    animation: orbitRotate 30s linear infinite;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.security-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.shield-3d {
    width: 120px;
    height: 120px;
    background: var(--bio-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow:
        0 20px 60px var(--bio-coral-glow),
        inset 0 -5px 20px rgba(0, 0, 0, 0.2);
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        box-shadow: 0 20px 70px var(--bio-primary-glow), inset 0 -5px 20px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 35px 100px var(--bio-primary-glow), inset 0 -5px 20px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
    }
}

.security-center h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bio-white);
}

/* Orbit Items */
.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    animation: orbitItemFloat 4s ease-in-out infinite;
}

.orbit-item.o1 { top: 30px; left: 50%; transform: translateX(-50%); }
.orbit-item.o2 { bottom: 30px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.orbit-item.o3 { top: 50%; left: 30px; transform: translateY(-50%); animation-delay: 2s; }
.orbit-item.o4 { top: 50%; right: 30px; transform: translateY(-50%); animation-delay: 3s; }

@keyframes orbitItemFloat {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.orbit-icon {
    width: 60px;
    height: 60px;
    background: rgba(166, 77, 121, 0.15);
    border: 2px solid rgba(166, 77, 121, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bio-primary);
    transition: all 0.3s ease;
}

.orbit-item:hover .orbit-icon {
    background: var(--bio-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.orbit-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 120px;
}

/* ============================================
   FAQ GRID SECTION
   ============================================ */
.faq-section {
    padding: 120px 0;
    background: var(--bio-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.faq-card:hover {
    background: rgba(166, 77, 121, 0.1);
    border-color: rgba(166, 77, 121, 0.25);
    transform: translateY(-8px);
}

.faq-icon {
    width: 50px;
    height: 50px;
    background: var(--bio-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
}

.faq-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bio-white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages-section {
    padding: 120px 0;
    background: var(--bio-dark-soft);
}

.advantages-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    align-items: start;
}

.advantage-column {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.advantage-column.patient {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.advantage-column.doctor {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
}

.column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.patient .header-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.doctor .header-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.column-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bio-white);
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.item-check {
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #10b981;
    flex-shrink: 0;
}

.advantage-item span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Advantage Divider */
.advantage-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 80px;
}

.divider-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(166, 77, 121, 0.5), transparent);
}

.divider-icon {
    width: 50px;
    height: 50px;
    background: var(--bio-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 10px 30px var(--bio-coral-glow);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--bio-dark);
}

.contact-floating-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(166, 77, 121, 0.2) 0%, rgba(166, 77, 121, 0.08) 100%);
    border-radius: 40px;
    padding: 60px;
    border: 1px solid rgba(166, 77, 121, 0.4);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(166, 77, 121, 0.15);
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 0% 0%, var(--bio-primary-glow) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(232, 115, 156, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-icon-big {
    width: 100px;
    height: 100px;
    background: var(--bio-gradient);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 20px 50px var(--bio-coral-glow);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bio-white);
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 35px;
    background: var(--bio-gradient);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px var(--bio-coral-glow);
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px var(--bio-coral-glow);
}

.contact-btn i {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-number {
    font-size: 1.3rem;
    font-weight: 700;
}

.btn-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-bio {
    padding: 50px 0;
    background: #0a0a0a;
    text-align: center;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--bio-accent);
}

.footer-brand span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bio-white);
}

.footer-bio p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    margin-top: 10px;
}

/* ============================================
   CARDIOMESSENGER SMART SECTION
   ============================================ */
.cardiomessenger-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bio-dark) 0%, var(--bio-dark-soft) 100%);
}

.cm-role-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(166, 77, 121, 0.08);
    border: 1px solid rgba(166, 77, 121, 0.2);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 50px;
}

.cm-role-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bio-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.cm-role-content h3 {
    color: var(--bio-accent);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cm-role-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.cm-role-content p strong {
    color: var(--bio-accent);
}

.cm-install-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cm-install-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.cm-install-card:hover {
    background: rgba(166, 77, 121, 0.1);
    border-color: rgba(166, 77, 121, 0.3);
    transform: translateY(-5px);
}

.cm-install-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(166, 77, 121, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.3rem;
    color: var(--bio-accent);
}

.cm-install-card h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
}

.cm-install-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cm-install-card p strong {
    color: var(--bio-accent);
}

.cm-tip-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 40px;
}

.cm-tip-card > i {
    color: #f59e0b;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.cm-tip-card strong {
    color: #f59e0b;
    display: block;
    margin-bottom: 4px;
}

.cm-tip-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.cm-mobile-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
}

.cm-mobile-section h3 {
    color: var(--bio-accent);
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cm-mobile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cm-mobile-item {
    text-align: center;
    padding: 20px;
}

.cm-mobile-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bio-accent);
    margin-bottom: 8px;
}

.cm-mobile-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ============================================
   SYMBOLS & INDICATORS
   ============================================ */
.symbols-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bio-dark-soft) 0%, var(--bio-dark) 100%);
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.symbol-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.symbol-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 77, 121, 0.3);
}

.symbol-display {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(166, 77, 121, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
}

.symbol-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #10b981;
}

.symbol-display i {
    font-size: 1.3rem;
    color: var(--bio-accent);
}

.symbol-ok .symbol-display {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.symbol-battery .symbol-display i,
.symbol-charging .symbol-display i {
    color: #60a5fa;
}

.symbol-info .symbol-display {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.symbol-info .symbol-display i {
    color: #f59e0b;
}

.symbol-callback .symbol-display {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.symbol-callback .symbol-display i {
    color: #ef4444;
}

.symbol-blink {
    animation: symbolBlink 1s ease-in-out infinite;
}

@keyframes symbolBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.symbol-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 0.7rem !important;
}

.symbol-card h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.symbol-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.symbol-card p strong {
    color: var(--bio-accent);
}

.symbol-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.symbol-status.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.symbol-status.info {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.symbol-status.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.symbol-status.urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* ============================================
   CALLBACK SECTION
   ============================================ */
.callback-section {
    padding: 60px 0;
    background: var(--bio-dark);
}

.callback-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 20px;
    padding: 40px;
}

.callback-icon-wrapper {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

.callback-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.4);
    animation: callbackPulse 2s ease-in-out infinite;
}

@keyframes callbackPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0; }
}

.callback-content h3 {
    color: #ef4444;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.callback-content > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 15px;
}

.callback-content p strong {
    color: #ef4444;
}

.callback-important {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.1);
    padding: 12px 18px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.callback-important i {
    color: #ef4444;
    font-size: 1.1rem;
}

.callback-important strong {
    color: white;
}

.callback-reset h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.callback-reset ol {
    list-style: none;
    padding: 0;
    counter-reset: callback-step;
}

.callback-reset ol li {
    counter-increment: callback-step;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    padding-left: 30px;
    position: relative;
}

.callback-reset ol li::before {
    content: counter(callback-step);
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================
   TROUBLESHOOTING SECTION
   ============================================ */
.troubleshooting-section-bio {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bio-dark) 0%, var(--bio-dark-soft) 100%);
}

.trouble-grid-bio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.trouble-card-bio {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.trouble-card-bio:hover {
    border-color: rgba(166, 77, 121, 0.3);
    transform: translateY(-3px);
}

.trouble-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bio-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 15px;
}

.trouble-card-bio h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.trouble-card-bio > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.trouble-card-bio ul {
    list-style: none;
    padding: 0;
}

.trouble-card-bio ul li {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.trouble-card-bio ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--bio-accent);
}

/* ============================================
   WARNING SECTION
   ============================================ */
.warning-section-bio {
    padding: 60px 0;
    background: var(--bio-dark-soft);
}

.warning-card-bio {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: rgba(245, 158, 11, 0.06);
    border: 2px solid rgba(245, 158, 11, 0.25);
    border-radius: 20px;
    padding: 40px;
}

.warning-icon-bio {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.warning-content-bio h2 {
    color: #f59e0b;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.warning-main-bio {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.warning-main-bio strong {
    color: #f59e0b;
}

.warning-content-bio > p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 18px;
}

.warning-actions-bio {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.warning-action-bio {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.warning-action-bio i {
    color: #f59e0b;
    width: 20px;
    text-align: center;
}

.warning-action-bio strong {
    color: white;
}

.warning-note-bio {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(96, 165, 250, 0.08);
    padding: 12px 18px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.warning-note-bio i {
    color: #60a5fa;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content-bio {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-tagline {
        margin: 0 auto 35px;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual-bio {
        margin-top: 40px;
    }

    .transmission-schema {
        padding: 30px 20px;
        gap: 20px;
    }

    .patient-silhouette,
    .doctor-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .implant-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .arrow-line {
        width: 50px;
    }

    .diagonal-flow {
        min-height: auto;
        padding: 40px 20px;
    }

    .flow-path-svg {
        display: none;
    }

    .flow-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin-bottom: 40px;
    }

    .data-particle {
        display: none;
    }

    .radar-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .radar-visual {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .vs-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vs-divider {
        transform: rotate(90deg);
    }

    .constellation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-install-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-mobile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .symbols-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trouble-grid-bio {
        grid-template-columns: 1fr;
    }

    .callback-card {
        flex-direction: column;
    }

    .warning-card-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .warning-actions-bio {
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .security-orbit {
        width: 400px;
        height: 400px;
    }

    .orbit-ring {
        width: 300px;
        height: 300px;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .advantage-divider {
        flex-direction: row;
        padding: 0;
    }

    .divider-line {
        width: 60px;
        height: 2px;
    }
}

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

    .title-line {
        font-size: 3rem;
    }

    .section-intro h2 {
        font-size: 2.2rem;
    }

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

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

    .cm-install-grid {
        grid-template-columns: 1fr;
    }

    .cm-mobile-grid {
        grid-template-columns: 1fr 1fr;
    }

    .symbols-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-role-card {
        flex-direction: column;
        text-align: center;
    }

    .cm-tip-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
        text-align: center;
    }

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

    .security-orbit {
        width: 300px;
        height: 300px;
    }

    .orbit-ring {
        width: 220px;
        height: 220px;
    }

    .orbit-item span {
        display: none;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature {
        width: 100%;
        justify-content: center;
    }

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

    .contact-floating-card {
        padding: 40px 25px;
    }

    .transmission-schema {
        flex-direction: column;
        gap: 25px;
        padding: 25px 15px;
    }

    .transmission-arrow {
        transform: rotate(90deg);
        padding: 15px 0;
    }

    .arrow-label {
        transform: rotate(-90deg);
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .patient-silhouette,
    .doctor-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .schema-label {
        font-size: 0.8rem;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   TRANSMISSION SCHEMA - Hero Visual
   ============================================ */
.transmission-schema {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.schema-patient,
.schema-destination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.patient-silhouette {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, rgba(166, 77, 121, 0.25), rgba(166, 77, 121, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bio-accent);
    position: relative;
    border: 2px solid rgba(166, 77, 121, 0.3);
}

.implant-location {
    position: absolute;
    top: 15px;
    right: -5px;
}

.implant-icon {
    width: 40px;
    height: 40px;
    background: var(--bio-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    box-shadow: 0 5px 20px var(--bio-coral-glow);
    position: relative;
    z-index: 2;
}

.implant-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid var(--bio-accent);
    border-radius: 12px;
    animation: implantPulseAnim 2s ease-out infinite;
}

@keyframes implantPulseAnim {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.schema-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 120px;
}

/* Arrow de transmission */
.transmission-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}

.arrow-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--bio-accent), rgba(232, 115, 156, 0.3));
    border-radius: 2px;
    position: relative;
}

.arrow-line::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left: 10px solid var(--bio-accent);
}

.signal-waves {
    display: flex;
    gap: 4px;
    align-items: center;
}

.signal-waves span {
    display: block;
    width: 3px;
    height: 12px;
    background: var(--bio-accent);
    border-radius: 2px;
    animation: signalPulse 1.5s ease-in-out infinite;
}

.signal-waves span:nth-child(1) { height: 8px; animation-delay: 0s; }
.signal-waves span:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.signal-waves span:nth-child(3) { height: 8px; animation-delay: 0.4s; }

@keyframes signalPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

.arrow-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.4;
}

/* Destination médecin */
.schema-destination {
    position: relative;
}

.doctor-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.alert-badge {
    position: absolute;
    top: -5px;
    right: 25px;
    width: 30px;
    height: 30px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 3px 15px rgba(245, 158, 11, 0.4);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   SCROLL ANIMATIONS (Added by JS)
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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