/* ============================================
   MEDTRONIC MYCARELINK RELAY - INNOVATIVE STYLES
   ============================================ */

/* Medtronic Brand Colors */
:root {
    --medtronic-blue: #00A3E0;
    --medtronic-dark: #005DAA;
    --medtronic-navy: #0F2B46;
    --medtronic-green: #4CAF50;
    --medtronic-light: #E8F4FC;
    --gradient-medtronic: linear-gradient(135deg, #00A3E0 0%, #005DAA 100%);
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.medtronic-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #102a43 50%, #0f2b46 100%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 163, 224, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 163, 224, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-particles {
    position: absolute;
    inset: 0;
}

.floating-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--medtronic-blue);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 15s infinite;
}

.floating-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-particles span:nth-child(2) { left: 20%; animation-delay: 1.5s; }
.floating-particles span:nth-child(3) { left: 30%; animation-delay: 3s; }
.floating-particles span:nth-child(4) { left: 40%; animation-delay: 4.5s; }
.floating-particles span:nth-child(5) { left: 50%; animation-delay: 6s; }
.floating-particles span:nth-child(6) { left: 60%; animation-delay: 7.5s; }
.floating-particles span:nth-child(7) { left: 70%; animation-delay: 9s; }
.floating-particles span:nth-child(8) { left: 80%; animation-delay: 10.5s; }
.floating-particles span:nth-child(9) { left: 90%; animation-delay: 12s; }
.floating-particles span:nth-child(10) { left: 95%; animation-delay: 13.5s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.medtronic-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

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

.hero-text {
    position: relative;
    z-index: 2;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.brand-logo-small {
    height: 24px;
    width: auto;
}

.brand-pill span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.medtronic-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 10px;
}

.medtronic-hero h1 .tm {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--medtronic-blue);
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--medtronic-blue);
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Hero Features Pills */
.hero-features {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 163, 224, 0.1);
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 163, 224, 0.3);
}

.feature-icon-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-medtronic);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-mini i {
    font-size: 0.75rem;
    color: white;
}

.hero-feature span {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Hero Hotline */
.hero-hotline {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: fit-content;
}

.hotline-badge {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: var(--gradient-medtronic);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotline-badge i {
    font-size: 1.5rem;
    color: white;
}

.hotline-details {
    display: flex;
    flex-direction: column;
}

.hotline-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hotline-phone {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.hotline-phone:hover {
    color: var(--medtronic-blue);
}

.hotline-meta {
    font-size: 0.8rem;
    color: #4CAF50;
    margin-top: 3px;
}

/* ============================================
   3D DEVICE VISUAL
   ============================================ */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-3d-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.device-glow-ring {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

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

.device-3d {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-body {
    width: 280px;
    height: 280px;
    position: relative;
}

.device-top {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1),
        inset 0 5px 20px rgba(255, 255, 255, 0.8);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Device Ring Animation */
.device-ring {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 8px solid transparent;
    overflow: hidden;
}

.device-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 8px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5), 0 0 40px rgba(76, 175, 80, 0.3);
    animation: ringGlow 2s ease-in-out infinite;
}

@keyframes ringGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 30px rgba(76, 175, 80, 0.7), 0 0 60px rgba(76, 175, 80, 0.5); }
}

.device-button {
    width: 160px;
    height: 160px;
    background: linear-gradient(145deg, #f0f2f5, #d9dce0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 -3px 10px rgba(0, 0, 0, 0.1),
        inset 0 3px 10px rgba(255, 255, 255, 0.8),
        0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.device-button:hover {
    transform: scale(0.98);
}

.medtronic-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--medtronic-dark);
    letter-spacing: 1px;
}

.progress-bar {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-segments {
    display: flex;
    gap: 4px;
    padding: 3px;
    height: 100%;
}

.progress-segments span {
    flex: 1;
    background: var(--medtronic-green);
    border-radius: 3px;
    animation: segmentFill 3s ease-in-out infinite;
}

.progress-segments span:nth-child(1) { animation-delay: 0s; }
.progress-segments span:nth-child(2) { animation-delay: 0.5s; }
.progress-segments span:nth-child(3) { animation-delay: 1s; }
.progress-segments span:nth-child(4) { animation-delay: 1.5s; }
.progress-segments span:nth-child(5) { animation-delay: 2s; }

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

.device-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
}

/* Signal Waves */
.signal-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.signal-waves .wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border: 2px solid var(--medtronic-blue);
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 3s ease-out infinite;
}

