/*
Bu yazılım anxcure.com'a aittir.
Tüm hakları anxcure.com tarafından saklıdır.
İzinsiz kullanım, kopyalama veya dağıtım yasaktır.
© 2025 anxcure.com. Tüm hakları saklıdır.
*/

/* Demo Modern CSS - ANX CURE Demo Sayfası */

:root {
    /* DEMO SAYFASI RENKLERİ - STANDARDIZE EDİLMİŞ */
    --primary-color: #4FD1C5;
    --secondary-color: #38B2AC;
    --accent-color: #81E6D9;
    --turquoise: #4FD1C5;
    --warning-color: #ed8936;
    --danger-color: #f56565;
    --success-color: #48bb78;
    
    /* Metin Renkleri */
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-light: #A0AEC0;
    
    /* Arka Plan Renkleri - İyileştirilmiş */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #2D3748;
    --background-light: #F8FAFC;
    
    /* Glassmorphism - Daha Belirgin */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(79, 209, 197, 0.15);
    --glass-shadow: 0 8px 32px rgba(79, 209, 197, 0.08);
    
    /* Gradientler - Standardize Edilmiş */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--warning-color) 0%, #f59e0b 100%);
    --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    
    /* Gölgeler - Daha Belirgin */
    --shadow-sm: 0 1px 3px rgba(79, 209, 197, 0.08);
    --shadow-md: 0 4px 12px rgba(79, 209, 197, 0.1);
    --shadow-lg: 0 10px 25px rgba(79, 209, 197, 0.12);
    --shadow-xl: 0 20px 40px rgba(79, 209, 197, 0.15);
    --shadow-2xl: 0 25px 50px rgba(79, 209, 197, 0.2);
    
    /* Animasyonlar */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* Dark Theme - Enhanced for better text contrast */
[data-theme="dark"] {
    --text-primary: #F8FAFC; /* Lighter primary text */
    --text-secondary: #E2E8F0; /* Lighter secondary text */
    --text-muted: #CBD5E0; /* Lighter muted text */
    --text-light: #A0AEC0; /* Lighter light text */
    
    --bg-primary: #1A202C;
    --bg-secondary: #2D3748;
    --bg-tertiary: #4A5568;
    --background-light: #2D3748;
    
    --glass-bg: rgba(45, 55, 72, 0.25);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Awesome Icon Fixes */
.fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Demo Sayfası Özel Icon Düzeltmeleri */
.demo-badge i,
.hero-title i,
.cta-buttons i,
.cta-features i,
.preview-widget i,
.patient-card i,
.appointment-status i,
.chart-placeholder i,
.footer-social i,
.contact-info i {
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
}

/* Navbar Iconları */
.navbar-nav .nav-link i {
    font-weight: 900 !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
}

/* Play Button Icon */
.play-button i {
    font-size: 2rem !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

/* CTA Button Iconları */
.btn i {
    font-weight: 900 !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
}

/* Dark Mode Icon Düzeltmeleri */
#darkModeIcon {
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
}

/* Tüm Icon Sınıfları için Genel Düzeltme */
i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Hero Section - İyileştirilmiş */
.demo-hero {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background-light) 100%);
    padding: 80px 0;
    border-bottom: 1px solid rgba(79, 209, 197, 0.1);
}

.hero-content {
    position: relative;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.1) 0%, rgba(74, 222, 128, 0.15) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(79, 209, 197, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    font-size: 16px;
}

.btn-demo-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-demo-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.btn-demo-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-demo-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Demo Visual */
.demo-visual {
    position: relative;
}

.demo-screen {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    position: relative;
}

.screen-header {
    background: var(--bg-secondary);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--bg-tertiary);
}

.screen-controls {
    display: flex;
    gap: 6px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.control-dot:nth-child(1) { background: #FF5F56; }
.control-dot:nth-child(2) { background: #FFBD2E; }
.control-dot:nth-child(3) { background: #27CA3F; }

.screen-title {
    font-weight: 600;
    color: var(--text-primary);
}

.screen-content {
    padding: 24px;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.preview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.preview-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.preview-card i {
    font-size: 24px;
    color: var(--primary-color);
}

.preview-card:hover i {
    color: white;
}

.preview-card span {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}


/* Features Section - İyileştirilmiş */
.demo-features {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background-light) 100%);
    border: none !important;
}

.section-header {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 209, 197, 0.15);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(79, 209, 197, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
}

.feature-icon i {
    font-size: 2rem !important;
    color: white !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.1) 0%, rgba(74, 222, 128, 0.15) 100%);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.tag:hover {
    background: linear-gradient(135deg, rgba(79, 209, 197, 0.2) 0%, rgba(74, 222, 128, 0.25) 100%);
    border-color: rgba(79, 209, 197, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 209, 197, 0.15);
}

/* Demo Video Section - İyileştirilmiş */
.demo-video-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--card-bg) 100%);
    border: none !important;
}

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

.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.video-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-normal);
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 24px;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.video-info {
    text-align: center;
    color: white;
}

.video-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-info p {
    opacity: 0.9;
}

.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video-frame video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Interactive Demo Section */
.interactive-demo {
    padding: 100px 0;
    background: var(--bg-primary);
}

.demo-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--bg-secondary);
    padding: 8px;
    border-radius: var(--radius-lg);
}

