/* Demo Site - Dark Modern Redesign */

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

:root {
    /* Dark Modern Color Palette */
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f1f5f9;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: #334155;
    --card-bg: #1e293b;
    --bg-light: #1e293b;
    
    /* Neon Gradients */
    --gradient-1: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    --gradient-3: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-4: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Neon Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-xl: 0 16px 40px rgba(0,0,0,0.6);
    --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-neon-cyan: 0 0 20px rgba(6, 182, 212, 0.3);
    
    /* Glass Effect */
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(148, 163, 184, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(244, 63, 94, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

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

/* Header - Dark Glass */
.main-header {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transition: all 0.3s;
}

.logo a:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.logo i {
    font-size: 36px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s;
    border-radius: 2px;
    transform: translateX(-50%);
}

.main-nav a:hover::after {
    width: 80%;
}

.btn {
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-neon);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.btn-appointment {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-neon-cyan);
    animation: pulse 2s infinite;
}

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

.btn-appointment:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
    animation: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section - Dark Neon */
.hero-section {
    background: var(--gradient-dark);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 32px;
    opacity: 0.9;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.section-title p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid - Modern Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.modern-service-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s;
    border: 1px solid var(--border);
    position: relative;
}

.modern-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

.modern-service-card:hover::before {
    opacity: 1;
}

.modern-service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-neon);
    border-color: var(--primary);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.modern-service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    font-size: 64px;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: iconShine 3s infinite;
}

@keyframes iconShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-card-content {
    padding: 28px;
    background: var(--card-bg);
}

.service-card-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 36px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-neon);
    border-color: var(--primary);
}

.feature-item i {
    font-size: 56px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-item p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-dark);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    animation: statsGlow 10s ease-in-out infinite;
}

@keyframes statsGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 8px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
    color: var(--text-muted);
    font-weight: 500;
}

/* Forms - Modern */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

.form-control, .modern-input, .modern-select, .modern-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
    background: var(--card-bg);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.form-control:focus, .modern-input:focus, .modern-select:focus, .modern-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1), var(--shadow-neon);
    background: rgba(30, 41, 59, 0.9);
}

/* Footer */
.main-footer {
    background: var(--darker);
    color: var(--text);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    padding: 4px 0;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Service Levels */
.service-levels {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-levels-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-levels-title i {
    color: var(--primary);
    font-size: 18px;
}

.service-level-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-level-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-level-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.service-level-option-card:hover::before {
    left: 100%;
}

.service-level-option-card:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.service-level-option-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-level-option-label {
    flex: 1;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.service-level-option-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    color: var(--secondary);
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-level-option-card:hover .service-level-option-arrow {
    background: var(--secondary);
    color: white;
    transform: translateX(4px);
}

/* Special styling for different levels */
.service-level-option-card:nth-child(1) .service-level-option-icon {
    background: var(--gradient-1);
}

.service-level-option-card:nth-child(2) .service-level-option-icon {
    background: var(--gradient-2);
}

.service-level-option-card:nth-child(3) .service-level-option-icon {
    background: var(--gradient-3);
}

.service-level-option-card:nth-child(1):hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.service-level-option-card:nth-child(2):hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.service-level-option-card:nth-child(3):hover {
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Responsive for service levels */
@media (max-width: 480px) {
    .service-level-option-card {
        padding: 12px;
        gap: 10px;
    }
    
    .service-level-option-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .service-level-option-label {
        font-size: 14px;
    }
    
    .service-level-option-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 32px;
}
