/**
 * Proctor Digital - Enterprise Design System
 * Clean, dark blue, professional aesthetic
 */

:root {
    /* Core Colors - Dark Blue Palette */
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --bg-card: rgba(17, 24, 39, 0.8);

    /* Borders */
    --border-default: rgba(55, 65, 81, 0.5);
    --border-hover: rgba(59, 130, 246, 0.5);

    /* Text */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Accent - Blue */
    --accent-primary: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #60a5fa;

    /* Secondary Accent - Orange (for CTAs) */
    --accent-cta: #f97316;
    --accent-cta-hover: #ea580c;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
}

/* ========================================
   BASE STYLES
   ======================================== */

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* ========================================
   GLOBAL TEXT COLOR OVERRIDES
   Ensures all text is readable on dark backgrounds
   ======================================== */

/* All text defaults to light colors */
body, main, section, article, div, span, li, td, th {
    color: var(--text-primary);
}

/* Override Tailwind's dark text classes */
.text-gray-900, .text-gray-800, .text-gray-700, .text-black {
    color: var(--text-primary) !important;
}

.text-gray-600, .text-gray-500 {
    color: var(--text-secondary) !important;
}

/* FORCE all light backgrounds to dark theme */
.bg-white,
.bg-gray-50,
.bg-gray-100,
.bg-gray-200,
.bg-blue-50,
.bg-blue-100,
.bg-cyan-100,
.bg-green-50,
.bg-green-100,
.bg-orange-50,
.bg-orange-100,
.bg-purple-50,
.bg-purple-100,
.bg-red-50,
.bg-red-100,
.bg-yellow-50 {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-default);
}

.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,
.bg-gray-50 h1, .bg-gray-50 h2, .bg-gray-50 h3, .bg-gray-50 h4, .bg-gray-50 h5, .bg-gray-50 h6,
.bg-gray-100 h1, .bg-gray-100 h2, .bg-gray-100 h3, .bg-gray-100 h4, .bg-gray-100 h5, .bg-gray-100 h6,
.bg-blue-50 h1, .bg-blue-50 h2, .bg-blue-50 h3, .bg-blue-50 h4, .bg-blue-50 h5, .bg-blue-50 h6 {
    color: var(--text-primary) !important;
}

.bg-white p, .bg-gray-50 p, .bg-gray-100 p, .bg-blue-50 p {
    color: var(--text-secondary) !important;
}

/* Fix text colors that were designed for light backgrounds */
.text-gray-700, .text-gray-800, .text-gray-900,
.text-blue-900, .text-blue-800, .text-blue-700,
.text-green-700, .text-green-800, .text-green-900,
.text-orange-700, .text-orange-800, .text-orange-900,
.text-purple-700, .text-purple-800, .text-purple-900,
.text-red-700, .text-red-800, .text-red-900 {
    color: var(--text-primary) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

/* List items */
li {
    color: var(--text-secondary);
}

/* Table cells */
td, th {
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Ensure links in paragraphs are visible */
p a, li a {
    color: var(--accent-light);
}

p a:hover, li a:hover {
    color: var(--accent-primary);
}

/* ========================================
   LAYOUT
   ======================================== */

.section {
    padding: 5rem 0;
}

.section-lg {
    padding: 7rem 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title-accent {
    color: var(--accent-light);
}

/* Typewriter effect */
.typewriter {
    display: inline-block;
    min-width: 280px;
    text-align: left;
}

.typewriter::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    animation: cursor-blink 0.7s infinite;
    color: var(--accent-light);
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .typewriter {
        min-width: 200px;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.btn-cta {
    background: var(--accent-cta);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    background: var(--accent-cta-hover);
    transform: translateY(-2px);
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-light);
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--accent-primary);
}

/* Feature Cards - Highlighted */
.card-featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ========================================
   STATS
   ======================================== */

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
    flex: 1;
    min-width: 150px;
    border-right: 1px solid var(--border-default);
}

.stat:last-child {
    border-right: none;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border-default);
        width: 50%;
    }
    .stat:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CODE BLOCK / TERMINAL
   ======================================== */

