/* ══════════════════════════════════════════════════
   common.css — ZSM Digital Global Styles
   Shared layout, navbar, footer, mobile menu, typography
   ══════════════════════════════════════════════════ */

/* ── Variables & Reset ── */
:root {
    --bg-color: #050505;
    --card-bg-top: #0a0a0b;
    --card-bg-bottom: #111113;
    --accent-glow: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.85);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: url('/static/images/logo.png') center/contain no-repeat;
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #999;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: white;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    color: #999;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-btn:hover {
    color: white;
}

.signup-btn {
    background: white;
    color: #000;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background: #e5e5e5;
    transform: translateY(-1px);
}

/* ── Footer ── */
/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 60px 20px 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-weight: 500;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #fff;
}

.footer-section a,
.footer-section p {
    color: #666;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #999;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.85rem;
}

/* ── Hamburger & Mobile Menu ── */
/* Mobile Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 12, 0.98);
    border-radius: 16px;
    padding: 24px 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    color: #999;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-buttons .login-btn {
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #999;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    font-weight: 400;
}

.mobile-buttons .login-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.mobile-buttons .signup-btn {
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: white;
    color: #000;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-buttons .signup-btn:hover {
    background: #e5e5e5;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}


/* ── Responsive ── */
@media (max-width: 900px) {
    .navbar {
        padding: 14px 20px;
    }

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}
/* ══════════════════════════════════════════════════
   cookie_consent.css — ZSM Digital Cookie Consent Banner
   ══════════════════════════════════════════════════ */

/* Cookie Consent Banner Styles */
    .cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 10000;
padding: 0;
transform: translateY(100%);
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
pointer-events: none;
    }

    .cookie-banner.visible {
transform: translateY(0);
pointer-events: auto;
    }

    .cookie-banner-inner {
max-width: 520px;
margin: 0 0 24px 24px;
background: rgba(12, 12, 14, 0.97);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: 28px 28px 24px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    .cookie-banner-icon {
width: 36px;
height: 36px;
background: rgba(255, 255, 255, 0.06);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
font-size: 18px;
    }

    .cookie-banner h3 {
font-family: 'Inter', sans-serif;
font-size: 1rem;
font-weight: 600;
color: #fff;
margin-bottom: 8px;
letter-spacing: -0.01em;
    }

    .cookie-banner p {
font-family: 'Inter', sans-serif;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.45);
line-height: 1.6;
margin-bottom: 20px;
    }

    .cookie-banner p a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
transition: all 0.3s ease;
    }

    .cookie-banner p a:hover {
color: #fff;
border-color: rgba(255, 255, 255, 0.4);
    }

    .cookie-banner-buttons {
display: flex;
gap: 8px;
flex-wrap: wrap;
    }

    .cookie-btn {
font-family: 'Inter', sans-serif;
font-size: 0.82rem;
font-weight: 500;
padding: 10px 18px;
border-radius: 8px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
letter-spacing: 0.01em;
    }

    .cookie-btn-accept {
background: #fff;
color: #000;
    }

    .cookie-btn-accept:hover {
background: #e5e5e5;
transform: translateY(-1px);
    }

    .cookie-btn-reject {
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .cookie-btn-reject:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
    }

    .cookie-btn-settings {
background: transparent;
color: rgba(255, 255, 255, 0.4);
padding: 10px 14px;
    }

    .cookie-btn-settings:hover {
color: rgba(255, 255, 255, 0.7);
    }

    /* Cookie Settings Modal */
    .cookie-modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 10001;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
    }

    .cookie-modal-overlay.visible {
opacity: 1;
visibility: visible;
    }

    .cookie-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