.signal-waves .wave:nth-child(2) { animation-delay: 1s; }
.signal-waves .wave:nth-child(3) { animation-delay: 2s; }

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

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow i {
    color: var(--medtronic-blue);
    font-size: 1.2rem;
}

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

/* ============================================
   QUICK STATS SECTION
   ============================================ */
.quick-stats {
    background: white;
    padding: 60px 0;
    position: relative;
    z-index: 10;
    margin-top: -60px;
    border-radius: 30px 30px 0 0;
}

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

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 163, 224, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-medtronic);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--medtronic-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

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

.section-intro.light {
    color: white;
}

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

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

.section-intro.light h2 {
    color: white;
}

.section-intro p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-intro.light p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    padding: 100px 0;
    background: white;
}

.benefits-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.benefit-card {
    background: var(--bg);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--medtronic-blue);
    box-shadow: 0 20px 50px rgba(0, 163, 224, 0.15);
}

.benefit-card.benefit-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    background: var(--gradient-medtronic);
    color: white;
}

.benefit-card.benefit-large:hover {
    border-color: white;
}

.benefit-icon-3d {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.benefit-icon-3d i {
    font-size: 2.5rem;
    color: white;
}

.benefit-icon-3d.small {
    width: 70px;
    height: 70px;
    background: var(--gradient-medtronic);
    margin-bottom: 20px;
}

.benefit-icon-3d.small i {
    font-size: 1.8rem;
}

.benefit-card.benefit-large h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.benefit-card.benefit-large p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

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

/* ============================================
   ANATOMY SECTION
   ============================================ */
.anatomy-section {
    padding: 100px 0;
    background: linear-gradient(180deg, white 0%, var(--bg) 100%);
}

.anatomy-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Layout en grille : légendes - boîtier - légendes */
.anatomy-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.anatomy-center {
    grid-column: 2;
    grid-row: 1 / 3;
}

.anatomy-3d {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    position: relative;
}

.anatomy-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.2),
        inset 0 -5px 20px rgba(0, 0, 0, 0.1),
        inset 0 5px 20px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.anatomy-ring {
    position: absolute;
    inset: 20px;
    border: 8px solid var(--medtronic-green);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.anatomy-button-area {
    width: 140px;
    height: 140px;
    background: linear-gradient(145deg, #f0f2f5, #d9dce0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.anatomy-button-area span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--medtronic-dark);
}

.anatomy-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Légendes avec lignes et points */
.anatomy-label {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Positions dans la grille */
.anatomy-label.left-top {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
}

.anatomy-label.left-bottom {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
}

.anatomy-label.right-top {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
}

.anatomy-label.right-bottom {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
}

/* Contenu de la légende */
.label-content {
    background: white;
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 200px;
    transition: all 0.3s ease;
}

.anatomy-label:hover .label-content {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 163, 224, 0.15);
}

.label-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.label-content p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Ligne connectrice */
.label-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--medtronic-blue), rgba(0, 163, 224, 0.3));
    flex-shrink: 0;
}

.anatomy-label.left-top .label-line,
.anatomy-label.left-bottom .label-line {
    background: linear-gradient(90deg, rgba(0, 163, 224, 0.3), var(--medtronic-blue));
}

/* Point au bout de la ligne */
.label-dot {
    width: 14px;
    height: 14px;
    background: var(--medtronic-blue);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 163, 224, 0.6);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 163, 224, 0.6); }
    50% { box-shadow: 0 0 25px rgba(0, 163, 224, 0.9), 0 0 35px rgba(0, 163, 224, 0.4); }
}

/* ============================================
   INSTALLATION SECTION
   ============================================ */
.installation-section {
    padding: 100px 0;
    background: white;
}

.installation-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-track {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--medtronic-blue) 0%, var(--medtronic-green) 100%);
    border-radius: 2px;
}

.timeline-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-marker {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-medtronic);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.3);
}

.step-marker span {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.step-marker.success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.step-marker.success i {
    font-size: 1.8rem;
    color: white;
}

.step-card {
    flex: 1;
    background: var(--bg);
    border-radius: 24px;
    padding: 35px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: start;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-card.success-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--medtronic-blue);
}

.success-card .step-icon i {
    color: var(--medtronic-green);
}

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

.step-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.step-tip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 163, 224, 0.1);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--medtronic-dark);
}

.step-tip i {
    color: var(--medtronic-blue);
}

.step-tip.warning {
    background: rgba(255, 152, 0, 0.1);
    color: #E65100;
}

.step-tip.warning i {
    color: #FF9800;
}