.tab-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.tab-button i {
    font-size: 20px !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.tab-button span {
    font-size: 14px;
}

.tab-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.tab-panel {
    display: none;
    padding: 32px;
}

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

.panel-header {
    text-align: center;
    margin-bottom: 32px;
}

.panel-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.panel-header p {
    color: var(--text-secondary);
}

.panel-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.preview-widget:hover {
    background: var(--primary-color);
    color: white;
}

.preview-widget i {
    font-size: 20px;
    color: var(--primary-color);
}

.preview-widget:hover i {
    color: white;
}

.patient-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.patient-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.patient-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.patient-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.patient-info p {
    font-size: 14px;
    opacity: 0.8;
}

.status-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background: var(--success-color);
    color: white;
}

.status-badge.pending {
    background: var(--warning-color);
    color: white;
}

.appointment-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.appointment-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.appointment-time {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.appointment-card:hover .appointment-time {
    color: white;
}

.appointment-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.appointment-info p {
    font-size: 14px;
    opacity: 0.8;
}

.appointment-status i {
    color: var(--success-color);
    font-size: 18px;
}

.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.chart-placeholder:hover {
    background: var(--primary-color);
    color: white;
}

.chart-placeholder i {
    font-size: 32px;
    color: var(--primary-color);
}

.chart-placeholder:hover i {
    color: white;
}

/* CTA Section */
.demo-cta {
    padding: 100px 0;
    background: var(--bg-primary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
    text-decoration: none;
}

.btn-cta-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 16px 32px;
    font-size: 18px;
}

.btn-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.cta-feature i {
    color: var(--success-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-hero {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 1 calc(50% - 4px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .dashboard-preview {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .tab-button {
        flex: 1 1 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Utility Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Focus States */
.btn:focus,
.tab-button:focus,
.play-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Dark Mode Specific Improvements */
[data-theme="dark"] .feature-card h3 {
    color: #F8FAFC !important; /* Very light for better contrast */
}

/* Fix white lines and dividers in dark mode */
[data-theme="dark"] hr,
[data-theme="dark"] .divider,
[data-theme="dark"] .section-divider,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom {
    border-color: rgba(79, 209, 197, 0.3) !important;
    background-color: rgba(79, 209, 197, 0.3) !important;
}

/* Demo sections specific dividers - Remove all borders */
.demo-features,
.demo-video-section,
.interactive-demo,
.demo-cta {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Remove any white borders or lines */
[data-theme="dark"] * {
    border-color: rgba(79, 209, 197, 0.2) !important;
}

/* Specific fixes for common white line issues */
[data-theme="dark"] .container,
[data-theme="dark"] .row,
[data-theme="dark"] .col,
[data-theme="dark"] .col-* {
    border-color: transparent !important;
}

/* Fix any remaining white elements */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .text-white {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .feature-card p {
    color: #E2E8F0 !important; /* Light for descriptions */
}

[data-theme="dark"] .tag {
    color: #CBD5E0 !important; /* Light for tags */
    background: rgba(79, 209, 197, 0.2) !important;
    border: 1px solid rgba(79, 209, 197, 0.3) !important;
}

[data-theme="dark"] .tag:hover {
    color: #FFFFFF !important;
    background: rgba(79, 209, 197, 0.4) !important;
}

[data-theme="dark"] .btn-demo-primary,
[data-theme="dark"] .btn-cta-primary {
    color: #FFFFFF !important;
}

[data-theme="dark"] .btn-demo-primary:hover,
[data-theme="dark"] .btn-cta-primary:hover {
    color: #FFFFFF !important;
}

[data-theme="dark"] .btn-demo-primary span,
[data-theme="dark"] .btn-cta-primary span,
[data-theme="dark"] .btn-demo-primary i,
[data-theme="dark"] .btn-cta-primary i {
    color: #FFFFFF !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .section-title,
[data-theme="dark"] .cta-title {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .hero-description,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .cta-description {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .panel-header h3,
[data-theme="dark"] .panel-header p {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .preview-widget span,
[data-theme="dark"] .patient-info h4,
[data-theme="dark"] .patient-info p,
[data-theme="dark"] .appointment-info h4,
[data-theme="dark"] .appointment-info p {
    color: var(--text-primary) !important;
}

/* Dashboard Preview Widget Dark Mode Improvements */
[data-theme="dark"] .preview-widget {
    background: var(--bg-tertiary) !important;
    border: 1px solid rgba(79, 209, 197, 0.2) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .preview-widget span {
    color: #F8FAFC !important; /* Very light text for better visibility */
    font-weight: 500 !important;
}

[data-theme="dark"] .preview-widget i {
    color: var(--primary-color) !important; /* Teal accent for icons */
    font-size: 20px !important;
}

[data-theme="dark"] .preview-widget:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .preview-widget:hover span {
    color: #FFFFFF !important; /* White text on hover */
}

[data-theme="dark"] .preview-widget:hover i {
    color: #FFFFFF !important; /* White icons on hover */
}

/* Demo Panel Dark Mode Improvements */
[data-theme="dark"] .demo-panel {
    background: var(--bg-secondary) !important;
    border: 1px solid rgba(79, 209, 197, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .demo-panel .panel-header {
    background: var(--bg-tertiary) !important;
    border-bottom: 1px solid rgba(79, 209, 197, 0.2) !important;
    padding: 20px !important;
}

[data-theme="dark"] .demo-panel .panel-header h3 {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

[data-theme="dark"] .demo-panel .panel-header p {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .demo-panel .panel-preview {
    background: var(--bg-tertiary) !important;
    padding: 20px !important;
}

/* Print Styles */
@media print {
    .demo-hero,
    .demo-video-section,
    .interactive-demo,
    .demo-cta {
        display: none;
    }
}
