/* ============================================================
   SunucunuAl — Premium Monochrome Theme
   White accents on Dark Gray · Compact · Modern · Refined
   ============================================================ */

:root {
    /* Backgrounds */
    --bg-0:        #0b0b0e;
    --bg-1:        #111114;
    --bg-2:        #16161b;
    --bg-3:        #1d1d23;
    --bg-elev:     #23232a;

    /* Surfaces */
    --surface:     rgba(255, 255, 255, 0.03);
    --surface-2:   rgba(255, 255, 255, 0.06);
    --surface-3:   rgba(255, 255, 255, 0.09);

    /* Borders */
    --border:      rgba(255, 255, 255, 0.08);
    --border-2:    rgba(255, 255, 255, 0.14);
    --border-3:    rgba(255, 255, 255, 0.22);

    /* Text */
    --text:        #f4f4f5;
    --text-2:      #d4d4d8;
    --text-muted:  #a1a1aa;
    --text-dim:    #71717a;

    /* Accents */
    --white:       #ffffff;
    --primary:     #ffffff;

    /* Status */
    --success: #34d399;
    --warning: #fbbf24;
    --danger:  #f87171;
    --info:    #94a3b8;

    /* Gradients */
    --gradient-text:  linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    --gradient-card:  linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%);
    --gradient-card-h:linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.015) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.7);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius:    14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Timing */
    --t:  0.2s cubic-bezier(.4, 0, .2, 1);
    --t2: 0.35s cubic-bezier(.4, 0, .2, 1);

    --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-feature-settings: 'cv11', 'ss01';
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[dir="rtl"] { font-family: 'Tajawal', 'Inter', system-ui, sans-serif; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--white); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-elev); }
::selection { background: rgba(255,255,255,0.2); color: white; }

/* ---------- LAYOUT ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 80px 0; position: relative; }
.section-tight { padding: 50px 0 80px; }
.section-soft { background: rgba(255,255,255,0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

@media (max-width: 768px) {
    section { padding: 56px 0; }
    .container { padding: 0 18px; }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--white);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

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

.section-head { text-align: center; margin-bottom: 48px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    letter-spacing: 0;
}
.eyebrow i { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--t);
    border: 1px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: -0.005em;
    position: relative;
    line-height: 1.2;
}

.btn-primary {
    background: var(--white);
    color: #0b0b0e;
    box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 24px -8px rgba(255,255,255,0.25);
}
.btn-primary:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 28px -8px rgba(255,255,255,0.35);
    color: #0b0b0e;
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: var(--surface-2);
    border-color: var(--border-3);
    color: var(--white);
}

.btn-ghost {
    padding: 7px 12px;
    color: var(--text-muted);
}
.btn-ghost:hover { color: var(--white); background: var(--surface); }

.btn-lg { padding: 13px 24px; font-size: 0.95rem; border-radius: 12px; }
.btn-sm { padding: 7px 13px; font-size: 0.82rem; border-radius: 9px; }
.btn-block { display: flex; width: 100%; }

.btn .arrow {
    display: inline-block;
    transition: transform var(--t);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- NAVBAR ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 11, 14, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.navbar > .container {
    max-width: none;
    padding: 0 32px;
}
.navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 0;
    gap: 20px;
    min-height: 60px;
}
.navbar-inner > .brand { justify-self: start; }
.navbar-inner > .nav-links { justify-self: center; }
.navbar-inner > .nav-actions { justify-self: end; }

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.025em;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
}
.brand:hover { color: var(--white); }
.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255,255,255,0.15));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a, .nav-links .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 9px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--t);
    white-space: nowrap;
    cursor: pointer;
}
.nav-links a:hover,
.nav-links .dropdown-toggle:hover,
.nav-links a.active {
    color: var(--white);
    background: var(--surface-2);
}

/* Dropdown menu */
.has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 340px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--t);
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: transparent;
}
.dropdown-menu a:hover { background: var(--surface-2); }
.dropdown-menu a i {
    width: 32px; height: 32px;
    flex-shrink: 0;
    background: var(--bg-elev);
    border: 1px solid var(--border-2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
}
.dropdown-menu a > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown-menu a strong { color: var(--white); font-size: 0.85rem; font-weight: 600; }
.dropdown-menu a span { color: var(--text-muted); font-size: 0.78rem; line-height: 1.4; }

.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.lang-switch { position: relative; }
.lang-switch-btn {
    padding: 7px 10px;
    border-radius: 9px;
    color: var(--text-2);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--t);
}
.lang-switch-btn:hover { color: var(--white); border-color: var(--border-2); background: var(--surface-2); }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 6px;
    min-width: 170px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--t);
    z-index: 200;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 0.88rem;
}
.lang-menu a:hover { background: var(--surface-2); color: var(--white); }

