/* Local CSS file to replace CDN dependencies */

/* ========== Tailwind-like Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --brand: #008486;
    --brand-light: #00a5a8;
    --brand-dark: #006667;
    --accent: #79C730;

    /* Tech Colors */
    --tech-900: #0b1215;
    --tech-950: #05090a;
    --tech-800: #131c1f;

    /* Slate Colors */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--slate-700);
    background-color: var(--slate-50);
}

/* ========== Utility Classes ========== */

/* Spacing */
.p-4 { padding: var(--spacing-4); }
.p-6 { padding: var(--spacing-6); }
.py-3 { padding-top: var(--spacing-3); padding-bottom: var(--spacing-3); }
.py-4 { padding-top: var(--spacing-4); padding-bottom: var(--spacing-4); }
.py-5 { padding-top: var(--spacing-5); padding-bottom: var(--spacing-5); }
.py-8 { padding-top: var(--spacing-8); padding-bottom: var(--spacing-8); }
.py-12 { padding-top: var(--spacing-12); padding-bottom: var(--spacing-12); }
.py-20 { padding-top: var(--spacing-20); padding-bottom: var(--spacing-20); }
.py-24 { padding-top: var(--spacing-24); padding-bottom: var(--spacing-24); }
.px-4 { padding-left: var(--spacing-4); padding-right: var(--spacing-4); }
.px-6 { padding-left: var(--spacing-6); padding-right: var(--spacing-6); }
.px-8 { padding-left: var(--spacing-8); padding-right: var(--spacing-8); }
.px-3 { padding-left: var(--spacing-3); padding-right: var(--spacing-3); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }
.mb-12 { margin-bottom: var(--spacing-12); }
.mb-16 { margin-bottom: var(--spacing-16); }
.mt-2 { margin-top: var(--spacing-2); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }
.mr-1 { margin-right: var(--spacing-1); }
.ml-2 { margin-left: var(--spacing-2); }
.ml-auto { margin-left: auto; }
.gap-2 { gap: var(--spacing-2); }
.gap-3 { gap: var(--spacing-3); }
.gap-4 { gap: var(--spacing-4); }
.gap-6 { gap: var(--spacing-6); }
.gap-8 { gap: var(--spacing-8); }
.gap-12 { gap: var(--spacing-12); }
.gap-16 { gap: var(--spacing-16); }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gap-4 { gap: var(--spacing-4); }
.gap-6 { gap: var(--spacing-6); }

