/* ==========================================================================
   Hadaweb Modern Dark AI Theme Stylesheet
   Author: GapGPT
   Global Variables, Layout, Components & Responsive Design
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark-900: #080b10;
    --bg-dark-800: #0f131a;
    --bg-dark-700: #161c26;
    --bg-dark-600: #1e2633;
    --primary-glow: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --secondary-glow: linear-gradient(135deg, #b92b27 0%, #1565c0 100%);
    --accent-color: #00f2fe;
    --accent-purple: #9d4edd;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 242, 254, 0.3);
    /* Effects */
    --glass-bg: rgba(15, 19, 26, 0.7);
    --glass-blur: blur(12px);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bg0: #070A12;
    --bg1: #0B1224;
    --card: rgba(255,255,255,.06);
    --card2: rgba(255,255,255,.08);
    --stroke: rgba(255,255,255,.14);
    --text: #EAF0FF;
    --muted: #A8B3CF;
    --aqua: #2EE9A6;
    --violet: #7C4DFF;
    --cyan: #19B6FF;
    --shadow: 0 20px 60px rgba(0,0,0,.55);
    --bg-dark: #070a12;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-glow: rgba(46, 233, 166, 0.4); /* Neon Green */
    --accent-glow: rgba(124, 77, 255, 0.4); /* Neon Purple */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-glow: rgba(139, 92, 246, 0.15);
    --primary-indigo: #8b5cf6;
    --primary-indigo-light: #a78bfa;
    --text-muted-light: #94a3b8;
    --glass-bg-strong: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Base Setup & Typography
   ========================================================================== */
@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/Vazir-Regular.ttf?v=G9K3duJbnr_tD3E4T59gRY3aSWg');
}

@font-face {
    font-family: 'BoldVazir';
    src: url('../assets/fonts/Vazir-Bold.ttf?v=5yhgsaFHaFJ6eskRk1wn2BkF-X4');
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: var(--bg-dark-900);
    color: var(--text-primary);
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
}

.bold, b, h1, h2, h3, h4, h5, h6 {
    font-family: 'BoldVazir', sans-serif !important;
    color: var(--text-primary);
    line-height: 1.4 !important;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

    a:hover {
        color: #5faee3;
        text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
    }

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    margin-top: 85px; /* Prevent header overlap */
}

/* ==========================================================================
   Header & Navbar (Glassmorphism Concept)
   ========================================================================== */
#header {
    z-index: 997;
    transition: var(--transition-smooth);
    padding: 16px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

    #header.header-scrolled {
        padding: 10px 0;
        box-shadow: var(--shadow-md);
        background: rgba(8, 11, 16, 0.9);
        border-bottom: 1px solid rgba(0, 242, 254, 0.15);
    }

    #header .logo img {
        max-height: 40px;
        filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
    }

#page-title {
    font-size: 1.5rem;
    background: var(--primary-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Desktop Navbar */
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        font-size: 14.5px;
        font-weight: 500;
        color: var(--text-secondary);
        white-space: nowrap;
        transition: var(--transition-smooth);
        border-radius: 6px;
    }

        .navbar .nav-link i {
            font-size: 13px;
            margin-left: 5px;
            transition: var(--transition-smooth);
        }

        .navbar .nav-link:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > .nav-link {
            color: var(--accent-color);
            background: rgba(255, 255, 255, 0.03);
        }

    /* Dropdown Menu */
    .navbar .dropdown ul {
        display: block;
        position: absolute;
        top: calc(100% + 30px);
        right: 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        padding: 10px;
        background: var(--bg-dark-800);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        border-radius: 8px;
        transition: var(--transition-smooth);
        min-width: 210px;
    }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        visibility: visible;
        top: 100%;
    }

    .navbar .dropdown ul .dropdown-item {
        padding: 10px 15px;
        font-size: 13.5px;
        color: var(--text-secondary);
        border-radius: 6px;
        transition: var(--transition-smooth);
    }

        .navbar .dropdown ul .dropdown-item:hover,
        .navbar .dropdown ul li:hover > .dropdown-item {
            color: var(--accent-color);
            background: rgba(0, 242, 254, 0.05);
            padding-right: 20px;
        }

/* Navbar Fast Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn {
    color: var(--text-primary);
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-dark-700);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

    .nav-btn:hover {
        color: var(--accent-color);
        border-color: var(--accent-color);
        box-shadow: var(--shadow-glow);
        transform: translateY(-2px);
    }

.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    background: transparent;
    border: none;
    outline: none;
}

/* ==========================================================================
   Mobile Responsive Menu (Modern Sidebar Overlap)
   ========================================================================== */
