/* =========================================
   TaviX - Main Stylesheet
   Professional Telegram Services Store
   Color Scheme: Blue + White + Black
   ========================================= */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --primary: #1a73e8;
    --primary-light: #4a9af5;
    --primary-dark: #0d47a1;
    --primary-rgb: 26, 115, 232;
    --primary-gradient: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    --primary-gradient-hover: linear-gradient(135deg, #4a9af5 0%, #1a73e8 100%);

    /* Secondary Colors */
    --secondary: #0f1923;
    --secondary-light: #1a2735;
    --secondary-dark: #080f15;

    /* Accent */
    --accent: #00d4ff;
    --accent-light: #33ddff;
    --accent-dark: #00a8cc;

    /* Status Colors */
    --success: #00c853;
    --success-light: #69f0ae;
    --warning: #ffc107;
    --warning-light: #ffecb3;
    --danger: #ff5252;
    --danger-light: #ff8a80;
    --info: #2196f3;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --black: #000000;

    /* Theme-aware surfaces (light values; overridden in dark mode below) */
    --surface: var(--white);
    --heading: var(--secondary);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 1000;
    --z-overlay: 1100;
    --z-modal: 1200;
    --z-toast: 1300;
    --z-loader: 9999;
}

/* =========================================
   Dark Mode Overrides
   Scoped to <html data-theme="dark">, never applied on admin pages.
   Only the neutral scale + a couple of semantic aliases are
   overridden; brand colors (--primary/--accent) and the permanently
   dark decorative tokens (--secondary, --gray-300, --white) are left
   untouched on purpose so existing dark panels (hero, footer, top
   bar) keep working unchanged.
   ========================================= */
html[data-theme="dark"] {
    --gray-50: #0a0e16;
    --gray-100: #111826;
    --gray-200: #232c3f;
    --gray-400: #6b7690;
    --gray-500: #8b96ac;
    --gray-600: #a7b1c4;
    --gray-700: #c3cbdb;
    --gray-800: #e9ecf2;
    --gray-900: #f5f7fa;

    --surface: #141b29;
    --heading: #f2f5f9;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] body {
    background-color: var(--gray-50);
}

/* Glass navbar: hardcoded light-mode translucency needs a dark pair */
html[data-theme="dark"] .glass-navbar {
    background: rgba(10, 14, 22, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .glass-navbar.scrolled {
    background: rgba(10, 14, 22, 0.96);
}

/* bg-glass utility (user dropdown trigger etc.) */
html[data-theme="dark"] .bg-glass {
    background: rgba(20, 27, 41, 0.85);
}

/* Alert text colors were hardcoded dark hex for contrast on a light
   tinted background — lighten them so they stay readable on dark. */
html[data-theme="dark"] .alert-success { color: #4ade80; }
html[data-theme="dark"] .alert-danger { color: #ff8080; }
html[data-theme="dark"] .alert-warning { color: #ffd166; }
html[data-theme="dark"] .alert-info { color: #6db8ff; }

/* Chat avatar (support ticket thread): initials sit on a
   permanently-light gray-300 circle, so keep the text dark even
   though gray-700 is inverted for dark mode everywhere else. */
html[data-theme="dark"] .chat-message.user .chat-avatar {
    color: #334155;
}

/* Product category ribbon over the image already uses a fixed
   translucent black — fine as-is, image itself anchors contrast. */

/* Scrollbar (uses --gray-100/--gray-400, already inherited, but
   Firefox's scrollbar-color needs an explicit dark pair) */
html[data-theme="dark"] {
    scrollbar-color: var(--gray-400) var(--gray-100);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--gray-50);
    color: var(--gray-800);
    font-size: var(--font-size-base);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--primary-rgb), 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

.loader-text {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.loader-text::after {
    content: '';
    display: inline-block;
    width: 0;
    animation: dots 1.5s steps(3) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes dots {
    0% { content: ''; width: 0; }
    33% { content: '.'; }
    66% { content: '..'; }
    100% { content: '...'; }
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--secondary);
    color: var(--gray-300);
    font-size: var(--font-size-xs);
    padding: 8px 0;
    position: relative;
    z-index: calc(var(--z-navbar) + 1);
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--primary-light);
}

.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    font-size: var(--font-size-xs);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--white);
    background: rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.3);
}

/* ===== Glass Navbar ===== */
.glass-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    transition: var(--transition);
    box-shadow: none;
    top: 33px;
    z-index: var(--z-navbar);
}

.glass-navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    border-bottom-color: transparent;
}

