/* ============================================================
   home.css — Static replacement for Tailwind CSS on index.html
   ZeroDataUpload Homepage
   ============================================================ */

/* ==========================================================================
   Section 1: CSS Reset (Tailwind Preflight equivalent)
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
    --tw-gradient-from: transparent;
    --tw-gradient-to: transparent;
    --tw-gradient-via-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    line-height: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

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

button {
    font-family: inherit;
    font-size: 100%;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: none;
}

img, svg, video {
    display: block;
    vertical-align: middle;
}

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

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

p {
    margin: 0;
}

/* ==========================================================================
   Section 2: Font Setup
   ========================================================================== */

* {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* ==========================================================================
   Section 3: Background & Decorative Elements
   ========================================================================== */

html, body {
    background: #0a0a0f;
    position: relative;
    overflow-x: hidden !important;
}

.main-gradient {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: morphGradient 20s ease infinite;
}

@keyframes morphGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.mesh-grid {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: meshMove 20s linear infinite;
}

@keyframes meshMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    mix-blend-mode: screen;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
    top: 60%;
    right: 10%;
    animation-delay: 4s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    bottom: 10%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ==========================================================================
   Section 4: Component Styles
   ========================================================================== */

.glass-morphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-morphism-strong {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.card-3d {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.card-3d:hover::before {
    opacity: 1;
}

.tool-card-advanced {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
}

.tool-card-advanced p {
    flex-grow: 1;
}

.tool-card-advanced:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.tool-card-advanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: inherit;
    z-index: -1;
}

.tool-card-advanced:hover::after {
    opacity: 1;
}

.icon-glow {
    position: relative;
    transition: all 0.3s ease;
}

.icon-glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: inherit;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-card-advanced:hover .icon-glow::before {
    opacity: 0.6;
}

.icon-glow svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.tool-card-advanced:hover .icon-glow svg {
    transform: scale(1.1) rotate(5deg);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899, #3B82F6);
    transform-origin: 0%;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    transition: width 0.1s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number {
    animation: countUp 1s ease-out;
}

.privacy-pulse {
    animation: privacyPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes privacyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7), 0 10px 30px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 0 20px rgba(139, 92, 246, 0), 0 15px 40px rgba(139, 92, 246, 0.5); }
}

.gradient-text {
    background: linear-gradient(90deg, #8B5CF6, #EC4899, #3B82F6, #8B5CF6);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium span {
    position: relative;
    z-index: 1;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
    border-left: 1px solid rgba(139, 92, 246, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8B5CF6 0%, #EC4899 100%);
    border-radius: 10px;
    border: 2px solid #0a0a0f;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9333EA 0%, #DB2777 100%);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%) translateY(-100%);
    transition: transform 0.6s;
}

.shine:hover::after {
    transform: translateX(100%) translateY(100%);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
    margin: 4rem 0;
}

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

.float-subtle {
    animation: floatSubtle 3s ease-in-out infinite;
}

nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#commandPalette:not(.hidden) {
    animation: cmdFadeIn 0.15s ease-out;
}

#commandPalette:not(.hidden) > div:last-child > div {
    animation: cmdSlideIn 0.15s ease-out;
}

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

@keyframes cmdSlideIn {
    from { opacity: 0; transform: scale(0.96) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

#cmdResults::-webkit-scrollbar {
    width: 6px;
}

#cmdResults::-webkit-scrollbar-track {
    background: transparent;
}

#cmdResults::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* ==========================================================================
   Section 5: Tailwind Utility Replacements
   ========================================================================== */

/* --- Layout / Position --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-16 { top: 4rem; }
.left-1\/2 { left: 50%; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }

/* --- Display --- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.block { display: block; }
.grid { display: grid; }
.hidden { display: none; }

/* --- Flexbox --- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }

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

/* --- Gap --- */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* --- Width --- */
.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-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }

/* --- Height --- */
.h-1 { height: 0.25rem; }
.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-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.h-full { height: 100%; }

/* --- Max Width --- */
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-\[1600px\] { max-width: 1600px; }

/* --- Margin --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }

/* --- Padding --- */
.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.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-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }

