/* ============================================================
   Menzel MVSS — homepage (menzelmvss.com root)
   Palette + typography aligned with WCMS5 login overlay v4.
   ============================================================ */

:root {
    --m-gold:        #F2BC1F;
    --m-gold-bright: #FFD24A;
    --m-gold-deep:   #B8830A;
    --m-cyan:        #5AC8FA;
    --m-cyan-bright: #8FE0FF;
    --m-electric:    #00D4FF;
    --m-navy:        #0A0E1A;
    --m-navy-mid:    #14182B;
    --m-navy-soft:   #1F2542;
    --m-charcoal:    #2E3743;
    --m-white:       #FFFFFF;
    --m-cream:       #FAFAF7;
    --m-text:        #0F172A;
    --m-text-soft:   #4B5563;
    --m-text-mute:   #6B7280;
    --m-border:      #E5E7EB;
    --m-border-dark: #2E3743;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(10, 14, 26, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(10, 14, 26, 0.18);
    --shadow-lg: 0 30px 60px -20px rgba(10, 14, 26, 0.35);
    --shadow-glow-gold: 0 0 40px rgba(242, 188, 31, 0.35);
}

/* ---------------- Reset + base ---------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--m-text);
    background: var(--m-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 3px solid var(--m-electric);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: inherit;
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ---------------- Skip link ---------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--m-gold);
    color: var(--m-navy);
    padding: 10px 16px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 1000;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn .arrow { transition: transform 0.2s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
    background: var(--m-gold);
    color: var(--m-navy);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--m-gold-bright); transform: translateY(-2px); box-shadow: var(--shadow-glow-gold); }

.btn-ghost {
    background: transparent;
    color: var(--m-cream);
    border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--m-cyan); color: var(--m-cyan-bright); }

.btn-outline {
    background: transparent;
    color: var(--m-navy);
    border-color: var(--m-navy);
}
.btn-outline:hover { background: var(--m-navy); color: var(--m-gold); }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--m-cream);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 144px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-logo {
    width: 120px; height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(242, 188, 31, 0.4));
}
.brand-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--m-cream);
    font-size: 0.95rem;
}
.brand-text strong { color: var(--m-cream); }
.brand-mvss { color: var(--m-gold); }

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
.primary-nav a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}
.primary-nav a:hover { color: var(--m-gold); }
.primary-nav .nav-cta {
    color: var(--m-navy);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--m-cream);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--m-cream);
    background: linear-gradient(180deg, #0A0E1A 0%, #14182B 60%, #0A0E1A 100%);
    padding: 96px 0 120px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}
.hero-glow-cyan {
    width: 460px; height: 460px;
    top: -120px; left: -80px;
    background: radial-gradient(circle, var(--m-electric), transparent 65%);
}
.hero-glow-gold {
    width: 380px; height: 380px;
    bottom: -120px; right: -60px;
    background: radial-gradient(circle, var(--m-gold), transparent 65%);
    opacity: 0.28;
}
.hero-grid-2 {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-copy h1 {
    font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
    margin-bottom: 24px;
    color: var(--m-white);
}
.text-gradient {
    background: linear-gradient(120deg, var(--m-gold) 0%, var(--m-gold-bright) 50%, var(--m-electric) 110%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.05em;
}
.lede {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin-bottom: 36px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--m-gold);
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(242, 188, 31, 0.35);
    background: rgba(242, 188, 31, 0.06);
    border-radius: 999px;
}
.eyebrow-dark {
    color: var(--m-gold-deep);
    border-color: rgba(184, 131, 10, 0.35);
    background: rgba(184, 131, 10, 0.06);
}
.cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}
.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-row .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--m-cyan);
    box-shadow: 0 0 8px var(--m-electric);
}

.hero-art {
    position: relative;
    animation: floaty 6s ease-in-out infinite;
}
.hero-art svg {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ---------------- Sections ---------------- */
.section {
    padding: 96px 0;
}
.section-light {
    background: var(--m-cream);
    color: var(--m-text);
}
.section-dark {
    background: var(--m-navy);
    color: var(--m-cream);
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.10), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(242, 188, 31, 0.10), transparent 50%);
    pointer-events: none;
}
.section > .container { position: relative; }

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw + 0.5rem, 2.75rem);
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--m-text-soft);
    margin: 0 auto;
    max-width: 600px;
}
.section-head-dark h2 { color: var(--m-cream); }