@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block !important;
    }

    .navbar ul {
        display: none;
    }

    /* Active Mobile Sidebar state */
    body.navbar-mobile-active {
        overflow: hidden;
    }

        body.navbar-mobile-active::after {
            content: "";
            position: fixed;
            inset: 0;
            background: rgba(5, 7, 10, 0.85);
            backdrop-filter: blur(8px);
            z-index: 998;
        }

    .navbar-mobile-active #navbar ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        background: var(--bg-dark-800);
        border-left: 1px solid var(--border-color);
        padding: 80px 20px 20px;
        z-index: 999;
        overflow-y: auto;
        box-shadow: var(--shadow-md);
        animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .navbar-mobile-active .navbar-actions {
        z-index: 1000;
    }

    .navbar-mobile-active .mobile-nav-toggle {
        position: fixed;
        top: 24px;
        left: 20px;
        z-index: 1000;
        color: var(--accent-color);
    }

    .navbar-mobile-active .navbar-nav .nav-link {
        padding: 12px 10px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    /* Mobile Dropdown styling */
    .navbar-mobile-active .dropdown ul {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(0, 0, 0, 0.15);
        margin: 5px 0;
        border: none;
        box-shadow: none;
        padding-right: 15px;
    }

    .navbar-mobile-active .dropdown.dropdown-active > ul {
        display: block;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Modals & Popups (Search Console)
   ========================================================================== */
.modal-content {
    background-color: var(--bg-dark-800);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

    .modal-header .modal-title {
        font-size: 1.1rem;
        color: var(--text-primary);
    }

    .modal-header .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

.modal-body .form-control {
    background-color: var(--bg-dark-900);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 12px;
    transition: var(--transition-smooth);
}

    .modal-body .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: var(--shadow-glow);
        outline: none;
    }

.modal-body .btn-warning {
    background: var(--primary-glow);
    border: none;
    color: #000 !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 24px;
    transition: var(--transition-smooth);
}

    .modal-body .btn-warning:hover {
        box-shadow: var(--shadow-glow);
        transform: translateY(-1px);
    }

/* ==========================================================================
   Footer Section
   ========================================================================== */
footer {
    background-color: var(--bg-dark-800);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    font-size: 13.5px;
    color: var(--text-secondary);
}

    footer .copyright {
        color: var(--text-primary);
        font-weight: 500;
    }

    footer .credits {
        margin-top: 6px;
        color: var(--text-muted);
    }

        footer .credits a {
            color: var(--accent-color);
        }

    footer .footer-links {
        margin-top: 20px;
    }

        footer .footer-links a {
            color: var(--text-secondary);
            margin: 0 10px;
            transition: var(--transition-smooth);
        }

            footer .footer-links a:hover {
                color: var(--accent-color);
                text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
            }

    footer img {
        filter: grayscale(1) opacity(0.7) contrast(1.5);
        transition: var(--transition-smooth);
        background-color: #fff;
        padding: 8px;
        border-radius: 8px;
    }

        footer img:hover {
            filter: none;
            opacity: 1;
        }

/* ==========================================================================
   Utility Classes & Overrides
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 996;
    background: var(--primary-glow);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top i {
        font-size: 24px;
        color: #000;
    }

    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-glow);
    }

/* Custom Utilities for fonts and sizes */
.fs-xxs {
    font-size: 0.7rem;
}

.fs-xs {
    font-size: 0.8rem;
}

.fs-sm {
    font-size: 0.9rem;
}

.fs-md {
    font-size: 1rem;
}

.fs-lg {
    font-size: 1.15rem;
    line-height: 1.6;
}

.fs-xl {
    font-size: 1.4rem;
}

.fs-xxl {
    font-size: 1.8rem;
}

.text-gray {
    color: var(--text-muted);
}

.lh-3 {
    line-height: 1.8;
}

.br-12 {
    border-radius: 12px;
}

.w-fit-content {
    width: fit-content !important;
}

.section-ai {
    position: relative;
    padding: 72px 0;
}

.bg-grid {
    background: radial-gradient(900px 420px at 10% 10%, rgba(124,77,255,.20), transparent 60%), radial-gradient(900px 420px at 90% 25%, rgba(25,182,255,.18), transparent 60%), radial-gradient(900px 420px at 55% 90%, rgba(46,233,166,.14), transparent 60%), linear-gradient(180deg, var(--bg0), var(--bg1));
}

.glass {
    background: var(--card);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
}

    .glass:hover {
        background: var(--card2);
        transform: translateY(-2px);
        transition: .2s ease;
    }

.glow-border {
    position: relative;
}

    .glow-border::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 18px;
        padding: 1px;
        background: linear-gradient(135deg, rgba(124,77,255,.7), rgba(25,182,255,.5), rgba(46,233,166,.55));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
        opacity: .55;
    }

.h-title {
    color: var(--text);
    letter-spacing: -.2px;
    font-weight: 800;
}

.h-muted {
    color: var(--muted);
}

.btn-ai {
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(135deg, rgba(124,77,255,.25), rgba(25,182,255,.18));
    color: var(--text);
    border-radius: 14px;
    padding: 10px 14px;
}

    .btn-ai:hover {
        border-color: rgba(46,233,166,.45);
    }

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

    .glass-container:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

.glow-text {
    background: linear-gradient(90deg, #fff, #a8b3cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Input Style */
.glass-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 12px 16px;
    border-radius: 12px;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--primary-glow) !important;
    box-shadow: 0 0 10px rgba(46, 233, 166, 0.2);
    outline: none;
}

/* Placeholder color */
.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.feature-card {
    transition: .25s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 50px rgba(0,0,0,.35);
    }

.feature-icon {
    width: 64px;
    height: 64px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent-color) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
    box-shadow: 0 0 25px color-mix(in srgb, var(--accent-color) 30%, transparent);
    color: var(--accent-color);
    font-size: 28px;
}

    .feature-icon i {
        line-height: 1;
    }

.feature-title {
    font-size: 1rem;
    font-weight: 700;
}

    .feature-title a:hover {
        color: var(--aqua) !important;
    }
/* استایل کارت بلاگ */
.blog-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .blog-card:hover {
        border-color: var(--primary-glow);
        transform: translateY(-8px);
    }

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    /* افکت محو شدگی پایین عکس برای ادغام با کارت */
    .blog-img::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to top, var(--bg-dark), transparent);
    }

/* اصلاح استایل لینک‌ها */
.card-title a:hover {
    color: var(--aqua) !important;
}

/* استایل دکمه‌های آکاردئون */
.accordion-button {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

    .accordion-button:not(.collapsed) {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        color: var(--aqua) !important;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    }

/* استایل بدنه پاسخ */
.accordion-collapse {
    background: rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.text-aqua {
    color: var(--aqua); /* فرض بر این است که متغیر رنگ آبی نئونی را دارید */
}

/* برای حذف فلش پیش‌فرض بوت‌استرپ و جایگزینی */
.accordion-button::after {
    filter: invert(1);
}
.hero-section {
    position: relative;
    padding: 90px 0 70px;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(0, 255, 255, 0.12), transparent 35%), radial-gradient(circle at bottom right, rgba(128, 0, 255, 0.10), transparent 30%);
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--aqua);
    font-size: .85rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.text-accent {
    color: var(--aqua);
    text-shadow: 0 0 18px rgba(0, 255, 255, 0.35);
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.5rem;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.btn-primary-neo,
.btn-outline-neo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.btn-primary-neo {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.18);
}

    .btn-primary-neo:hover {
        transform: translateY(-2px);
        color: #fff;
        box-shadow: 0 14px 34px rgba(0, 212, 255, 0.25);
    }

.btn-outline-neo {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

    .btn-outline-neo:hover {
        border-color: rgba(0, 255, 255, 0.35);
        color: var(--aqua);
        transform: translateY(-2px);
    }

.hero-points {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

    .hero-points span {
        padding: .4rem .75rem;
        border-radius: 999px;
        font-size: .85rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.07);
        color: rgba(255, 255, 255, 0.75);
    }

.hero-image-wrap {
    position: relative;
    display: inline-block;
    padding: 18px;
}

    .hero-image-wrap::before {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 28px;
        background: radial-gradient(circle, rgba(0, 255, 255, 0.18), transparent 65%);
        filter: blur(18px);
        z-index: 0;
    }

.hero-image {
    position: relative;
    z-index: 1;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.35));
}
/* Pricing card base styles */
.pricing-card {
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .pricing-card:hover {
        border-color: rgba(0, 255, 255, 0.3);
    }

/* Recommended Plan: Premium Glow */
.pricing-recommended {
    border: 2px solid var(--aqua);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
    transform: scale(1.03);
}

.badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--aqua);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Typography & Icon overrides */
.text-aqua {
    color: var(--aqua);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

/* Ensuring layout consistency */
.pricing-card .btn-primary-neo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.pricing-recommended .btn-primary-neo {
    background: var(--aqua);
    color: #000;
    font-weight: bold;
}
/* Card Hover Effect */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--aqua);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