.step-visual {
    display: flex;
    align-items: center;
}

.distance-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-radius: 16px;
}

.bed-icon, .monitor-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bed-icon {
    background: rgba(0, 163, 224, 0.1);
}

.bed-icon i {
    color: var(--medtronic-blue);
}

.monitor-icon {
    background: var(--gradient-medtronic);
}

.monitor-icon i {
    color: white;
}

.distance-line {
    width: 40px;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--medtronic-blue) 0px,
        var(--medtronic-blue) 5px,
        transparent 5px,
        transparent 10px
    );
}

.distance-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--medtronic-dark);
    background: rgba(0, 163, 224, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
}

.config-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.config-bar {
    width: 150px;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.config-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-medtronic);
    border-radius: 5px;
    animation: configFill 3s ease-in-out infinite;
}

@keyframes configFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.config-progress span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ============================================
   LED SECTION
   ============================================ */
.led-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #102a43 100%);
}

.led-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.led-demo {
    position: sticky;
    top: 120px;
}

.demo-device {
    width: 250px;
    height: 250px;
    margin: 0 auto 40px;
    position: relative;
}

.demo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.demo-ring::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 6px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    transition: all 0.5s ease;
}

.demo-ring.orange::before {
    border-color: #FF9800;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
}

.demo-ring.red::before {
    border-color: #F44336;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

.demo-ring.rotating::before {
    animation: ringRotate 2s linear infinite;
}

.demo-ring.blink3::before {
    animation: blink3 2s ease-in-out infinite;
}

@keyframes ringRotate {
    0% { clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%); }
    25% { clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 0% 100%, 0% 0%, 100% 0%, 100% 50%); }
    50% { clip-path: polygon(50% 50%, 50% 100%, 0% 100%, 0% 0%, 100% 0%, 100% 100%, 50% 100%); }
    75% { clip-path: polygon(50% 50%, 0% 50%, 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 50%); }
    100% { clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%); }
}

.demo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: linear-gradient(145deg, #f0f2f5, #d9dce0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.1);
}

.demo-center span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--medtronic-dark);
}

.led-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.led-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
}

.led-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.led-btn.active {
    border-color: var(--medtronic-blue);
    background: rgba(0, 163, 224, 0.1);
}