.glass-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.navbar-spacer {
    height: 103px;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.logo-wrapper:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--primary);
}

/* Hamburger Menu */
.navbar-toggler {
    border: none;
    background: none;
    padding: 8px;
    cursor: pointer;
    z-index: calc(var(--z-navbar) + 5);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navbar Content */
.navbar-collapse-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
    margin-inline-start: 30px;
}

.nav-mobile-header {
    display: none;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link i {
    font-size: 14px;
    opacity: 0.7;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    font-weight: 600;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
    margin-inline-start: 2px;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    min-width: 220px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    overflow: hidden;
    z-index: var(--z-dropdown);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.nav-dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-menu .dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    padding-inline-start: 22px;
}

.nav-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    opacity: 0.6;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    background: none;
}

.cart-btn {
    position: relative;
    color: var(--gray-700);
    padding: 10px;
    border-radius: var(--radius-full);
}

.cart-btn:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.cart-btn i {
    font-size: 18px;
}

/* Theme Toggle */
.theme-toggle-btn {
    position: relative;
    color: var(--gray-700);
    padding: 10px;
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.theme-toggle-btn i {
    font-size: 17px;
    position: absolute;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.theme-toggle-btn .theme-icon-light {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-toggle-btn .theme-icon-dark {
    opacity: 1;
    transform: rotate(0) scale(1);
}

html[data-theme="dark"] .theme-toggle-btn .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

html[data-theme="dark"] .theme-toggle-btn .theme-icon-light {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.cart-badge {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.login-btn {
    color: var(--gray-700);
}

.login-btn:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.06);
}

.register-btn {
    background: var(--primary-gradient);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.3);
}

.register-btn:hover {
    background: var(--primary-gradient-hover);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
    transform: translateY(-1px);
}

/* User Menu */
.nav-user-menu {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    background: var(--surface);
    cursor: pointer;
    transition: var(--transition);
}

[dir="rtl"] .nav-user-btn {
    padding: 5px 5px 5px 12px;
}

.nav-user-btn:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-700);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: 280px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: var(--z-dropdown);
    overflow: hidden;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 16px 18px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.user-info-name {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    font-size: var(--font-size-sm);
}

.user-info-email {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    margin-top: 2px;
}

.user-dropdown-body .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
}

.user-dropdown-body .dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
}

.user-dropdown-body .dropdown-item i {
    width: 18px;
    text-align: center;
    opacity: 0.6;
}

.user-dropdown-body .dropdown-item.text-danger:hover {
    background: rgba(255, 82, 82, 0.06);
    color: var(--danger);
}

.user-dropdown-body .dropdown-item.admin-link {
    color: var(--warning);
}

.user-dropdown-body .dropdown-item.admin-link:hover {
    background: rgba(255, 193, 7, 0.08);
}

.wallet-badge {
    margin-inline-start: auto;
    font-size: var(--font-size-xs);
    color: var(--success);
    font-weight: 600;
    background: rgba(0, 200, 83, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 4px 0;
}

.mobile-lang-switcher {
    display: none;
}

/* Nav Overlay */
.nav-overlay {
    display: none;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary) 0%, #0d2137 50%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -80px;
    left: -80px;
    animation-delay: 3s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-300);
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
    color: var(--white);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a2735 0%, #0f1923 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.phone-screen .telegram-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 3s infinite;
}

.phone-screen .phone-title {
    font-size: 24px;
    font-weight: 800;
}

.phone-screen .phone-subtitle {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 8px;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite;
}

.hero-floating-card-1 {
    top: 60px;
    inset-inline-start: -60px;
    animation-delay: 0s;
}

.hero-floating-card-2 {
    bottom: 100px;
    inset-inline-end: -40px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.floating-card-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--gray-800);
}

.floating-card-value {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section Styling ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Category Cards ===== */
.category-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary-gradient);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-glow);
}

.category-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.category-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.5;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: var(--font-size-xs);
    color: var(--primary);
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 50px;
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
}

.product-discount-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    background: var(--danger);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 82, 82, 0.3);
}