/* Icon Box Styling */
.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 2rem;
    color: var(--aqua);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glowing effect on hover */
.service-card:hover .icon-box {
    background: var(--aqua);
    color: #000;
    box-shadow: 0 0 20px var(--aqua);
}

/* Button style consistency */
.btn-outline-neo {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: 0.3s;
}

.service-card:hover .btn-outline-neo {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--aqua);
}
/* Benefits Section Base Styling */
.benefits-section {
    background: #030712; /* Dark slate background */
    overflow: hidden;
}

/* Background Ambient Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    z-index: 1;
}

.glow-1 {
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: var(--aqua);
}

.glow-2 {
    bottom: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: #7c3aed; /* Purple ambient glow */
}

/* Image Container Glow */
.benefit-img-wrapper {
    position: relative;
    padding: 10px;
}

.glow-img {
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .glow-img:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 20px 50px rgba(0, 255, 255, 0.2);
    }

/* Benefit Cards (Glassmorphism) */
.benefit-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .benefit-card:hover {
        transform: translateY(-5px);
        border-color: rgba(0, 255, 255, 0.25);
        box-shadow: 0 10px 30px rgba(0, 255, 255, 0.05);
    }

/* Benefit Icons */
.benefit-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    color: var(--aqua);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-box {
    background: var(--aqua);
    color: #030712;
    box-shadow: 0 0 15px var(--aqua);
}

/* Stat Numbers styling */
.stat-number {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--aqua) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: sans-serif; /* For better number presentation */
}
/* Portfolio Card Design */
.portfolio-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

    .portfolio-card:hover {
        transform: translateY(-10px);
        border-color: var(--aqua);
        box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
    }

/* Image wrapper styling */
.img-wrapper {
    overflow: hidden;
    height: 200px; /* Uniform height for all images */
}

    .img-wrapper img {
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.portfolio-card:hover .img-wrapper img {
    transform: scale(1.1);
}

/* Overlay to ensure text readability on images */
.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
/* Testimonial Section Styling */
.testimonials-section {
    position: relative;
    padding-bottom: 3rem;
}

/* Card Hover Effect */
.testimonial-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .testimonial-card:hover {
        transform: translateY(-8px);
        border-color: var(--aqua);
        box-shadow: 0 10px 30px rgba(0, 255, 255, 0.05);
    }

/* Typography Overrides */
.italic {
    font-style: italic;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Text color adjustments */
.testimonial-card .text-aqua {
    color: var(--aqua);
    font-weight: 500;
}
/* Styling Nav Links */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--aqua) !important; /* رنگ فیروزه‌ای که در بقیه سایت استفاده کردیم */
    }

/* Ensure navbar branding looks good */
.navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
    background: linear-gradient(45deg, #fff, var(--aqua));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* AI Core Animation */
.ai-core-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-center {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--aqua) 0%, transparent 70%);
    box-shadow: 0 0 50px var(--aqua);
    border-radius: 50%;
    animation: core-pulse 2s infinite alternate;
}

@keyframes core-pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }

    to {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 80px var(--aqua);
    }
}

.text-gradient-purple {
    background: linear-gradient(90deg, #7c3aed, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge Style */
.ai-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    background: var(--aqua);
    border-radius: 50%;
    margin-left: 10px;
    box-shadow: 0 0 10px var(--aqua);
    animation: blink 1s infinite;
}

/* Glassmorphic navbar - single rule (was two conflicting ones); slightly lighter
   blur than before since this backdrop-filter runs continuously while scrolling. */
.glass-navbar {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;
    z-index: 1050;
    transition: background-color 0.3s ease-in-out;
}

/* Brand Text Styling */
.navbar-brand .brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-brand .logo-dot {
    width: 8px;
    height: 8px;
    background: #00f2fe;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f2fe;
}

/* Nav Link Hover Effects */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #00f2fe !important;
    }

/* Glowing Login Button */
.btn-login {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    color: #00f2fe;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background: #00f2fe;
        color: #030712;
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
        transform: translateY(-2px);
    }

/* Glass Dropdown Menu */
.glass-dropdown {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px !important;
    margin-top: 10px !important;
}

    /* The markup already carries "animate slideIn" classes that never matched any
       rule, so dropdowns just popped open instantly. One-shot opacity/transform
       animation (GPU-composited, not looping) - runs once per open. */
    .dropdown-menu.animate {
        animation: dropdown-fade-in .18s ease;
    }

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dropdown-menu.animate {
        animation: none;
    }
}

    .glass-dropdown .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        text-align: right;
        transition: all 0.2s ease;
    }

        .glass-dropdown .dropdown-item:hover {
            background: rgba(0, 242, 254, 0.1);
            color: #00f2fe;
        }

/* The legacy ".navbar .dropdown ul" / ".navbar .dropdown:hover > ul" rules further up
   this file (kept for other areas that still use the old #navbar markup) only reveal
   dropdowns on :hover. Their selectors also match this header by accident, which hid
   the "محصولات"/"دوره ها" submenus on mobile since touch has no hover state. Restore
   Bootstrap's own click/tap-to-toggle ".show" behavior for this header specifically. */
.glass-navbar .dropdown-menu {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    top: 100% !important;
}

    .glass-navbar .dropdown-menu.show {
        display: block !important;
    }