/* ---------- PROFILE DROPDOWN ---------- */
.profile-menu { position: relative; outline: none; }
.profile-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 6px 10px 6px 6px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    font-size: 0.88rem; font-weight: 500;
    transition: all var(--t);
    max-width: 240px;
}
.profile-btn:hover { background: var(--surface-2); border-color: var(--border-2); }
.profile-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d1 100%);
    color: #000;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.profile-name {
    max-width: 140px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px); right: 0;
    min-width: 280px;
    background: rgba(24, 24, 27, 0.92);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.65);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--t);
    z-index: 200;
}
.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.profile-header {
    display: flex; gap: 12px; align-items: center;
    padding: 8px 10px 12px;
}
.profile-header-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #d1d1d1 100%);
    color: #000;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
    flex-shrink: 0;
}
.profile-header-name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-header-email { color: var(--text-muted); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-balance {
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(180deg, rgba(74,222,128,0.08) 0%, rgba(74,222,128,0.02) 100%);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 4px 0 8px;
    color: var(--text);
    font-size: 0.88rem;
    text-decoration: none;
    transition: all var(--t);
}
.profile-balance:hover { border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.1); }
.profile-balance strong { color: #86efac; font-size: 1rem; }
.profile-divider {
    height: 1px;
    background: var(--border);
    margin: 6px -10px;
}
.profile-dropdown a:not(.profile-balance) {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 8px;
    transition: all var(--t);
}
.profile-dropdown a:not(.profile-balance) i { color: var(--text-muted); font-size: 0.95rem; width: 18px; }
.profile-dropdown a:not(.profile-balance):hover { background: var(--surface-2); color: var(--white); }
.profile-dropdown a:not(.profile-balance):hover i { color: var(--white); }
.profile-admin { background: rgba(255,255,255,0.04); }
.profile-admin i { color: #fff !important; }
.profile-logout { color: #fca5a5 !important; }
.profile-logout i { color: #fca5a5 !important; }
.profile-logout:hover { background: rgba(248,113,113,0.1) !important; color: #fca5a5 !important; }

body[dir="rtl"] .profile-dropdown { right: auto; left: 0; }

@media (max-width: 768px) {
    .profile-name { display: none; }
    .profile-btn { padding: 4px; }
}

.menu-toggle {
    display: none;
    width: 38px; height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px; left: 0; right: 0;
        flex-direction: column;
        background: var(--bg-1);
        padding: 12px;
        gap: 2px;
        border-bottom: 1px solid var(--border);
        z-index: 99;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 10px 14px; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        grid-template-columns: 1fr;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 4px 0 4px 16px;
    }
    .menu-toggle { display: flex; }
}

@media (max-width: 600px) {
    .nav-actions .btn-ghost { display: none; }
}

/* ---------- HERO ---------- */
.hero {
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center top;
    mask-image: radial-gradient(ellipse 100% 60% at 50% 20%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 20%, black 30%, transparent 80%);
}
.hero-glow {
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 720px; height: 720px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    filter: blur(60px);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-text { max-width: 580px; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.hero-stat .num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero-stat .label { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }

/* Hero visual */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 440px;
    margin-left: auto;
    margin-right: 0;
}
.hero-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 280px; height: 280px;
    background: radial-gradient(circle at 30% 30%, #2a2a32 0%, #14141a 60%, #0b0b0e 100%);
    border: 1px solid var(--border-2);
    border-radius: 50%;
    box-shadow:
        inset 0 0 60px rgba(255,255,255,0.05),
        inset 0 -20px 40px rgba(0,0,0,0.5),
        0 30px 80px rgba(0,0,0,0.7);
    animation: orbPulse 6s ease-in-out infinite;
}
.hero-orb::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 90deg, transparent, rgba(255,255,255,0.3), transparent 30%);
    z-index: -1;
    animation: spin 12s linear infinite;
}
.hero-orb::after {
    content: '';
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    filter: blur(20px);
}

.hero-card {
    position: absolute;
    background: linear-gradient(180deg, rgba(30,30,38,0.95) 0%, rgba(16,16,20,0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg), var(--shadow-inset);
    min-width: 160px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}
.hero-card-1 { top: 8%;   left: -10px;  animation-delay: 0s; }
.hero-card-2 { top: 42%;  right: -10px;  animation-delay: -2s; }
.hero-card-3 { bottom: 6%; left: 30px;   animation-delay: -4s; }
.hero-card .ic {
    width: 32px; height: 32px;
    background: var(--bg-elev);
    border: 1px solid var(--border-2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 8px;
}
.hero-card .ttl { font-weight: 600; font-size: 0.85rem; color: var(--white); line-height: 1.2; }
.hero-card .sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

@keyframes float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes orbPulse { 0%,100%{transform:translate(-50%,-50%) scale(1);} 50%{transform:translate(-50%,-50%) scale(1.04);} }
@keyframes spin     { to { transform: rotate(360deg); } }

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-text { max-width: 100%; }
    .hero-visual { margin: 0 auto; max-width: 360px; height: 360px; }
    .hero-orb { width: 220px; height: 220px; }
}
@media (max-width: 480px) {
    .hero-stats { gap: 20px; }
    .hero-stat .num { font-size: 1.25rem; }
    .hero-visual { height: 300px; }
    .hero-orb { width: 180px; height: 180px; }
    .hero-card { padding: 10px 12px; min-width: 130px; }
    .hero-card .ttl { font-size: 0.78rem; }
    .hero-card .sub { font-size: 0.68rem; }
}

/* Trust strip */
.trust-strip {
    margin-top: 60px;
    padding: 22px 28px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: var(--shadow-inset);
}
.trust-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    flex-shrink: 0;
}
.trust-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.trust-items span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-2);
    font-size: 0.88rem;
    font-weight: 500;
}
.trust-items i { color: var(--text-muted); }

/* ---------- FEATURES ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    transition: all var(--t2);
    position: relative;
    box-shadow: var(--shadow-inset);
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-2);
    background: var(--gradient-card-h);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-3) 100%);
    border: 1px solid var(--border-2);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 16px;
    box-shadow: var(--shadow-inset);
}
.feature-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }

/* ---------- CATEGORIES ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}
.category-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--t2);
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-inset);
}
.category-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-2);
    background: var(--gradient-card-h);
    color: var(--text);
}
.category-card .ic {
    width: 44px; height: 44px;
    background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-3) 100%);
    border: 1px solid var(--border-2);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.2rem;
    margin-bottom: 14px;
    box-shadow: var(--shadow-inset);
}
.category-card h3 { margin-bottom: 5px; }
.category-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.5; }
.category-card .arr {
    color: var(--white);
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.category-card .arr i { transition: transform var(--t); font-size: 0.8rem; }
.category-card:hover .arr i { transform: translateX(4px); }

/* ---------- PLANS ---------- */
.plans-toggle {
    display: inline-flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    margin: 0 auto 36px;
}
.plans-toggle button {
    padding: 8px 18px;
    border-radius: 999px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--t);
}
.plans-toggle button:hover { color: var(--white); }
.plans-toggle button.active {
    background: var(--white);
    color: #0b0b0e;
    box-shadow: var(--shadow-sm);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.plan-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 30px 26px;
    transition: all var(--t2);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-inset);
}
.plan-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-2);
}
.plan-card.featured {
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border-color: var(--border-3);
}
.plan-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: #0b0b0e;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.plan-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}
.plan-price { margin: 14px 0 22px; display: flex; align-items: baseline; gap: 5px; }
.plan-price .amt {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
}
.plan-price .per { color: var(--text-muted); font-size: 0.85rem; }

