:root {
    /* Colors - Deep, Tech Modern */
    --color-bg: #030712;
    /* Very dark slate */
    --color-bg-secondary: #0f172a;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-accent: #3b82f6;
    /* Modern Blue */
    --color-accent-glow: rgba(59, 130, 246, 0.5);
    --color-glass: rgba(15, 23, 42, 0.6);
    --color-glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Outfit', 'Inter', system-ui, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 1.5rem;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* Diagonal Layout Utility */
.diagonal-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: skewY(-3deg);
    background: var(--color-bg-secondary);
    z-index: 0;
    transform-origin: top left;
}

.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../assets/background.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    pointer-events: none;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    transform: scale(1.05);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Micro-interactions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Split Hero Layout */
.split-hero {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Space for nav */
}

.split-hero-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: flex 0.5s ease;
    cursor: pointer;
}

.split-hero-side:hover {
    flex: 1.5;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    filter: brightness(0.6);
}

.split-hero-side:hover .split-bg {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.split-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
}

/* Automotive Theme */
.theme-auto {
    --accent: #e2e8f0;
    /* Silver */
}

/* Software Theme */
.theme-soft {
    --accent: #3b82f6;
    /* Blue */
}

.section-divider {
    height: 100px;
    background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-secondary));
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-list li:last-child {
    border-bottom: none;
}