/* The real cause of the mobile menu looking "incomplete": the old template's
   "@media (max-width:991px) { .navbar ul { display:none } }" rule (further up this
   file) unconditionally hides every <ul> inside any .navbar at mobile widths, expecting
   a ".navbar-mobile-active" class from its own (unused here) JS to reveal it again. That
   selector also matches this header's <ul class="navbar-nav">, so on any screen <=991px
   the whole link list - not just the dropdowns above - was permanently hidden; only the
   login/account block survived because it's a <div>, not a <ul>. Scoped back on here. */
@media (max-width: 991.98px) {
    .glass-navbar .navbar-nav {
        display: flex !important;
    }
}
/* Service Card Base */
.service-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .service-card:hover {
        transform: translateY(-8px);
        border-color: rgba(0, 242, 254, 0.3);
        box-shadow: 0 15px 35px rgba(0, 242, 254, 0.08);
    }

/* Icon Container with glowing effects */
.service-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

/* Individual Icon Glowing Themes */
.fast-web {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.ai-content {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #a78bfa;
}

.seo-opt {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}

.web-app {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Card hover -> Icon pulse glow */
.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 0 20px currentColor;
}

/* Service Action Button */
.btn-service-detail {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card:hover .btn-service-detail {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
    color: #00f2fe;
}
/* Styling for the new integrated Hero */
.text-gradient-purple {
    background: linear-gradient(135deg, #00f2fe 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .glass-feature:hover {
        background: rgba(255, 255, 255, 0.07);
        border-color: var(--aqua);
        transform: translateX(-5px);
    }

.ai-pulse {
    width: 10px;
    height: 10px;
    background: #00f2fe;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    box-shadow: 0 0 10px #00f2fe;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.floating-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-aqua-glow {
    background: #00f2fe;
    color: #030712;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transition: all 0.3s ease;
}

    .btn-aqua-glow:hover {
        box-shadow: 0 0 35px rgba(0, 242, 254, 0.6);
        transform: translateY(-3px);
    }
/* Custom Badges */
.badge-custom {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ai-badge {
    border-color: #a78bfa;
    color: #a78bfa;
}

/* Dual Side Card Styling */
.hero-split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: rgba(7, 10, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.side {
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    transition: transform 0.3s;
}

.web-side {
    background: linear-gradient(180deg, rgba(0, 242, 254, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.ai-side {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.side i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.web-side i {
    color: #00f2fe;
}

.ai-side i {
    color: #a78bfa;
}

.side:hover {
    transform: translateY(-10px);
}
.hero-top-visual {
    position: relative;
}

.hero-visual-img {
    max-width: 520px; /* Adjust if you want it bigger/smaller */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 35px rgba(0, 242, 254, 0.10));
}

/* Optional: subtle glow ring behind the image to blend with neon theme */
.hero-top-visual::before {
    content: "";
    position: absolute;
    inset: -10px;
    margin: auto;
    width: min(560px, 100%);
    height: 220px;
    background: radial-gradient( circle at 30% 40%, rgba(0, 242, 254, 0.18), transparent 55% ), radial-gradient( circle at 70% 60%, rgba(124, 58, 237, 0.16), transparent 55% );
    filter: blur(18px);
    z-index: -1;
}
.portfolio-lite {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: #8b5cf6;
    font-size: 14px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.section-subtitle {
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.work-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

    .work-card:hover {
        transform: translateY(-6px);
        border-color: rgba(99, 102, 241, 0.45);
    }

.work-card__image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.work-card__body {
    padding: 20px;
}

.work-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.work-card__title {
    font-size: 20px;
    margin: 0;
    color: #fff;
}

.work-card__status {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #cbd5e1;
    white-space: nowrap;
}

.work-card__service {
    color: #94a3b8;
    line-height: 1.8;
    min-height: 52px;
}

.work-card__actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    text-decoration: none;
    border: none;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
}

.portfolio-cta {
    text-align: center;
    margin-top: 28px;
}

.empty-state {
    text-align: center;
    padding: 32px;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Order Page Base
========================= */
.order-page {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 28%), radial-gradient(circle at top left, rgba(168, 85, 247, 0.10), transparent 26%), #0b1020;
    color: #e5e7eb;
    min-height: 100vh;
    padding: 32px 0 80px;
}

    .order-page a {
        color: #a78bfa;
        text-decoration: none;
    }

        .order-page a:hover {
            color: #c4b5fd;
        }

/* =========================
   Shared Section Styles
========================= */
.section-head {
    margin-bottom: 32px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.14);
    color: #c4b5fd;
    border: 1px solid rgba(196, 181, 253, 0.18);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.4;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #9ca3af;
    line-height: 2;
    font-size: 16px;
}

.ln-40 {
    line-height: 2.2;
}

/* =========================
   Buttons
========================= */
.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff !important;
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.28);
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        color: #ffffff !important;
        box-shadow: 0 16px 36px rgba(79, 70, 229, 0.38);
    }

.btn-outline-custom {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f3f4f6 !important;
}

    .btn-outline-custom:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff !important;
        transform: translateY(-2px);
    }

/* =========================
   Hero Section
========================= */
.order-hero {
    padding: 40px 0 56px;
}

.order-hero__content {
    max-width: 680px;
}

.order-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #86efac;
    border: 1px solid rgba(134, 239, 172, 0.18);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.order-hero__title {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.35;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
}

.order-hero__text {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 2.1;
    margin-bottom: 24px;
}

.order-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.order-hero__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

    .order-hero__features li {
        position: relative;
        padding-right: 28px;
        color: #d1d5db;
        line-height: 1.9;
    }

        .order-hero__features li::before {
            content: "✓";
            position: absolute;
            right: 0;
            top: 0;
            color: #60a5fa;
            font-weight: 900;
        }

.order-hero__media {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.order-video {
    width: 100%;
    display: block;
    border-radius: 20px;
    background: #020617;
}

/* =========================
   Intro Box
========================= */
.order-intro,
.order-benefits,
.order-services,
.order-process,
.why-hadaweb,
.order-policy,
.order-notes,
.pricing-section {
    margin-top: 72px;
}

.order-intro__box,
.content-card,
.policy-card,
.speed-card,
.benefits-image-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

    .benefits-image-card img,
    .speed-card img {
        border-radius: 18px;
        display: block;
        width: 100%;
    }

/* =========================
   Service Cards
========================= */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(99, 102, 241, 0.34);
        box-shadow: 0 18px 40px rgba(31, 41, 55, 0.26);
    }

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79,70,229,0.22), rgba(124,58,237,0.22));
    color: #c4b5fd;
    font-size: 24px;
    margin-bottom: 18px;
}

.service-card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: #cbd5e1;
    line-height: 2;
    margin-bottom: 0;
}

/* =========================
   Process Cards
========================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.process-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px 20px;
    min-height: 220px;
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px;
}

.process-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.process-card p {
    color: #cbd5e1;
    line-height: 2;
    margin-bottom: 0;
}

/* =========================
   Notes
========================= */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.note-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

    .note-card i {
        font-size: 28px;
        color: #a78bfa;
        margin-bottom: 14px;
        display: inline-block;
    }

    .note-card h3 {
        color: #fff;
        font-size: 19px;
        margin-bottom: 12px;
    }

    .note-card p {
        color: #cbd5e1;
        line-height: 2;
        margin-bottom: 0;
    }

/* =========================
   Pricing
========================= */
.pricing-card {
    position: relative;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    padding: 26px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        border-color: rgba(99, 102, 241, 0.34);
        box-shadow: 0 20px 50px rgba(0,0,0,0.24);
    }

.pricing-card--recommended {
    border-color: rgba(129, 140, 248, 0.45);
    box-shadow: 0 18px 44px rgba(79, 70, 229, 0.18);
}

.pricing-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.pricing-card__header h3 {
    margin-bottom: 16px;
    padding-left: 88px;
}

    .pricing-card__header h3 a {
        color: #ffffff;
        font-size: 24px;
        font-weight: 800;
    }

.pricing-price {
    margin-bottom: 14px;
    color: #e5e7eb;
}

    .pricing-price strong {
        display: block;
        font-size: 34px;
        line-height: 1.2;
        color: #ffffff;
        font-weight: 900;
    }

    .pricing-price span {
        color: #9ca3af;
    }

.pricing-extra {
    color: #c4b5fd;
    font-size: 14px;
    margin-bottom: 18px;
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

    .pricing-features li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #e5e7eb;
        line-height: 1.9;
    }

        .pricing-features li i {
            margin-top: 3px;
            color: #22c55e;
            flex-shrink: 0;
        }

        .pricing-features li.is-disabled {
            color: #94a3b8;
            opacity: 0.72;
        }

            .pricing-features li.is-disabled i {
                color: #ef4444;
            }

.pricing-card__footer {
    margin-top: 24px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1199.98px) {
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .service-grid,
    .notes-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-hero {
        padding-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .order-page {
        padding: 20px 0 56px;
    }

    .order-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
    }

    .service-grid,
    .notes-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .order-intro__box,
    .content-card,
    .policy-card,
    .speed-card,
    .benefits-image-card,
    .service-card,
    .note-card,
    .process-card,
    .pricing-card {
        padding: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .pricing-card__header h3 {
        padding-left: 0;
        padding-top: 34px;
    }
}
.education-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transition: 0.3s;
}

    .cat-card:hover {
        background: rgba(99, 102, 241, 0.1);
        border-color: rgba(99, 102, 241, 0.3);
    }

    .cat-card i {
        font-size: 28px;
        color: #8b5cf6;
        margin-bottom: 12px;
        display: block;
    }

    .cat-card h3 {
        font-size: 18px;
        color: #fff;
        margin-bottom: 8px;
    }

    .cat-card p {
        font-size: 14px;
        color: #94a3b8;
        margin: 0;
    }

/* Featured Course Style */
.featured-course-card {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 16px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

    .featured-course-card:hover {
        transform: translateY(-5px);
        border-color: #8b5cf6;
    }

    .featured-course-card img {
        width: 100%;
        border-radius: 16px;
        margin-bottom: 16px;
    }

.badge-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #8b5cf6;
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.featured-body h3 {
    color: #fff;
    margin-bottom: 8px;
}

.featured-body p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-link {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================================
   Course Details Premium Glassmorphism Theme Rules
   ========================================================================== */

/* Glassmorphic Breadcrumbs */
.glass-breadcrumb {
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

    .glass-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        color: var(--text-muted-light);
    }

    .glass-breadcrumb .breadcrumb-item a {
        color: var(--text-muted-light);
        text-decoration: none;
        transition: 0.3s;
    }

        .glass-breadcrumb .breadcrumb-item a:hover {
            color: var(--primary-indigo-light);
        }

.text-indigo {
    color: var(--primary-indigo-light) !important;
}

/* Base Glassmorphic Layout Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .glass-card:hover {
        border-color: rgba(139, 92, 246, 0.25);
        box-shadow: 0 8px 32px 0 var(--glass-glow);
    }

/* Banner overlay styles */
.banner-wrapper {
    max-height: 420px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, rgba(11, 15, 25, 0.9) 0%, transparent 100%);
}

/* Custom Highlight icon style */
.accent-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .accent-icon-box i {
        color: var(--primary-indigo-light);
        font-size: 24px;
    }

    .accent-icon-box.sm-box {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

        .accent-icon-box.sm-box i {
            font-size: 16px;
        }

/* Curriculum styles preserving absolute targeting compatibility */
.lesson-row {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    transition: 0.3s ease;
}

    .lesson-row:hover {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(139, 92, 246, 0.2);
    }

.lesson-badge-index {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-light);
    font-weight: bold;
}

.lesson-row.intro-lesson {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.02);
}

.video-responsive-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Sidebar Price & Meta Specs Styles */
.pricing-card-wrapper {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.course-specs-list li {
    font-size: 14.5px;
}

.teacher-resume-badge {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-indigo-light) !important;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    text-decoration: none;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

    .teacher-resume-badge:hover {
        background: var(--primary-indigo);
        color: white !important;
    }

.access-status-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

/* Glassmorphic Actions Glow button */
.btn-action-glow {
    background: linear-gradient(135deg, var(--primary-indigo) 0%, #6d28d9 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

    .btn-action-glow:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
    }

/* Social Sharing Utilities */
.btn-share {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-light);
    transition: 0.25s;
}

    .btn-share:hover {
        color: white;
        background: var(--primary-indigo);
        border-color: var(--primary-indigo-light);
        transform: translateY(-2px);
    }

.share-img-icon {
    width: 18px;
    height: 18px;
}

.filter-white {
    filter: invert(1);
}

/* Comment Thread Styles */
.glass-comment-bg {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.reply-thread-line {
    position: absolute;
    right: -24px;
    top: -16px;
    bottom: 24px;
    width: 2px;
    background: rgba(139, 92, 246, 0.2);
}

.btn-comment-action {
    background: none;
    border: none;
    color: var(--primary-indigo-light);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    transition: 0.2s;
}

    .btn-comment-action:hover {
        background: rgba(139, 92, 246, 0.1);
    }

.glass-textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: white;
}

    .glass-textarea:focus {
        background: rgba(255, 255, 255, 0.04);
        border-color: var(--primary-indigo-light);
        color: white;
        box-shadow: 0 0 8px rgba(139, 92, 246, 0.25);
    }

.alert-info-glass {
    background: rgba(139, 92, 246, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
}

/* Featured Card Style */
.featured-blog-card {
    display: block;
    height: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--glass-border);
}

.featured-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

.featured-blog-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

    .featured-content h3 {
        color: white;
        margin-bottom: 10px;
    }

    .featured-content p {
        color: #ccc;
        font-size: 14px;
    }

/* Grid Item Hover */
.blog-grid-item {
    transition: 0.3s;
}

    .blog-grid-item:hover {
        transform: translateY(-10px);
        border-color: var(--primary-indigo);
    }

/* Button */
.btn-indigo-glow {
    background: var(--primary-indigo);
    color: white;
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}

    .btn-indigo-glow:hover {
        box-shadow: 0 0 20px var(--primary-indigo);
        color: white;
    }

/* ==========================================================================
   Blog Show Page - Premium Glassmorphism Theme
   ========================================================================== */

/* Generic helpers */
.text-indigo {
    color: var(--primary-indigo-light) !important;
}

.text-muted-light {
    color: var(--text-muted-light) !important;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

/* Breadcrumb */
.glass-breadcrumb {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

    .glass-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        color: var(--text-muted-light);
    }

    .glass-breadcrumb .breadcrumb-item a {
        color: var(--text-muted-light);
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .glass-breadcrumb .breadcrumb-item a:hover {
            color: var(--primary-indigo-light);
        }

/* Glass card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(18px);
}

.article-shell {
    overflow: hidden;
}

/* Hero */
.blog-hero {
    max-height: 460px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.blog-hero-image {
    object-fit: cover;
    min-height: 260px;
    max-height: 460px;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.28) 35%, rgba(8, 12, 20, 0.08) 100%);
    pointer-events: none;
}

/* Title and intro */
.article-chip {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.28);
    color: var(--primary-indigo-light);
    font-size: 13px;
    font-weight: 700;
}

.blog-title-modern {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.5;
    font-weight: 800;
}

.blog-description-modern {
    font-size: 15px;
    line-height: 2;
}

.article-meta-row {
    padding: 14px 0 6px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #e5e7eb;
    font-size: 13px;
}

.article-intro-glass {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
}

.article-side-image {
    border: 1px solid var(--glass-border);
}

/* Main article content */
.blog-text-modern {
    color: #e5e7eb;
    line-height: 2.15;
    font-size: 15.5px;
}

    .blog-text-modern p,
    .blog-text-modern li {
        color: #dbe4f0;
        line-height: 2.15;
    }

    .blog-text-modern h1,
    .blog-text-modern h2,
    .blog-text-modern h3,
    .blog-text-modern h4,
    .blog-text-modern h5,
    .blog-text-modern h6 {
        color: #fff;
        margin-top: 2rem;
        margin-bottom: 1rem;
        line-height: 1.8;
    }

    .blog-text-modern img {
        max-width: 100%;
        height: auto;
        border-radius: 18px;
        margin: 1rem 0;
    }

    .blog-text-modern a {
        color: var(--primary-indigo-light);
        text-decoration: none;
    }

        .blog-text-modern a:hover {
            text-decoration: underline;
        }

    .blog-text-modern blockquote {
        border-right: 4px solid var(--primary-indigo);
        padding: 1rem 1.25rem;
        margin: 1.5rem 0;
        background: rgba(139, 92, 246, 0.08);
        border-radius: 16px;
    }

    .blog-text-modern code {
        background: rgba(255, 255, 255, 0.06);
        padding: 3px 8px;
        border-radius: 8px;
        font-size: 0.92em;
    }

    .blog-text-modern pre {
        background: #0b1220;
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1rem;
        border-radius: 16px;
        overflow-x: auto;
    }

/* Feedback */
.article-feedback-box {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
}

.reaction-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: #d1d5db;
    transition: all 0.25s ease;
}

    .reaction-btn:hover {
        transform: translateY(-2px);
        color: #fff;
        border-color: rgba(139, 92, 246, 0.4);
        box-shadow: 0 8px 24px rgba(139, 92, 246, 0.18);
    }

    .reaction-btn.liked {
        color: #22c55e;
        border-color: rgba(34, 197, 94, 0.35);
        background: rgba(34, 197, 94, 0.08);
    }

    .reaction-btn.disliked {
        color: #ef4444;
        border-color: rgba(239, 68, 68, 0.35);
        background: rgba(239, 68, 68, 0.08);
    }

/* Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-blogs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-blog-item {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

    .sidebar-blog-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.sidebar-blog-link {
    color: #f3f4f6;
    transition: color 0.25s ease;
    line-height: 1.9;
}

    .sidebar-blog-link:hover {
        color: var(--primary-indigo-light);
    }

.cta-glass-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.02));
}

/* Accent icon */
.accent-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .accent-icon-box i {
        color: var(--primary-indigo-light);
        font-size: 20px;
    }

    .accent-icon-box.sm-box {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

        .accent-icon-box.sm-box i {
            font-size: 15px;
        }

/* Buttons */
.btn-action-glow {
    background: linear-gradient(135deg, var(--primary-indigo), #6d28d9);
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.28);
    transition: all 0.25s ease;
}

    .btn-action-glow:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(139, 92, 246, 0.38);
    }

.btn-share {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

    .btn-share:hover {
        transform: translateY(-2px);
        color: #fff;
        background: rgba(139, 92, 246, 0.22);
        border-color: rgba(139, 92, 246, 0.35);
    }

.share-img-icon {
    width: 18px;
    height: 18px;
}

.filter-white {
    filter: brightness(0) invert(1);
}

/* Auth box */
.auth-required-banner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 193, 7, 0.3);
}