.terminal {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.terminal-prompt {
    color: var(--accent-light);
}

.terminal-highlight {
    color: var(--accent-cta);
}

/* ========================================
   TECH STACK SECTION
   ======================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 2rem;
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: white;
}

.tech-card-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.tech-card-icon.cyan {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.tech-card-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.tech-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.tech-list-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-primary);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.cta-glow {
    position: relative;
}

.cta-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================
   PORTFOLIO CASE STUDY CARDS
   ======================================== */

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.case-card-header {
    padding: 1.5rem;
    color: white;
}

.case-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.case-card-header p {
    font-size: 0.875rem;
    opacity: 0.9;
    color: inherit;
}

.case-card-body {
    padding: 1.5rem;
}

.case-card-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.case-card-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.case-card-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.case-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-card-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Card header color variants */
.case-card-header.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.case-card-header.green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.case-card-header.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.case-card-header.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.case-card-header.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.case-card-header.teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Stat value colors */
.stat-orange { color: #fb923c; }
.stat-green { color: #4ade80; }
.stat-blue { color: #60a5fa; }
.stat-purple { color: #a78bfa; }
.stat-red { color: #f87171; }
.stat-teal { color: #2dd4bf; }

/* ========================================
   BLOG CARDS
   ======================================== */

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: block;
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--accent-light);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
    padding: 4rem 0 2rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-default);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* ========================================
   FORMS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ========================================
   UTILITIES
   ======================================== */

.text-accent {
    color: var(--accent-light);
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-primary {
    color: var(--text-primary) !important;
}

.bg-dark {
    background: var(--bg-secondary);
}

.border-subtle {
    border-color: var(--border-default);
}

/* Dividers */
.divider {
    border-bottom: 1px solid var(--border-default);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    opacity: 0.7;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.trust-badge-dot.blue { background: var(--accent-primary); }
.trust-badge-dot.orange { background: var(--accent-cta); }
.trust-badge-dot.green { background: #22c55e; }

/* ========================================
   BACKWARDS COMPATIBILITY
   Support for old class names used across pages
   ======================================== */

/* Old hero styles */
.hero-modern {
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero title/subtitle - used across many pages */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary) !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary) !important;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Old card styles */
.modern-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.modern-card:hover {
    border-color: var(--border-hover);
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Old button styles */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-modern-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-modern-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-modern-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-modern-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-hover);
}

/* Old accent colors */
.text-accent-blue { color: var(--accent-light) !important; }
.text-accent-orange { color: #fb923c !important; }
.text-accent-purple { color: #a78bfa !important; }

.bg-accent-blue { background-color: var(--accent-primary); }
.bg-accent-orange { background-color: #f97316; }
.bg-accent-purple { background-color: #8b5cf6; }

/* Old surface background */
.bg-surface {
    background-color: var(--bg-secondary);
}

/* Card icon for service pages */
.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Old futuristic styles */
.card-futuristic {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 2rem;
}

.tech-grid,
.hex-pattern {
    position: relative;
}

.gradient-animated {
    opacity: 0.1;
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-default);
}

.text-holographic {
    color: var(--accent-light);
}

.text-neon-blue {
    color: var(--accent-light);
}

.text-neon-purple {
    color: #a78bfa;
}

.terminal-text {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-light);
}

.terminal-cursor::after {
    content: '_';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Neon glow effects */
.neon-glow-orange {
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.neon-glow-blue {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Glitch effect - simplified */
.glitch {
    position: relative;
    color: var(--text-primary);
}

/* Glow effect placeholder */
.glow-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   NAVIGATION - FORCE SOLID BACKGROUNDS
   ======================================== */

/* Header - solid dark blue, no transparency */
header {
    background-color: #0a0f1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Active nav item */
header a.active,
header nav a.active {
    color: var(--accent-light) !important;
}

/* Services dropdown - solid background */
#services-dropdown {
    background-color: #111827 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Mobile menu - solid background */
#mobile-menu {
    display: none;
    background-color: #0a0f1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#mobile-menu.active {
    display: block;
}

/* Dropdown visibility classes */
.visible {
    visibility: visible !important;
}

.invisible {
    visibility: hidden;
}

.translate-y-0 {
    transform: translateY(0);
}

.opacity-100 {
    opacity: 1 !important;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section-lg {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .terminal {
        font-size: 0.75rem;
        padding: 0.75rem 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card.p-0 {
        padding: 0;
    }

    .stat {
        padding: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border-default);
        width: 100%;
    }

    .stat:last-child {
        border-bottom: none;
    }

    /* Mobile nav improvements */
    header nav {
        padding: 0.75rem 0;
    }

    /* Footer mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    /* Tech grid mobile */
    .tech-grid,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .terminal {
        font-size: 0.675rem;
        word-break: break-all;
    }

    .card {
        padding: 1.25rem;
    }
}
