/**
 * Hostxolo - Modern Premium Stylesheet
 * Sleek, dynamic, professional design system
 */

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

:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fdba74;
    --primary-glow: rgba(249, 115, 22, 0.15);
    --secondary: #6366f1;
    --accent: #06b6d4;
    --dark: #0f172a;
    --dark-card: #1e293b;
    --dark-border: #334155;
    --light: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.85);
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(249,115,22,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ======== BASE RESET ======== */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; margin-bottom: 0.75rem; color: var(--dark); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--primary); color: #fff; }

/* ======== UTILITY ======== */
.text-primary { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-surface { background: var(--surface); }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======== BUTTONS ======== */
.btn {
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249,115,22,0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #c2410c 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249,115,22,0.3);
}
.btn-outline-primary::after { display: none; }

.btn-lg {
    padding: 0.875rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-lg);
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
}
.btn-dark:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15,23,42,0.3);
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--dark);
}
.btn-light:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ======== NAVBAR ======== */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(226,232,240,0.5);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--text-secondary);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    animation: dropdownFade 0.2s ease;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    padding: 0.625rem 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
}
.dropdown-item:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

/* ======== HERO ======== */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero-section h1, .hero-section h2, .hero-section h3,
.hero-section h4, .hero-section h5, .hero-section h6 { color: #fff; }
.hero-section p, .hero-section span, .hero-section li { color: rgba(255,255,255,0.85); }
.hero-section a:not(.btn) { color: #fdba74; }
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(249,115,22,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(6,182,212,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 1;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 540px;
    position: relative;
    z-index: 1;
}
.hero-buttons { position: relative; z-index: 1; }
.hero-buttons .btn { margin-right: 1rem; margin-bottom: 0.5rem; }

/* ======== SECTIONS ======== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    background: var(--primary-glow);
    color: var(--primary);
}

/* Stats */
.stats-section { padding: 5rem 0; background: var(--surface); }
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.9375rem; color: var(--text-secondary); font-weight: 500; }

/* Services */
.services-section { padding: 6rem 0; background: var(--light); }
.service-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(249,115,22,0.25);
}
.service-icon i { font-size: 1.75rem; color: #fff; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.7; }

/* Software */
.software-section { padding: 6rem 0; background: var(--surface); }
.software-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.software-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.software-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.software-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.software-header i { font-size: 3rem; margin-bottom: 0.75rem; display: block; }
.software-body { padding: 1.5rem; }
.software-body h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.software-body p { color: var(--text-secondary); margin-bottom: 1rem; }
.software-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }

/* Pricing */
.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pricing-section .section-title { color: #fff !important; }
.pricing-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(249,115,22,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.pricing-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    height: 100%;
}
.pricing-card.featured {
    border-color: var(--primary);
    background: rgba(249,115,22,0.08);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(249,115,22,0.15);
}
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 0.375rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(249,115,22,0.4);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-4px); }