/* ---------------- Feature cards ---------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 24px;
}
.feature-card {
    position: relative;
    background: var(--m-white);
    border: 1px solid var(--m-border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--m-gold);
}
.feature-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--m-navy) 0%, var(--m-navy-soft) 100%);
    color: var(--m-gold);
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 1px rgba(242, 188, 31, 0.2);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--m-text-soft);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------------- Stat tiles ---------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--m-gold);
    background: rgba(242, 188, 31, 0.04);
}
.stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--m-gold);
    margin-bottom: 10px;
}
.stat-value span { color: var(--m-electric); font-weight: 700; }
.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
}

/* ---------------- About ---------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}
.about-copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}
.about-copy p {
    color: var(--m-text-soft);
    font-size: 1rem;
    margin-bottom: 18px;
}
.about-copy .btn { margin-top: 12px; }

.about-card {
    background: linear-gradient(160deg, var(--m-navy) 0%, var(--m-navy-mid) 100%);
    color: var(--m-cream);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.about-card::after {
    content: "";
    position: absolute;
    top: -40%; right: -20%;
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(242, 188, 31, 0.15), transparent 70%);
    pointer-events: none;
}
.about-card h3 {
    font-size: 1.15rem;
    color: var(--m-gold);
    margin-bottom: 20px;
    position: relative;
}
.about-card dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}
.about-card dl > div {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 14px;
}
.about-card dl > div:first-child { border-top: none; padding-top: 0; }
.about-card dt {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}
.about-card dd {
    margin: 0;
    color: var(--m-cream);
    font-size: 0.95rem;
}
.about-card a {
    color: var(--m-cyan-bright);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------------- CTA band ---------------- */
.cta-band {
    background: linear-gradient(120deg, var(--m-gold) 0%, var(--m-gold-bright) 100%);
    color: var(--m-navy);
    padding: 64px 0;
    text-align: center;
}
.cta-band-inner { max-width: 720px; }
.cta-band h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin-bottom: 8px;
}
.cta-band p {
    color: rgba(10, 14, 26, 0.75);
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.cta-band .btn-primary {
    background: var(--m-navy);
    color: var(--m-gold);
}
.cta-band .btn-primary:hover {
    background: var(--m-navy-soft);
    color: var(--m-gold-bright);
    box-shadow: 0 0 40px rgba(10, 14, 26, 0.4);
}

/* ---------------- Footer ---------------- */
.site-footer {
    background: var(--m-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-tag {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}
.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--m-gold);
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--m-gold); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ---------------- Reveal on scroll ---------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------------- Tablet ---------------- */
@media (max-width: 1024px) {
    .hero-grid-2 { grid-template-columns: 1fr; gap: 48px; }
    .hero-art { max-width: 520px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .section { padding: 80px 0; }
    .hero { padding: 72px 0 96px; }
}

/* ---------------- Mobile (collapse to hamburger) ---------------- */
/* Breakpoint chosen so the 4-item nav never crowds the brand block on
   narrow tablets / split-screen — collapses to hamburger before the
   hero also collapses (hero stack threshold is 1024px). */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10, 14, 26, 0.98);
        padding: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        display: none;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 18px; }
    .primary-nav .nav-cta { justify-content: center; }
}

@media (max-width: 720px) {
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
    .cta-row { flex-direction: column; align-items: stretch; }
    .cta-row .btn { justify-content: center; }
    .hero { padding: 56px 0 72px; }
    .section { padding: 64px 0; }
}