.plan-specs {
    list-style: none;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.plan-specs li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.plan-specs li i { color: var(--text-dim); width: 16px; font-size: 0.95rem; }
.plan-specs li strong { color: var(--white); margin-left: auto; font-weight: 600; font-size: 0.88rem; }

.plan-features {
    list-style: none;
    margin-bottom: 22px;
    flex: 1;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    color: var(--text-2);
    font-size: 0.85rem;
}
.plan-features .check {
    color: var(--white);
    flex-shrink: 0;
    font-size: 0.9rem;
}
.plan-card .btn { width: 100%; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-elev) 100%);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-inset);
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip .eyebrow { margin-bottom: 12px; }
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: var(--text-muted); margin: 0 auto 24px; max-width: 540px; font-size: 0.98rem; }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 36px 0 18px;
    margin-top: 48px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 240px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}
.footer > .container {
    max-width: none;
    padding: 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
    gap: 28px;
    margin-bottom: 24px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.footer-bottom-center { color: var(--text-dim); font-size: 0.78rem; }
.footer-bottom-left, .footer-bottom-right { color: var(--text-muted); font-size: 0.78rem; }
.footer-bottom-right { display: inline-flex; gap: 16px; }
.footer-bottom-right a { color: var(--text-muted); }
.footer-bottom-right a:hover { color: var(--white); }
@media (max-width: 700px) {
    .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
}
.footer-brand p { color: var(--text-muted); margin-top: 10px; max-width: 320px; line-height: 1.5; font-size: 0.85rem; }
.footer h4 { font-size: 0.85rem; margin-bottom: 10px; color: var(--white); font-weight: 600; }
.footer .mt-4 { margin-top: 18px !important; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 5px; color: var(--text-muted); font-size: 0.83rem; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.83rem;
    transition: color var(--t);
}
.footer-links a:hover { color: var(--white); }
.newsletter-form {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 0.85rem;
    transition: all var(--t);
}
.newsletter-form input:focus { outline: none; border-color: var(--border-3); background: var(--surface-2); }
.newsletter-form .btn { padding: 8px 12px; }
.social {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}
.social a {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all var(--t);
    font-size: 0.95rem;
}
.social a:hover { background: var(--white); color: #0b0b0e; border-color: var(--white); }

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- FORMS ---------- */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-2);
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 0.92rem;
    transition: all var(--t);
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--border-3);
    background: var(--surface-2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 110px; line-height: 1.5; }