.pricing-card p { color: #fff !important; opacity: 0.9; }
.pricing-card.featured p { color: #fff !important; }
.pricing-section .section-subtitle { color: rgba(255,255,255,0.7); }
.pricing-section .section-badge { background: rgba(249,115,22,0.2); color: #fdba74; }
.pricing-card h3, .pricing-card h4 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #fff !important; }
.pricing-card p, 
.pricing-card .text-muted,
.pricing-card span.text-muted { 
    color: #ffffff !important; 
    opacity: 1 !important; 
    visibility: visible !important;
}
.pricing-card .list-unstyled li {
    color: #ffffff !important;
}
.pricing-card .list-unstyled li i {
    color: #10b981 !important;
}
.pricing-section .card.pricing-card {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.pricing-section .card.pricing-card.featured {
    background: rgba(249,115,22,0.08) !important;
    border-color: var(--primary) !important;
}
.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 1.5rem 0;
    letter-spacing: -0.04em;
}
.pricing-card .price span { font-size: 1rem; color: rgba(255,255,255,0.5); font-weight: 400; }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-features li { padding: 0.625rem 0; color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.pricing-features li i { color: var(--success); margin-right: 0.5rem; }

/* Testimonials */
.testimonials-section { padding: 6rem 0; background: var(--surface); }
.testimonial-card {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.testimonial-content { font-size: 1.0625rem; font-style: italic; color: var(--text); margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author h5 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.testimonial-author p { color: var(--text-secondary); margin-bottom: 0; }
.testimonial-rating { color: var(--warning); margin-bottom: 1rem; }

/* Blog */
.blog-section { padding: 6rem 0; background: var(--light); }
.blog-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-glow), rgba(99,102,241,0.1));
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.5rem; }
.blog-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 500; }
.blog-title { font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.4; }
.blog-title a { color: var(--dark); }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { color: var(--text-secondary); margin-bottom: 1rem; }

/* CTA */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #c2410c 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section h2, .cta-section h3, .cta-section h4 { font-size: 2.75rem; margin-bottom: 1rem; letter-spacing: -0.03em; color: #fff; }
.cta-section p { font-size: 1.25rem; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; }
.cta-section .btn-light {
    color: var(--primary-dark);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
}
.cta-section .btn-light:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* ======== FOOTER ======== */
footer {
    font-size: 0.9375rem;
    background: var(--dark) !important;
    color: #cbd5e1;
}
footer h4, footer h5, footer h6 { color: #fff; }
footer p, footer li, footer span { color: #94a3b8; }
footer a { color: #cbd5e1; }
footer a:hover { color: var(--primary); }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.9375rem;
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}
.hover-primary:hover { color: var(--primary) !important; }

/* ======== PAGE HEADER ======== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: #fff;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--light));
    pointer-events: none;
}
.page-header h1, .page-header h2, .page-header h3 { font-size: 2.5rem; margin-bottom: 0.5rem; letter-spacing: -0.03em; position: relative; z-index: 1; color: #fff; }
.page-header p { color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.page-header .breadcrumb a { color: #fdba74; }
.page-header .breadcrumb-item.active, .page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.6); }

/* ======== FORMS ======== */
.form-control {
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--surface);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
.form-select {
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    font-size: 0.9375rem;
    transition: var(--transition);
}
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ======== ALERTS ======== */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    font-weight: 500;
    padding: 1rem 1.25rem;
}
.alert-success { background: #d1fae5; color: #065f46; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* ======== CARDS ======== */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: var(--surface);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* ======== TABLES ======== */
.table { font-size: 0.9375rem; }
.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    padding: 0.875rem 1rem;
}
.table tbody td { vertical-align: middle; padding: 0.875rem 1rem; }
.table-hover tbody tr:hover { background: rgba(249,115,22,0.04); }

/* ======== BADGES ======== */
.badge {
    font-weight: 600;
    padding: 0.4em 0.75em;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* ======== PAGINATION ======== */
.pagination { gap: 0.25rem; }
.page-link {
    border-radius: var(--radius-sm);
    color: var(--primary);
    border: 1px solid var(--border);
    font-weight: 500;
    padding: 0.5rem 0.875rem;
}
.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* ======== BACK TO TOP ======== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(249,115,22,0.4);
}

/* ======== ANIMATIONS ======== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
}
.animate-fade-in { animation: fadeInUp 0.6s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* ======== ADMIN SIDEBAR ======== */
.admin-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    color: #fff;
    border-right: 1px solid var(--dark-border);
}
.admin-sidebar .nav-link {
    color: var(--text-muted);
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 2px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}
.admin-sidebar .nav-link:hover {
    background: rgba(249,115,22,0.1);
    color: var(--primary);
}
.admin-sidebar .nav-link.active {
    background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(249,115,22,0.05));
    color: var(--primary);
    font-weight: 600;
}
.admin-sidebar .nav-link i { width: 1.5rem; }

/* Admin stat cards */
.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.stat-card .icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
}

/* ======== USER SIDEBAR ======== */
.user-sidebar {
    background: var(--surface);
    border-right: 1px solid var(--border);
    min-height: calc(100vh - 70px);
}
.user-sidebar .nav-link {
    color: var(--text-secondary);
    padding: 0.875rem 1.5rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
    font-weight: 500;
}
.user-sidebar .nav-link:hover,
.user-sidebar .nav-link.active {
    background: var(--primary-glow);
    color: var(--primary);
    border-left-color: var(--primary);
}
.user-sidebar .nav-link i { width: 24px; }

/* ======== TIMELINE ======== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.625rem;
    top: 0.25rem;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--primary);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--surface);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border);
    }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-4px); }
    .page-header { padding: 6rem 0 3rem; }
}
@media (max-width: 767.98px) {
    .hero-section { padding: 7rem 0 4rem; text-align: center; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons .btn { margin-right: 0.5rem; margin-left: 0.5rem; }
    .stat-number { font-size: 2.5rem; }
    .cta-section h2 { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
}

/* ======== FORM SWITCH ======== */
.form-switch .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
    cursor: pointer;
}
.form-switch .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }
/* Icon Visibility Fixes */
.bi {
    vertical-align: -0.125em;
    fill: currentColor;
    display: inline-block !important;
}
.stat-icon i {
    opacity: 1 !important;
    visibility: visible !important;
}
.bg-primary.bg-opacity-10 i.text-primary {
    color: var(--primary) !important;
    opacity: 1 !important;
}
.bg-success.bg-opacity-10 i.text-success {
    color: #10b981 !important;
    opacity: 1 !important;
}
.bg-warning.bg-opacity-10 i.text-warning {
    color: #f59e0b !important;
    opacity: 1 !important;
}
.bg-info.bg-opacity-10 i.text-info {
    color: #0ea5e9 !important;
    opacity: 1 !important;
}
.bg-white.bg-opacity-20 i {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* ======== ADDITIONAL FIXES ======== */
.bi, [class^="bi-"], [class*=" bi-"] {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: bootstrap-icons !important;
}

.contact-card i, .stat-icon i, .quick-action i, .help-feature i {
    visibility: visible !important;
    opacity: 1 !important;
}

.bg-opacity-10 i {
    color: inherit !important;
}

/* User Dashboard Help Section Improvement */
.help-feature-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.help-feature {
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 8px;
    transition: var(--transition);
}
.help-feature:hover {
    background: rgba(255,255,255,0.1);
}
