/* ========== Design System ========== */
:root {
    --brand-50: #f0fdf4; --brand-100: #dcfce7; --brand-200: #bbf7d0;
    --brand-300: #86efac; --brand-400: #4ade80; --brand-500: #22c55e;
    --brand-600: #16a34a; --brand-700: #15803d; --brand-800: #166534; --brand-900: #14532d;
    --accent-50: #fefce8; --accent-100: #fef9c3; --accent-200: #fef08a;
    --accent-300: #fde047; --accent-400: #facc15; --accent-500: #eab308;
    --accent-600: #ca8a04; --accent-700: #a16207;
    --ink-50: #f8fafc; --ink-100: #f1f5f9; --ink-200: #e2e8f0;
    --ink-300: #cbd5e1; --ink-400: #94a3b8; --ink-500: #64748b;
    --ink-600: #475569; --ink-700: #334155; --ink-800: #1e293b; --ink-900: #0f172a; --ink-950: #020617;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-family: 'Cairo', sans-serif; }
body { background-color: var(--ink-50); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: right; padding: 0.75rem 1rem; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ========== Utility Classes ========== */
.bg-white\/90 { background: rgba(255,255,255,0.9); }
.blur-3xl { filter: blur(48px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.items-stretch { align-items: stretch; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-0\.5 { gap: 0.125rem; } .gap-1 { gap: 0.25rem; } .gap-1\.5 { gap: 0.375rem; } .gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block { display: block; }
.hidden { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; } .top-1\.5 { top: 0.375rem; } .top-2 { top: 0.5rem; }
.top-20 { top: 5rem; } .top-24 { top: 6rem; }
.right-0 { right: 0; } .right-1\.5 { right: 0.375rem; } .right-2 { right: 0.5rem; }
.right-10 { right: 2.5rem; }
.bottom-0 { bottom: 0; } .bottom-10 { bottom: 2.5rem; }
.left-0 { left: 0; } .left-10 { left: 2.5rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\.5 { width: 0.375rem; } .w-3 { width: 0.75rem; } .w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; } .w-5 { width: 1.25rem; } .w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; } .w-8 { width: 2rem; } .w-10 { width: 2.5rem; }
.w-12 { width: 3rem; } .w-14 { width: 3.5rem; } .w-16 { width: 4rem; }
.w-64 { width: 16rem; } .w-72 { width: 18rem; } .w-96 { width: 24rem; }
.h-full { height: 100%; }
.h-1\.5 { height: 0.375rem; } .h-3 { height: 0.75rem; } .h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; } .h-5 { height: 1.25rem; } .h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; } .h-8 { height: 2rem; } .h-10 { height: 2.5rem; }
.h-12 { height: 3rem; } .h-14 { height: 3.5rem; } .h-16 { height: 4rem; }
.h-48 { height: 12rem; } .h-64 { height: 16rem; } .h-72 { height: 18rem; } .h-96 { height: 24rem; }
.min-h-screen { min-height: 100vh; }
.max-w-3xl { max-width: 48rem; } .max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; } .max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-0 { margin-top: 0; margin-bottom: 0; }
.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-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-20 { margin-top: 5rem; }
.mb-0\.5 { margin-bottom: 0.125rem; } .mb-1 { margin-bottom: 0.25rem; } .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; }
.p-1\.5 { padding: 0.375rem; } .p-2 { padding: 0.5rem; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; } .p-10 { padding: 2.5rem; } .p-16 { padding: 4rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.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-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-1 { padding-top: 0.25rem; } .pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; } .pb-4 { padding-bottom: 1rem; }
.pl-11 { padding-left: 2.75rem; } .pr-11 { padding-right: 2.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-md { border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-dashed { border-style: dashed; }
.border-brand-100 { border-color: var(--brand-100); }
.border-brand-200 { border-color: var(--brand-200); }
.border-brand-300 { border-color: var(--brand-300); }
.border-brand-400 { border-color: var(--brand-400); }
.border-brand-500 { border-color: var(--brand-500); }
.border-ink-700 { border-color: var(--ink-700); }
.border-ink-100 { border-color: var(--ink-100); }
.border-ink-200 { border-color: var(--ink-200); }
.border-ink-300 { border-color: var(--ink-300); }
.border-ink-50 { border-color: var(--ink-50); }
.border-red-200 { border-color: #fecaca; }
.border-red-500 { border-color: #ef4444; }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.border-transparent { border-color: transparent; }
.bg-brand-50 { background-color: var(--brand-50); }
.bg-brand-100 { background-color: var(--brand-100); }
.bg-brand-500 { background-color: var(--brand-500); }
.bg-brand-600 { background-color: var(--brand-600); }
.bg-brand-800 { background-color: var(--brand-800); }
.bg-accent-50 { background-color: var(--accent-50); }
.bg-accent-100 { background-color: var(--accent-100); }
.bg-accent-400 { background-color: var(--accent-400); }
.bg-ink-50 { background-color: var(--ink-50); }
.bg-ink-100 { background-color: var(--ink-100); }
.bg-ink-200 { background-color: var(--ink-200); }
.bg-ink-700 { background-color: var(--ink-700); }
.bg-ink-800 { background-color: var(--ink-800); }
.bg-ink-800\/70 { background-color: rgba(30,41,59,0.7); }
.bg-ink-800\/90 { background-color: rgba(30,41,59,0.9); }
.bg-ink-900 { background-color: var(--ink-900); }
.bg-ink-950 { background-color: var(--ink-950); }
.bg-red-500\/90 { background-color: rgba(239,68,68,0.9); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/15 { background-color: rgba(255,255,255,0.15); }
.bg-white { background-color: #fff; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--g1), var(--g2), var(--g3)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--g1), var(--g2)); }
.from-brand-50 { --g1: var(--brand-50); }
.from-brand-500 { --g1: var(--brand-500); }
.from-brand-600 { --g1: var(--brand-600); }
.from-accent-400 { --g1: var(--accent-400); }
.to-brand-400 { --g2: var(--brand-400); }
.to-brand-700 { --g2: var(--brand-700); }
.to-brand-800 { --g2: var(--brand-800); }
.to-accent-600 { --g2: var(--accent-600); }
.to-white { --g2: #fff; }
.via-white { --g2: #fff; }
.bg-brand-200 { background-color: var(--brand-200); }
.bg-brand-400 { background-color: var(--brand-400); }
.bg-brand-700 { background-color: var(--brand-700); }
.bg-accent-200 { background-color: var(--accent-200); }
.bg-accent-300 { background-color: var(--accent-300); }
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--g1), var(--g2)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--g1), var(--g2)); }
.text-white { color: #fff; }
.text-brand-100 { color: var(--brand-100); }
.text-brand-200 { color: var(--brand-200); }
.text-brand-400 { color: var(--brand-400); }
.text-brand-500 { color: var(--brand-500); }
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-accent-400 { color: var(--accent-400); }
.text-accent-600 { color: var(--accent-600); }
.text-ink-200 { color: var(--ink-200); }
.text-ink-300 { color: var(--ink-300); }
.text-ink-400 { color: var(--ink-400); }
.text-ink-500 { color: var(--ink-500); }
.text-ink-600 { color: var(--ink-600); }
.text-ink-700 { color: var(--ink-700); }
.text-ink-800 { color: var(--ink-800); }
.text-ink-900 { color: var(--ink-900); }
.text-red-400 { color: #f87171; } .text-red-500 { color: #ef4444; } .text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; } .text-green-700 { color: #15803d; }
.text-blue-500 { color: #3b82f6; }
.text-orange-500 { color: #f97316; }
.text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; } .text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; } .text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; } .text-6xl { font-size: 3.75rem; }
.text-\[10px\] { font-size: 10px; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; } .font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; } .font-extrabold { font-weight: 800; }
.italic { font-style: italic; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-widest { letter-spacing: 0.1em; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.max-h-\[120px\] { max-height: 120px; }
.max-h-\[200px\] { max-height: 200px; }
.max-h-\[500px\] { max-height: 500px; }
.max-w-\[24px\] { max-width: 24px; }
.max-w-\[200px\] { max-width: 200px; }
.max-w-xs { max-width: 20rem; }
.min-w-0 { min-width: 0; }
.min-h-\[120px\] { min-height: 120px; }
.min-h-\[calc\(100vh-200px\)\] { min-height: calc(100vh - 200px); }
.cursor-pointer { cursor: pointer; }
.cursor-move { cursor: move; }
.pointer-events-none { pointer-events: none; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.shadow-brand-500\/30 { box-shadow: 0 10px 15px -3px rgba(34,197,94,0.3); }
.transition-all { transition: all 0.2s; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-transform { transition: transform 0.2s; }
.transition-opacity { transition: opacity 0.2s; }
.hover\:bg-ink-50:hover { background-color: var(--ink-50); }
.hover\:bg-ink-50\/50:hover { background-color: rgba(248,250,252,0.5); }
.bg-ink-50\/50 { background-color: rgba(248,250,252,0.5); }
.hover\:bg-ink-100:hover { background-color: var(--ink-100); }
.hover\:bg-brand-50\/50:hover { background-color: rgba(240,253,244,0.5); }
.hover\:bg-brand-50:hover { background-color: var(--brand-50); }
.hover\:bg-red-100:hover { background-color: #fee2e2; }
.hover\:bg-red-500:hover { background-color: #ef4444; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:bg-red-600:hover { background-color: #dc2626; }
.hover\:text-brand-400:hover { color: var(--brand-400); }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:text-ink-600:hover { color: var(--ink-600); }
.hover\:text-ink-500:hover { color: var(--ink-500); }
.hover\:border-brand-200:hover { border-color: var(--brand-200); }
.hover\:border-brand-400:hover { border-color: var(--brand-400); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:gap-2:hover { gap: 0.5rem; }
.opacity-0 { opacity: 0; } .opacity-30 { opacity: 0.3; } .opacity-60 { opacity: 0.6; }
.opacity-100 { opacity: 1; } .opacity-20 { opacity: 0.2; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group { }
.break-words { word-wrap: break-word; overflow-wrap: break-word; }
.bg-red-500 { background-color: #ef4444; }
.z-10 { z-index: 10; } .z-50 { z-index: 50; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.gap-x-3 { column-gap: 0.75rem; } .gap-y-1 { row-gap: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.aspect-square { aspect-ratio: 1; }
.aspect-\[3\/4\] { aspect-ratio: 3/4; }
.object-contain { object-fit: contain; }
.resize-y { resize: vertical; }
.font-size-btn { transition: all 0.2s; }
.outline-none { outline: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--brand-400); }
.focus\:ring-brand-100:focus { box-shadow: 0 0 0 2px var(--brand-100); }
.focus\:border-brand-400:focus { border-color: var(--brand-400); }
.focus\:border-brand-500:focus { border-color: var(--brand-500); }
.focus\:border-transparent:focus { border-color: transparent; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:opacity-60:disabled { opacity: 0.6; }
.disabled\:cursor-default:disabled { cursor: default; }
.disabled\:hover\:translate-y-0:disabled:hover { transform: translateY(0); }
.hover\:bg-brand-500\/50:hover { background-color: rgba(34,197,94,0.5); }
.hover\:bg-green-100:hover { background-color: #dcfce7; }
.text-3\.5 { font-size: 0.875rem; }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.border-3 { border-width: 3px; }
.animate-spin { animation: spin 0.6s linear infinite; }
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }
.animate-scale-in { animation: scaleIn 0.3s ease-out; }
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Responsive */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:w-52 { width: 13rem; }
    .sm\:w-auto { width: auto; }
    .sm\:flex-none { flex: none; }
    .sm\:h-\[156px\] { height: 156px; }
    .sm\:text-3xl { font-size: 1.875rem; }
    .sm\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .sm\:p-10 { padding: 2.5rem; }
    .sm\:flex { display: flex; }
    .sm\:items-start { align-items: flex-start; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sm\:flex-nowrap { flex-wrap: nowrap; }
}
@media (min-width: 768px) {
    .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\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-xl { font-size: 1.25rem; }
    .md\:p-16 { padding: 4rem; }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:sticky { position: sticky; }
    .lg\:top-24 { top: 6rem; }
    .lg\:text-6xl { font-size: 3.75rem; }
.lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .xl\:flex { display: flex; }
    .xl\:hidden { display: none; }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}

/* Form inputs */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--ink-200);
    color: var(--ink-800);
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
    box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 2px var(--brand-100);
}
input[type="file"] { display: none; }

/* Buttons */
.btn-primary {
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    background-image: linear-gradient(to left, var(--brand-500), var(--brand-700));
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(34,197,94,0.3);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    box-shadow: 0 20px 25px -5px rgba(34,197,94,0.4);
    transform: translateY(-2px);
}
.btn-primary:disabled {
    opacity: 0.6;
    transform: none;
    cursor: default;
}
.btn-accent {
    background-image: linear-gradient(to left, var(--accent-400), var(--accent-600));
    box-shadow: 0 10px 15px -3px rgba(250,204,21,0.3);
}
.btn-white {
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    background: white;
    color: var(--brand-700);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-white:hover { background: var(--brand-50); }
.btn-outline-white {
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.3); }
.btn-card {
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    background: white;
    color: var(--ink-700);
    font-weight: 700;
    border: 2px solid var(--ink-200);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-card:hover { border-color: var(--brand-400); color: var(--brand-600); transform: translateY(-2px); }

/* Cards */
.card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--ink-100);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    padding: 1.5rem;
}
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    border: 1px solid var(--ink-100);
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
    border-color: var(--brand-200);
}

/* Upload zone */
.upload-zone {
    border: 2px dashed var(--ink-300);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}
.upload-zone:hover {
    border-color: var(--brand-400);
    background: rgba(240,253,244,0.5);
}
.upload-zone.active {
    border-color: var(--brand-500);
    background: var(--brand-50);
}

/* Spinners */
.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
.spinner-lg {
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--brand-100);
    border-top-color: var(--brand-600);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Level buttons (compress tool) */
.level-btn {
    border-color: var(--ink-200);
    background: white;
    cursor: pointer;
}
.level-btn:hover {
    border-color: var(--brand-400);
}
.level-btn.active {
    border-color: var(--brand-500);
    background: var(--brand-50);
}

/* Hero buttons grid */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
