/* ========================================
   VL Asset Management - Green & Blue Theme
   With Animations
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Blue palette */
    --blue-deep: #0a1628;
    --blue-dark: #0c3d6e;
    --blue-mid: #1d6bb5;
    --blue-bright: #2563eb;
    --blue-light: #60a5fa;
    --blue-pale: #dbeafe;
    --blue-glow: rgba(37, 99, 235, 0.15);

    /* Green palette */
    --green-deep: #064e3b;
    --green-dark: #047857;
    --green-mid: #0d9488;
    --green-bright: #10b981;
    --green-light: #34d399;
    --green-pale: #d1fae5;
    --green-glow: rgba(16, 185, 129, 0.15);

    /* Text */
    --text-primary: #0c1929;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;
    --text-on-dark-muted: rgba(248, 250, 252, 0.82);

    /* Surfaces */
    --surface: #ffffff;
    --surface-tint: rgba(255, 255, 255, 0.94);
    --surface-card: linear-gradient(145deg, #ffffff 0%, #f0fdf9 45%, #eff6ff 100%);

    /* Effects */
    --shadow-sm: 0 2px 12px rgba(12, 61, 110, 0.08);
    --shadow-md: 0 10px 36px rgba(12, 61, 110, 0.14);
    --shadow-lg: 0 24px 64px rgba(10, 22, 40, 0.2);
    --shadow-green: 0 8px 24px rgba(13, 148, 136, 0.22);
    --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.22);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Brand gradients */
    --gradient-brand: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 45%, var(--green-mid) 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(219, 234, 254, 0.95) 0%, rgba(209, 250, 229, 0.95) 100%);
    --gradient-overlay: linear-gradient(155deg, rgba(10, 22, 40, 0.88) 0%, rgba(12, 61, 110, 0.82) 45%, rgba(6, 78, 59, 0.78) 100%);
    --gradient-accent: linear-gradient(90deg, var(--blue-light), var(--green-light));
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ========================================
   BODY - MODIFIED: added flex layout to push footer to bottom
======================================== */
html, body {
    height: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--blue-deep);
    background-image:
        linear-gradient(160deg, rgba(10, 22, 40, 0.3) 0%, rgba(6, 78, 59, 0.2) 50%, rgba(12, 61, 110, 0.28) 100%),
        url('../../public/images/bg-body.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

a {
    color: var(--green-dark);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}
a:hover { color: var(--blue-mid); }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   KEYFRAME ANIMATIONS
======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInAccent {
    from { width: 0; opacity: 0; }
    to { width: 70px; opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rippleExpand {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ========================================
   SCROLL ANIMATION CLASSES
======================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Stagger delays for children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ========================================
   HEADER
======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--blue-deep);
    background-image: url('../../public/images/bg-header.jpg');
    background-size: cover;
    background-position: center 30%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}


.site-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 2;
}

.header-top {
    
    background: #ffffff;
    max-width: 1600px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--green-light);
    letter-spacing: 1.5px;
    text-decoration: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.logo span {
    color: var(--text-on-dark);
    font-weight: 600;
}

.logo:hover {
    color: var(--blue-light);
}
.logo:hover span { color: var(--green-light); }

.hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-on-dark);
    margin: 5px 0;
    border-radius: 2px;
}

.main-nav {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(88, 148, 207, 0.35) 0%, rgba(64, 177, 147, 0.25) 100%);
    border-top: 1px solid rgba(226, 232, 238, 0.2);
}

.main-nav ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.main-nav ul li a {
    display: block;
    padding: 16px 24px;
    color: #118ee8;

    font-size: 18px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color var(--transition), background var(--transition);
    font-weight: 500;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--gradient-accent);
    transition: width var(--transition);
    border-radius: 2px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #118ee8;
    background: rgba(96, 165, 250, 0.08);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 80%;
}

/* ========================================
   HERO BANNER
======================================== */
.hero {
    position: relative;
    text-align: center;
    padding: 120px 24px 110px;
    overflow: hidden;
    background-color: var(--blue-deep);
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=85&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(155deg, rgba(10, 22, 40, 0.9) 0%, rgba(12, 61, 110, 0.78) 40%, rgba(6, 95, 70, 0.72) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-accent);
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
    z-index: 1;
}

