/* ============================================
   HOLTER IMPLANTABLE PAGE - STYLES
   Theme: Deep purple/teal with scanning animations
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --ht-primary: #8b5cf6;
    --ht-secondary: #06b6d4;
    --ht-accent: #10b981;
    --ht-dark: #0f172a;
    --ht-darker: #060d1f;
    --ht-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --ht-gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --ht-chip: #a78bfa;
    --ht-success: #10b981;
    --ht-warning: #f59e0b;
    --ht-danger: #ef4444;
    --ht-info: #3b82f6;
    --ht-glow: 0 0 30px rgba(139, 92, 246, 0.5);
    --ht-text: #e2e8f0;
    --ht-text-muted: #94a3b8;
}

/* ============================================
   GLOBAL
   ============================================ */
html {
    scroll-behavior: smooth;
}

body.holter-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--ht-darker);
    color: var(--ht-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container-ht {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   SIGNAL BACKGROUND
   ============================================ */
.signal-background-ht {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    overflow: hidden;
}

.signal-line-ht {
    position: absolute;
    width: 300%;
    height: 100px;
    top: 50%;
    transform: translateY(-50%);
    animation: signalScrollHt 10s linear infinite;
}

.signal-path-ht {
    fill: none;
    stroke: var(--ht-primary);
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px var(--ht-primary));
}

@keyframes signalScrollHt {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-50%) translateX(-66.66%); }
}

/* ============================================
   FLOATING SIGNAL DOTS
   ============================================ */
.floating-signals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.signal-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--ht-primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatSignalDot linear infinite;
}

.signal-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--ht-primary);
    animation: signalRing 2.5s ease-out infinite;
}

.signal-dot:nth-child(1) { left: 12%; animation-duration: 22s; animation-delay: 0s; }
.signal-dot:nth-child(2) { left: 32%; animation-duration: 26s; animation-delay: 3s; }
.signal-dot:nth-child(3) { left: 55%; animation-duration: 24s; animation-delay: 7s; }
.signal-dot:nth-child(4) { left: 72%; animation-duration: 28s; animation-delay: 1s; }
.signal-dot:nth-child(5) { left: 88%; animation-duration: 20s; animation-delay: 5s; }

@keyframes floatSignalDot {
    0% { bottom: -20px; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { bottom: 110%; opacity: 0; }
}

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

/* ============================================
   BACK NAVIGATION
   ============================================ */
.back-nav-ht {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    text-decoration: none;
    color: var(--ht-text);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-nav-ht:hover {
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    color: var(--ht-secondary);
}

.back-nav-ht i {
    transition: transform 0.3s ease;
}

.back-nav-ht:hover i {
    transform: translateX(-3px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.ht-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #060d1f 0%, #0d0a1f 50%, #0f172a 100%);
    overflow: hidden;
    padding: 60px 0;
}

.ht-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

.ht-hero-signals .ht-signal-wave {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.12);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: htSignalWave 5s ease-out infinite;
}

.ht-hero-signals .ht-signal-wave:nth-child(2) { animation-delay: 1.7s; border-color: rgba(6, 182, 212, 0.1); }
.ht-hero-signals .ht-signal-wave:nth-child(3) { animation-delay: 3.4s; }

@keyframes htSignalWave {
    0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.ht-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ht-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--ht-chip);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUpHt 0.8s ease-out;
}

.ht-hero-badge i {
    animation: chipScan 3s ease-in-out infinite;
}

@keyframes chipScan {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); color: var(--ht-secondary); }
}

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

.ht-hero-title {
    margin-bottom: 10px;
    animation: fadeInUpHt 0.8s ease-out 0.2s backwards;
}

.title-gradient-ht {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerHt 3s ease-in-out infinite;
    line-height: 1.2;
}

@keyframes shimmerHt {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ht-hero-subtitle {
    font-size: 1.3rem;
    color: var(--ht-chip);
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUpHt 0.8s ease-out 0.3s backwards;
}

.ht-hero-desc {
    font-size: 1.05rem;
    color: var(--ht-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUpHt 0.8s ease-out 0.4s backwards;
}

.ht-hero-stats {
    display: flex;
    gap: 30px;
    animation: fadeInUpHt 0.8s ease-out 0.5s backwards;
}

.ht-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    flex: 1;
}

.ht-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--ht-glow);
}

