@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #1a1f2e 0%, #252c39 50%, #1e2536 100%);
    color: #f7fafc;
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1f2e; }
::-webkit-scrollbar-thumb { background: #3d4a63; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4a90d9; }

/* Glass card */
.glass-card {
    background: rgba(37, 44, 57, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
}

/* Article card hover */
.article-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.article-card:hover img { transform: scale(1.05); }
.article-card img { transition: transform 0.5s ease; }

/* Navigation underline */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #4a90d9, #6aaa64);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Dropdown */
.dropdown-menu {
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
}
.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.mobile-menu.open { max-height: 500px; opacity: 1; }

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74,144,217,0.3), transparent);
}

/* Scroll-reveal */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Breadcrumb */
.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: #60a5fa; }

/* Prose styling for article body */
.prose h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; color: #e2e8f0; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h4 { font-size: 1.1rem; font-weight: 700; color: #cbd5e1; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p { color: #94a3b8; line-height: 1.8; margin-bottom: 1.25rem; }
.prose a { color: #60a5fa; text-decoration: underline; }
.prose a:hover { color: #93bbfc; }
.prose ul, .prose ol { color: #94a3b8; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose strong { color: #e2e8f0; }
.prose img { border-radius: 12px; margin: 1.5rem auto; max-width: 100%; }
.prose blockquote {
    border-left: 3px solid #4a90d9;
    padding: 1rem 1.25rem; margin: 1.5rem 0;
    background: rgba(30,37,54,0.6); border-radius: 0 8px 8px 0;
    color: #94a3b8; font-style: italic;
}

/* Team card */
.team-card {
    background: rgba(37, 44, 57, 0.5);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.team-card:hover {
    border-color: rgba(74,144,217,0.3);
    transform: translateY(-4px);
}

/* Contact form */
.form-input {
    background: rgba(30,37,54,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    color: #f7fafc;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    width: 100%;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.form-input:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74,144,217,0.15);
}
.form-input::placeholder { color: #4b5563; }
 
 /* Cookie Banner */
 .cookie-banner {
     position: fixed;
     bottom: 24px;
     left: 50%;
     transform: translateX(-50%) translateY(120%);
     width: 90%;
     max-width: 600px;
     z-index: 1000;
     transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
 }
 .cookie-banner.visible { transform: translateX(-50%) translateY(0); }
 
 .cookie-config-panel {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.4s ease, opacity 0.3s ease;
     opacity: 0;
 }
 .cookie-config-panel.open {
     max-height: 500px;
     opacity: 1;
     margin-top: 1.5rem;
     padding-top: 1.5rem;
     border-top: 1px solid rgba(255,255,255,0.1);
 }
 
 /* Toggle Switch */
 .switch {
     position: relative;
     display: inline-block;
     width: 36px;
     height: 20px;
 }
 .switch input { opacity: 0; width: 0; height: 0; }
 .slider {
     position: absolute;
     cursor: pointer;
     top: 0; left: 0; right: 0; bottom: 0;
     background-color: rgba(255,255,255,0.1);
     transition: .4s;
     border-radius: 20px;
 }
 .slider:before {
     position: absolute;
     content: "";
     height: 14px; width: 14px;
     left: 3px; bottom: 3px;
     background-color: white;
     transition: .4s;
     border-radius: 50%;
 }
 input:checked + .slider { background-color: #4a90d9; }
 input:checked + .slider:before { transform: translateX(16px); }
 input:disabled + .slider { opacity: 0.5; cursor: not-allowed; }
 
 .cookie-btn {
     padding: 0.5rem 1rem;
     border-radius: 0.75rem;
     font-size: 0.875rem;
     font-weight: 600;
     transition: all 0.2s ease;
 }
 .cookie-btn-primary { background: #4a90d9; color: white; }
 .cookie-btn-primary:hover { background: #357abd; }
 .cookie-btn-secondary { background: rgba(255,255,255,0.05); color: #cbd5e1; border: 1px solid rgba(255,255,255,0.1); }
 .cookie-btn-secondary:hover { background: rgba(255,255,255,0.1); color: white; }
