/* ==========================================================================
   Core Custom Root Variables Settings & Global Reset Base Adjustments
   ========================================================================== */
:root {
    --bg-dark-base: #070614;
    --bg-dark-card: rgba(18, 16, 38, 0.45);
    --bg-dark-variant: #0d0b21;
    --color-cyan: #00f2fe;
    --color-purple: #9b51e0;
    --color-blue-accent: #4facfe;
    --glass-border: rgba(255, 255, 255, 0.07);
    --font-poppins: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark-base);
    color: #ffffff;
    font-family: var(--font-poppins);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.max-w-600 { max-width: 600px; }
.custom-radius { border-radius: 12px; }
.color-accent { color: var(--color-cyan) !important; }
.text-purple { color: var(--color-purple) !important; }
.bg-purple { background-color: var(--color-purple) !important; }
.bg-dark-variant { background-color: var(--bg-dark-variant); }

.color-gradient {
    background: linear-gradient(135deg, var(--color-blue-accent) 0%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Preloader & Scroll Progress Bar
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-dark-base);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(79, 172, 254, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-cyan);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#scroll-progress {
    position: fixed;
    top: 0; left: 0; height: 4px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-purple));
    width: 0%; z-index: 10000;
}

/* ==========================================================================
   Premium Floating Background Patterns
   ========================================================================== */
.bg-shape {
    position: fixed; border-radius: 50%; filter: blur(140px); z-index: -1; opacity: 0.25;
    pointer-events: none;
}
.shape-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--color-blue-accent); }
.shape-2 { top: 40%; right: -10%; width: 600px; height: 600px; background: var(--color-purple); }
.shape-3 { bottom: -10%; left: 20%; width: 450px; height: 450px; background: var(--color-cyan); }

/* Glassmorphism Structural Cards */
.glass-card {
    background: var(--bg-dark-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ==========================================================================
   Sticky Navbar Navigation Configurations
   ========================================================================== */
.navbar {
    background: rgba(7, 6, 20, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: padding 0.3s ease;
}
.navbar-brand span { font-weight: 800; font-size: 1.4rem; letter-spacing: 1px; }

.nav-link {
    color: #a0a0a0 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #fff !important;
}

/* ==========================================================================
   Interactive Buttons & Ripple Effects
   ========================================================================== */
.btn-ripple {
    position: relative; overflow: hidden; transition: all 0.3s ease;
}
.btn-gradient {
    background: linear-gradient(135deg, var(--color-blue-accent) 0%, var(--color-purple) 100%);
    color: white !important; border: none;
}
.btn-gradient:hover {
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(155, 81, 224, 0.4);
}
.btn-outline-accent {
    border: 1px solid var(--color-cyan); color: var(--color-cyan); background: transparent;
}
.btn-outline-accent:hover {
    background: var(--color-cyan); color: var(--bg-dark-base) !important; transform: translateY(-2px);
}
.ripple-effect {
    position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.35);
    transform: scale(0); animation: ripple-animation 0.6s linear; pointer-events: none;
}
@keyframes ripple-animation { to { transform: scale(4); opacity: 0; } }

/* ==========================================================================
   Form Fields Input Systems
   ========================================================================== */
.form-glass-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #fff !important;
}
.form-glass-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}
.form-glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.form-glass-input option {
    background-color: var(--bg-dark-variant);
    color: #fff;
}

/* ==========================================================================
   Hero Landing Framework Configurations
   ========================================================================== */
.hero-section { min-height: 100vh; padding: 100px 0; }
.badge-live {
    background: rgba(0, 242, 254, 0.1); border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-cyan); font-size: 0.85rem; padding: 6px 16px; border-radius: 50px;
}
.pulse-dot {
    width: 8px; height: 8px; background-color: var(--color-cyan); border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}
