/* ==========================================================================
   CSS VARIABLES & THEME CONFIGURATION
   ========================================================================== */
:root {
    --brand: #0f172a;        /* Dark slate/navy */
    --primary: #1e3a8a;      /* Deep Blue for Hero */
    --accent: #2563eb;       /* Sharp blue */
    --accent-hover: #1d4ed8;
    
    --text-dark: #111827;
    --text-main: #374151;
    --text-muted: #6b7280;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;     /* Slate 50 */
    --border-color: #e5e7eb;
    
    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-speed: 0.3s;
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.border-y { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }
.hidden { display: none !important; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-size: 1rem;
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-accent:hover { background-color: var(--accent-hover); }

.btn-white {
    background-color: white;
    color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-white:hover { background-color: #f3f4f6; }

.btn-outline-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
}
.btn-outline-light:hover { border-color: white; background-color: rgba(255,255,255,0.1); }

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid #4b5563;
    color: white;
}
.btn-outline-dark:hover { border-color: #9ca3af; background-color: #1f2937; }

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-glass {
    background-color: rgba(30, 58, 138, 0.5);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #bfdbfe;
    backdrop-filter: blur(4px);
}

.badge-accent {
    background-color: #dbeafe;
    border: 1px solid #bfdbfe;
    color: var(--accent);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 50;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo img { height: 7.5rem; }

.desktop-menu {
    display: none;
    gap: 2.5rem;
}

.desktop-menu a {
    color: var(--text-main);
    font-weight: 500;
}
.desktop-menu a:hover { color: var(--accent); }

.desktop-cta { display: none; }

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-menu {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem 1.5rem;
    position: absolute;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-main);
    font-weight: 500;
}
.mobile-menu a.btn { color: white; padding: 0.875rem; }

@media (min-width: 768px) {
    .desktop-menu, .desktop-cta { display: flex; }
    .mobile-menu-btn { display: none; }
    .mobile-menu { display: none !important; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 8rem 0 6rem;
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom right, #1e3a8a, #0f172a);
    opacity: 0.9;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-content { text-align: center; }
.hero-content h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.hero-content h2 { font-size: 1.25rem; font-weight: 500; color: #bfdbfe; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.125rem; color: #dbeafe; max-width: 42rem; margin: 0 auto 2.5rem; }

.button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image { position: relative; width: 100%; max-width: 64rem; margin: 0 auto; }
.hero-image img {
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.pulse-dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #10b981; /* Emerald */
    border-radius: 50%;
    position: relative;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background-color: #10b981;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

@media (min-width: 1024px) {
    .hero-container { flex-direction: row; text-align: left; gap: 2rem; }
    .hero-content { text-align: left; flex: 1; }
    .hero-content h1 { font-size: 4rem; }
    .hero-content p { margin: 0 0 2.5rem; }
    .button-group { flex-direction: row; }
    .hero-image { flex: 1; margin-top: 0; }
    .status-badge { left: 2rem; transform: none; }
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--text-muted); }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}
.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.icon-box {
    width: 3rem;
    height: 3rem;
    background-color: #eff6ff;
    color: var(--accent);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-speed);
}
.feature-card:hover .icon-box { transform: scale(1.1); }

.feature-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); }

@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   COMPLIANCE (SPLIT SECTION)
   ========================================================================== */
.split-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.split-content h2 { font-size: 2.25rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.2; }
.split-content p { font-size: 1.125rem; color: var(--text-main); margin-bottom: 2rem; }

.check-list { display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 500; color: var(--text-main); }
.check-list i { margin-top: 0.25rem; }

.split-image img {
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

@media (min-width: 1024px) {
    .split-container { flex-direction: row; }
    .split-content { width: 50%; order: 1; }
    .split-image { width: 50%; order: 2; }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-container { max-width: 56rem; text-align: center; }
.about-container h2 { font-size: 2.25rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1.5rem; }
.about-container p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 3rem; }

blockquote {
    background-color: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
blockquote p { font-size: 1.25rem; font-style: italic; color: var(--text-dark); font-family: serif; margin-bottom: 1.5rem; }
blockquote footer { font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; }

/* ==========================================================================
   MIDDLE CTA SECTION
   ========================================================================== */
.middle-cta {
    background-color: var(--primary);
    color: white;
    padding: 5rem 0;
    border-bottom: 1px solid #1e3a8a;
    text-align: center;
}
.middle-cta-container { max-width: 56rem; }
.middle-cta h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.middle-cta p { font-size: 1.125rem; color: #bfdbfe; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .middle-cta .button-group { flex-direction: row; } }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form-container { max-width: 48rem; }
.form-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.form-accent-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0.5rem;
    background-color: var(--accent);
}

.form-card h2 { font-size: 1.875rem; font-weight: 800; color: var(--text-dark); text-align: center; margin: 1rem 0 0.5rem; }
.form-card > p { text-align: center; color: var(--text-muted); margin-bottom: 2.5rem; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.form-group label span { color: #ef4444; } /* Red asterisk */

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: var(--bg-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-speed);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background-color: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background-color: #111827; color: #9ca3af; padding-top: 3rem; }

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-top { grid-template-columns: repeat(3, 1fr); text-align: left; }
    .footer-logo img { margin: 0; }
    .footer-cta { text-align: right; }
}

.footer-logo img { height: 10rem; filter: brightness(0) invert(1) opacity(0.7); margin: 0 auto; transition: opacity var(--transition-speed); }
.footer-logo img:hover { opacity: 1; }

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a:hover { color: white; }

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid #1f2937;
}
.social-icons a { font-size: 1.5rem; color: #9ca3af; transition: all var(--transition-speed); }
.social-icons a:hover { color: white; transform: scale(1.1); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid #1f2937;
    font-size: 0.875rem;
}
.footer-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.footer-links a:hover { color: white; }

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; }
    .footer-links { margin-top: 0; }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -4px 10px -1px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    transition: transform 0.3s ease-in-out;
}

.cookie-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-banner p {
    font-size: 0.875rem;
    color: var(--text-main);
    margin: 0;
    max-width: 50rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    flex: 1;
    max-width: 150px;
}

/* Responsive Layout for Desktop */
@media (min-width: 768px) {
    .cookie-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .cookie-banner p {
        margin-right: 2rem;
    }

    .cookie-buttons {
        width: auto;
        justify-content: flex-end;
    }
}
/* Fix for the Decline button text color on the white cookie banner */
#decline-cookies.btn-outline-dark {
    color: var(--text-dark);
}

#decline-cookies.btn-outline-dark:hover {
    color: white;
}