/* Select element — custom arrow + dark dropdown options */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
    cursor: pointer;
    color-scheme: dark;
}
body[dir="rtl"] select.form-control {
    background-position: 13px 50%, 18px 50%;
    padding-right: 14px;
    padding-left: 34px;
}
select.form-control option,
select.form-control optgroup {
    background-color: #16161b;
    color: var(--text);
    padding: 8px 12px;
}
select.form-control option:hover,
select.form-control option:focus,
select.form-control option:checked {
    background-color: #23232a;
    color: var(--white);
    box-shadow: 0 0 10px 100px #23232a inset;
}

/* Modern file dropzone */
.file-drop {
    position: relative;
    display: block;
    border: 1.5px dashed var(--border-2);
    border-radius: 12px;
    background: var(--surface);
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    transition: all var(--t);
}
.file-drop:hover {
    border-color: var(--border-3);
    background: var(--surface-2);
}
.file-drop.is-drag {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.06);
}
.file-drop.has-file {
    border-style: solid;
    border-color: rgba(134, 239, 172, 0.45);
    background: rgba(134, 239, 172, 0.04);
}
.file-drop input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.file-drop > *:not(input) { position: relative; z-index: 1; }
.file-drop .fd-icon {
    font-size: 1.7rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}
.file-drop.has-file .fd-icon { color: #86efac; }
.file-drop .fd-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}
.file-drop .fd-sub {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 4px;
}
.file-drop .fd-name {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85rem;
    color: var(--white);
    margin-top: 8px;
    word-break: break-all;
}
.file-drop .fd-clear {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: transparent;
    border: none;
    color: #fca5a5;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}
.file-drop .fd-clear:hover { color: #f87171; text-decoration: none; }
.file-drop [hidden] { display: none !important; }

/* Pagination */
.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.pager-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
}
.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--t);
}
.pager-btn:hover:not(.pager-current):not(.pager-disabled) {
    background: var(--surface-2);
    border-color: var(--border-3);
    color: var(--white);
}
.pager-current {
    background: var(--white);
    color: #0b0b0e;
    border-color: var(--white);
    cursor: default;
}
.pager-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pager-gap {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 6px;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.pager-info {
    color: var(--text-muted);
    font-size: 0.82rem;
}
body[dir="rtl"] .pager-btn .bi-chevron-left { transform: scaleX(-1); }
body[dir="rtl"] .pager-btn .bi-chevron-right { transform: scaleX(-1); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.form-check input {
    width: 15px; height: 15px;
    accent-color: var(--white);
}

/* ---------- AUTH ---------- */
.auth-wrap {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    position: relative;
    overflow: hidden;
}
.auth-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 80%);
}
.auth-wrap::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    filter: blur(60px);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-xl), var(--shadow-inset);
    position: relative;
    z-index: 1;
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -0.03em; }
.auth-card .subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 0.9rem; }
.auth-divider {
    text-align: center;
    color: var(--text-dim);
    margin-top: 24px;
    font-size: 0.88rem;
}
.auth-divider a { color: var(--white); font-weight: 500; }
.auth-divider a:hover { text-decoration: underline; }