/* Hero floating particles effect */
.hero .hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero .hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(52, 211, 153, 0.4);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero .hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 5s; }
.hero .hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 7s; }
.hero .hero-particles span:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
.hero .hero-particles span:nth-child(4) { left: 70%; top: 70%; animation-delay: 0.5s; animation-duration: 8s; }
.hero .hero-particles span:nth-child(5) { left: 85%; top: 40%; animation-delay: 1.5s; animation-duration: 5.5s; }
.hero .hero-particles span:nth-child(6) { left: 40%; top: 80%; animation-delay: 3s; animation-duration: 6.5s; }

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--text-on-dark);
    margin-bottom: 18px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero p {
    font-size: 17px;
    color: var(--text-on-dark-muted);
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.8;
}

/* ========================================
   PAGE BANNER
======================================== */
.page-banner {
    position: relative;
    text-align: center;
    padding: 70px 24px 65px;
    overflow: hidden;
    background-color: var(--blue-deep);
    background-image: url('../../public/images/bg-banner.jpg');
    background-size: cover;
    background-position: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(155deg, rgba(10, 22, 40, 0.65) 0%, rgba(12, 61, 110, 0.55) 50%, rgba(6, 78, 59, 0.48) 100%);
    z-index: 0;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-accent);
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
    z-index: 1;
}

.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-on-dark);
    position: relative;
    z-index: 1;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
}

.page-banner h1::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 18px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.5);
    animation: slideInAccent 0.6s ease-out 0.7s both;
}

.page-banner p {
    color: var(--text-on-dark-muted);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

/* ========================================
   MAIN CONTENT - MODIFIED: added flex: 1
======================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 28px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    border-left: 1px solid rgba(96, 165, 250, 0.2);
    border-right: 1px solid rgba(52, 211, 153, 0.2);
    flex: 1;
}

@media (min-width: 1200px) {
    .container {
        box-shadow: var(--shadow-lg);
    }
}

/* ---- Content Sections ---- */
.content-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

.content-section:last-child { border-bottom: none; margin-bottom: 0; }

.content-section h2,
.page-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    font-size: 26px;
    margin-bottom: 20px;
    padding-left: 18px;
    border-left: 4px solid transparent;
    border-image: var(--gradient-accent) 1;
    line-height: 1.4;
}

.content-section .text,
.page-section .text {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.9;
}

.content-section .text p,
.page-section .text p {
    margin-bottom: 0.75em;
}

/* ---- Page Section Cards ---- */
.page-section {
    background: var(--surface-card);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(96, 165, 250, 0.18);
    transition: box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.page-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0.7;
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
}

.page-section:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(52, 211, 153, 0.35);
}

.page-section img,
.page-section video {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(96, 165, 250, 0.12);
    transition: box-shadow var(--transition);
}

.page-section img:hover,
.page-section video:hover {
    box-shadow: var(--shadow-md);
}

/* ---- Product Cards ---- */
.product-card {
    background: var(--surface-card);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 24px;
    transition: box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(52, 211, 153, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(52, 211, 153, 0.4);
}

.product-card:hover::before { opacity: 1; }
.product-card:hover::after { opacity: 1; }

.product-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    font-size: 22px;
    margin-bottom: 14px;
    transition: color var(--transition);
}

.product-card:hover h3 {
    color: var(--green-deep);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-bright));
    color: #ffffff;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
    color: #fff;
    box-shadow: 0 8px 28px rgba(96, 165, 250, 0.45);
}

.btn-primary:active {
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--green-dark), var(--green-bright));
    color: #fff;
    box-shadow: var(--shadow-green);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--green-mid), var(--green-light));
    color: #fff;
    box-shadow: 0 8px 28px rgba(52, 211, 153, 0.45);
}

.btn-gold:active {
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
}

/* ---- Investor Login ---- */
.login-container {
    max-width: 480px;
    margin: 70px auto;
    padding: 0 24px;
}

.login-form {
    background: var(--surface-tint);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.login-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-accent);
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
}

