:root {
    /* Colors */
    --color-primary: #000022; /* Deep Night */
    --color-secondary: #99DDFF; /* Arctic Blue */
    --color-background: #F0F8FF; /* Snow White */
    --color-footer-bg: #0F0F3D; /* Midnight Ink */
    --color-button: #CCEEFF; /* Glacial Mist */
    --color-accent: #FF5733; /* For subtle highlights, not in palette, but for brutalism */

    --section-bg-1: #F0F8FF;
    --section-bg-2: #E6F2F8;
    --section-bg-3: #DAECF2;
    --section-bg-4: #CCDCDD;
    --section-bg-5: #BFECE6;

    /* Typography */
    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --text-color: var(--color-primary);

    /* Spacing */
    --spacing-unit: 1rem;
    --padding-sm: calc(var(--spacing-unit) * 1);
    --padding-md: calc(var(--spacing-unit) * 2);
    --padding-lg: calc(var(--spacing-unit) * 4);

    /* Borders & Shadows */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --shadow-subtle: 0px 4px 15px rgba(0, 0, 34, 0.1);
    --shadow-sharp: 8px 8px 0px var(--color-secondary); /* Brutalist shadow */
    --shadow-beveled: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.5),
        inset -2px -2px 5px rgba(0, 0, 0, 0.2),
        4px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--color-background);
    line-height: 1.7; /* Generous line-height for readability */
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em; /* Tighten for brutalist feel */
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
}

a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

a:hover::after {
    transform: scaleX(1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--padding-md);
}

.section {
    padding: var(--padding-lg) 0;
    position: relative;
    overflow: hidden; /* For angular shapes */
}

.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    background-color: var(--color-button);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    letter-spacing: 0.05em;
    outline: none;
    box-shadow: var(--shadow-beveled); /* Beveled effect */
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); /* Angular shape */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease-in-out;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    color: var(--color-footer-bg); /* Darker text on hover for contrast */
    background: linear-gradient(45deg, var(--color-secondary), var(--color-button)); /* Vibrant gradient */
    transform: translateY(-3px);
    box-shadow: 6px 6px 0px var(--color-primary), var(--shadow-beveled); /* Sharp shadow underneath */
}

.btn:active {
    transform: translateY(1px);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1); /* Frosted glass effect */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 1rem var(--padding-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: 20px; /* Offset for brutalism */
    position: relative;
    z-index: 2; /* Ensure it's above potential graphic elements */
}

.header-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 100%;
    background-color: var(--color-secondary);
    transform: translateY(-50%) skewX(-20deg);
    z-index: -1;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.nav-menu li a {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-menu li a:hover {
    color: var(--color-secondary);
}

.nav-menu li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Cards (Example) */
.card {
    background-color: #ffffff;
    border: 1px solid var(--color-secondary);
    box-shadow: var(--shadow-sharp); /* Stark brutalist shadow */
    padding: var(--padding-md);
    margin-bottom: var(--padding-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    clip-path: polygon(0% 10%, 100% 0%, 100% 90%, 0% 100%); /* Angular card shape */
}

.card:hover {
    transform: translateY(-5px) translateX(-5px);
    box-shadow: 12px 12px 0px var(--color-button), var(--shadow-sharp);
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--padding-lg) 0;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: rgba(0, 0, 34, 0.2); /* Layered effect */
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 80%); /* Angular layer */
    transform: translateY(-20px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-social-icons {
    display: flex;
    gap: 1.5rem;
}

.footer-social-icons a {
    color: var(--color-secondary);
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-social-icons a:hover {
    color: var(--color-button);
    transform: translateY(-5px) rotate(5deg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li a:hover {
    color: var(--color-secondary);
    transform: none; /* Override general link hover */
}

.footer-copyright {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header {
        flex-direction: column;
        padding: 1rem;
        position: static; /* Make header static on small screens */
        background: var(--color-background); /* Remove glass effect */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
    }

    .header-logo {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .header-logo::after {
        display: none; /* Hide angular graphic on mobile */
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .nav-menu li a {
        padding: 0.5rem 0;
        display: block;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
}


/* 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;
    }
}