/* ---------- ALERTS ---------- */
.alert {
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid;
    background: var(--surface);
}
.alert-success { border-color: rgba(52,211,153,0.3); color: #6ee7b7; }
.alert-danger,
.alert-error   { border-color: rgba(248,113,113,0.3); color: #fca5a5; }
.alert-warning { border-color: rgba(251,191,36,0.3); color: #fcd34d; }
.alert-info    { border-color: rgba(148,163,184,0.3); color: #cbd5e1; }

/* ---------- BADGES ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    letter-spacing: 0.01em;
    white-space: nowrap;
    line-height: 1.4;
}
.badge-success { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.3); color: #6ee7b7; }
.badge-warning { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.3); color: #fcd34d; }
.badge-danger  { background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.3); color: #fca5a5; }
.badge-info    { background: rgba(148,163,184,0.12); border-color: rgba(148,163,184,0.3); color: #cbd5e1; }

/* ---------- PROMO BANNER ---------- */
.promo-banner {
    background: linear-gradient(90deg, rgba(74,222,128,0.12), rgba(34,197,94,0.08));
    border-bottom: 1px solid rgba(74,222,128,0.25);
    padding: 8px 0;
    font-size: 0.86rem;
}
.promo-banner .container { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.promo-banner i.bi-megaphone { color: #86efac; }
.promo-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; font-weight: 500; }
.promo-banner a:hover { color: #86efac; }

/* ---------- LEGAL CONTENT ---------- */
.legal-content {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    color: var(--text);
    line-height: 1.7;
    font-size: 0.94rem;
}
.legal-content > * + * { margin-top: 0.7em; }
.legal-content h1, .legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-top: 2em;
    padding-top: 1.4em;
    border-top: 1px solid var(--border);
    position: relative;
}
.legal-content > h1:first-child,
.legal-content > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-top: 1.4em;
    margin-bottom: 0.4em;
}
.legal-content h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.legal-content p { color: var(--text-2); margin: 0.6em 0; }
.legal-content strong, .legal-content b { color: var(--white); font-weight: 600; }
.legal-content ul, .legal-content ol {
    margin: 0.6em 0 1em;
    padding-left: 1.3em;
    color: var(--text-2);
}
.legal-content li { margin: 0.35em 0; padding-left: 4px; }
.legal-content li::marker { color: var(--text-dim); }
.legal-content a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--t);
}
.legal-content a:hover { text-decoration-color: var(--white); }
.legal-content code {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1px 7px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.84rem;
}
.legal-content blockquote {
    border-left: 3px solid var(--border-2);
    padding: 4px 0 4px 16px;
    margin: 1em 0;
    color: var(--text-muted);
    font-style: italic;
}
.legal-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}
@media (max-width: 700px) {
    .legal-content { padding: 26px 22px; font-size: 0.9rem; }
    .legal-content h1, .legal-content h2 { font-size: 1.1rem; }
}

/* ---------- DASHBOARD ---------- */
.container.dash-wrap {
    max-width: 1500px;
    padding: 40px 24px 60px;
}
.dash-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    min-height: calc(100vh - 60px);
}
.dash-side {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px;
    height: fit-content;
    position: sticky;
    top: 76px;
    box-shadow: var(--shadow-inset);
}
.dash-side h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 16px 10px 6px;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.dash-side h4:first-child { margin-top: 2px; }
.dash-side a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 9px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 2px;
    transition: all var(--t);
}
.dash-side a:hover {
    background: var(--surface-2);
    color: var(--white);
}
.dash-side a.active {
    background: var(--white);
    color: #0b0b0e;
    font-weight: 500;
}
.dash-side a i { width: 16px; font-size: 0.95rem; }