.login-form h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    margin-bottom: 32px;
    font-size: 26px;
}

.login-form .form-group {
    margin-bottom: 22px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(96, 165, 250, 0.3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    background: rgba(239, 246, 255, 0.6);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
}

.login-form input:focus {
    outline: none;
    border-color: var(--green-mid);
    background: #fff;
    box-shadow: 0 0 0 4px var(--green-glow);
}

/* ---- Press Items ---- */
.press-item {
    padding: 30px 24px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
    transition: background var(--transition), border-left-color var(--transition);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
}

.press-item:hover {
    background: linear-gradient(90deg, rgba(209, 250, 229, 0.5), rgba(219, 234, 254, 0.4));
    border-left-color: var(--green-mid);
}

.press-item:last-child { border-bottom: none; }

.press-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    font-size: 19px;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.press-item:hover h3 {
    color: var(--green-deep);
}

.press-item .meta {
    color: var(--text-muted);
    font-size: 12.5px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.press-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---- Contact ---- */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details {
    background: var(--surface-card);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(96, 165, 250, 0.2);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-details::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
}

.contact-details:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(52, 211, 153, 0.35);
}

.contact-details h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    margin-bottom: 18px;
    font-size: 20px;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 15px;
}

/* ========================================
   DISCLAIMER - Full-width independent section (KEPT for backward compat)
======================================== */
.site-disclaimer {
    width: 100%;
    background: linear-gradient(180deg, #f0f9ff 0%, #ecfdf5 50%, #f8fafc 100%);
    border-top: 3px solid transparent;
    border-image: var(--gradient-accent) 1;
    padding: 48px 28px;
    position: relative;
}

.site-disclaimer::before {
    content: '';
    position: absolute;
    top: 3px; left: 0; right: 0;
    height: 1px;
    background: rgba(96, 165, 250, 0.15);
}

.disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: var(--radius);
    padding: 32px 36px;
    box-shadow: 0 2px 16px rgba(12, 61, 110, 0.06);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.disclaimer-inner:hover {
    box-shadow: 0 4px 24px rgba(12, 61, 110, 0.1);
    border-color: rgba(52, 211, 153, 0.25);
}

.site-disclaimer h4 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
}

.site-disclaimer p {
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.9;
    font-weight: 400;
}

/* ========================================
   FOOTER - MODIFIED: reduced padding
======================================== */
.site-footer {
    position: relative;
    text-align: center;
    padding: 16px 24px 14px;
    font-size: 13px;
    overflow: hidden;
    background-color: var(--blue-deep);
    background-image: url('../../public/images/bg-footer.jpg');
    background-size: cover;
    background-position: center;
    margin-top: auto;
    flex-shrink: 0;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.78) 0%, rgba(12, 61, 110, 0.72) 100%);
    z-index: 0;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    background-size: 200% 100%;
    animation: gradientFlow 4s ease infinite;
    z-index: 1;
}

.site-footer .footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-footer .footer-bottom {
    padding-top: 0;
}

.site-footer .footer-bottom p {
    color: rgba(248, 250, 252, 0.65);
    font-size: 12px;
    transition: color var(--transition);
    margin-bottom: 2px;
}

.site-footer .footer-bottom p:last-child {
    margin-bottom: 0;
}

.site-footer .footer-copyright {
    font-size: 11px !important;
    color: rgba(248, 250, 252, 0.4) !important;
    margin-top: 3px !important;
}

.site-footer .footer-bottom p:hover {
    color: rgba(248, 250, 252, 0.9);
}

.site-footer a {
    color: var(--green-light);
    font-weight: 500;
    transition: color var(--transition);
}
.site-footer a:hover {
    color: var(--blue-light);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.footer-legal-link {
    cursor: pointer;
    font-size: 12.5px;
    letter-spacing: 0.3px;
}

.footer-separator {
    color: rgba(248, 250, 252, 0.35);
    margin: 0 10px;
    font-weight: 300;
}

/* ---- Confidential Documents ---- */
.conf-doc {
    background: var(--surface-card);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 20px;
    transition: box-shadow var(--transition), border-color var(--transition);
    box-shadow: var(--shadow-sm);
}

.conf-doc:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(52, 211, 153, 0.35);
}

