:root {
    /* Colors */
    --color-primary: #1E3A8A;
    --color-secondary: #38BDF8;
    --color-background: #F4F7F6;
    --color-button: #F97316;
    --color-footer-bg: #112C63;
    --color-text-dark: #1F2937; /* A darker text for contrast */
    --color-text-light: #F9FAFB; /* For text on dark backgrounds */
    --color-accent-hover: #FDBA74; /* Lighter shade of button for hover */

    /* Section Backgrounds */
    --section-bg-1: #E0F2FE;
    --section-bg-2: #F1F5F9;
    --section-bg-3: #DDF2FE;
    --section-bg-4: #F8FAFC;
    --section-bg-5: #C2E5FF;
    --section-bg-6: #EAF6FF;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-size-base: 1.125rem; /* ~18px for body text */
    --line-height-base: 1.7; /* Generous line height for readability */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.375rem; /* 6px */
    --border-radius-md: 0.75rem; /* 12px */
    --border-radius-lg: 1.25rem; /* 20px */

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-easing: ease-in-out;

    /* Shadows */
    --shadow-soft-inner: inset 2px 2px 5px rgba(0,0,0,0.2), inset -2px -2px 5px rgba(255,255,255,0.7);
    --shadow-pop-out: 0 8px 15px rgba(0,0,0,0.2);
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem; /* ~56px */
    letter-spacing: -0.03em;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem; /* ~40px */
    letter-spacing: -0.02em;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem; /* ~29px */
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
}

a:hover {
    color: var(--color-secondary);
}

/* Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xxl) 0;
}

.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); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md); /* Rounded rectangles */
    background-color: var(--color-button);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--font-size-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition-speed) var(--transition-easing),
                transform var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
    box-shadow: var(--shadow-soft-inner); /* Soft inner shadow */
    position: relative; /* For the subtle 3D pop */
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px); /* Slight 3D pop */
    box-shadow: var(--shadow-pop-out); /* Subtle box-shadow growth */
}

.btn:active {
    transform: translateY(0); /* Return to original position on click */
    box-shadow: var(--shadow-soft-inner); /* Reapply inner shadow */
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    transition: border-color var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); /* Focus ring */
}

/* Footer Style */
footer {
    background: linear-gradient(to right, var(--color-footer-bg), darken(var(--color-footer-bg), 5%)); /* Subtle gradient */
    color: var(--color-text-light);
    padding: var(--spacing-xxl) 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--color-text-light);
    transition: color var(--transition-speed) var(--transition-easing);
}

footer a:hover {
    color: var(--color-secondary);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: var(--color-secondary);
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-newsletter input[type="email"] {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-light);
    padding-right: var(--spacing-sm);
}

.footer-newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter button {
    margin-top: var(--spacing-sm);
    width: 100%;
    background-color: var(--color-secondary);
    color: var(--color-footer-bg); /* Dark text on light button */
    box-shadow: none; /* No inner shadow for footer button */
}

.footer-newsletter button:hover {
    background-color: var(--color-button);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: var(--spacing-xl) 0;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.9rem;
    }
}

/* Angularity/Depth - Using subtle transforms or background effects */
.angle-bg {
    position: relative;
    overflow: hidden;
}

.angle-bg::before {
    content: '';
    position: absolute;
    top: -50px; /* Adjust to control the angle start point */
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: linear-gradient(135deg, var(--color-background) 50%, var(--section-bg-1) 50%); /* Example angular gradient */
    z-index: -1;
    transform: skewY(-2deg); /* Subtle angular tilt */
    transform-origin: top left;
}

/* Example of how to use it: */
/* <section class="section-bg-1 angle-bg"> */
/*     <div class="container"> */
/*         ... content ... */
/*     </div> */
/* </section> */

/* Add more specific classes or utility styles as needed by content */
/* For Tailwind users, this CSS would complement by providing custom components or specific overrides. */
/* For example, you'd apply .btn, .section-bg-X, .angle-bg directly to your HTML elements. */


/* 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;
    }
}