.dash-content { padding: 0; }
.dash-head { margin-bottom: 24px; }
.dash-head h1 { font-size: 1.5rem; margin-bottom: 4px; letter-spacing: -0.025em; }
.dash-head p { color: var(--text-muted); font-size: 0.92rem; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all var(--t);
    box-shadow: var(--shadow-inset);
}
.stat-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.stat-card .lbl { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 6px; font-weight: 500; }
.stat-card .val { font-size: 1.625rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.stat-card .ic {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-3) 100%);
    border: 1px solid var(--border-2);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .dash-wrap { grid-template-columns: 1fr; }
    .dash-side { position: static; }
}

/* ---------- TABLES & CARDS ---------- */
.card-block {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-inset);
}
.card-block h3 { margin-bottom: 16px; font-size: 1rem; }

.table-wrap { overflow-x: auto; margin: -10px -22px; padding: 10px 22px; }
table.table {
    width: 100%;
    border-collapse: collapse;
}
table.table th, table.table td {
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
table.table th {
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    background: var(--surface);
}
table.table tr:hover td { background: var(--surface); }
table.table tr:last-child td { border-bottom: none; }

body[dir="rtl"] table.table th,
body[dir="rtl"] table.table td { text-align: right; }

/* ---------- HELPERS ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; }

/* RTL */
body[dir="rtl"] { direction: rtl; }
body[dir="rtl"] .hero-card-1 { left: auto; right: -10px; }
body[dir="rtl"] .hero-card-2 { right: auto; left: -10px; }
body[dir="rtl"] .hero-card-3 { left: auto; right: 30px; }
body[dir="rtl"] .plan-specs li strong { margin-left: 0; margin-right: auto; }
body[dir="rtl"] .lang-menu, body[dir="rtl"] .dropdown-menu { right: 0; left: auto; }

@media print {
    .navbar, .footer, .menu-toggle, .btn { display: none !important; }
    body { background: white; color: black; }
}