.conf-doc h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

/* ---- Warning Notice ---- */
.warning-notice {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.95), rgba(219, 234, 254, 0.9));
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-left: 4px solid var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 22px 28px;
    margin-bottom: 32px;
    color: var(--green-deep);
    font-size: 14px;
    line-height: 1.8;
}

.warning-notice strong { color: var(--blue-dark); }

/* ---- Language Switcher ---- */
.lang-switcher {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    background: rgba(12, 61, 110, 0.35);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(96, 165, 250, 0.25);
    position: relative;
    z-index: 1;
}

.lang-switcher a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 12.5px;
    transition: background var(--transition), color var(--transition);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.lang-switcher a.active-lang {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(13, 148, 136, 0.45);
}

.lang-switcher a:hover:not(.active-lang) {
    background: rgba(96, 165, 250, 0.15);
    color: var(--text-on-dark);
}

/* ---- Counter Animation ---- */
.counter-value {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--blue-dark);
    background: linear-gradient(135deg, var(--blue-dark), var(--green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Ripple Effect ---- */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(52, 211, 153, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.ripple:active::after {
    width: 300px; height: 300px;
    opacity: 1;
    transition: 0s;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--blue-pale); }
::-webkit-scrollbar-thumb {
    background: var(--gradient-brand);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--blue-dark); }

/* ---- Selection ---- */
::selection {
    background: rgba(52, 211, 153, 0.35);
    color: var(--text-primary);
}

/* ---- Loading Skeleton ---- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ---- Tooltip ---- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--blue-deep);
    color: var(--text-on-dark);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* ========================================
   LEGAL MODAL - NEW
======================================== */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    background: #ffffff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(96, 165, 250, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.legal-modal-overlay.active .legal-modal {
    transform: translateY(0) scale(1);
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.5) 0%, rgba(209, 250, 229, 0.5) 100%);
    flex-shrink: 0;
}

.legal-modal-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}

.legal-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.legal-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.9;
}

.legal-modal-body p {
    margin-bottom: 12px;
}

.legal-modal-body hr {
    border: none;
    border-top: 1px solid rgba(96, 165, 250, 0.2);
    margin: 20px 0;
}

.legal-modal-body a {
    color: var(--blue-mid);
    text-decoration: underline;
}

.legal-modal-body a:hover {
    color: var(--green-dark);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hamburger { display: block; }

    .main-nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 8px;
        gap: 0;
    }

    .main-nav ul.show {
        display: flex;
    }

    .main-nav ul li a {
        padding: 13px 20px;
        border-bottom: 1px solid rgba(238, 237, 237, 0.08);
    }

    .main-nav ul li a::after { display: none; }

    .hero { padding: 70px 20px 60px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }

    .page-banner { padding: 50px 20px; }
    .page-banner h1 { font-size: 24px; }

    .contact-info { grid-template-columns: 1fr; }

    .content-section h2,
    .page-section h2 { font-size: 21px; }

    .page-section { padding: 24px; margin-bottom: 20px; }

    .disclaimer-inner { padding: 24px 20px; }

    .legal-modal {
        max-height: 90vh;
        border-radius: var(--radius-sm);
    }
    .legal-modal-header { padding: 16px 20px; }
    .legal-modal-body { padding: 20px; font-size: 13px; }
}

@media (max-width: 480px) {
    .header-top { padding: 12px 16px; }
    .logo { font-size: 20px; }
    .hero h1 { font-size: 24px; }
    .container { padding: 28px 16px; }
    .login-form { padding: 32px 24px; }
    .page-section { padding: 20px; }
    .lang-switcher { gap: 2px; }
    .lang-switcher a { padding: 4px 8px; font-size: 11px; }
    .site-disclaimer { padding: 32px 16px; }
    .disclaimer-inner { padding: 20px 16px; }

    .legal-modal-overlay { padding: 12px; }
    .legal-modal-header h3 { font-size: 16px; }
    .legal-modal-body { font-size: 12.5px; padding: 16px; }
}

/* ---- Reduced motion preference ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll {
        opacity: 1;
    }
}