/* Comment form */
.glass-form {
    padding: 0;
}

.glass-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    min-height: 140px;
}

    .glass-textarea::placeholder {
        color: #94a3b8;
    }

    .glass-textarea:focus {
        color: #fff;
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(139, 92, 246, 0.45);
        box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.12);
    }

.alert-info-glass {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.14);
}

/* Comments */
.comments-list-layer {
    margin-top: 1rem;
}

.glass-comment-bg {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--glass-border);
}

.comment-avatar {
    object-fit: cover;
    border: 1px solid rgba(139, 92, 246, 0.22);
}

.comment-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-indigo-light);
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.18);
    text-decoration: none;
    transition: all 0.2s ease;
}

    .comment-action-btn:hover {
        color: #fff;
        background: rgba(139, 92, 246, 0.22);
    }

.reply-thread-line {
    position: absolute;
    right: -18px;
    top: -10px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.28), rgba(139, 92, 246, 0.05));
}

.reply-to-label {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted-light);
    font-size: 12.5px;
}

.empty-comments-state {
    border: 1px dashed rgba(139, 92, 246, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive */
@media (max-width: 991.98px) {
    .sticky-sidebar {
        position: static;
        top: auto;
    }

    .blog-title-modern {
        font-size: 1.7rem;
    }

    .blog-text-modern {
        font-size: 15px;
        line-height: 2.05;
    }
}

@media (max-width: 575.98px) {
    .glass-card {
        border-radius: 18px;
    }

    .blog-title-modern {
        font-size: 1.45rem;
    }

    .meta-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .reaction-btn {
        width: 44px;
        height: 44px;
    }
}
/* Hero Section */
.work-samples-hero .hero-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.hero-chip {
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-indigo-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-description {
    max-width: 600px;
}

/* Section Header */
.section-header-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

.accent-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-indigo-light);
    border-radius: 14px;
    font-size: 1.5rem;
}

.status-counter-badge {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-weight: 500;
}

/* Portfolio Cards */
.work-sample-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

    .work-sample-card:hover {
        background: var(--glass-bg-strong);
        transform: translateY(-5px);
        border-color: rgba(139, 92, 246, 0.3);
    }

.work-sample-image-wrap {
    height: 200px;
    overflow: hidden;
}

.work-sample-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-sample-card:hover .work-sample-image {
    transform: scale(1.05);
}

/* Card Badges */
.work-sample-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    color: white;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-archived {
    background: rgba(234, 179, 8, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.status-support {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Buttons */
.btn-sample-link {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-indigo-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 8px 16px;
    border-radius: 10px;
    flex: 1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

    .btn-sample-link:hover {
        background: var(--primary-indigo);
        color: white;
    }

.btn-sample-detail {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 10px;
    flex: 1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

    .btn-sample-detail:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

/* Glass Modal */
.glass-modal-content {
    background: rgba(15, 23, 42, 0.95); /* Dark blueish-gray background */
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: white;
}

/* Ensure modal body text looks good on dark background */
#detail-modal-body {
    color: #cbd5e1;
    line-height: 1.6;
}
/* ==========================================================================
   Service Details Page - Glassmorphism Theme
   ========================================================================== */

.service-details-page {
    position: relative;
}

.service-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.service-cover-wrap {
    position: relative;
    min-height: 320px;
    max-height: 480px;
    overflow: hidden;
}

.service-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.78) 100%), linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.18));
}