.ht-stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--ht-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ht-stat-suffix {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ht-secondary);
    margin-top: -5px;
}

.ht-stat-label {
    font-size: 0.8rem;
    color: var(--ht-text-muted);
    margin-top: 5px;
}

/* Hero Device Visual */
.ht-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUpHt 1s ease-out 0.6s backwards;
}

.ht-device-visual {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-scan-rings .ht-scan-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.15);
    animation: htScanRing 4s ease-out infinite;
}

.ht-scan-rings .ht-scan-ring:nth-child(2) { animation-delay: 1.3s; border-color: rgba(6, 182, 212, 0.12); }
.ht-scan-rings .ht-scan-ring:nth-child(3) { animation-delay: 2.6s; }

@keyframes htScanRing {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

.ht-chip-icon {
    width: 120px;
    height: 120px;
    background: var(--ht-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.4), 0 0 100px rgba(139, 92, 246, 0.2);
    animation: chipPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.ht-chip-icon i {
    font-size: 3rem;
    color: white;
}

@keyframes chipPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(139, 92, 246, 0.4), 0 0 100px rgba(139, 92, 246, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 70px rgba(139, 92, 246, 0.5), 0 0 120px rgba(6, 182, 212, 0.2); }
}

/* Scroll Indicator */
.ht-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUpHt 0.8s ease-out 1s backwards;
}

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

.ht-mouse-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: htScrollWheel 2s ease-in-out infinite;
}

@keyframes htScrollWheel {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.ht-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.ht-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    pointer-events: none;
}

