/* ==========================================================================
   ZeroSSL Pro - 100% Local Self-Contained CSS Framework (Zero External CDN)
   Supports RTL (Arabic) & LTR (English), Dark Glassmorphism UI, Responsive Grid
   ========================================================================== */

*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #1e293b;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: 'Segoe UI', Tahoma, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    background-color: #0b1120;
    color: #f1f5f9;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

main, header, footer, section, article, .glass-card {
    max-width: 100%;
}

pre, code, textarea {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

pre {
    white-space: pre-wrap;
    word-break: break-all;
}

code, pre, textarea.font-mono, .font-mono {
    font-family: Consolas, 'Courier New', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace !important;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button {
    cursor: pointer;
    background-color: transparent;
    background-image: none;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, p {
    margin: 0;
}

/* Custom Theme Classes */
.glass-card {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(51, 65, 85, 0.7);
}

.hero-gradient {
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.18) 0%, rgba(79, 70, 229, 0.08) 45%, rgba(11, 17, 32, 0) 80%);
}

/* Layout & Sizing */
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; }
.h-11 { height: 2.75rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.w-28 { width: 7rem; }

.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Flexbox & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.block { display: block; }
.hidden { display: none; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; min-width: 0; }
.shrink-0 { flex-shrink: 0; }
.grid > *, .flex > * { min-width: 0; }
.self-start { align-self: flex-start; }

/* Mobile Small Screen Adjustments (< 640px) */
@media (max-width: 639px) {
    .text-4xl { font-size: 1.75rem; line-height: 2.15rem; }
    .text-3xl { font-size: 1.45rem; line-height: 1.9rem; }
    .text-2xl { font-size: 1.25rem; line-height: 1.75rem; }
    .p-8, .p-7, .p-6 { padding: 1.15rem; }
    .px-8, .px-7, .px-6 { padding-left: 1rem; padding-right: 1rem; }
    .py-20, .py-16, .py-14 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .pt-16 { padding-top: 2rem; }
    .pb-24 { padding-bottom: 3rem; }
    .h-20 { height: auto; min-height: 4.25rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .mobile-scroll-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.75rem;
    }
    .mobile-scroll-nav::-webkit-scrollbar {
        display: none;
    }
}
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Gap & Spacing */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-color: rgba(30, 41, 59, 0.8); }