.hero-img-wrap {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: perspective(800px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.hero-img-wrap:hover { transform: perspective(800px) rotateY(0deg) rotateX(0deg); }
.floating-icon {
    position: absolute; width: 55px; height: 55px; background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px); border: 1px solid var(--glass-border); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.icon-1 { top: 10%; left: -5%; color: #e1306c; animation: floatAnim 4s ease-in-out infinite; }
.icon-2 { bottom: 15%; left: 0%; color: #00f2fe; animation: floatAnim 4.5s ease-in-out infinite 0.5s; }
.icon-3 { top: 40%; right: -5%; color: #ff0000; animation: floatAnim 5s ease-in-out infinite 1s; }
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); }
}

/* ==========================================================================
   Feature & Service Matrix Blocks
   ========================================================================== */
.feature-card, .service-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover, .service-card:hover {
    transform: translateY(-8px); border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 12px 40px rgba(0, 242, 254, 0.15);
}
.feature-icon {
    width: 50px; height: 50px; background: linear-gradient(135deg, rgba(79,172,254,0.2), rgba(155,81,224,0.2));
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--color-cyan);
}
.service-platform-icon {
    width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: white;
}
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.tiktok { background: #000000; border: 1px solid #00f2fe; }
.youtube { background: #ff0000; }
.facebook { background: #1877f2; }
.telegram { background: #229ed9; }
.twitter { background: #111111; }

/* ==========================================================================
   Grid Architecture Elements (Pricing, Process Steps)
   ========================================================================== */
.border-accent-top { border-top: 3px solid var(--color-cyan); }
.border-purple-top { border-top: 3px solid var(--color-purple); }
.step-icon-wrap { width: 80px; height: 80px; position: relative; }
.step-number {
    position: absolute; bottom: 0; right: 0; width: 26px; height: 26px;
    background: var(--color-cyan); color: var(--bg-dark-base); border-radius: 50%;
    font-weight: bold; font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) {
    .steps-container::before {
        content: ''; position: absolute; top: 40px; left: 12%; right: 12%;
        height: 2px; background: linear-gradient(90deg, var(--color-cyan), var(--color-purple));
        z-index: 0; opacity: 0.3;
    }
}
.step-item { position: relative; z-index: 1; }

.pricing-card { position: relative; transition: all 0.4s ease; }
.pricing-card:hover { transform: scale(1.03); }
.active-plan { border: 2px solid var(--color-purple); }
.popular-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--color-purple); color: white; padding: 4px 14px;
    border-radius: 50px; font-size: 0.75rem; letter-spacing: 1px;
}

/* Swiper Elements */
.profile-avatar { width: 50px; height: 50px; object-fit: cover; border: 2px solid var(--color-purple); }
.testimonial-swiper { padding-bottom: 40px !important; }
.swiper-pagination-bullet { background: rgba(255,255,255,0.3) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--color-cyan) !important; width: 24px !important; border-radius: 4px !important; }

/* Accordions */
.premium-accordion .accordion-item { border: 1px solid var(--glass-border); background: transparent; }
.premium-accordion .accordion-button { background: transparent; color: #fff; border: none; }
.premium-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(255,255,255,0.03) !important; color: var(--color-cyan) !important; box-shadow: none;
}
.premium-accordion .accordion-button::after { filter: invert(1); }
.premium-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }

/* CTA Area */
.cta-banner-box { border: 1px solid rgba(155, 81, 224, 0.3); position: relative; overflow: hidden; }
.cta-inner-gradient {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle at 50% 50%, rgba(79,172,254,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

#back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px;
    z-index: 999; display: none; border: none; cursor: pointer; transition: transform 0.3s ease;
}
#back-to-top:hover { transform: translateY(-5px); }

/* ==========================================================================
   Dashboard Metrics & Table Engines
   ========================================================================== */
.table-responsive-glass {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}
.table-glass { margin-bottom: 0; color: #e0e0e0; vertical-align: middle; }
.table-glass th {
    background: rgba(255, 255, 255, 0.06);
    color: #fff; font-weight: 600; border-bottom: 1px solid var(--glass-border); padding: 16px;
}
.table-glass td { background: rgba(18, 16, 38, 0.2); border-bottom: 1px solid var(--glass-border); padding: 16px; }
.table-glass tr:hover td { background: rgba(255, 255, 255, 0.03); }

@media (max-width: 991.98px) {
    .alignment-nav {
        margin-top: 1rem;
        margin-bottom: 1rem !important;
    }
}