.service-cover-content {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 2rem;
    z-index: 2;
}

.service-title {
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1.5;
}

.service-subtitle {
    max-width: 720px;
    font-size: 1rem;
}

.service-meta-wrapper {
    position: relative;
}

.glass-card-inner {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.service-meta {
    margin-top: -2.5rem;
    position: relative;
    z-index: 3;
}

.meta-author-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.meta-label {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.meta-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.24);
    font-size: 1.1rem;
}

.service-content {
    padding: 1.5rem;
}

.service-description {
    color: #dbe4f0;
    font-size: 1rem;
    line-height: 2;
}

    .service-description img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
        margin: 1rem 0;
    }

    .service-description p {
        margin-bottom: 1rem;
    }

    .service-description h2,
    .service-description h3,
    .service-description h4,
    .service-description h5,
    .service-description h6 {
        color: #fff;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
        font-weight: 700;
    }

    .service-description ul,
    .service-description ol {
        padding-right: 1.2rem;
        margin-bottom: 1rem;
    }

    .service-description li {
        margin-bottom: 0.5rem;
    }

    .service-description a {
        color: #a78bfa;
        text-decoration: none;
    }

        .service-description a:hover {
            color: #c4b5fd;
            text-decoration: underline;
        }

@media (max-width: 991.98px) {
    .service-meta {
        margin-top: 0;
    }

    .service-cover-content {
        padding: 1.5rem;
    }

    .service-meta-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .service-title {
        font-size: 1.35rem;
    }

    .service-subtitle {
        font-size: 0.95rem;
    }

    .glass-card-inner {
        padding: 1rem;
    }

    .service-content {
        padding: 1rem;
    }

    .meta-date {
        justify-content: flex-start !important;
    }
}
.glass-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.glass-accordion .accordion-button {
    background: transparent !important;
    color: white !important;
    font-weight: 600;
}

    .glass-accordion .accordion-button:not(.collapsed) {
        box-shadow: none;
        background: rgba(139, 92, 246, 0.1) !important;
    }