.ht-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.ht-section-tag {
    display: inline-block;
    background: var(--ht-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.ht-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.ht-section-desc {
    font-size: 1.1rem;
    color: var(--ht-text-muted);
}

/* ============================================
   EXPLANATION CARDS
   ============================================ */
.ht-explanation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ht-explanation-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ht-explanation-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.ht-card-icon {
    width: 70px;
    height: 70px;
    background: var(--ht-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
    transition: all 0.4s ease;
}

.ht-explanation-card:hover .ht-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.ht-explanation-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.ht-explanation-card p {
    font-size: 0.95rem;
    color: var(--ht-text-muted);
    line-height: 1.7;
}

/* ============================================
   INDICATIONS
   ============================================ */
.ht-indications {
    background: linear-gradient(180deg, var(--ht-darker) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.ht-indications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.ht-indication-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
}

.ht-indication-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ht-indication-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ht-indication-icon-large {
    width: 60px;
    height: 60px;
    background: var(--ht-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.ht-indication-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--ht-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

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

.ht-indication-card p {
    font-size: 0.9rem;
    color: var(--ht-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.ht-indication-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.ht-indication-detail i {
    color: var(--ht-chip);
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.ht-indication-detail span {
    font-size: 0.82rem;
    color: var(--ht-text-muted);
    line-height: 1.6;
}

/* ============================================
   DEVICES
   ============================================ */
.ht-devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ht-device-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.ht-device-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ht-device-brand {
    display: inline-block;
    background: var(--ht-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.ht-device-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.ht-device-features {
    text-align: left;
}

.ht-device-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ht-device-feature:last-child {
    border-bottom: none;
}

.ht-device-feature i {
    color: var(--ht-success);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ht-device-feature span {
    font-size: 0.9rem;
    color: var(--ht-text-muted);
}

/* ============================================
   PROCEDURE TIMELINE
   ============================================ */
.ht-procedure {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, var(--ht-darker) 100%);
}

.ht-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.ht-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ht-primary), var(--ht-secondary));
    opacity: 0.3;
}

.ht-timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 24px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.ht-timeline-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
}

.ht-timeline-marker {
    position: absolute;
    left: -47px;
    top: 24px;
    width: 44px;
    height: 44px;
    background: var(--ht-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    z-index: 2;
}

.ht-timeline-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.ht-timeline-item p {
    font-size: 0.95rem;
    color: var(--ht-text-muted);
    line-height: 1.7;
}

/* ============================================
   AFTERCARE
   ============================================ */
.ht-aftercare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ht-aftercare-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
}

.ht-aftercare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ht-aftercare-card.good {
    border-color: rgba(16, 185, 129, 0.2);
}

.ht-aftercare-card.good:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.ht-aftercare-card.info {
    border-color: rgba(59, 130, 246, 0.2);
}

.ht-aftercare-card.info:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.ht-aftercare-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.ht-aftercare-card.good .ht-aftercare-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--ht-success);
}

.ht-aftercare-card.info .ht-aftercare-icon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--ht-info);
}

.ht-aftercare-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.ht-aftercare-card p {
    font-size: 0.9rem;
    color: var(--ht-text-muted);
    line-height: 1.7;
}

/* ============================================
   FOLLOW-UP
   ============================================ */
.ht-followup {
    background: linear-gradient(180deg, var(--ht-darker) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.ht-followup-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ht-followup-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.ht-followup-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
}

.ht-followup-item.highlight {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.ht-followup-period {
    background: var(--ht-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 800;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.ht-followup-item.highlight .ht-followup-period {
    -webkit-text-fill-color: unset;
    background: var(--ht-gradient);
    background-clip: unset;
    -webkit-background-clip: unset;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.ht-followup-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.ht-followup-content p {
    font-size: 0.9rem;
    color: var(--ht-text-muted);
    line-height: 1.7;
}

.ht-followup-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--ht-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ht-followup-link:hover {
    gap: 12px;
    color: white;
}

/* ============================================
   FAQ
   ============================================ */
.ht-faq {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, var(--ht-darker) 100%);
}

.ht-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ht-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ht-faq-item:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

.ht-faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ht-faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.ht-faq-icon {
    width: 42px;
    height: 42px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ht-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ht-faq-question h4 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.ht-faq-arrow {
    color: var(--ht-text-muted);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.ht-faq-item.active .ht-faq-arrow {
    transform: rotate(180deg);
    color: var(--ht-primary);
}

.ht-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.ht-faq-item.active .ht-faq-answer {
    max-height: 500px;
    padding: 0 24px 24px 82px;
}

.ht-faq-answer p {
    font-size: 0.95rem;
    color: var(--ht-text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.ht-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.ht-cta {
    padding: 80px 0;
}

.ht-cta-content {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.04));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.ht-cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ht-cta-icon {
    width: 70px;
    height: 70px;
    background: var(--ht-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    animation: htPulseGlow 3s ease-in-out infinite;
}

@keyframes htPulseGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 60px rgba(139, 92, 246, 0.6), 0 0 100px rgba(6, 182, 212, 0.2); }
}

.ht-cta-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
}

.ht-cta-content p {
    font-size: 1.05rem;
    color: var(--ht-text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    position: relative;
}

.ht-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ht-gradient);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    position: relative;
}

.ht-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.ht-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.ht-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ht-footer-content p {
    color: var(--ht-text-muted);
    font-size: 0.85rem;
}

.ht-footer-webduo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ht-footer-webduo span {
    color: var(--ht-text-muted);
    font-size: 0.85rem;
}

.ht-webduo-link {
    display: flex;
    align-items: center;
}

.ht-webduo-logo {
    height: 25px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ht-webduo-logo:hover {
    opacity: 1;
}

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

    .ht-hero-right {
        display: none;
    }

    .ht-hero-stats {
        justify-content: center;
    }

    .title-gradient-ht {
        font-size: 2.8rem;
    }

    .ht-explanation-grid,
    .ht-devices-grid {
        grid-template-columns: 1fr;
    }

    .ht-indications-grid {
        grid-template-columns: 1fr;
    }

    .ht-aftercare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container-ht {
        padding: 0 20px;
    }

    .ht-section {
        padding: 60px 0;
    }

    .ht-section-title {
        font-size: 1.8rem;
    }

    .title-gradient-ht {
        font-size: 2.2rem;
    }

    .ht-hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .ht-hero-desc {
        font-size: 0.95rem;
    }

    .ht-timeline {
        padding-left: 50px;
    }

    .ht-timeline-marker {
        left: -40px;
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .back-nav-ht {
        top: 15px;
        left: 15px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .ht-footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ht-faq-item.active .ht-faq-answer {
        padding-left: 24px;
    }

    .ht-cta-content {
        padding: 40px 24px;
    }

    .ht-cta-content h2 {
        font-size: 1.4rem;
    }
}
