/*
Theme Name: SMM Panel Pro
Theme URI: https://smmpanelpro.com
Author: SMM Panel Pro
Author URI: https://smmpanelpro.com
Description: قالب احترافي لمواقع خدمات السوشيال ميديا (SMM Panel) - يدعم إدارة الطلبات والخدمات والمحفظة
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smm-panel
Tags: smm, social-media, panel, services, orders, rtl-language-support
*/

/* ================================================
   CSS Variables & Reset
================================================ */
:root {
    --primary: #6C63FF;
    --primary-dark: #5a52d5;
    --primary-light: #8b85ff;
    --secondary: #FF6584;
    --dark: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-border: #2a2a4a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #606080;
    --success: #00d4aa;
    --warning: #ffc107;
    --danger: #ff4d6d;
    --info: #17a2b8;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    --shadow: 0 10px 40px rgba(108, 99, 255, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-ar: 'Cairo', 'Tajawal', Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ar);
    background-color: var(--dark);
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
    min-height: 100vh;
}

body.ltr-mode {
    direction: ltr;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ================================================
   Typography
================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }

/* ================================================
   Layout & Container
================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col { padding: 0 15px; flex: 1; }
.col-2 { width: 50%; padding: 0 15px; }
.col-3 { width: 33.333%; padding: 0 15px; }
.col-4 { width: 25%; padding: 0 15px; }

/* ================================================
   Buttons
================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.6);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: var(--success);
    color: var(--dark);
    font-weight: 700;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ================================================
   Cards
================================================ */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

/* ================================================
   Forms
================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-ar);
    font-size: 1rem;
    transition: var(--transition);
    direction: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ================================================
   Badges & Labels
================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-primary { background: rgba(108, 99, 255, 0.2); color: var(--primary-light); }
.badge-success { background: rgba(0, 212, 170, 0.2); color: var(--success); }
.badge-warning { background: rgba(255, 193, 7, 0.2); color: var(--warning); }
.badge-danger  { background: rgba(255, 77, 109, 0.2); color: var(--danger); }
.badge-info    { background: rgba(23, 162, 184, 0.2); color: var(--info); }

/* ================================================
   Navigation / Header
================================================ */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light);
    background: rgba(108, 99, 255, 0.1);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius);
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================================
   Hero Section
================================================ */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(255, 101, 132, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--dark-border);
}

.stat-item { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-card-float {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.platform-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.platform-icon:hover {
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
}

.platform-icon .icon {
    font-size: 2rem;
}

/* ================================================
   Services Section
================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-from {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--success);
}

/* ================================================
   Section Headers
================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* ================================================
   Features / How It Works
================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
}

.feature-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================================================
   Platforms Section
================================================ */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.platform-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.platform-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.platform-card .icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.platform-card .name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ================================================
   Pricing / Plans
================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    align-items: start;
}

.pricing-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.2);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 24px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
}

.pricing-price span {
    font-size: 1rem;
    -webkit-text-fill-color: var(--text-muted);
    color: var(--text-muted);
}

.pricing-features {
    text-align: right;
    margin: 24px 0;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--dark-border);
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-feature .check { color: var(--success); font-size: 1rem; }

/* ================================================
   Testimonials
================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 16px;
    opacity: 0.4;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--text-muted); }

.stars {
    color: var(--warning);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ================================================
   FAQ
================================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary-light); }

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 12px;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ================================================
   CTA Section
================================================ */
.cta-section {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ================================================
   Footer
================================================ */
.site-footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    display: block;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================
   Dashboard / Sidebar Layout
================================================ */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.sidebar {
    background: var(--dark-card);
    border-left: 1px solid var(--dark-border);
    padding: 24px 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-menu {
    padding: 0 12px;
}

.sidebar-section {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 16px 12px 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    cursor: pointer;
    text-decoration: none;
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(108, 99, 255, 0.12);
    color: var(--primary-light);
}

.sidebar-item.active {
    font-weight: 700;
}

.sidebar-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.dashboard-main {
    padding: 32px;
    background: var(--dark);
}

.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* ================================================
   Dashboard Stats Cards
================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon.purple { background: rgba(108, 99, 255, 0.15); }
.stat-icon.green  { background: rgba(0, 212, 170, 0.15); }
.stat-icon.orange { background: rgba(255, 159, 67, 0.15); }
.stat-icon.red    { background: rgba(255, 77, 109, 0.15); }

.stat-info { flex: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================================================
   Tables
================================================ */
.table-wrapper {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--dark-border);
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 14px 20px;
    text-align: right;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--dark-border);
}

.data-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.data-table td { color: var(--text-secondary); }

.data-table tr:last-child td { border-bottom: none; }

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* ================================================
   Order Form
================================================ */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.order-summary {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-summary-row:last-child { border-bottom: none; }

.order-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.category-tab {
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab.active, .category-tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ================================================
   Auth Pages
================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.auth-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.auth-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================================================
   Wallet Page
================================================ */
.wallet-balance-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.wallet-balance-card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.wallet-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.wallet-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.wallet-currency {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.payment-method {
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
}

.payment-method:hover {
    border-color: rgba(108, 99, 255, 0.5);
}

.payment-method .pm-icon { font-size: 2.5rem; margin-bottom: 8px; }
.payment-method .pm-name { font-size: 0.9rem; font-weight: 600; }

/* ================================================
   Alerts & Notifications
================================================ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success { background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.3); color: var(--success); }
.alert-danger  { background: rgba(255, 77, 109, 0.1); border: 1px solid rgba(255, 77, 109, 0.3); color: var(--danger); }
.alert-warning { background: rgba(255, 193, 7, 0.1); border: 1px solid rgba(255, 193, 7, 0.3); color: var(--warning); }
.alert-info    { background: rgba(23, 162, 184, 0.1); border: 1px solid rgba(23, 162, 184, 0.3); color: var(--info); }

/* ================================================
   Loading Spinner
================================================ */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================================
   Progress Bar
================================================ */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--dark-border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ================================================
   Scrollbar
================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ================================================
   Responsive
================================================ */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .order-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-menu-open .navbar-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        background: var(--dark-card);
        padding: 20px;
        border-bottom: 1px solid var(--dark-border);
        gap: 4px;
    }
    .col-2, .col-3, .col-4 { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .auth-card { padding: 32px 24px; }
    .section { padding: 60px 0; }
    .pricing-card.featured { transform: none; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   Animations
================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease forwards; }

/* ================================================
   Utilities
================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-primary-c { color: var(--primary); }
.text-success-c { color: var(--success); }
.text-danger-c  { color: var(--danger); }
.text-muted-c   { color: var(--text-muted); }
.fw-bold   { font-weight: 700; }
.fw-bolder { font-weight: 900; }
.d-flex    { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.p-0   { padding: 0; }
.hidden { display: none !important; }
.w-100 { width: 100%; }