.glass-accordion .accordion-body {
    color: #cbd5e1;
    line-height: 1.8;
}

.shadow-indigo {
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
/* ==========================================================================
   Choosing Options Page
   ========================================================================== */

.choosing-options-page {
    position: relative;
}

.glass-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.2rem 1.25rem;
    backdrop-filter: blur(12px);
}

.section-heading h2,
.section-heading h3 {
    font-weight: 800;
}

.custom-glass-select {
    min-width: 260px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    box-shadow: none !important;
}

    .custom-glass-select:focus {
        border-color: rgba(139, 92, 246, 0.55);
        box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.15) !important;
        background: rgba(15, 23, 42, 0.9);
        color: #fff;
    }

.options-list-wrapper {
    margin-top: 1.5rem;
}

.option-card {
    height: 100%;
    border-radius: 18px;
    transition: all 0.25s ease;
}

.option-card-inner {
    height: 100%;
    padding: 1rem;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: space-between;
    min-height: 170px;
}

.option-card-locked .option-card-inner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(99, 102, 241, 0.14));
    border: 1px solid rgba(96, 165, 250, 0.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.option-card-available .option-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.option-card:hover {
    transform: translateY(-4px);
}

.option-card-available:hover .option-card-inner {
    border-color: rgba(139, 92, 246, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.option-card-locked .option-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #bfdbfe;
}

.option-card-available .option-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
}

.option-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.option-meta {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.8;
}

.selection-hint {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    color: #cbd5e1;
    background: rgba(139, 92, 246, 0.08);
    border: 1px dashed rgba(139, 92, 246, 0.28);
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

.summary-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.14);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.24);
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-item,
.pricing-total {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1rem;
}

