/* 🎨 DESIGN SYSTEM - Dark Theme */
:root {
    /* Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;

    /* Accent Colors - CYAN/ORANGE THEME */
    --primary-cyan: #00D9FF;
    --primary-orange: #FF6B35;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;

    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #00D9FF 0%, #FF6B35 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-cyan), var(--primary-orange));
    --gradient-text: linear-gradient(90deg, #00D9FF, #FF6B35);

    /* Effects */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-padding: 5rem 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Animated Background */
.bg-animated {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Grid Pattern Overlay */
.grid-pattern {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-orange);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.05);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* 🎯 Bento Card 3D Enhanced Styles */
.glass.rounded-2xl {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.glass.rounded-2xl:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow:
        0 20px 50px rgba(0, 217, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Alternating glow colors */
/* Check strict nth-child logic if needed, usually works well for grids */
.glass.rounded-2xl:nth-child(odd):hover {
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.25);
    border-color: rgba(0, 217, 255, 0.3);
}

.glass.rounded-2xl:nth-child(even):hover {
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.25);
    border-color: rgba(255, 107, 53, 0.3);
}

/* Top highlight gradient */
.glass.rounded-2xl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 217, 255, 0.5) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.glass.rounded-2xl:hover::before {
    opacity: 1;
}

/* Glow Orb Decorations */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}


/* Header */
header {
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
}

/* Hero Background Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(10, 10, 15, 1) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1rem;
    }

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}