z-index: 10002;
width: 90%;
max-width: 500px;
max-height: 85vh;
overflow-y: auto;
background: rgba(12, 12, 14, 0.99);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 20px;
padding: 32px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
opacity: 0;
visibility: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .cookie-modal.visible {
opacity: 1;
visibility: visible;
transform: translate(-50%, -50%) scale(1);
    }

    .cookie-modal h3 {
font-family: 'Inter', sans-serif;
font-size: 1.15rem;
font-weight: 600;
color: #fff;
margin-bottom: 6px;
letter-spacing: -0.02em;
    }

    .cookie-modal > p {
font-family: 'Inter', sans-serif;
font-size: 0.85rem;
color: rgba(255, 255, 255, 0.4);
line-height: 1.6;
margin-bottom: 24px;
    }

    .cookie-category {
padding: 18px 0;
border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .cookie-category:last-of-type {
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
margin-bottom: 24px;
    }

    .cookie-category-header {
display: flex;
justify-content: space-between;
align-items: center;
    }

    .cookie-category-info h4 {
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
font-weight: 500;
color: #fff;
margin-bottom: 4px;
    }

    .cookie-category-info p {
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.35);
line-height: 1.5;
    }

    /* Toggle Switch */
    .cookie-toggle {
position: relative;
width: 44px;
height: 24px;
flex-shrink: 0;
margin-left: 16px;
    }

    .cookie-toggle input {
opacity: 0;
width: 0;
height: 0;
    }

    .cookie-toggle-slider {
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
    }

    .cookie-toggle-slider::before {
content: '';
position: absolute;
width: 18px;
height: 18px;
left: 3px;
bottom: 3px;
background: rgba(255, 255, 255, 0.4);
border-radius: 50%;
transition: all 0.3s ease;
    }

    .cookie-toggle input:checked + .cookie-toggle-slider {
background: rgba(255, 255, 255, 0.25);
    }

    .cookie-toggle input:checked + .cookie-toggle-slider::before {
transform: translateX(20px);
background: #fff;
    }

    .cookie-toggle input:disabled + .cookie-toggle-slider {
opacity: 0.5;
cursor: not-allowed;
    }

    .cookie-toggle-label {
font-family: 'Inter', sans-serif;
font-size: 0.72rem;
color: rgba(255, 255, 255, 0.3);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-left: 8px;
    }

    .cookie-modal-buttons {
display: flex;
gap: 8px;
    }

    .cookie-modal-buttons .cookie-btn {
flex: 1;
    }

    @media (max-width: 600px) {
.cookie-banner-inner {
    margin: 0 12px 12px;
    max-width: none;
    padding: 22px 20px 20px;
}

.cookie-banner-buttons {
    flex-direction: column;
}

.cookie-btn {
    text-align: center;
}

.cookie-modal {
    width: 94%;
    padding: 24px 20px;
}

.cookie-modal-buttons {
    flex-direction: column;
}
    }


/* ── Utility Classes ── */
.d-none {
    display: none;
}

.d-flex {
    display: flex;
}

.d-flex-col {
    display: flex;
    flex-direction: column;
}

.gap-4 {
    gap: 4px;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-baseline {
    align-items: baseline;
}

.justify-between {
    justify-content: space-between;
}

.mt-auto {
    margin-top: auto;
}

/* ── Directory Link (footer) ── */
.directory-link {
    color: #444;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.directory-link:hover {
    color: #666;
}

/* ── Asterisk required ── */
.required-asterisk {
    color: #ef4444;
}

/* --- SVG icon toggle (play/pause) --- */
.icon-pause-hidden { display: none; }

/* --- Legal page paragraph spacing --- */
.legal-mt-8 { margin-top: 8px; }
.legal-mt-12 { margin-top: 12px; }

/* ── FAQ Component (shared) ── */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.faq-item {
    background: var(--bg-color, #050505);
    position: relative;
    cursor: pointer;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.faq-item:hover::after {
    opacity: 1;
}

.faq-item.active {
    background: rgba(10, 10, 11, 1);
}

.faq-trigger {
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-number {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    margin-right: 40px;
}

.faq-title {
    flex-grow: 1;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover .faq-title {
    transform: translateX(10px);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon span {
    position: absolute;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon span:nth-child(1) {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.faq-icon span:nth-child(2) {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    padding: 0 40px 0 95px;
}

.faq-item.active .faq-content {
    max-height: 400px;
    opacity: 1;
    padding-bottom: 40px;
}

.faq-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
}

@media (max-width: 768px) {
    .faq-trigger {
        padding: 24px;
    }

    .faq-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .faq-number {
        display: none;
    }

    .faq-item.active .faq-content {
        padding-bottom: 24px;
    }
}
