:root {
    --bg: #0B0B0B;
    --bg-alt: #121212;
    --card-bg: #1A1A1A;
    --gold: #D4AF37;
    --gold-hover: #C5A059;
    --text: #F5F5F5;
    --text-muted: #A0A0A0;
    --border: rgba(212, 175, 55, 0.15);
    --border-light: rgba(255, 255, 255, 0.1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

.gold-text {
    color: var(--gold);
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.15em;
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: #000;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-gold:hover {
    background: var(--gold-hover);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--gold);
    padding: 14px 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.play-icon {
    width: 18px;
    height: 18px;
}

/* Header / Navbar */
.navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(11, 11, 11, 0.85);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
}

.logo-text {
    letter-spacing: 4px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-alt);
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 100px 40px;
    border-left: 1px solid var(--border);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.mobile-cta {
    margin-top: 20px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Hero Visual (Blueprint) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blueprint-card {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1563720223185-11003d516935?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(212, 175, 55, 0.15) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(212, 175, 55, 0.15) 1px, transparent 1px);
}

.blueprint-circle {
    position: absolute;
    width: 70%;
    height: 70%;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 50%;
}

.blueprint-bed {
    width: 50%;
    height: 40%;
    border: 1px solid var(--gold);
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 26, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}

.bed-cushion {
    height: 60%;
    border: 1px dashed var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.bed-harness {
    position: absolute;
    top: -20px;
    left: 20%;
    right: 20%;
    height: 20px;
    border-left: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.blueprint-label {
    position: absolute;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 4px 8px;
    background: var(--bg);
}

.label-1 { top: 15%; left: 10%; }
.label-2 { bottom: 15%; right: 10%; }
.label-3 { top: 50%; right: 5%; }

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Differentiator Section */
.differentiator {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 60px;
    align-items: center;
}

.vertical-divider {
    background: var(--border);
    height: 100%;
    min-height: 300px;
}

.diff-col {
    padding: 20px;
}

.diff-icon-wrapper {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--gold);
}

.diff-icon {
    width: 32px;
    height: 32px;
}

.diff-col h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.diff-col p {
    margin-bottom: 24px;
}

.diff-list {
    list-style: none;
}

.diff-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text);
}

.diff-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Product Showcase */
.product-showcase {
    padding: 100px 0;
}

.product-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 60px;
}

.product-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border: 1px solid var(--border-light);
    aspect-ratio: 1.2;
    position: relative;
    overflow: hidden;
}

.product-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=800&q=80');
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.5s ease;
}

.bed-render {
    width: 70%;
    height: 50%;
    border: 2px solid var(--gold);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
}

.bed-rim {
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
}

.bed-base {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 40%;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--gold);
}

.bed-logo-plate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 2px 6px;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.product-description {
    margin-bottom: 32px;
}

.control-group {
    margin-bottom: 28px;
}

.control-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.swatches {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swatch.active {
    border-color: var(--gold);
    transform: scale(1.1);
}

.color-name {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
}

.size-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.size-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.size-title {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 4px;
}

.size-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    margin-bottom: 32px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-display {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: 700;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.spec-item {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.shipping-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Engineering Section */
.engineering {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.eng-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 40px;
    transition: all 0.3s ease;
}

.eng-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.eng-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 24px;
}

.eng-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.5;
}

.author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-vehicle {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Footer */
.footer {
    background: #050505;
    border-top: 1px solid var(--border-light);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 320px;
}

.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-newsletter p {
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    background: #111;
    border: 1px solid var(--border-light);
    padding: 14px 20px;
    color: var(--text);
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.disclaimer {
    font-size: 0.75rem;
    max-width: 800px;
    margin: 0 auto 24px auto;
}

.copyright {
    font-size: 0.75rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 40px;
    width: 100%;
    max-width: 700px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.simulated-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.impact-line {
    position: absolute;
    left: 30%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: red;
    box-shadow: 0 0 10px red;
}

.dummy-dog {
    width: 40px;
    height: 30px;
    background: var(--gold);
    position: absolute;
    left: 10%;
    border-radius: 4px;
    animation: sledTest 4s infinite linear;
}

.impact-force {
    font-size: 1.5rem;
    font-weight: 700;
    color: red;
    letter-spacing: 0.1em;
    opacity: 0;
    animation: textFlash 4s infinite linear;
}

.impact-status {
    font-size: 0.9rem;
    color: #4caf50;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0;
    animation: textFlashGreen 4s infinite linear;
}

@keyframes sledTest {
    0% { left: 10%; }
    20% { left: 30%; }
    100% { left: 30%; }
}

@keyframes textFlash {
    0% { opacity: 0; }
    19% { opacity: 0; }
    20% { opacity: 1; }
    60% { opacity: 1; }
    61% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes textFlashGreen {
    0% { opacity: 0; }
    29% { opacity: 0; }
    30% { opacity: 1; }
    60% { opacity: 1; }
    61% { opacity: 0; }
    100% { opacity: 0; }
}

.modal-desc {
    font-size: 0.9rem;
}

/* Toast */
#toastContainer {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--gold);
    color: #000;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-left: 4px solid #000;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-subheadline {
        margin: 0 auto 40px auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .product-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .engineering-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .vertical-divider {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .desktop-nav {
        display: none;
    }
}