.pricing-label,
.pricing-total-label {
    color: #94a3b8;
    margin-bottom: 0.45rem;
}

.pricing-value,
.pricing-total-value {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.15), transparent);
    list-style: none;
}

.auth-required-card {
    max-width: 760px;
    margin: 0 auto;
}

.auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.14);
    color: #c4b5fd;
    font-size: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.22);
}

.btn-glow {
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.24);
}

.faq-glass .faq-modern-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-modern-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
}

.faq-modern-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    font-size: 1.1rem;
}

.faq-modern-item a {
    color: #a78bfa;
    text-decoration: none;
}

    .faq-modern-item a:hover {
        color: #c4b5fd;
        text-decoration: underline;
    }

@media (max-width: 1199.98px) {
    .sticky-summary {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .custom-glass-select {
        width: 100% !important;
        min-width: unset;
    }

    .option-card-inner {
        min-height: auto;
    }

    .faq-modern-item {
        flex-direction: column;
    }
}
/* =========================
   Account Menu / Sidebar
   Premium Dark Glassmorphism
   ========================= */

.account-menu-wrap {
    position: sticky;
    top: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(15,23,42,.78));
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.account-menu-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: .75rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .account-menu-title i {
        color: #8fb5ff;
        font-size: 1.05rem;
    }

.account-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.account-menu-item {
    margin: 0;
    padding: 0;
}

.account-menu-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    width: 100%;
    padding: .88rem 1rem;
    border-radius: 18px;
    text-decoration: none;
    color: #dbe7ff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    transition: all .2s ease;
    font-weight: 700;
    line-height: 1.6;
}

    .account-menu-link i {
        font-size: 1rem;
        color: #9ebcff;
        min-width: 20px;
        text-align: center;
        transition: all .2s ease;
    }

    .account-menu-link:hover {
        color: #fff;
        background: rgba(255,255,255,.07);
        border-color: rgba(79,140,255,.26);
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }

        .account-menu-link:hover i {
            color: #ffffff;
            transform: scale(1.05);
        }

    .account-menu-link.active {
        color: #fff;
        background: linear-gradient(135deg, rgba(79,140,255,.18), rgba(124,92,255,.14));
        border-color: rgba(79,140,255,.30);
        box-shadow: 0 14px 30px rgba(79,140,255,.16);
    }

        .account-menu-link.active i {
            color: #ffffff;
        }

    .account-menu-link.logout-link {
        color: #ffd5dc;
        background: rgba(255,107,129,.08);
        border-color: rgba(255,107,129,.16);
    }

        .account-menu-link.logout-link i {
            color: #ff9cad;
        }

        .account-menu-link.logout-link:hover {
            color: #fff;
            background: rgba(255,107,129,.14);
            border-color: rgba(255,107,129,.30);
        }

.account-menu-divider {
    height: 1px;
    margin: .5rem 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    border: 0;
}

@media (max-width: 991.98px) {
    .account-menu-wrap {
        position: static;
        top: auto;
    }
}

/* ===== Brand Logo =====
   Previously: an infinitely-rotating conic-gradient ring built with
   mask-composite:exclude + filter:blur, animating via transform on every page,
   forever. Combining a CSS mask with a filter on a continuously-transformed
   element forces the browser to fully repaint it every frame instead of just
   compositing it on the GPU - one of the most expensive rendering patterns
   there is, and it never stopped since the header is present on every page.

   Now: the ring is a plain (unmasked) gradient disc sitting *behind* the inner
   disc, which simply covers its center - same visual result, no mask. It's
   static by default (zero ongoing cost) and only spins on hover, which is
   rare, brief, and never triggered on touch devices anyway. */

.brand-link {
    text-decoration: none;
    direction: rtl;
}

.brand-logo {
    --size: 42px;
    --c1: 79, 140, 255; /* blue */
    --c2: 124, 92, 255; /* violet */

    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

    /* ring: a plain gradient disc, hidden behind the inner disc except at the edge */
    .brand-logo::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: conic-gradient(from 0deg,
            rgba(var(--c1), .15) 0deg,
            rgba(var(--c1), 1) 90deg,
            rgba(var(--c2), .85) 180deg,
            rgba(var(--c1), .15) 270deg,
            rgba(var(--c1), .15) 360deg);
        z-index: 0;
        transform: translateZ(0); /* own GPU layer, ready before hover starts it moving */
    }

    /* soft static glow behind everything */
    .brand-logo::after {
        content: "";
        position: absolute;
        inset: -8px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(var(--c1), .25) 0%, rgba(var(--c2), .12) 35%, transparent 70%);
        z-index: -1;
    }

/* inner disc: covers the ring's center, leaving only a thin border visible */
.brand-logo-inner {
    width: calc(var(--size) - 5px);
    height: calc(var(--size) - 5px);
    border-radius: 999px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

    .brand-logo-inner img {
        width: 22px;
        height: 22px;
        object-fit: contain;
        display: block;
    }

/* brand text */
.brand-text {
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
}

/* hover: the ring only spins here - never while it just sits in the header */
.brand-link:hover .brand-logo::before {
    animation: brand-rotate 1.8s linear infinite;
}

@keyframes brand-rotate {
    to {
        transform: translateZ(0) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-link:hover .brand-logo::before {
        animation: none;
    }
}
