/* ===== TRANSVIET MICE - SHARED STYLES (ported from the design styles.css; asset paths re-pointed) ===== */

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
}

:root {
    --font-xs: 0.75rem;
    --font-sm: 0.8125rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.5rem;
    --font-2xl: 2rem;
    --font-3xl: clamp(2rem, 4vw, 3.125rem);
    --font-hero: clamp(2rem, 4.2vw, 3.125rem);
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lh-tight: 1.25;
    --lh-normal: 1.6;
    --lh-relaxed: 1.75;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 999px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* scroll-padding-top: anchor jumps (header nav, #hash links) stop 3rem above the target section (owner request). */
html { scroll-behavior: smooth; scroll-padding-top: 3rem; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-family);
    font-size: var(--font-base);
    line-height: var(--lh-normal);
    background: #f5f7fb url('../logo/background.png') center/cover no-repeat fixed;
    color: #1a1a2e;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background: linear-gradient(180deg, rgba(245,247,251,.92) 0%, rgba(245,247,251,.5) 15%, transparent 35%, transparent 65%, rgba(245,247,251,.5) 88%, rgba(245,247,251,.92) 100%);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font-family); cursor: pointer; border: none; background: none; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page { padding: 0; position: relative; overflow: hidden; width: 100%; }
.page .container { width: 100%; max-width: 100%; padding: 0 48px; box-sizing: border-box; }

/* ===== DARK HEADER (matching index.html) ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: transparent; transition: all .4s cubic-bezier(.4,0,.2,1);
    padding: 0 48px;
}
.header.scrolled {
    background: rgba(12,6,40,.88);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px; max-width: 100%; width: 100%;
}
.brand { display: flex; align-items: center; }
.brand img { height: 60px; width: auto; transition: transform .3s; }
.brand:hover img { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
    color: rgba(255,255,255,.7);
    font-size: var(--font-sm); font-weight: 500;
    padding: 10px 20px; border-radius: 0;
    transition: all .3s; white-space: nowrap;
    letter-spacing: .3px; position: relative;
}
.nav a::after {
    content: ''; position: absolute; bottom: 6px; left: 50%;
    width: 0; height: 0; background: var(--accent);
    transition: all .35s; transform: translateX(-50%);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 0; }

.cta-btn {
    background: linear-gradient(135deg,#e8344e,#d42040); color: #fff;
    padding: 11px 28px; border-radius: var(--radius-sm);
    font-size: 12px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer; transition: all .3s;
    white-space: nowrap; letter-spacing: .3px;
    box-shadow: 0 4px 16px rgba(232,52,78,.3);
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,52,78,.4);
    background: linear-gradient(135deg,#f03e5a,#e8344e);
}

.mobile-menu-btn {
    display: none; width: 44px; height: 44px; border: none;
    background: rgba(255,255,255,.08); border-radius: 10px;
    color: #fff; font-size: 18px; cursor: pointer;
    align-items: center; justify-content: center;
    transition: background .3s;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,.14); }

/* ===== MOBILE NAV OVERLAY ===== */
.mobile-nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(12,6,40,.98); z-index: 99999;
    flex-direction: column; align-items: center;
    justify-content: center; gap: 16px;
    backdrop-filter: blur(20px);
}
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-overlay a {
    color: #fff; font-size: var(--font-xl);
    font-weight: 700; padding: 14px 36px;
    border-radius: 12px; transition: all .3s;
}
.mobile-nav-overlay a:hover { background: rgba(255,255,255,.08); }
.mobile-nav-overlay .close-btn {
    position: absolute; top: 24px; right: 24px;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: none;
    color: #fff; font-size: var(--font-xl);
    cursor: pointer; display: grid; place-items: center;
    transition: background .3s;
}
.mobile-nav-overlay .close-btn:hover { background: rgba(255,255,255,.2); }

/* ===== DARK FOOTER ===== */
.footer {
    padding: 0 48px;
    background: linear-gradient(180deg,rgba(12,6,40,.6),rgba(12,6,40,1));
    border-top: 1px solid rgba(120,100,255,.15);
}
.footer-logo { height: 60px; width: auto; }
.footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center; gap: 24px; padding: 28px 0;
}
.footer-nav {
    display: flex; justify-content: center;
    gap: 32px; flex-wrap: wrap;
}
.footer-nav a {
    font-size: var(--font-xs);
    color: rgba(255,255,255,.5);
    font-weight: 500; transition: color .3s;
    letter-spacing: .3px;
}
.footer-nav a:hover { background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.socials { display: flex; justify-content: flex-end; gap: 14px; }
.social {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: grid; place-items: center;
    transition: all .3s; cursor: pointer;
}
.social:hover {
    transform: translateY(-3px);
    background: var(--accent); border-color: transparent;
}
.social i { color: rgba(255,255,255,.6); font-size: var(--font-sm); transition: color .3s; }
.social:hover i { color: #1a1a2e; }
.footer-rule {
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
}
.footer-bottom {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 30px; padding: 20px 0;
    font-size: var(--font-xs); color: rgba(255,255,255,.35);
}
.footer-bottom .right { display: flex; gap: 16px; justify-content: flex-end; }
.footer-bottom .right a { color: rgba(255,255,255,.35); transition: color .3s; }
.footer-bottom .right a:hover { background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 50px; height: 50px;
    background: var(--accent);
    border: none; border-radius: 14px;
    display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 8px 30px rgba(63,94,251,.3);
    z-index: 998; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all .4s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(63,94,251,.4); }
.back-to-top i { color: #1a1a2e; font-size: 16px; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(50px); transition: all .9s cubic-bezier(.4,0,.2,1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== SECTION COMMON ===== */
.section { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 32px; }
.section-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 4px;
    color: #1a365d; font-weight: 600; margin-bottom: 12px; display: block;
}
.section-title { font-size: var(--font-2xl); font-weight: 800; color: #fff; line-height: 1.25; }
.section-title .yellow { color: #fff; }
.section-subtitle { font-size: 15px; color: #555; max-width: 620px; margin: 14px auto 0; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header { padding: 0 20px; }
    .header .container { height: 64px; }
    .brand img { height: 42px; }
    .nav { display: none; }
    .mobile-menu-btn { display: grid; }
    .footer { padding: 0 20px; }
    .footer-top { padding: 24px 0; gap: 16px; }
    .footer-nav { gap: 16px; }
    .footer-bottom { gap: 8px; }
}

@media (max-width: 480px) {
    .header { padding: 0 16px; }
    .brand img { height: 36px; }
    .mobile-nav-overlay a { font-size: var(--font-base); padding: 10px 24px; }
    .mobile-nav-overlay .close-btn { width: 40px; height: 40px; top: 16px; right: 16px; }
    .footer { padding: 0 16px; }
    .footer-top { gap: 12px; }
    .footer-nav { gap: 12px; }
    .socials { gap: 10px; }
    .back-to-top { width: 44px; height: 44px; bottom: 20px; right: 20px; border-radius: 12px; }
    .back-to-top i { font-size: 14px; }
}
