/* Fonts hosted locally in this repo -- copied over from Mr-Lander-Website's
   public/fonts/ to match its own local-reference pattern. */
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2') format('woff2');
    font-weight: 300 600;
    font-display: swap;
}

:root {
    --bg-gunmetal: #0c0f12;
    --bg-card: rgba(12, 15, 18, 0.7);
    --cyan: #33e0f0;
    --cyan-dim: rgba(51, 224, 240, 0.1);
    --cyan-glow: rgba(51, 224, 240, 0.4);
    --chrome: #c9cfd4;
    --white: #ffffff;
    --green: #2ecc71;
    --red: #ff4d4d;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 68px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-gunmetal);
    color: var(--chrome);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Stationary Background Layer — AVIF, with WebP and PNG fallbacks. Same
   file (lander-background.*) and same treatment as misterlander.com's own
   #parallax-bg -- this is Paul's own property, so it shares the parent
   site's exact visual identity, not an approximation of it. */
#parallax-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; max-width: 100%; height: 100vh;
    background-image: url('../images/lander-background.png');
    background-image: -webkit-image-set(
        url('../images/lander-background.avif') type('image/avif'),
        url('../images/lander-background.webp') type('image/webp'),
        url('../images/lander-background.png') type('image/png')
    );
    background-image: image-set(
        url('../images/lander-background.avif') type('image/avif'),
        url('../images/lander-background.webp') type('image/webp'),
        url('../images/lander-background.png') type('image/png')
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--white); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.1; margin-bottom: 0.75rem; }
p { line-height: 1.6; margin-bottom: 0.75rem; }

.text-cyan { color: var(--cyan); }
.text-center { text-align: center; }

.pulse-glow { animation: pulseGlow 3s infinite ease-in-out; }
@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 10px var(--cyan); }
    50% { text-shadow: 0 0 25px var(--cyan), 0 0 50px var(--cyan-glow), 0 0 80px var(--cyan-dim); }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); position: relative; z-index: 1; }
section { padding: clamp(2.5rem, 6vw, 5rem) 0; position: relative; }

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

.section-label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-align: center;
}
.section-label::before { content: '// '; opacity: 0.5; color: var(--cyan); }

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 224, 240, 0.15);
    border-radius: var(--radius-xl);
    padding: clamp(1.25rem, 3vw, 2rem);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
    .glass-card:hover {
        transform: translateY(-8px);
        border-color: var(--cyan);
        box-shadow: 0 20px 40px -10px rgba(51, 224, 240, 0.3), 0 0 15px rgba(51, 224, 240, 0.2);
    }
}

/* Navigation -- deliberately stripped down from the main site's: this is
   a single-purpose funnel page, not a marketing site, so there is
   intentionally no multi-link nav pulling attention away from picking a
   design and checking out. */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 0.75rem 0;
    background: rgba(12, 15, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 224, 240, 0.1);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-link { text-decoration: none; display: inline-flex; align-items: center; gap: 0.75rem; }
.logo-link img { height: 32px; filter: drop-shadow(0 0 8px var(--cyan-glow)); }
.logo-text-wrap { display: none; }
.logo-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--white);
}
.logo-sub { font-size: 0.65rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 2px; display: block; }
.mobile-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--white);
}
.nav-actions { display: flex; align-items: center; }
.btn-secondary {
    color: var(--chrome);
    font-family: var(--font-head);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.btn-secondary:hover { color: var(--cyan); }
.btn-desktop { display: none; }

@media (min-width: 48rem) {
    .mobile-title { display: none; }
    .logo-text-wrap { display: block; }
    .btn-desktop { display: inline-flex; }
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-gunmetal);
    font-family: var(--font-head);
    font-weight: 600;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    min-height: 40px;
    font-size: 0.9rem;
    cursor: pointer;
}
@media (hover: hover) {
    .btn-primary:hover { background-color: var(--white); box-shadow: 0 0 15px var(--cyan-glow); }
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* Hero */
.hero { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 1rem; }
.showroom-hero-desc { max-width: 640px; margin: 1rem auto 0 auto; font-size: clamp(0.95rem, 2vw, 1.15rem); }

/* Design gallery */
.design-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.gallery-intro { max-width: 700px; margin: 0 auto 2rem auto; color: var(--chrome); }
@media (min-width: 48rem) {
    .design-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.design-card { display: flex; flex-direction: column; }
.design-card > a { display: block; text-decoration: none; }
.design-card-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(51, 224, 240, 0.15);
}
.card-title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.design-card-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.design-card-link {
    font-family: var(--font-head);
    font-size: 0.85rem;
    color: var(--chrome);
}
.design-card-link:hover { color: var(--white); }

/* Form (shared pattern with get-started.html / index.html's contact form) */
.showroom-form-container-wrap { max-width: 700px; margin: 0 auto; }
.contact-subtitle { text-align: center; color: var(--chrome); max-width: 600px; margin: 0 auto 1.5rem auto; }
.contact-form-card { margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 48rem) {
    .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }
label { font-family: var(--font-head); font-size: 0.85rem; color: var(--chrome); }
.required-tag { color: var(--cyan); font-size: 0.7rem; font-weight: 400; opacity: 0.85; margin-left: 4px; letter-spacing: 0.3px; }
input:not([type="checkbox"]), select {
    background: rgba(201, 207, 212, 0.05);
    border: 1px solid rgba(51, 224, 240, 0.2);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    outline: none;
    transition: border 0.3s;
    min-height: 40px;
    width: 100%;
}
input:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }
select option { background: var(--bg-gunmetal); color: var(--white); }
.contact-submit-wrap { align-items: center; text-align: center; margin-top: 0.5rem; }
.contact-submit-btn { width: 100%; padding: 0.9rem; }
.showroom-reassurance { font-size: 0.8rem; color: var(--chrome); opacity: 0.75; margin-top: 0.75rem; margin-bottom: 0; }

.gs-status { font-size: 0.9rem; text-align: center; min-height: 1.2rem; }
.gs-status-error { color: var(--red); }
.gs-status-success { color: var(--green); }

/* Footer -- same brand treatment as misterlander.com's own footer */
footer { border-top: 1px solid rgba(51, 224, 240, 0.1); padding-top: 2.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding-bottom: 2rem; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-brand img { height: 28px; filter: drop-shadow(0 0 6px var(--cyan-glow)); }
.footer-logo-text { font-size: 1rem; }
.footer-tagline { font-size: 0.8rem; color: var(--chrome); line-height: 1.4; margin-top: 0.2rem; }
.footer-sub-override { display: block; margin-bottom: 5px; }
.footer-mobile-legal { margin-top: 0.5rem; }
.footer-mobile-legal summary { font-family: var(--font-head); font-size: 0.85rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 2px; cursor: pointer; }
.footer-mobile-legal ul { list-style: none; padding: 0.75rem 0 0 0; text-align: center; }
.footer-mobile-legal li { margin-bottom: 0.5rem; }
.footer-mobile-legal a { font-size: 0.85rem; color: var(--chrome); text-decoration: none; }
.footer-mobile-legal a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(51, 224, 240, 0.05); padding: 1.25rem 0; }
.footer-copyright { font-size: 0.75rem; color: var(--chrome); text-align: center; }

a { text-decoration: underline; text-underline-offset: 2px; color: var(--cyan); }
a:hover { color: var(--white); }