.product-category-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    backdrop-filter: blur(4px);
}

.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--primary);
}

.product-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

.product-meta-item i {
    color: var(--primary);
    font-size: 12px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--primary);
}

.price-original {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-decoration: line-through;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-add-cart.added {
    background: var(--success);
}

/* ===== Features Section ===== */
.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.feature-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 6px;
}

.feature-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--primary-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 500px;
    margin-inline: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    background: var(--secondary);
    color: var(--gray-300);
    margin-top: 40px;
}

.footer-wave {
    position: relative;
    margin-top: -2px;
    color: var(--secondary);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.footer-links a i {
    font-size: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-inline-start: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: var(--font-size-sm);
}

.footer-contact li i {
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.footer-contact li a {
    color: var(--gray-400);
}

.footer-contact li a:hover {
    color: var(--primary-light);
}

.trust-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    color: var(--gray-400);
}

.trust-badge i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
}

.footer-bottom-links a {
    color: var(--gray-500);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

.footer-bottom-links .separator {
    color: var(--gray-600);
}

/* ===== Scroll to Top ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.5);
}

/* ===== Alert Customization ===== */
.alert {
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    padding: 14px 20px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    color: #00802a;
    border-inline-start: 4px solid var(--success);
}

.alert-danger {
    background: rgba(255, 82, 82, 0.1);
    color: #cc0000;
    border-inline-start: 4px solid var(--danger);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border-inline-start: 4px solid var(--warning);
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    color: #0d47a1;
    border-inline-start: 4px solid var(--info);
}

/* ===== Custom Buttons ===== */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary-custom:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Badge Styles ===== */
.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* ===== Card Base ===== */
.card-custom {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.card-custom:hover {
    box-shadow: var(--shadow-card);
}

.card-custom .card-header-custom {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-custom .card-body-custom {
    padding: 24px;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
}

.empty-state-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom li {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
}

.breadcrumb-custom li a {
    color: var(--gray-400);
}

.breadcrumb-custom li a:hover {
    color: var(--white);
}

.breadcrumb-custom li.active {
    color: var(--primary-light);
}

.breadcrumb-separator {
    font-size: 10px;
    color: var(--gray-600);
}

/* ===== Form Styles ===== */
.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-family: inherit;
    transition: var(--transition);
    background: var(--surface);
    color: var(--gray-800);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-control-custom::placeholder {
    color: var(--gray-400);
}

.form-label-custom {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

/* ===== Pagination ===== */
.pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.page-link-custom {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    background: var(--surface);
    transition: var(--transition);
}

.page-link-custom:hover {
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    border-color: var(--primary-light);
}

.page-link-custom.active {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .glass-navbar {
        top: 0;
    }
    
    .top-bar {
        display: none;
    }
    
    .navbar-spacer {
        height: 70px;
    }
    
    .navbar-collapse-custom {
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        width: 300px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 0;
        z-index: calc(var(--z-navbar) + 10);
        transform: translateX(-110%);
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
    }
    
    [dir="rtl"] .navbar-collapse-custom {
        transform: translateX(110%);
    }
    
    .navbar-collapse-custom.show {
        transform: translateX(0);
    }
    
    .nav-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-close-btn {
        width: 36px;
        height: 36px;
        border: none;
        background: var(--gray-100);
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
        color: var(--gray-600);
        transition: var(--transition);
    }
    
    .nav-close-btn:hover {
        background: var(--danger);
        color: var(--white);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 12px;
        gap: 2px;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        border-radius: var(--radius-sm);
        margin-top: 4px;
        display: none;
    }
    
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu .dropdown-item {
        padding: 10px 16px 10px 36px;
    }
    
    .nav-actions {
        width: 100%;
        padding: 12px;
        flex-direction: column;
        border-top: 1px solid var(--gray-100);
    }
    
    .nav-actions .nav-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cart-btn {
        border-radius: var(--radius-sm);
    }

    .theme-toggle-btn {
        border-radius: var(--radius-sm);
        height: auto;
        padding: 10px;
    }
    
    .nav-user-menu {
        width: 100%;
    }
    
    .nav-user-btn {
        width: 100%;
        justify-content: flex-start;
    }
    
    .user-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        width: 100%;
        background: var(--gray-50);
        border-radius: var(--radius-sm);
        margin-top: 8px;
        display: none;
    }
    
    .user-dropdown-menu.show {
        display: block;
    }
    
    .mobile-lang-switcher {
        display: flex;
        width: 100%;
        gap: 8px;
        padding: 0;
    }
    
    .mobile-lang-switcher a {
        flex: 1;
        text-align: center;
        padding: 10px;
        border-radius: var(--radius-sm);
        color: var(--gray-600);
        font-size: var(--font-size-sm);
        background: var(--gray-100);
    }
    
    .mobile-lang-switcher a.active {
        background: var(--primary);
        color: var(--white);
    }
    
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: calc(var(--z-navbar) + 5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero Responsive */
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 30px;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-stat-value {
        font-size: var(--font-size-2xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-badges {
        flex-direction: column;
    }
}

/* ===== Utility Classes ===== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-glass {
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===== AOS Custom ===== */
[data-aos] {
    pointer-events: auto !important;
}
/* =========================================
   Notification Bell & Dropdown
   ========================================= */
.nav-notif-menu {
    position: relative;
}

.notif-btn {
    position: relative;
}

.notif-badge {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    background: var(--danger);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 2s infinite;
}

.notif-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: 340px;
    max-width: 90vw;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: var(--z-dropdown);
    overflow: hidden;
}

.notif-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-800);
    font-size: var(--font-size-sm);
}

.notif-mark-all-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.notif-mark-all-btn:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.notif-dropdown-body {
    max-height: 380px;
    overflow-y: auto;
}

.notif-loading, .notif-empty {
    padding: 30px 16px;
    text-align: center;
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.notif-empty i {
    display: block;
    font-size: 26px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.notif-item.unread {
    background: rgba(var(--primary-rgb), 0.06);
}

.notif-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.notif-item-content {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 2px;
}

.notif-item-message {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0 0 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.notif-item-time {
    font-size: 11px;
    color: var(--gray-400);
}

.notif-item-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 6px;
}

.notif-dropdown-footer {
    padding: 10px 16px;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.notif-dropdown-footer a {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .notif-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        inset-inline-end: 0;
        inset-inline-start: 0;
        width: 100%;
        max-width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        transform: translateY(100%);
    }

    .notif-dropdown-menu.show {
        transform: translateY(0);
    }
}

/* =========================================
   Announcement Popup
   ========================================= */
.announce-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-toast);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.announce-overlay.show {
    opacity: 1;
    visibility: visible;
}

.announce-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-spring);
    position: relative;
}

.announce-overlay.show .announce-box {
    transform: scale(1) translateY(0);
}

.announce-box-header {
    padding: 18px 50px 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

[dir="rtl"] .announce-box-header {
    padding: 18px 20px 18px 50px;
}

.announce-box-header.announce-info { background: var(--primary-gradient); }
.announce-box-header.announce-success { background: linear-gradient(135deg, #00c853 0%, #009624 100%); }
.announce-box-header.announce-warning { background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%); }
.announce-box-header.announce-danger { background: linear-gradient(135deg, #ff5252 0%, #c62828 100%); }

.announce-box-header i {
    font-size: 22px;
}

.announce-box-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}

.announce-close-btn {
    position: absolute;
    top: 14px;
    inset-inline-end: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.announce-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.announce-box-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.announce-box-body {
    padding: 20px;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    line-height: 1.9;
    max-height: 40vh;
    overflow-y: auto;
    white-space: pre-line;
}

.announce-box-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.announce-box-footer .btn-announce-action {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.announce-box-footer .btn-announce-action:hover {
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
    color: var(--white);
    transform: translateY(-1px);
}

.announce-box-footer .btn-announce-dismiss {
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition);
}

.announce-box-footer .btn-announce-dismiss:hover {
    background: var(--gray-200);
}

/* =========================================
   Telegram Bot Connect (Profile page)
   ========================================= */
.tg-connect-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
}

.tg-connect-status.tg-connected {
    background: rgba(0, 200, 83, 0.08);
    color: var(--success);
}

.tg-connect-status.tg-connected i {
    font-size: 22px;
    color: var(--success);
}

.tg-connect-status.tg-disconnected {
    background: rgba(255, 82, 82, 0.08);
    color: var(--danger);
}

.tg-connect-status.tg-disconnected i {
    font-size: 20px;
    color: var(--danger);
}
