:root {
    --primary-color: #1a2b3c;
    --secondary-color: #0a192f;
    --background-color: #0d1a2d;
    --footer-bg-color: #050b16;
    --button-color: #00bcd4;
    --text-color: #e0e7ff;
    --heading-color: #00bcd4;
    --link-color: #38bdf8;
    --accent-color: #00bcd4; /* Derived from button/heading for consistency */
    --border-radius: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Section Backgrounds */
    --section-bg-1: #1a2b3c;
    --section-bg-2: #0d1a2d;
    --section-bg-3: #0a192f;
    --section-bg-4: #122233;
    --section-bg-5: #1f364d;

    /* Shadows for Neo-Brutalism + Glassmorphism */
    --shadow-brutal-light: 4px 4px 0px var(--accent-color);
    --shadow-brutal-dark: 8px 8px 0px var(--secondary-color);
    --shadow-glass-light: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-glass-strong: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.23);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.65;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', monospace;
    color: var(--heading-color);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

h3 {
    font-size: 2.2rem;
    font-weight: 500;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-xs);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Neo-Brutalism Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    background-color: var(--button-color);
    color: var(--secondary-color);
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: var(--shadow-brutal-light);
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    background-color: var(--link-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--link-color);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0px var(--accent-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
}

/* Glassmorphism Card */
.card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-glass-strong);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 8px 8px rgba(0, 0, 0, 0.3);
}

/* Header */
.header {
    background-color: var(--secondary-color);
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo span {
    color: var(--text-color);
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-color);
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    text-decoration: none;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.section:nth-of-type(odd) {
    background-color: var(--section-bg-1);
}

.section:nth-of-type(even) {
    background-color: var(--section-bg-4);
}

.section-hero {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--secondary-color) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    animation: pulse-glow 15s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes pulse-glow {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.9; }
    100% { transform: scale(0.8); opacity: 0.7; }
}

.section-hero .container {
    position: relative;
    z-index: 1;
}

.section-hero h1 {
    font-size: 4.5rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(45deg, var(--heading-color), var(--link-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

.section-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color);
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-nav a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--heading-color);
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    box-shadow: inset 2px 2px 0px var(--secondary-color);
    transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--link-color);
    box-shadow: inset 2px 2px 0px var(--link-color), 0 0 5px var(--link-color);
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
    transform: translateY(10px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu ul {
        flex-direction: column;
        margin-top: var(--spacing-sm);
        gap: var(--spacing-xs);
    }

    .section-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .section-hero h1 {
        font-size: 2.5rem;
    }
}

/* Utility classes for layout (assuming Tailwind is used, these are custom additions) */
.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}

.my-xl {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.p-lg {
    padding: var(--spacing-lg);
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-brutal-dark);
    filter: contrast(1.2) saturate(1.5);
    transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    filter: contrast(1.3) saturate(1.8) brightness(1.1);
}

/* Iconography (placeholders for line-art/solid icons) */
.icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.icon:hover {
    stroke: var(--link-color);
    transform: scale(1.1);
}

.icon-solid {
    fill: var(--accent-color);
    stroke: none;
}

.icon-solid:hover {
    fill: var(--link-color);
    transform: scale(1.1);
}

/* Specific section backgrounds */
.section-about {
    background-color: var(--section-bg-2);
}
.section-services {
    background-color: var(--section-bg-3);
}
.section-portfolio {
    background-color: var(--section-bg-5);
}
.section-contact {
    background-color: var(--section-bg-1);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}