/* Sizing */
.w-full { width: 100%; }
.w-px { width: 1px; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-64 { width: 16rem; }
.h-full { height: 100%; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-px { height: 1px; }
.h-1 { height: 0.25rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 28rem; margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 36rem; margin-left: auto; margin-right: auto; }
.min-w-0 { min-width: 0; }

/* Border 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; }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-slate-100 { border-color: var(--slate-100); }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-700 { border-color: var(--slate-700); }
.border-slate-800 { border-color: var(--slate-800); }
.border-slate-100 { border-color: var(--slate-100); }
.border-brand { border-color: var(--brand); }
.border-brand\/20 { border-color: rgba(0, 132, 134, 0.2); }
.border-brand\/30 { border-color: rgba(0, 132, 134, 0.3); }
.border-accent { border-color: var(--accent); }
.border-blue-500 { border-color: #3b82f6; }

/* Background */
.bg-white { background-color: white; }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-100 { background-color: var(--slate-100); }
.bg-slate-400 { background-color: var(--slate-400); }
.bg-slate-600 { background-color: var(--slate-600); }
.bg-slate-800 { background-color: var(--slate-800); }
.bg-slate-900 { background-color: var(--slate-900); }
.bg-tech-900 { background-color: var(--tech-900); }
.bg-tech-950 { background-color: var(--tech-950); }
.bg-tech-800 { background-color: var(--tech-800); }
.bg-brand { background-color: var(--brand); }
.bg-brand-light { background-color: var(--brand-light); }
.bg-brand\/20 { background-color: rgba(0, 132, 134, 0.2); }
.bg-brand-dark\/20 { background-color: rgba(0, 102, 103, 0.2); }
.bg-brand-50 { background-color: rgba(0, 132, 134, 0.05); }
.bg-accent { background-color: var(--accent); }
.bg-accent\/20 { background-color: rgba(121, 199, 48, 0.2); }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-500\/20 { background-color: rgba(59, 130, 246, 0.2); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-brand { --tw-gradient-from: var(--brand); }
.from-brand-light { --tw-gradient-from: var(--brand-light); }
.from-transparent { --tw-gradient-from: transparent; }
.to-brand-light { --tw-gradient-to: var(--brand-light); }
.to-accent { --tw-gradient-to: var(--accent); }
.to-tech-950 { --tw-gradient-to: var(--tech-950); }
.to-transparent { --tw-gradient-to: transparent; }

/* Text */
.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.text-white { color: white; }
.text-slate-300 { color: var(--slate-300); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: var(--slate-900); }
.text-brand { color: var(--brand); }
.text-brand-light { color: var(--brand-light); }
.text-brand\/40 { color: rgba(0, 132, 134, 0.4); }
.text-brand-dark { color: var(--brand-dark); }
.text-accent { color: var(--accent); }
.text-blue-400 { color: #60a5fa; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.top-full { top: 100%; }
.bottom-0 { bottom: 0; }
.-top-4 { top: -1rem; }
.-bottom-4 { bottom: -1rem; }
.-left-4 { left: -1rem; }
.-right-4 { right: -1rem; }
.-bottom-1 { bottom: -0.25rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Display */
.hidden { display: none; }
.block { display: block; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* Opacity */
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }

/* Shadow */
.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-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-neon { box-shadow: 0 0 15px rgba(0, 132, 134, 0.5); }
.shadow-neon-accent { box-shadow: 0 0 15px rgba(121, 199, 48, 0.5); }

/* Transition */
.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; 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; }

/* Transform */
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-0\.5 { transform: translateY(-0.125rem); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* Selection */
.selection\:bg-brand::selection { background-color: var(--brand); }
.selection\:text-white::selection { color: white; }

/* Object Fit */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Backdrop */
.backdrop-blur { backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* Filter */
.blur-xl { filter: blur(24px); }

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* Group */
.group:hover .group-hover\:w-full { width: 100%; }
.group:hover .group-hover\:bg-brand\/30 { background-color: rgba(0, 132, 134, 0.3); }
.group:hover .group-hover\:bg-accent\/30 { background-color: rgba(121, 199, 48, 0.3); }
.group:hover .group-hover\:text-white { color: white; }
.group:hover .group-hover\:scale-\[1\.01\] { transform: scale(1.01); }

/* Hover States */
.hover\:bg-brand:hover { background-color: var(--brand); }
.hover\:bg-brand-light:hover { background-color: var(--brand-light); }
.hover\:bg-brand-light\/10:hover { background-color: rgba(0, 165, 168, 0.1); }
.hover\:bg-accent\/20:hover { background-color: rgba(121, 199, 48, 0.2); }
.hover\:bg-blue-500\/20:hover { background-color: rgba(59, 130, 246, 0.2); }
.hover\:bg-brand\/20:hover { background-color: rgba(0, 132, 134, 0.2); }
.hover\:text-white:hover { color: white; }
.hover\:text-brand:hover { color: var(--brand); }
.hover\:text-brand-dark:hover { color: var(--brand-dark); }
.hover\:border-brand-light:hover { border-color: var(--brand-light); }
.hover\:border-brand\/30:hover { border-color: rgba(0, 132, 134, 0.3); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hover\:shadow-lg\/20:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); }
.hover\:shadow-neon-accent:hover { box-shadow: 0 0 15px rgba(121, 199, 48, 0.5); }

/* Media Queries */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:justify-start { justify-content: flex-start; }
    .md\:text-left { text-align: left; }
    .md\:justify-between { justify-content: space-between; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:gap-6 { gap: var(--spacing-6); }
    .md\:w-\[250px\] { width: 250px; }
    .md\:h-\[80px\] { height: 80px; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 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\:text-left { text-align: left; }
    .lg\:mx-0 { margin-left: 0; margin-right: 0; }
    .lg\:px-8 { padding-left: var(--spacing-8); padding-right: var(--spacing-8); }
}

/* Custom Width Classes */
.w-\[100px\] { width: 100px; }
.w-\[250px\] { width: 250px; }
.h-\[30px\] { height: 30px; }
.h-\[42px\] { height: 42px; }
.h-\[80px\] { height: 80px; }
.h-\[400px\] { height: 400px; }

/* Custom sizes for dynamic elements */
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.h-1 { height: 0.25rem; }
.h-1\.5 { height: 0.375rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.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-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }

/* Color variants for backgrounds and text */
.bg-purple-50 { background-color: #faf5ff; }
.text-purple-600 { color: #9333ea; }
.bg-teal-50 { background-color: #f0fdfa; }
.text-teal-600 { color: #14b8a6; }
.bg-sky-50 { background-color: #f0f9ff; }
.text-sky-600 { color: #0284c7; }
.bg-fuchsia-50 { background-color: #fdf4ff; }
.text-fuchsia-600 { color: #c026d3; }
.bg-cyan-50 { background-color: #ecfeff; }
.text-cyan-600 { color: #0891b2; }
.bg-amber-50 { background-color: #fffbeb; }
.text-amber-600 { color: #d97706; }
.bg-pink-50 { background-color: #fdf2f8; }
.text-pink-600 { color: #db2777; }
.bg-indigo-50 { background-color: #eef2ff; }
.text-indigo-600 { color: #4f46e5; }
.bg-rose-50 { background-color: #fff1f2; }
.text-rose-600 { color: #e11d48; }
.bg-slate-\/50 { background-color: rgba(248, 250, 252, 0.3); }

/* Text gradients */
.filter { filter: var(--tw-filter); }
.drop-shadow-\[0_0_15px_rgba\(0\,132\,134\,0\.5\)\] {
    filter: drop-shadow(0 0 15px rgba(0, 132, 134, 0.5));
}

/* Special gradient stops */
.from-brand-light { --tw-gradient-from: #00a5a8; }
.to-accent { --tw-gradient-to: #79C730; }

/* Navbar glass effect */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Shadow with brand color */
.hover\:shadow-brand\/20:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 132, 134, 0.2);
}

/* More color utilities */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-slate-50 { --tw-gradient-from: #f8fafc; }
.to-slate-100 { --tw-gradient-to: #f1f5f9; }

/* Position utilities */
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { translateY: -50%); }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.z-0 { z-index: 0; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
