:root {
  /* Base colors */
  --background: oklch(0.1 0 0);
  --foreground: oklch(0.98 0 0);
  
  /* Brand colors */
  --primary: oklch(0.65 0.2 200);
  --primary-foreground: oklch(0.98 0 0);
  
  /* UI colors */
  --card: oklch(0.13 0 0);
  --card-foreground: oklch(0.98 0 0);
  --popover: oklch(0.13 0 0);
  --popover-foreground: oklch(0.98 0 0);
  
  /* Semantic colors */
  --secondary: oklch(0.2 0.05 200);
  --secondary-foreground: oklch(0.98 0 0);
  --muted: oklch(0.3 0 0);
  --muted-foreground: oklch(0.7 0 0);
  --accent: oklch(0.7 0.2 200);
  --accent-foreground: oklch(0.1 0 0);
  
  /* Functional colors */
  --destructive: oklch(0.7 0.26 30);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(0.3 0 0);
  --input: oklch(0.2 0 0);
  --ring: oklch(0.65 0.2 200);
  
  /* Chart colors */
  --chart-1: oklch(0.65 0.2 200);
  --chart-2: oklch(0.7 0.2 180);
  --chart-3: oklch(0.75 0.2 190);
  --chart-4: oklch(0.6 0.2 210);
  --chart-5: oklch(0.55 0.2 220);
  
  /* Sidebar specific */
  --sidebar: oklch(0.11 0 0);
  --sidebar-foreground: oklch(0.98 0 0);
  --sidebar-muted: oklch(0.5 0 0);
  --sidebar-primary: var(--primary);
  --sidebar-primary-foreground: oklch(0.98 0 0);
  --sidebar-accent: var(--accent);
  --sidebar-accent-foreground: oklch(0.1 0 0);
  --sidebar-border: oklch(0.2 0 0);
  
  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Space Grotesk', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Border radius */
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 0.25rem);
  --radius-md: var(--radius);
  --radius-lg: calc(var(--radius) + 0.25rem);
  --radius-xl: calc(var(--radius) + 0.5rem);
  
  /* Shadows */
  --shadow-2xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-xs: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-sm: 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 6px 10px -1px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 15px 20px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Spacing */
  --spacing: 0.5rem;
}

/* Custom Styles */
body {
    font-family: var(--font-sans) !important;
    background-color: var(--background) !important;
    color: var(--foreground) !important;
    line-height: 1.6 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif) !important;
    font-weight: 600 !important;
}

.gradient-bg {
    background: linear-gradient(135deg, 
        oklch(0.13 0 0) 0%,
        oklch(0.15 0.05 200) 50%,
        oklch(0.13 0 0) 100%);
}

.hero-grid {
    background-image: radial-gradient(oklch(0.65 0.2 200) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: gridFlow 20s linear infinite;
}

@keyframes gridFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.nav-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(13, 13, 13, 0.8);
}

.service-card {
    transition: all 0.3s ease;
    background: var(--card);
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(101, 163, 255, 0.2);
}

.cta-button {
    background: var(--primary);
    color: var(--primary-foreground);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 163, 255, 0.3);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-input {
    background: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.contact-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(101, 163, 255, 0.2);
}

.contact-input::placeholder {
    color: var(--muted-foreground);
}

/* Form states */
.form-success {
    background-color: oklch(0.2 0.1 140);
    color: oklch(0.9 0 0);
    border: 1px solid oklch(0.3 0.1 140);
}

.form-error {
    background-color: oklch(0.2 0.1 30);
    color: oklch(0.9 0 0);
    border: 1px solid oklch(0.3 0.1 30);
}

/* Mobile menu */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-grid {
        background-size: 20px 20px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

/* Loading animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav-blur,
    #mobile-menu-button,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