/* Padding */
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-14 { padding: 3.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-24 { padding-bottom: 6rem; }

/* Margins */
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.ms-2 { margin-inline-start: 0.5rem; }
.me-1 { margin-inline-end: 0.25rem; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.-top-3 { top: -0.75rem; }
.start-6 { inset-inline-start: 1.5rem; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.min-h-\[90px\] { min-height: 90px; }
.min-h-\[250px\] { min-height: 250px; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

/* Borders & Radius */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-t-4 { border-top-width: 4px; }
.border-s-4 { border-inline-start-width: 4px; }

.border-slate-700 { border-color: #334155; }
.border-slate-700\/80 { border-color: rgba(51, 65, 85, 0.8); }
.border-slate-800 { border-color: #1e293b; }
.border-slate-800\/70 { border-color: rgba(30, 41, 59, 0.7); }
.border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8); }
.border-cyan-500 { border-color: #06b6d4; }
.border-cyan-500\/30 { border-color: rgba(6, 182, 212, 0.3); }
.border-cyan-500\/40 { border-color: rgba(6, 182, 212, 0.4); }
.border-blue-500\/30 { border-color: rgba(59, 130, 246, 0.3); }
.border-blue-500\/40 { border-color: rgba(59, 130, 246, 0.4); }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3); }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
.border-red-500\/30, .border-rose-500\/30 { border-color: rgba(244, 63, 94, 0.3); }
.border-red-500\/40, .border-rose-500\/40 { border-color: rgba(244, 63, 94, 0.4); }

.border-t-cyan-500 { border-top-color: #06b6d4; }
.border-t-indigo-500 { border-top-color: #6366f1; }
.border-t-emerald-500 { border-top-color: #10b981; }
.border-s-cyan-500 { border-inline-start-color: #06b6d4; }
.border-s-emerald-500 { border-inline-start-color: #10b981; }
.border-s-amber-500 { border-inline-start-color: #f59e0b; }
.border-s-rose-500 { border-inline-start-color: #f43f5e; }

/* Backgrounds & Gradients */
.bg-slate-600 { background-color: #475569; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-800\/40 { background-color: rgba(30, 41, 59, 0.4); }
.bg-slate-800\/80 { background-color: rgba(30, 41, 59, 0.8); }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/50 { background-color: rgba(15, 23, 42, 0.5); }
.bg-slate-900\/70 { background-color: rgba(15, 23, 42, 0.7); }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }
.bg-slate-950 { background-color: #020617; }
.bg-slate-950\/85 { background-color: rgba(2, 6, 23, 0.88); }
.bg-slate-950\/90 { background-color: rgba(2, 6, 23, 0.92); }

.bg-cyan-400 { background-color: #22d3ee; }
.bg-cyan-500 { background-color: #06b6d4; }
.bg-cyan-500\/10 { background-color: rgba(6, 182, 212, 0.1); }
.bg-cyan-500\/15 { background-color: rgba(6, 182, 212, 0.15); }
.bg-cyan-500\/20 { background-color: rgba(6, 182, 212, 0.2); }

.bg-blue-600 { background-color: #2563eb; }
.bg-blue-600\/20 { background-color: rgba(37, 99, 235, 0.2); }
.bg-indigo-500\/15 { background-color: rgba(99, 102, 241, 0.15); }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, 0.2); }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-purple-500\/15 { background-color: rgba(168, 85, 247, 0.15); }
.bg-purple-500\/20 { background-color: rgba(168, 85, 247, 0.2); }

.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500\/15 { background-color: rgba(16, 185, 129, 0.15); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-600\/20 { background-color: rgba(5, 150, 105, 0.2); }

.bg-amber-400 { background-color: #fbbf24; }
.bg-amber-500 { background-color: #f59e0b; }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }

.bg-red-500\/10, .bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
.bg-red-500\/15, .bg-rose-500\/15 { background-color: rgba(244, 63, 94, 0.15); }
.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2); }

.bg-gradient-to-r.from-cyan-500.to-blue-600 {
    background-image: linear-gradient(to right, #06b6d4, #2563eb);
}
.bg-gradient-to-r.from-emerald-500.to-teal-600 {
    background-image: linear-gradient(to right, #10b981, #0d9488);
}
.bg-gradient-to-br.from-cyan-400 {
    background-image: linear-gradient(to bottom right, #22d3ee, #0ea5e9, #4f46e5);
}

/* Text Colors */
.text-white { color: #ffffff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-950 { color: #020617; }
.text-cyan-200 { color: #a5f3fc; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-blue-200 { color: #bfdbfe; }
.text-blue-400 { color: #60a5fa; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-purple-300 { color: #d8b4fe; }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-amber-200 { color: #fde68a; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-red-200, .text-rose-200 { color: #fecdd3; }
.text-red-300, .text-rose-300 { color: #fda4af; }
.text-red-400, .text-rose-400 { color: #fb7185; }

/* Typography */
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1.15rem; }
.text-sm { font-size: 0.875rem; line-height: 1.35rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-start { text-align: start; }
.text-end { text-align: end; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.break-words { overflow-wrap: break-word; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-all { user-select: all; }
.select-none { user-select: none; }
.cursor-pointer { cursor: pointer; }

/* Effects & States */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.45); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55); }
.opacity-40 { opacity: 0.4; }
.pointer-events-none { pointer-events: none; }
.transition { transition: all 0.18s ease-in-out; }
.rotate-180 { transform: rotate(180deg); }
.accent-cyan-500 { accent-color: #06b6d4; }
.accent-purple-500 { accent-color: #a855f7; }
.accent-indigo-500 { accent-color: #6366f1; }

.hover\:underline:hover { text-decoration: underline; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-cyan-400:hover { color: #22d3ee; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:bg-slate-800\/40:hover { background-color: rgba(30, 41, 59, 0.4); }
.hover\:bg-slate-800\/50:hover { background-color: rgba(30, 41, 59, 0.5); }
.hover\:border-cyan-500\/60:hover { border-color: rgba(6, 182, 212, 0.6); }
.focus\:outline-none:focus { outline: none; }
.focus\:border-cyan-400:focus { border-color: #22d3ee; }

/* Responsive Media Queries */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:inline-flex { display: inline-flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:col-span-2 { grid-column: span 2 / span 2; }
    .sm\:p-8 { padding: 2rem; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-sm { font-size: 0.875rem; }
    .sm\:text-xl { font-size: 1.25rem; }
    .sm\:text-3xl { font-size: 1.875rem; }
    .sm\:text-4xl { font-size: 2.25rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1.15; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:items-end { align-items: flex-end; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
}

@media (min-width: 1024px) {
    .lg\:inline-flex { display: inline-flex; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:gap-2 { gap: 0.5rem; }
    .lg\:text-6xl { font-size: 3.5rem; line-height: 1.15; }
}