.led-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.led-dot.green { background: #4CAF50; box-shadow: 0 0 10px #4CAF50; }
.led-dot.orange { background: #FF9800; box-shadow: 0 0 10px #FF9800; }
.led-dot.red { background: #F44336; box-shadow: 0 0 10px #F44336; }

.led-dot.blink {
    animation: ledBlink 1s ease-in-out infinite;
}

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

/* LED Explanations */
.led-explanations {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.led-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    display: none;
}

.led-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.led-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.led-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.led-indicator.green { background: #4CAF50; box-shadow: 0 0 15px #4CAF50; }
.led-indicator.orange { background: #FF9800; box-shadow: 0 0 15px #FF9800; }
.led-indicator.red { background: #F44336; box-shadow: 0 0 15px #F44336; }

.led-indicator.rotating {
    animation: indicatorRotate 2s linear infinite;
}

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

.led-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    flex: 1;
}

.led-status {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.led-status.success { background: rgba(76, 175, 80, 0.2); color: #4CAF50; }
.led-status.info { background: rgba(0, 163, 224, 0.2); color: var(--medtronic-blue); }
.led-status.warning { background: rgba(255, 152, 0, 0.2); color: #FF9800; }
.led-status.error { background: rgba(244, 67, 54, 0.2); color: #F44336; }

.led-card > p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.led-note, .led-action {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(0, 163, 224, 0.1);
    border-radius: 12px;
}

.led-note i { color: var(--medtronic-blue); margin-top: 3px; }
.led-note span { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; line-height: 1.6; }

.led-action { background: rgba(255, 152, 0, 0.1); }
.led-action i { color: #FF9800; margin-top: 3px; }
.led-action span { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; line-height: 1.6; }

.led-action.error { background: rgba(244, 67, 54, 0.1); }
.led-action.error i { color: #F44336; }

/* ============================================
   TRANSMISSION SECTION
   ============================================ */
.transmission-section {
    padding: 100px 0;
    background: white;
}

.transmission-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
    font-weight: 600;
}

.tab-btn:hover {
    background: white;
    border-color: var(--medtronic-blue);
    color: var(--medtronic-blue);
}

.tab-btn.active {
    background: var(--gradient-medtronic);
    color: white;
    border-color: transparent;
}

.tab-btn i {
    font-size: 1.1rem;
}

.tab-content {
    display: none;
    animation: tabFade 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

/* Auto Transmission Content */
.transmission-visual {
    background: var(--bg);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
}

.visual-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.timeline-night {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #1a237e, #283593);
    padding: 15px 30px;
    border-radius: 50px;
}

.moon-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moon-icon i {
    color: #FDD835;
    font-size: 1.2rem;
}

.time-range {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-icon.heart { background: linear-gradient(135deg, #e91e63, #c2185b); }
.flow-icon.monitor { background: var(--gradient-medtronic); }
.flow-icon.cloud { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
.flow-icon.doctor { background: linear-gradient(135deg, #4CAF50, #2E7D32); }

.flow-icon i {
    font-size: 1.5rem;
    color: white;
}

.flow-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

.flow-arrow {
    color: var(--medtronic-blue);
    font-size: 1.2rem;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
}

.transmission-info {
    text-align: center;
}

.transmission-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.transmission-info p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.info-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 500;
}

.info-list i {
    color: var(--medtronic-green);
}

/* Manual Transmission Content */
.manual-steps {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.manual-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: 30px;
    background: var(--bg);
    border-radius: 24px;
    position: relative;
}

.manual-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--gradient-medtronic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.manual-visual {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.button-press {
    position: relative;
    width: 70px;
    height: 70px;
    background: var(--gradient-medtronic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-press i {
    color: white;
    font-size: 1.5rem;
}

.press-ring {
    position: absolute;
    inset: -10px;
    border: 3px solid var(--medtronic-blue);
    border-radius: 50%;
    animation: pressRing 1.5s ease-out infinite;
}

@keyframes pressRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.progress-animation {
    width: 100%;
    height: 15px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.prog-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-medtronic);
    border-radius: 10px;
    animation: progFill 2s ease-in-out infinite;
}

@keyframes progFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.success-check {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-check i {
    color: white;
    font-size: 2rem;
}

.manual-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.manual-text p {
    font-size: 0.9rem;
    color: var(--gray);
}

.manual-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 163, 224, 0.1);
    padding: 20px;
    border-radius: 16px;
}

.manual-note i {
    color: var(--medtronic-blue);
    font-size: 1.2rem;
}

.manual-note p {
    color: var(--dark);
    margin: 0;
}

/* Alert Content */
.alert-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(244, 67, 54, 0.1));
    border-radius: 24px;
    border: 2px solid rgba(255, 152, 0, 0.3);
}

.alert-visual {
    display: flex;
    justify-content: center;
}

.alert-pulse {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FF9800, #F44336);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(255, 152, 0, 0); }
}

.alert-pulse i {
    color: white;
    font-size: 3rem;
}

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

.alert-content > p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.alert-examples {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.alert-example {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.alert-example i {
    color: #FF9800;
}

.alert-example span {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}

.alert-note {
    color: var(--gray);
    font-style: italic;
}

/* ============================================
   NEW TRANSMISSION SECTION - Modern Cards
   ============================================ */
.transmission-section-new {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e8f4fc 100%);
}

.transmission-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trans-card {
    background: white;
    border-radius: 28px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.trans-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 28px 28px 0 0;
}

.trans-card.trans-auto::before {
    background: linear-gradient(90deg, #1a237e, #3f51b5);
}

.trans-card.trans-manual::before {
    background: var(--gradient-medtronic);
}

.trans-card.trans-alert::before {
    background: linear-gradient(90deg, #FF9800, #F44336);
}

.trans-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.trans-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.trans-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
}

.trans-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: iconRingSpin 8s linear infinite;
}

.trans-auto .trans-icon-ring {
    border-color: rgba(26, 35, 126, 0.2);
    border-top-color: #1a237e;
}

.trans-manual .trans-icon-ring {
    border-color: rgba(0, 163, 224, 0.2);
    border-top-color: var(--medtronic-blue);
}

.trans-alert .trans-icon-ring {
    border-color: rgba(255, 152, 0, 0.2);
    border-top-color: #FF9800;
}

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

.trans-icon {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
}

.trans-auto .trans-icon {
    background: linear-gradient(135deg, #1a237e, #3f51b5);
}

.trans-manual .trans-icon {
    background: var(--gradient-medtronic);
}

.trans-alert .trans-icon {
    background: linear-gradient(135deg, #FF9800, #F44336);
}

.trans-badge {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--gray);
}

.trans-badge.urgent {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.trans-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.trans-desc {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Flow Schema - Auto Transmission */
.trans-flow-schema {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 15px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05), rgba(63, 81, 181, 0.05));
    border-radius: 20px;
    margin-bottom: 25px;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flow-node-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.flow-node-icon.heart-icon {
    background: linear-gradient(135deg, #e91e63, #c2185b);
}

.flow-node-icon.monitor-icon {
    background: var(--gradient-medtronic);
}

.flow-node-icon.doctor-icon {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.flow-node span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark);
}

.flow-connector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--medtronic-blue);
    animation: flowDotPulse 1.5s ease-in-out infinite;
}

.flow-dot:nth-child(1) { animation-delay: 0s; }
.flow-dot:nth-child(2) { animation-delay: 0.2s; }
.flow-dot:nth-child(3) { animation-delay: 0.4s; }

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

.trans-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trans-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.trans-features li i {
    color: var(--medtronic-green);
    font-size: 1rem;
}

/* Manual Process */
.manual-process {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    margin-bottom: 20px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-medtronic);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-circle.success {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.step-detail {
    text-align: center;
}

.step-visual {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.step-detail p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
    font-weight: 500;
}

.button-anim {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--gradient-medtronic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.btn-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--medtronic-blue);
    animation: btnPulseAnim 1.5s ease-out infinite;
}

@keyframes btnPulseAnim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.loading-bar {
    width: 70px;
    height: 10px;
    background: rgba(0, 163, 224, 0.15);
    border-radius: 5px;
    overflow: hidden;
}

.loading-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-medtronic);
    border-radius: 5px;
    animation: loadingFillAnim 2.5s ease-in-out infinite;
}

@keyframes loadingFillAnim {
    0% { width: 0%; }
    100% { width: 100%; }
}

.success-anim {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: successBounce 1s ease infinite;
}

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

.process-arrow {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 45px;
}

.trans-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 163, 224, 0.08);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--medtronic-blue);
    font-weight: 500;
}

.trans-note i {
    font-size: 1rem;
}

/* Alert Types Grid */
.alert-types-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.alert-type-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    background: rgba(255, 152, 0, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.alert-type-item:hover {
    background: rgba(255, 152, 0, 0.12);
    transform: translateX(5px);
}

.alert-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.alert-type-icon.critical {
    background: linear-gradient(135deg, #F44336, #C62828);
}

.alert-type-icon.warning {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.alert-type-icon.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.alert-type-item span {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.alert-result {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.alert-result-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-result p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.5;
}

/* Responsive pour la nouvelle section transmission */
@media (max-width: 1024px) {
    .transmission-cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .trans-flow-schema {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .flow-connector {
        transform: rotate(90deg);
    }

    .manual-process {
        flex-direction: column;
        gap: 20px;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin-top: 0;
    }
}

/* ============================================
   WIFI SECTION
   ============================================ */
.wifi-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #102a43 100%);
}

.wifi-setup {
    max-width: 700px;
    margin: 0 auto;
}

.wifi-note {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(0, 163, 224, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 163, 224, 0.3);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.wifi-note .note-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-medtronic);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wifi-note .note-icon i {
    color: white;
    font-size: 1.3rem;
}

.wifi-note .note-content strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.wifi-note .note-content p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.wifi-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wifi-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.wifi-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.wifi-step.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.wifi-step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-medtronic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.wifi-step.success .wifi-step-number {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.wifi-step-content h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.wifi-step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.wifi-step-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--medtronic-blue);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: white;
}

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

.faq-categories {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.faq-cat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
    font-weight: 600;
}

.faq-cat-btn:hover {
    background: white;
    border-color: var(--medtronic-blue);
    color: var(--medtronic-blue);
}

.faq-cat-btn.active {
    background: var(--gradient-medtronic);
    color: white;
    border-color: transparent;
}

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

.faq-item {
    background: var(--bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    padding-right: 20px;
}

.faq-question i {
    color: var(--medtronic-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

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

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

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

/* ============================================
   TROUBLESHOOTING SECTION
   ============================================ */
.troubleshooting-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #102a43 100%);
}

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

.trouble-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.trouble-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.trouble-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.trouble-icon.orange { background: linear-gradient(135deg, #FF9800, #F57C00); }
.trouble-icon.red { background: linear-gradient(135deg, #F44336, #D32F2F); }
.trouble-icon.gray { background: linear-gradient(135deg, #607D8B, #455A64); }
.trouble-icon.blue { background: var(--gradient-medtronic); }

.trouble-icon i {
    color: white;
    font-size: 1.5rem;
}

.trouble-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trouble-card > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.trouble-solution {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.trouble-solution h4 {
    color: var(--medtronic-blue);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.trouble-solution ol {
    padding-left: 20px;
    margin: 0;
}

.trouble-solution li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
}

.trouble-solution > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
    background: var(--gradient-medtronic);
    border-radius: 30px;
    padding: 60px 80px;
    box-shadow: 0 30px 80px rgba(0, 163, 224, 0.3);
}

.contact-visual {
    display: flex;
    justify-content: center;
}

.contact-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
}

.contact-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: contactPulse 2s ease-out infinite;
}

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

.contact-icon {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 3rem;
    color: var(--medtronic-blue);
}

.contact-content h2 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-phone {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 20px 35px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-phone:hover {
    transform: scale(1.05);
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--medtronic-dark);
}

.phone-meta {
    font-size: 0.85rem;
    color: #4CAF50;
    font-weight: 600;
}

.contact-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.contact-hours i {
    font-size: 1.2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.medtronic-footer {
    background: #0a1628;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-links a {
    color: var(--medtronic-blue);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

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

/* ============================================
   SECURITY & DATA FLOW SECTION
   ============================================ */
.security-flow-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 30, 60, 0.95) 0%, rgba(0, 15, 35, 0.98) 100%);
    position: relative;
}

.security-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.security-card {
    background: rgba(0, 163, 224, 0.05);
    border: 1px solid rgba(0, 163, 224, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    background: rgba(0, 163, 224, 0.1);
    border-color: rgba(0, 163, 224, 0.3);
    transform: translateY(-5px);
}

.security-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--medtronic-blue), var(--medtronic-dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    color: white;
}

.security-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

.security-card p strong {
    color: var(--medtronic-blue);
}

/* ============================================
   WARNING SECTION
   ============================================ */
.warning-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(30, 10, 0, 0.95) 0%, rgba(15, 5, 0, 0.98) 100%);
}

.warning-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background: rgba(255, 152, 0, 0.08);
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
}

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

.warning-content h2 {
    color: #ff9800;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.warning-main {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.warning-main strong {
    color: #ff9800;
}

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

.warning-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.warning-action i {
    color: #ff9800;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.warning-action strong {
    color: white;
}

/* LED blink3 indicator */
.led-indicator.blink3 {
    animation: blink3 2s ease-in-out infinite;
}

@keyframes blink3 {
    0%, 100% { opacity: 1; }
    10% { opacity: 0.2; }
    20% { opacity: 1; }
    30% { opacity: 0.2; }
    40% { opacity: 1; }
    50% { opacity: 0.2; }
    60% { opacity: 1; }
}

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

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

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

    .hero-hotline {
        margin: 0 auto;
    }

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

    .device-3d-container {
        width: 350px;
        height: 350px;
    }

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

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

    .benefit-card.benefit-large {
        grid-column: 1;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .led-showcase {
        grid-template-columns: 1fr;
    }

    .led-demo {
        position: static;
    }

    .alert-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 50px 40px;
    }

    .contact-details {
        justify-content: center;
    }

    .security-flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

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

    .medtronic-hero h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .device-3d-container {
        width: 280px;
        height: 280px;
    }

    .device-body {
        width: 220px;
        height: 220px;
    }

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

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

    .anatomy-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 25px;
        padding: 0 20px;
    }

    .anatomy-center {
        grid-column: 1;
        grid-row: 1;
        order: 0;
    }

    .anatomy-3d {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .anatomy-label {
        justify-self: center !important;
        flex-direction: column;
        gap: 10px;
    }

    .anatomy-label.left-top { order: 1; }
    .anatomy-label.right-top { order: 2; }
    .anatomy-label.left-bottom { order: 3; }
    .anatomy-label.right-bottom { order: 4; }

    .label-line {
        width: 3px;
        height: 25px;
        background: linear-gradient(180deg, var(--medtronic-blue), rgba(0, 163, 224, 0.3)) !important;
    }

    .label-content {
        max-width: 280px;
        text-align: center;
    }

    .timeline-track {
        left: 20px;
    }

    .step-marker {
        width: 50px;
        height: 50px;
    }

    .step-marker span {
        font-size: 1.2rem;
    }

    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-icon {
        margin: 0 auto 15px;
    }

    .step-visual {
        justify-content: center;
    }

    .led-selector {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .manual-steps {
        flex-direction: column;
        align-items: center;
    }

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

    .faq-categories {
        flex-direction: column;
        align-items: center;
    }

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