/* ===== CSS RESET & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
    /* Colors - New Premium Purple/Gold Theme */
    --bg-dark: #0a0a1a;
    --bg-darker: #05050f;
    --card-bg: rgba(20, 15, 45, 0.8);
    --card-border: rgba(139, 92, 246, 0.2);

    --primary: #a855f7;
    --primary-dark: #7c3aed;
    --primary-light: #c084fc;
    --primary-hover: #9333ea;
    --primary-glow: rgba(168, 85, 247, 0.4);
    
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.4);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --success: #10b981;
    --error: #ef4444;
    --info: #3b82f6;

    /* Social Colors */
    --instagram: #e1306c;
    --tiktok: #00f2fe;
    --telegram: #0088cc;

    /* Typography */
    --font-family: 'Cairo', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.7);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.7), 0 2px 4px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.05);
    --glass-blur: blur(16px);

    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* ===== BACKGROUND EFFECTS ===== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
}

.orb-1 {
    top: -15%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(5, 5, 15, 0) 70%);
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    bottom: -15%;
    left: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(5, 5, 15, 0) 70%);
    animation: orbFloat2 15s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(25px) scale(0.97); }
}

/* ===== TYPOGRAPHY & UTILITIES ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 14px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

/* ===== GLASSMORPHISM ===== */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 14px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-primary-sm {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    background-color: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* WhatsApp button */
.btn-whatsapp {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(5, 5, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 14px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.logo span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--card-border);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
    right: auto;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 28px;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
    50% { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 22px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-illustration {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.stats-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 360px;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(10px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: auto;
    border-color: rgba(168, 85, 247, 0.25);
}

.stats-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(0);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(168, 85, 247, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.2);
}

.stat-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.stat-icon.tiktok {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon.shield {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #000;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    padding: 40px 32px;
    transition: var(--transition);
    border-color: rgba(168, 85, 247, 0.15);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(168, 85, 247, 0.1);
}

.service-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.facebook-bg {
    background: linear-gradient(135deg, #1877f2 0%, #0c57b8 100%);
}

.instagram-bg {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.tiktok-bg {
    background: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
}

.telegram-bg {
    background: linear-gradient(135deg, #1c92d2 0%, #f2fcfe 100%);
    color: #0088cc;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.service-features i {
    color: var(--primary);
    font-size: 0.9rem;
    background: rgba(168, 85, 247, 0.12);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== PROMOTION CTA SECTION ===== */
.whatsapp-contact-card {
    padding: 50px;
    max-width: 820px;
    margin: 0 auto;
    border-color: rgba(37, 211, 102, 0.2);
    background: linear-gradient(135deg, rgba(20, 15, 45, 0.9) 0%, rgba(5, 30, 15, 0.7) 100%);
    text-align: center;
}

.whatsapp-contact-card h3 {
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.whatsapp-contact-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promotion-btn {
    font-size: 1.2rem;
    padding: 15px 36px;
}

/* ===== ORDER SECTION ===== */
.order-card {
    padding: 40px;
}

.order-header {
    text-align: center;
    margin-bottom: 30px;
}

.order-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.order-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
}

.col-6 {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.required {
    color: var(--error);
}

input, select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 10, 26, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 14px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

input::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

.select-wrapper {
    position: relative;
}

select {
    appearance: none;
    cursor: pointer;
}

select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.select-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

select {
    padding-left: 40px;
    padding-right: 16px;
}

.price-display {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.price-value {
    padding: 14px 16px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px dashed rgba(168, 85, 247, 0.4);
    border-radius: 14px;
    color: var(--primary-light);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}

.help-text {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Alerts */
.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* ===== PAYMENT METHOD SECTION ===== */
.payment-method-section {
    padding: 20px;
    margin: 24px 0;
    border: 1px solid rgba(168, 85, 247, 0.2);
    background: rgba(10, 10, 26, 0.6);
    border-radius: 14px;
}

.payment-title {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 16px;
    text-align: center;
}

.mastercard-info {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(235, 0, 27, 0.08) 0%, rgba(247, 158, 27, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.mc-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-icon .fa-cc-mastercard {
    background: -webkit-linear-gradient(135deg, #FF5F00 0%, #EB001B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mc-details {
    display: flex;
    flex-direction: column;
}

.mc-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mc-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.mc-number:hover {
    color: var(--primary-light);
}

.copy-icon {
    font-size: 1rem;
    color: var(--text-muted);
}

.mc-number:hover .copy-icon {
    color: var(--primary);
}

.payment-instruction {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 16px;
}

/* ===== STATS COUNTER SECTION ===== */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.counter-card {
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-color: rgba(168, 85, 247, 0.15);
}

.counter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.counter-card:hover::before {
    opacity: 1;
}

.counter-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(168, 85, 247, 0.1);
}

.counter-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    color: white;
    margin-bottom: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.counter-value {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.counter-plus {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-top: -8px;
}

.counter-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== TESTIMONIALS SECTION ===== */
.testi-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.testi-slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 24px;
}

.testi-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-slide {
    flex: 0 0 calc(25% - 18px);
    aspect-ratio: 1 / 1 !important;
    padding: 16px;
    flex-shrink: 0;
    border-color: rgba(168, 85, 247, 0.15);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: auto !important;
}

.testi-slide:hover {
    border-color: rgba(168, 85, 247, 0.35);
}

.testi-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 3px;
}

.testi-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 14px;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.testi-text::-webkit-scrollbar {
    display: none;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.testi-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.testi-platform {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testi-nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-main);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(12px);
}

.testi-nav-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--primary);
    transform: scale(1.1);
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-border);
    cursor: pointer;
    transition: var(--transition);
}

.testi-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    border-color: rgba(168, 85, 247, 0.2);
    padding: 50px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
}

.about-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 24px;
    border: 2px solid rgba(168, 85, 247, 0.2);
    padding: 10px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(5, 5, 15, 0.9);
    border-top: 1px solid var(--card-border);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    display: block;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 1rem;
}

.social-icon:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-right: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ===== MOBILE DRAWER ===== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 200;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 5, 20, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--card-border);
    z-index: 150;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer .nav-link {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.mobile-drawer .nav-link:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ===== AUTH NAV ===== */
.auth-nav-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-balance-display {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 0.9rem;
    color: var(--primary-light);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 50;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px var(--primary-glow);
    transition: var(--transition);
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

#scrollTopBtn.visible {
    display: flex;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 16px 24px;
    color: var(--text-main);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.toast-success {
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.toast.toast-error {
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ===== LOADING SPINNER ===== */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(168, 85, 247, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
    margin: 30px 0;
}

/* ===== SECTION NEON DIVIDER ===== */
.section + .section {
    position: relative;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Hide desktop nav, show hamburger */
    .nav {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-illustration {
        justify-content: center;
    }

    .stats-card {
        transform: none;
        max-width: 100%;
        margin: 0;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 36px 24px;
    }

    .about-logo {
        display: flex;
        justify-content: center;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Testimonials */
    .testi-slide {
        min-width: calc(100% - 0px);
        aspect-ratio: 1 / 1;
    }

    /* WhatsApp card */
    .whatsapp-contact-card {
        padding: 30px 20px;
    }

    /* Form rows */
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .badge {
        font-size: 0.78rem;
    }

    .counter-value {
        font-size: 2.5rem;
    }

    .counters-grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn {
        padding: 11px 20px;
        font-size: 0.95rem;
    }
}
/* ===== FLOATING UI CARD - ANIMATED HERO ILLUSTRATION ===== */

.floating-ui-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(12, 8, 36, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 28px;
    padding: 28px 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.08),
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(168, 85, 247, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: visible;
    margin-right: auto;
    animation: cardFloat 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotateY(-4deg); }
    50% { transform: translateY(-14px) rotateY(-1deg); }
}

/* ===== ANIMATED RINGS ===== */
.ui-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.15);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
}

.ui-ring-1 {
    width: 120%;
    height: 120%;
    animation-delay: 0s;
    border-color: rgba(168, 85, 247, 0.1);
}

.ui-ring-2 {
    width: 140%;
    height: 140%;
    animation-delay: 1s;
    border-color: rgba(168, 85, 247, 0.06);
}

.ui-ring-3 {
    width: 165%;
    height: 165%;
    animation-delay: 2s;
    border-color: rgba(168, 85, 247, 0.04);
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

/* ===== FLOATING PARTICLES ===== */
.ui-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particleDrift linear infinite;
}

.ui-particle.p1 {
    width: 6px; height: 6px;
    background: var(--primary);
    top: 10%; right: 12%;
    box-shadow: 0 0 8px var(--primary);
    animation-duration: 5s;
    animation-delay: 0s;
}
.ui-particle.p2 {
    width: 4px; height: 4px;
    background: var(--accent);
    top: 65%; right: 5%;
    box-shadow: 0 0 6px var(--accent);
    animation-duration: 7s;
    animation-delay: 1.5s;
}
.ui-particle.p3 {
    width: 5px; height: 5px;
    background: #00d9ff;
    top: 20%; left: 8%;
    box-shadow: 0 0 8px #00d9ff;
    animation-duration: 6s;
    animation-delay: 0.8s;
}
.ui-particle.p4 {
    width: 3px; height: 3px;
    background: var(--primary-light);
    bottom: 15%; right: 20%;
    box-shadow: 0 0 5px var(--primary-light);
    animation-duration: 8s;
    animation-delay: 2s;
}
.ui-particle.p5 {
    width: 6px; height: 6px;
    background: #f59e0b;
    bottom: 25%; left: 12%;
    box-shadow: 0 0 10px #f59e0b;
    animation-duration: 9s;
    animation-delay: 3s;
}

@keyframes particleDrift {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.7; }
    25% { transform: translateY(-12px) translateX(6px); opacity: 1; }
    50% { transform: translateY(-6px) translateX(12px); opacity: 0.6; }
    75% { transform: translateY(-16px) translateX(-4px); opacity: 1; }
}

/* ===== CARD HEADER ===== */
.ui-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ui-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    flex-shrink: 0;
}

.ui-live-badge {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.live-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    animation: livePulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 6px #ef4444;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ===== STAT ROWS ===== */
.ui-stat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    transition: all 0.3s ease;
}

.ui-stat-row:last-of-type {
    margin-bottom: 0;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.ui-stat-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.ui-stat-row:hover::before { opacity: 1; }

.ui-stat-row:hover {
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.05);
}

/* ===== STAT ICON ===== */
.ui-stat-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    position: relative;
    flex-shrink: 0;
}

.instagram-grad {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
    animation: iconPulse 3s ease-in-out infinite;
}
.tiktok-grad {
    background: linear-gradient(135deg, #010101 0%, #1a1a2e 100%);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    animation: iconPulse 3s ease-in-out infinite 0.5s;
}
.shield-grad {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    animation: iconPulse 3s ease-in-out infinite 1s;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35); }
    50% { box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6); }
}

.icon-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(8px);
    z-index: -1;
}

.instagram-glow { background: linear-gradient(45deg, #f09433, #bc1888); }
.tiktok-glow    { background: radial-gradient(circle, #25f4ee, #fe2c55); }
.shield-glow    { background: linear-gradient(135deg, var(--primary), var(--accent)); }

.ui-stat-row:hover .icon-glow { opacity: 0.5; }

/* ===== STAT BODY ===== */
.ui-stat-body {
    flex: 1;
    min-width: 0;
}

.ui-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ui-stat-val {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.ui-stat-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: var(--primary-light);
}

.tiktok-badge {
    background: rgba(37, 244, 238, 0.1);
    border-color: rgba(37, 244, 238, 0.25);
    color: #25f4ee;
}

.shield-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.ui-stat-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: block;
    margin-top: 4px;
}

/* ===== PROGRESS BARS ===== */
.ui-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.ui-progress-fill {
    height: 100%;
    border-radius: 4px;
    animation: progressGrow 1.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
    overflow: hidden;
}

.ui-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: shimmer 2s linear infinite;
}

@keyframes progressGrow {
    from { width: 0 !important; }
}

@keyframes shimmer {
    to { left: 100%; }
}

.instagram-fill {
    background: linear-gradient(90deg, #f09433, #bc1888);
    animation-delay: 0.3s;
}

.tiktok-fill {
    background: linear-gradient(90deg, #25f4ee, #fe2c55);
    animation-delay: 0.5s;
}

.shield-fill {
    background: linear-gradient(90deg, var(--primary-dark), var(--accent));
    animation-delay: 0.7s;
}

/* ===== FOOTER GLOW LINE ===== */
.ui-card-footer-glow {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 20px auto 0;
    border-radius: 2px;
    animation: footerGlowPulse 3s ease-in-out infinite;
}

@keyframes footerGlowPulse {
    0%, 100% { opacity: 0.4; width: 40%; }
    50% { opacity: 1; width: 70%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .floating-ui-card {
        max-width: 100%;
        transform: none !important;
        animation: cardFloatMobile 6s ease-in-out infinite;
    }
    @keyframes cardFloatMobile {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-8px); }
    }
    .ui-ring { display: none; }
}

/* ===== KD1S STYLE ORDER PAGE REDESIGN ===== */

.orders-page-header {
    background: var(--bg-dark);
    padding: 20px 0;
    margin-top: 80px; /* Offset for fixed header */
}

.orders-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    background: var(--card-bg);
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.order-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    min-width: 100px;
    border-radius: 15px;
    color: var(--text-muted);
    transition: var(--transition);
    text-align: center;
}

.order-tab i {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.order-tab span {
    font-weight: 700;
    font-size: 0.9rem;
}

.order-tab:hover {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-light);
}

.order-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.orders-main {
    padding: 40px 0;
}

.order-header-simple {
    padding-bottom: 20px;
    border-bottom: 3.5px solid #f59e0b; /* Amber/Yellow KD1S color */
    display: inline-block;
    margin-bottom: 30px;
}

.order-header-simple h2 {
    font-size: 1.6rem;
    font-weight: 900;
}

.form-group-custom {
    margin-bottom: 25px;
}

.label-kd1s {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.input-kd1s {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    color: var(--text-main);
    font-family: var(--font-family);
    transition: var(--transition);
}

.input-kd1s:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.field-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

.info-bubble-kd1s {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    font-weight: 600;
}

.cost-bubble-kd1s {
    background: rgba(168, 85, 247, 0.05);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px dashed var(--primary);
    color: var(--primary-light);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}

.info-icon-kd1s {
    margin-right: 5px;
    color: var(--primary);
    cursor: help;
}

.btn-kd1s-primary {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px var(--primary-glow);
    transition: var(--transition);
}

.btn-kd1s-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-glow);
}

/* Custom Dropdown Adjustments */
.custom-cat-dropdown {
    position: relative;
    width: 100%;
}

.custom-cat-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #ffffff; /* KD1S white theme */
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151; /* Dark text for light bg */
    font-weight: 600;
}

.custom-cat-selected.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.custom-cat-selected:hover:not(.disabled) {
    border-color: var(--primary);
}

.custom-cat-dropdown.open .custom-cat-selected {
    border-color: #f59e0b; /* Amber border when open */
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.custom-cat-list {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-cat-dropdown.open .custom-cat-list {
    display: block;
}

.custom-cat-item {
    display: flex;
    flex-direction: column; /* Stack name and meta for better mobile/long name support */
    align-items: flex-start;
    gap: 8px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background 0.2s;
    color: #4b5563;
    font-weight: 600;
    border-bottom: 1px solid #f9fafb;
}

.custom-cat-item:last-child {
    border-bottom: none;
}

.service-item-main {
    width: 100%;
}

.service-name {
    font-size: 0.95rem;
    line-height: 1.4;
    display: block;
}

.service-item-meta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-price-tag {
    font-size: 0.82rem;
    color: #10b981; /* Success green for price */
    background: rgba(16, 185, 129, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 800;
}

.custom-cat-item:hover {
    background: #f9fafb;
}

.custom-cat-item.active {
    background: #f3f4f6;
    color: #1f2937;
}

.service-id-badge {
    background: #4b5563;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.custom-cat-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===========================
   MOBILE HAMBURGER + DRAWER
   =========================== */

/* Hamburger button - hidden on desktop, visible on mobile */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #c084fc;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Drawer overlay */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-drawer-overlay.show {
    opacity: 1;
}

/* The drawer itself */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(10, 8, 28, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 999;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

/* Drawer Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, transparent 100%);
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #f8fafc;
}

.drawer-close-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    color: #f87171;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.drawer-close-btn:hover {
    background: rgba(239, 68, 68, 0.22);
}

/* Auth section */
.drawer-auth-section {
    padding: 16px 18px;
}

/* Login button when NOT logged in */
.drawer-login-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.drawer-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.45);
}

/* User info card when logged in */
.drawer-user-card {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.drawer-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
}

.drawer-user-row .icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.drawer-user-row.balance-row .icon-wrap {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.drawer-user-row.username-row .icon-wrap {
    background: rgba(139, 92, 246, 0.15);
    color: #a855f7;
}

.drawer-user-row.balance-row span b {
    color: #10b981;
}

.drawer-logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 4px;
    transition: all 0.25s ease;
}

.drawer-logout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* Divider */
.drawer-divider {
    height: 1px;
    background: rgba(139, 92, 246, 0.1);
    margin: 0;
}

/* Nav Links */
.drawer-nav {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.drawer-nav-link i {
    width: 20px;
    text-align: center;
    color: #8b5cf6;
    font-size: 1rem;
}

.drawer-nav-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #f8fafc;
    transform: translateX(-4px);
}

/* Collapsible sections */
.drawer-section {
    border-bottom: none;
}

.drawer-section-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    color: #cbd5e1;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: right;
}

.drawer-section-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-section-toggle span i {
    color: #8b5cf6;
    font-size: 1rem;
}

.drawer-section-toggle:hover {
    color: #f8fafc;
    background: rgba(139, 92, 246, 0.07);
}

.drawer-chevron {
    font-size: 0.8rem;
    color: #64748b;
    transition: transform 0.3s ease;
}

.drawer-section-toggle.active .drawer-chevron {
    transform: rotate(180deg);
}

.drawer-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.drawer-section-content.open {
    max-height: 600px;
}

.drawer-about-content {
    padding: 4px 18px 16px;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-about-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-about-content ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-about-content ul li i {
    color: #10b981;
    font-size: 0.75rem;
}

.drawer-about-content strong {
    color: #c084fc;
}

/* Drawer footer */
.drawer-footer {
    margin-top: auto;
    padding: 16px 18px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #475569;
}

/* ===========================
   RESPONSIVE: show hamburger only on mobile
   =========================== */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    /* Hide the regular nav on mobile (drawer replaces it) */
    .header-container .nav {
        display: none;
    }

    /* Show drawer overlay on mobile when active */
    .mobile-drawer-overlay.show {
        display: block;
    }
}

/* On desktop, always hide drawer-related elements */
@media (min-width: 769px) {
    .hamburger-btn {
        display: none !important;
    }

    .mobile-drawer-overlay,
    .mobile-drawer {
        display: none !important;
    }
}

/* Custom Header Logo & Close */
.drawer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
}
.drawer-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4aa, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.drawer-close-btn {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px !important;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}
.drawer-close-btn:hover {
    background: #cbd5e1 !important;
}

/* Neon Drawer Buttons */
.neon-drawer-btn {
    position: relative;
    overflow: hidden;
    background: rgba(139, 92, 246, 0.1) !important;
    border: 1px solid rgba(139, 92, 246, 0.4) !important;
    color: #e2e8f0 !important;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 12px 15px !important;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2), inset 0 0 5px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.neon-drawer-btn:hover, .neon-drawer-btn.active {
    background: rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4), inset 0 0 10px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.8) !important;
    text-shadow: 0 0 5px #fff;
}

.neon-drawer-btn.updates-btn {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2), inset 0 0 5px rgba(16, 185, 129, 0.1);
}
.neon-drawer-btn.updates-btn:hover, .neon-drawer-btn.updates-btn.active {
    background: rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.8) !important;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 10px;
}


