/* ═══════════════════════════════════════════════════
   Intellixis Pro - Complete Design System
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
    --primary: #00F2FF;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --primary-dark: #00bfcc;
    --bg: #020617;
    --bg-alt: #0F172A;
    --card-bg: rgba(16, 25, 44, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(0, 242, 255, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent: #FF6B6B;
    --section-padding: 100px 5%;
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ── Utility Classes ── */
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.center { align-items: center; justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.mt-4 { margin-top: 1rem; }
.btn-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}
.btn-icon:hover { border-color: var(--primary); color: var(--primary); }
/* Mobile elements hidden by default on desktop */
#menu-toggle, #mobile-menu, .mobile-only { display: none !important; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; }
.text-primary { color: var(--primary) !important; }
.w-full { width: 100%; }
.opacity-60 { opacity: 0.6; }

section { padding: var(--section-padding); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

/* ── Glassmorphism ── */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.08);
}

/* ── Buttons ── */
.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    border: none;
    white-space: nowrap;
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

.btn-primary {
    background-color: var(--primary);
    color: var(--bg);
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(255, 107, 107, 0.5);
}

.btn-full {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

/* ── Pulse Animation ── */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* ── Pulsing Status Dot ── */
.pulsing, .status-dot {
    width: 10px;
    height: 10px;
    background: #22C55E;
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ── Scroll-triggered Fade ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1001;
    width: 0%;
    transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
#main-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#main-nav .logo {
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
#main-nav .logo img { border-radius: 8px; }
#main-nav .logo > span { letter-spacing: 1px; }
#main-nav .logo > span span { color: var(--primary); }

.hero-content h1 {
    animation: heroFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-content p {
    animation: heroFadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    opacity: 0;
}
.hero-ctas {
    animation: heroFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    opacity: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
}

/* Neural Mesh Background */
.neural-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at 30% 40%, rgba(0, 242, 255, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(0, 242, 255, 0.03) 0%, transparent 50%),
                var(--bg);
    overflow: hidden;
}

.mesh-svg {
    opacity: 0.12;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

#hero-title {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -1px;
}

#typewriter {
    color: var(--primary);
    min-height: 1.2em;
    display: inline-block;
    border-right: 3px solid var(--primary);
    padding-right: 5px;
    text-shadow: 0 0 20px var(--primary-glow);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-ctas {
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Trust Micro Bar */
.trust-micro {
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.trust-micro span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 420px;
}

.floating-cards .card {
    position: absolute;
    width: 280px;
    padding: 18px 22px;
    font-size: 0.9rem;
    z-index: 10;
}

.card-1 { top: 5%; left: 0; }
.card-2 { top: 38%; right: 0; z-index: 12 !important; }
.card-3 { bottom: 5%; left: 5%; }

.float-anim { animation: floating 6s ease-in-out infinite; }
.delay-1   { animation-delay: 1s; }
.delay-2   { animation-delay: 2s; }

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

/* Chatbot UI Mini */
.chatbot-ui { font-size: 0.85rem; }
.chatbot-ui .msg {
    padding: 8px 14px;
    border-radius: 12px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.05);
    max-width: 90%;
}
.chatbot-ui .msg.reply {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    margin-left: auto;
}

/* Live Counter */
.live-counter {
    margin-top: 3rem;
    padding: 18px 30px;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
}

#doctor-count {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   TRUST BAR CAROUSEL
   ═══════════════════════════════════════════════════ */
#trust-bar {
    background: rgba(0,0,0,0.3);
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.specialty-carousel { overflow: hidden; }

.carousel-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.carousel-track span {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.25;
    transition: 0.3s;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.carousel-track span:hover { opacity: 1; color: var(--primary); }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════
   SEO COMPARISON SLIDER
   ═══════════════════════════════════════════════════ */
#seo-comparison { background: var(--bg-alt); }

.comparison-wrapper {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 16px;
}

.comparison-before, .comparison-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.comparison-before {
    background: linear-gradient(135deg, #1a1020 0%, #1a1a2e 100%);
}

.comparison-before .mockup-content { color: #aaa; }
.comparison-before .stat { color: #EF4444; }

.comparison-after {
    background: linear-gradient(135deg, #0a2e1a 0%, #0F172A 100%);
    clip-path: inset(0 0 0 50%);
}

.mockup-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.mockup-content .stat { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }

.bad-list li, .good-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.bad-list li { color: #EF4444; }
.bad-list li svg { color: #EF4444; width: 20px; height: 20px; flex-shrink: 0; }
.good-list li { color: #22C55E; }
.good-list li svg { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; }

.slider-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--primary);
    z-index: 20;
    cursor: ew-resize;
    box-shadow: 0 0 15px var(--primary-glow);
}

.handle-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    box-shadow: 0 0 20px var(--primary-glow);
    transition: transform 0.2s;
}
.handle-circle:hover { transform: translate(-50%, -50%) scale(1.15); }

/* ═══════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════ */
#features { background: var(--bg); }

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    opacity: 1 !important; /* Ensure visible even without GSAP */
}

.feature-card i,
.feature-card svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.1);
}

.feature-card:hover i,
.feature-card:hover svg {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

/* ═══════════════════════════════════════════════════
   DASHBOARD PREVIEW
   ═══════════════════════════════════════════════════ */
#dashboard {
    background: var(--bg-alt);
}

.dashboard-perspective {
    transform: perspective(1200px) rotateX(4deg);
    padding: 0;
    overflow: hidden;
}

.dashboard-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.dashboard-tabs button {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
}

.dashboard-tabs button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    box-shadow: 0 2px 12px var(--primary-glow);
}

.dashboard-tabs button:hover { color: var(--primary); }

.dashboard-content {
    padding: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-widget {
    padding: 1.5rem;
    text-align: center;
}

.stat-widget small {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-widget .val {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════ */
#pricing { background: var(--bg); }

.price-toggle {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.badge {
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 56px; height: 30px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155;
    transition: .4s;
    border-radius: 30px;
}
.slider:before {
    position: absolute; content: "";
    height: 22px; width: 22px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(26px); }

/* Pricing Grid */
.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.price-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.1);
}

.ribbon {
    position: absolute;
    top: 16px; right: 0;
    background: var(--primary);
    color: var(--bg);
    padding: 4px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px 0 0 4px;
    letter-spacing: 0.5px;
}

.price-card h3 {
    font-size: 1.3rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price .curr {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.7;
}

.price .val {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.price .freq {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.price-features {
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.price-features li i,
.price-features li svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.price-features li.missing {
    opacity: 0.35;
}
.price-features li.missing i,
.price-features li.missing svg {
    color: #EF4444;
}

.pricing-foot {
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 480px;
    width: 90%;
    padding: 3rem;
    position: relative;
    border-color: var(--primary);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.close-modal {
    position: absolute;
    top: 18px; right: 18px;
    background: none; border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}
.close-modal:hover { color: #fff; }

.benefits span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.glass-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    color-scheme: dark;
}
.glass-input option {
    background: #0f172a !important;
    color: #fff !important;
}
select.glass-input option:checked,
select.glass-input option:hover {
    background: var(--primary) !important;
    color: #000 !important;
}
.glass-input:focus { border-color: var(--primary); }

/* ═══════════════════════════════════════════════════
   ACTIVITY FEED (TOASTS)
   ═══════════════════════════════════════════════════ */
#activity-feed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    max-width: 350px;
}

.toast {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 14px 22px;
    border-radius: 50px;
    border: 1px solid var(--border-hover);
    margin-bottom: 10px;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInLeft 0.5s forwards, fadeOut 0.5s 4.5s forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-120%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(10px); }
}

/* ═══════════════════════════════════════════════════
   STICKY BOTTOM BAR (mobile)
   ═══════════════════════════════════════════════════ */
#sticky-bottom {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    padding: 12px 20px;
    z-index: 1000;
    display: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .price-card.popular { transform: none; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px 16px; }

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

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-sub { margin-inline: auto; }
    .hero-ctas { justify-content: center; }
    .trust-micro { justify-content: center; }
    .hero-visual { display: none; }

    .nav-links { display: none !important; }
    #menu-toggle { display: flex !important; }
    .hide-mobile { display: none !important; }

    #mobile-menu {
        display: block !important;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        z-index: 999;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
        border: none;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(20px);
    }
    #mobile-menu.active { 
        display: block !important; 
        height: calc(100vh - 80px); 
        padding-top: 4rem; 
    }
    
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .mobile-nav-links a {
        font-size: 1.8rem;
        font-weight: 600;
        color: #fff;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s;
    }
    #mobile-menu.active .mobile-nav-links a { opacity: 1; transform: translateY(0); }
    
    .grid-3 { grid-template-columns: 1fr; }

    .comparison-wrapper { height: auto; flex-direction: column; }
    .comparison-before, .comparison-after {
        position: relative;
        clip-path: none;
        padding: 2rem;
    }
    .slider-handle { display: none; }

    #sticky-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

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

/* ── New Component Styles ── */

/* Contact Section */
#contact-form-section { background: var(--bg-alt); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.contact-info p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.5rem; }
.method { display: flex; align-items: center; gap: 1rem; font-size: 1rem; color: var(--text-secondary); }
.method i { color: var(--primary); }

.contact-card { padding: 3rem; }
.form-group-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.form-group-row > div { flex: 1; }
.form-label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; opacity: 0.7; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.testimonial-card { padding: 2rem; position: relative; }
.testimonial-card i.quote-icon {
    position: absolute; top: 1rem; right: 1.5rem;
    font-size: 3rem; opacity: 0.1; color: var(--primary);
}
.testimonial-card p { font-style: italic; margin-bottom: 1.5rem; color: #fff; line-height: 1.7; }
.doctor-profile { display: flex; align-items: center; gap: 1rem; }
.doctor-img {
    width: 50px; height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--bg); font-weight: 700;
}
.doctor-info h4 { font-size: 1rem; margin: 0; }
.doctor-info span { font-size: 0.85rem; color: var(--primary); }

/* Rating Stars */
.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}
.star {
    color: #FFD700; /* Golden */
    fill: #FFD700;
}

/* Floating WhatsApp */
#whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#whatsapp-float:hover { transform: scale(1.1) rotate(10deg); }

/* Chatbot Floating UI */
#chatbot-trigger {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-size: 1.8rem;
    z-index: 9999;
    box-shadow: 0 10px 25px var(--primary-glow);
    cursor: pointer;
    transition: 0.3s;
}
#chatbot-trigger:hover { transform: scale(1.1); }

#chatbot-window {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 350px;
    height: 500px;
    z-index: 10000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
#chatbot-window.active { display: flex; animation: slideInUp 0.4s forwards; }

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

.chatbot-header {
    padding: 1.5rem;
    background: var(--primary);
    color: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header h3 { margin: 0; font-size: 1.1rem; }
.chatbot-header .close-chat { cursor: pointer; font-size: 1.5rem; }

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: rgba(2, 6, 23, 0.95);
}
.chat-msg {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}
.chat-msg.bot {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}
.chat-msg.user {
    background: var(--primary);
    color: var(--bg);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input-area {
    padding: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
    background: var(--card-bg);
}
.chatbot-input-area input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 0.8rem;
    color: #fff;
    border-radius: 8px;
    outline: none;
}
.chatbot-input-area button { padding: 0.8rem; display: flex; align-items: center; justify-content: center; }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    #chatbot-window { width: calc(100% - 40px); bottom: 180px; right: 20px; }
    #chatbot-trigger { bottom: 180px; right: 20px; }
    #whatsapp-float { bottom: 100px; right: 20px; }
}