/* --- Typography --- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[11px\] { font-size: 11px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.list-none { list-style-type: none; }

/* --- Text Colors --- */
.text-white { color: #fff; }
.text-transparent { color: transparent; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-purple-300 { color: #c4b5fd; }
.text-purple-400 { color: #a78bfa; }
.text-pink-300 { color: #f9a8d4; }
.text-pink-400 { color: #f472b6; }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-green-300 { color: #86efac; }
.text-green-400 { color: #4ade80; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.text-orange-300 { color: #fdba74; }
.text-orange-400 { color: #fb923c; }
.text-yellow-300 { color: #fde047; }
.text-yellow-400 { color: #facc15; }
.text-cyan-300 { color: #67e8f9; }
.text-cyan-400 { color: #22d3ee; }
.text-teal-300 { color: #5eead4; }
.text-teal-400 { color: #2dd4bf; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-violet-300 { color: #c4b5fd; }
.text-violet-400 { color: #a78bfa; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-rose-300 { color: #fda4af; }
.text-rose-400 { color: #fb7185; }
.text-fuchsia-300 { color: #f0abfc; }
.text-fuchsia-400 { color: #e879f9; }
.text-sky-300 { color: #7dd3fc; }
.text-sky-400 { color: #38bdf8; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-lime-300 { color: #bef264; }
.text-lime-400 { color: #a3e635; }
.text-zinc-300 { color: #d4d4d8; }

/* --- Background Colors --- */
.bg-green-400 { background-color: #4ade80; }
.bg-green-500 { background-color: #22c55e; }
.bg-purple-500\/20 { background-color: rgba(168, 85, 247, 0.2); }
.bg-pink-500\/20 { background-color: rgba(236, 72, 153, 0.2); }
.bg-blue-500\/20 { background-color: rgba(59, 130, 246, 0.2); }
.bg-green-500\/20 { background-color: rgba(34, 197, 94, 0.2); }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* --- Gradients --- */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

/* from-* classes */
.from-purple-400 {
    --tw-gradient-from: #c084fc;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-purple-500 {
    --tw-gradient-from: #a855f7;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-purple-600 {
    --tw-gradient-from: #9333ea;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-purple-600\/20 {
    --tw-gradient-from: rgba(147, 51, 234, 0.2);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-pink-400 {
    --tw-gradient-from: #f472b6;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-pink-500 {
    --tw-gradient-from: #ec4899;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-blue-400 {
    --tw-gradient-from: #60a5fa;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-blue-600 {
    --tw-gradient-from: #2563eb;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-green-400 {
    --tw-gradient-from: #4ade80;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-green-500 {
    --tw-gradient-from: #22c55e;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-cyan-500 {
    --tw-gradient-from: #06b6d4;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-orange-500 {
    --tw-gradient-from: #f97316;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-red-500 {
    --tw-gradient-from: #ef4444;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-indigo-500 {
    --tw-gradient-from: #6366f1;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-emerald-500 {
    --tw-gradient-from: #10b981;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-amber-500 {
    --tw-gradient-from: #f59e0b;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-teal-500 {
    --tw-gradient-from: #14b8a6;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-rose-500 {
    --tw-gradient-from: #f43f5e;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-violet-500 {
    --tw-gradient-from: #8b5cf6;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-fuchsia-500 {
    --tw-gradient-from: #d946ef;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-sky-500 {
    --tw-gradient-from: #0ea5e9;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-slate-500 {
    --tw-gradient-from: #64748b;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-lime-500 {
    --tw-gradient-from: #84cc16;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}
.from-yellow-500 {
    --tw-gradient-from: #eab308;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-from), var(--tw-gradient-to));
}

/* via-* classes */
.via-pink-500 {
    --tw-gradient-via-stops: var(--tw-gradient-from), #ec4899, var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}
.via-pink-600 {
    --tw-gradient-via-stops: var(--tw-gradient-from), #db2777, var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}
.via-pink-600\/20 {
    --tw-gradient-via-stops: var(--tw-gradient-from), rgba(219, 39, 119, 0.2), var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}
.via-purple-600 {
    --tw-gradient-via-stops: var(--tw-gradient-from), #9333ea, var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}
.via-blue-500 {
    --tw-gradient-via-stops: var(--tw-gradient-from), #3b82f6, var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}
.via-blue-600 {
    --tw-gradient-via-stops: var(--tw-gradient-from), #2563eb, var(--tw-gradient-to);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
}

/* to-* classes */
.to-transparent {
    --tw-gradient-to: transparent;
}
.to-purple-600 {
    --tw-gradient-to: #9333ea;
}
.to-purple-700 {
    --tw-gradient-to: #7e22ce;
}
.to-pink-500 {
    --tw-gradient-to: #ec4899;
}
.to-pink-600 {
    --tw-gradient-to: #db2777;
}
.to-pink-700 {
    --tw-gradient-to: #be185d;
}
.to-blue-500 {
    --tw-gradient-to: #3b82f6;
}
.to-blue-600 {
    --tw-gradient-to: #2563eb;
}
.to-blue-600\/20 {
    --tw-gradient-to: rgba(37, 99, 235, 0.2);
}
.to-blue-700 {
    --tw-gradient-to: #1d4ed8;
}
.to-cyan-500 {
    --tw-gradient-to: #06b6d4;
}
.to-emerald-500 {
    --tw-gradient-to: #10b981;
}
.to-teal-500 {
    --tw-gradient-to: #14b8a6;
}
.to-red-500 {
    --tw-gradient-to: #ef4444;
}
.to-rose-500 {
    --tw-gradient-to: #f43f5e;
}
.to-orange-500 {
    --tw-gradient-to: #f97316;
}
.to-indigo-500 {
    --tw-gradient-to: #6366f1;
}
.to-violet-500 {
    --tw-gradient-to: #8b5cf6;
}
.to-green-500 {
    --tw-gradient-to: #22c55e;
}
.to-green-600 {
    --tw-gradient-to: #16a34a;
}
.to-fuchsia-500 {
    --tw-gradient-to: #d946ef;
}
.to-amber-500 {
    --tw-gradient-to: #f59e0b;
}
.to-sky-500 {
    --tw-gradient-to: #0ea5e9;
}
.to-gray-500 {
    --tw-gradient-to: #6b7280;
}

/* --- Border Radius --- */
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-\[2rem\] { border-radius: 2rem; }

/* --- Borders --- */
.border { border-width: 1px; }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-purple-500\/20 { border-color: rgba(168, 85, 247, 0.2); }
.border-pink-500\/30 { border-color: rgba(236, 72, 153, 0.3); }
.border-blue-500\/30 { border-color: rgba(59, 130, 246, 0.3); }
.border-green-500\/30 { border-color: rgba(34, 197, 94, 0.3); }

/* --- Opacity --- */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* --- Object Fit & Transform --- */
.object-cover { object-fit: cover; }
.scale-110 { transform: scale(1.1); }
.transform { /* marker class for transform functionality */ }

/* --- Transitions --- */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* --- Animations --- */
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* --- Custom Utilities --- */
.bg-size-200 { background-size: 200% 200%; }

/* --- Shadow --- */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* --- Accessibility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   Section 6: Hover States
   ========================================================================== */

.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:shadow-purple-500\/60:hover { --tw-shadow-color: rgba(168, 85, 247, 0.6); box-shadow: 0 25px 50px -12px var(--tw-shadow-color); }
.hover\:shadow-blue-500\/50:hover { --tw-shadow-color: rgba(59, 130, 246, 0.5); box-shadow: 0 25px 50px -12px var(--tw-shadow-color); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:text-purple-300:hover { color: #c4b5fd; }
.hover\:bg-right:hover { background-position: right center; }

/* --- Group Hover --- */
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }
.group:hover .group-hover\:text-blue-400 { color: #60a5fa; }
.group:hover .group-hover\:text-green-400 { color: #4ade80; }
.group:hover .group-hover\:text-orange-400 { color: #fb923c; }
.group:hover .group-hover\:text-purple-400 { color: #a78bfa; }
.group:hover .group-hover\:text-indigo-400 { color: #818cf8; }
.group:hover .group-hover\:text-cyan-400 { color: #22d3ee; }
.group:hover .group-hover\:text-pink-400 { color: #f472b6; }
.group:hover .group-hover\:text-amber-400 { color: #fbbf24; }
.group:hover .group-hover\:text-teal-400 { color: #2dd4bf; }
.group:hover .group-hover\:text-red-400 { color: #f87171; }
.group:hover .group-hover\:text-violet-400 { color: #a78bfa; }
.group:hover .group-hover\:text-slate-400 { color: #94a3b8; }
.group:hover .group-hover\:text-rose-400 { color: #fb7185; }
.group:hover .group-hover\:text-emerald-400 { color: #34d399; }
.group:hover .group-hover\:text-fuchsia-400 { color: #e879f9; }
.group:hover .group-hover\:text-sky-400 { color: #38bdf8; }
.group:hover .group-hover\:text-yellow-400 { color: #facc15; }
.group:hover .group-hover\:text-lime-400 { color: #a3e635; }

/* --- Focus States (skip link) --- */
.focus\:not-sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}
.focus\:fixed:focus { position: fixed; }
.focus\:top-4:focus { top: 1rem; }
.focus\:left-4:focus { left: 1rem; }
.focus\:z-\[100\]:focus { z-index: 100; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:bg-purple-600:focus { background-color: #9333ea; }
.focus\:text-white:focus { color: #fff; }
.focus\:rounded-lg:focus { border-radius: 0.5rem; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(59, 130, 246, 0.5)); }
.focus\:ring-white:focus { --tw-ring-color: #fff; box-shadow: 0 0 0 2px var(--tw-ring-color); }

/* ==========================================================================
   Section 7: Responsive (sm: 640px)
   ========================================================================== */

@media (min-width: 640px) {
    .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:w-auto { width: auto; }
}

/* ==========================================================================
   Section 8: Responsive (md: 768px)
   ========================================================================== */

@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .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\:gap-5 { gap: 1.25rem; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .md\:p-14 { padding: 3.5rem; }
    .md\:p-16 { padding: 4rem; }
    .md\:p-20 { padding: 5rem; }
    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* ==========================================================================
   Section 9: Responsive (lg: 1024px)
   ========================================================================== */

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* ==========================================================================
   Section 10: Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .particles, .particle { display: none !important; }
    .fade-in-up { opacity: 1 !important; transform: none !important; }
}
