/* ===== ULTRA BRUTALIST MINIMAL DESIGN ===== */

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #ffffff;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== VARIABLES ===== */
:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-800: #222222;
    --color-gray-600: #444444;
    --color-gray-400: #666666;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-size-sm: 1.5rem;
    --font-size-base: 1.7rem;
    --font-size-lg: 2rem;
    --nav-height: 7rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --transition: 0.3s ease;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-800);
    height: var(--nav-height);
    transition: all var(--transition);
}

.nav--scrolled {
    background: var(--color-black);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
}

.nav__brand {
    font-family: var(--font-mono);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    left: var(--spacing-md);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav__logo {
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: var(--spacing-lg);
}

.nav__logo.active {
    opacity: 1 !important;
}

.nav__logo svg {
    width: 100%;
    height: 100%;
    transform: scale(3.5) translateY(-5%);
}

.nav__menu {
    display: flex;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav__link {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-white);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}



.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: var(--nav-height);
}

.video-container {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-height));
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== VIDEO LOADING INDICATOR ===== */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 50;
    transition: opacity 0.3s ease;
}

.video-loading__spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== VIDEO PLAY BUTTON ===== */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 60;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ===== FIXED LOGO OVERLAY WITH SCROLL EFFECTS ===== */
.logo-overlay {
    position: fixed;
    top: calc(var(--nav-height) + 2rem);
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.logo-overlay__image {
    width: 20vw;
    min-width: 200px;
    max-width: 320px;
    height: 200px;
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.logo-overlay__image svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: scale(3.5) translateY(-5%);
    transform-origin: center center;
}

.logo-overlay__text {
    font-family: var(--font-mono);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-white);
    text-align: center;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.logo-overlay__text::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--color-white);
    margin-left: 4px;
    animation: cursor-blink 1s infinite;
    opacity: 0;
}

.logo-overlay__text:not(:empty)::after {
    opacity: 1;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== SCROLL-TRIGGERED STATES ===== */
.logo-overlay--text-hidden .logo-overlay__text {
    opacity: 0;
    transform: translateY(-20px);
    height: 0;
    margin: 0;
}

.logo-overlay--text-hidden {
    gap: 0;
}

.logo-overlay--minimized .logo-overlay__image {
    width: 10vw;
    min-width: 100px;
    max-width: 150px;
    opacity: 0.7;
}

.logo-overlay--minimized {
    top: calc(var(--nav-height) + 0.5rem);
    transform: translateX(-50%);
}

/* ===== SMARTPHONE VIDEO SECTION ===== */
.smartphone-video-section {
    background: var(--color-black);
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 0;
}

.smartphone-video-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.smartphone-video-content h2 {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.smartphone-video-content .showcase-subtitle {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-transform: lowercase;
}

.smartphone-video-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.smartphone-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse 80% 70% at center,
        transparent 0%,
        transparent 15%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.95) 80%,
        #000000 100%
    );
    pointer-events: none;
    z-index: 1;
}

.smartphone-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    object-position: center center;
    display: block;
    position: relative;
    z-index: 0;
}

.smartphone-video-content .showcase-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.smartphone-video-content .showcase-feature {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* ===== DEVICE SHOWCASE SECTION ===== */
.device-showcase-section {
    background: var(--color-black);
    min-height: 100vh;
    padding: 10vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.device-showcase-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.device-showcase-content h2 {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.showcase-subtitle {
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-transform: lowercase;
}

.device-mockups {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.device-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

/* Laptop Mockup */
.laptop-frame {
    position: relative;
}

.laptop-screen {
    width: 600px;
    height: 400px;
    background: var(--color-gray-800);
    border: 8px solid var(--color-gray-600);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.laptop-screen canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.laptop-base {
    width: 680px;
    height: 20px;
    background: linear-gradient(to bottom, var(--color-gray-600), var(--color-gray-800));
    border-radius: 0 0 8px 8px;
    position: relative;
}

.laptop-base::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 8px;
    background: var(--color-gray-800);
    border-radius: 0 0 4px 4px;
}

/* Mobile Mockup */
.mobile-frame {
    position: relative;
}

.mobile-screen {
    width: 200px;
    height: 400px;
    background: var(--color-gray-800);
    border: 8px solid var(--color-gray-600);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.mobile-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--color-gray-600);
    border-radius: 2px;
}

.mobile-screen canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.device-label {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Showcase Features */
.showcase-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.showcase-feature {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.feature-icon {
    color: var(--color-white);
    font-size: 1.8rem;
}

/* ===== MARKETPLACE SECTION ===== */
.marketplace-section {
    background: var(--color-black);
    min-height: 100vh;
    padding: 10vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.marketplace-content {
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.marketplace-content h2 {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.marketplace-content p {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    text-transform: lowercase;
}

.marketplace-legend {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-mono);
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.legend-icon {
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-gray-600);
    background: transparent;
}

.legend-icon--model {
    border-radius: 50%;
    /* Circle for organic models */
}

.legend-icon--connection {
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-gray-600);
    border: none;
}

.three-container {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    position: relative;
    background: transparent;
    cursor: none;
}

.three-container canvas {
    display: block !important;
    cursor: none;
}

/* ===== MARKETPLACE DESCRIPTIONS ===== */
.marketplace-descriptions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.description {
    position: absolute;
    font-family: var(--font-mono);
    color: var(--color-gray-500);
    text-transform: lowercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.description-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.description-items {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.description-item {
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
    line-height: 1.2;
}

.description--left {
    top: 15%;
    left: 3%;
}

.description--right {
    top: 15%;
    right: 3%;
    text-align: right;
}

.description--bottom {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.description--bottom .description-items {
    flex-direction: row;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ===== INTERACTIVE STATES ===== */
.logo-overlay:hover .logo-overlay__image {
    transform: scale(1.05);
    transition: all var(--transition);
}

.logo-overlay:hover .logo-overlay__text {
    letter-spacing: 0.4em;
    transition: all var(--transition);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--color-black);
    min-height: 80vh;
    padding: 8vh 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--color-gray-800);
}

.features-section:first-of-type {
    min-height: 100vh;
    padding: 10vh 0;
}

.features-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.features-content h2 {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    color: var(--color-gray-400);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.features-content p {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    text-transform: lowercase;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    transition: all var(--transition);
    position: relative;
    width: 100%;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.feature-number {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-title {
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: lowercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.feature-description {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    text-transform: lowercase;
    margin: 0;
}

/* ===== MATCHING VIDEO ANIMATION ===== */
.collision-animation-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.matching-video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ===== SECURITY PHONES ANIMATION ===== */
.security-phones-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--color-black);
}

#securityPhonesCanvas {
    width: 100%;
    height: 600px;
    display: block;
    max-width: 1400px;
    margin: 0 auto;
}

.lottie-animation {
    width: 100%;
    height: 700px;
    display: block;
    margin: 0 auto;
}

.lottie-animation svg {
    width: 100%;
    height: 100%;
    display: block;
}

.housing-screenshot {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
}

/* ===== COMPACT FEATURES ===== */
.features-grid--compact {
    gap: var(--spacing-lg);
}

.feature-item--compact {
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.feature-item--compact:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.feature-item--compact .feature-number {
    font-size: 1.1rem;
    margin: 0;
    display: inline-block;
}

.feature-item--compact .feature-title {
    font-size: 1.4rem;
    margin: 0;
    display: inline-block;
    font-weight: 600;
}

.feature-item--compact .feature-number::after {
    content: '\00a0\00a0';
}

.feature-item--compact .feature-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* ===== LARGE CENTERED FEATURES ===== */
.features-grid--large {
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.feature-item--large {
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.feature-item--large:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.feature-item--large .feature-number {
    font-size: 1.3rem;
    margin: 0;
    display: inline-block;
}

.feature-item--large .feature-title {
    font-size: 2rem;
    margin: 0;
    display: inline-block;
    font-weight: 600;
}

.feature-item--large .feature-number::after {
    content: '\00a0\00a0';
}

.feature-item--large .feature-description {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.8;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-black);
    border-top: 1px solid var(--color-gray-800);
    padding: var(--spacing-xl) 0;
    margin-top: auto;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__brand {
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer__links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer__link {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition);
}

.footer__link:hover {
    color: var(--color-white);
}

.footer__copyright {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

/* ===== MOBILE NAVIGATION ===== */
.nav__menu--active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.nav__menu--active .nav__list {
    flex-direction: column;
    gap: var(--spacing-xl);
    text-align: center;
}

.nav__menu--active .nav__link {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

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

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

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

.nav-open {
    overflow: hidden;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --nav-height: 6rem;
    }
    
    .nav__menu {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .logo-overlay {
        top: calc(var(--nav-height) + 1.5rem);
        gap: 0;
    }
    
    .logo-overlay--minimized {
        top: calc(var(--nav-height) + 0.3rem);
    }
    
    .logo-overlay__image {
        width: 35vw;
        min-width: 150px;
        max-width: 220px;
        height: 150px;
    }
    
    .logo-overlay__text {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        letter-spacing: 0.2em;
    }
    
    .logo-overlay--minimized .logo-overlay__image {
        width: 20vw;
        min-width: 80px;
        max-width: 120px;
    }
    
    .logo-overlay--minimized {
        top: calc(var(--nav-height) + 0.2rem);
    }
    
    .footer__container {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer__links {
        gap: var(--spacing-md);
    }
    
    .device-showcase-content h2 {
        font-size: 1.8rem;
    }
    
    .laptop-screen {
        width: 400px;
        height: 267px;
    }
    
    .laptop-base {
        width: 460px;
    }
    
    .mobile-screen {
        width: 150px;
        height: 300px;
    }
    
    .device-mockups {
        gap: var(--spacing-md);
    }
    
    .showcase-features {
        gap: var(--spacing-md);
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        gap: var(--spacing-sm);
        max-width: 100%;
    }
    
    .feature-item {
        padding: var(--spacing-md);
    }
    
    .matching-video {
        max-width: 100%;
    }
    
    .lottie-animation {
        height: 300px;
        max-width: 100%;
    }
    
    .collision-animation-container {
        margin-bottom: var(--spacing-md);
    }
    
    #securityPhonesCanvas {
        height: 400px;
    }
    
    .security-phones-container {
        margin-bottom: var(--spacing-md);
    }
    
    .feature-item--large .feature-title {
        font-size: 1.7rem;
    }
    
    .feature-item--large .feature-number {
        font-size: 1.2rem;
    }
    
    .feature-item--large .feature-description {
        font-size: 1.1rem;
    }
    
    .nav__logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 5rem;
    }
    
    .logo-overlay {
        top: calc(var(--nav-height) + 1rem);
        gap: 0;
    }
    
    .logo-overlay--minimized {
        top: calc(var(--nav-height) + 0.2rem);
    }
    
    .logo-overlay__image {
        width: 40vw;
        min-width: 120px;
        max-width: 180px;
        height: 120px;
    }
    
    .logo-overlay__text {
        font-size: clamp(1.1rem, 5vw, 1.6rem);
        letter-spacing: 0.15em;
    }
    
    .logo-overlay--minimized .logo-overlay__image {
        width: 25vw;
        min-width: 60px;
        max-width: 100px;
    }
    
    .logo-overlay--minimized {
        top: calc(var(--nav-height) + 0.15rem);
    }
    
    .marketplace-legend {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .legend-item {
        gap: 0.3rem;
    }
    
    .legend-icon {
        width: 16px;
        height: 16px;
    }
    
    .legend-icon--connection {
        width: 24px;
        height: 1px;
    }
    
    .description--left,
    .description--right {
        top: 10%;
    }
    
    .description--bottom {
        bottom: 5%;
    }
    
    .description--bottom .description-items {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .features-grid {
        gap: var(--spacing-sm);
    }
    
    .feature-item {
        padding: var(--spacing-md);
        border: 1px solid var(--color-gray-800);
    }
    
    .feature-title {
        font-size: var(--font-size-sm);
    }
    
    .feature-description {
        font-size: 1.3rem;
    }
    
    .matching-video {
        max-width: 100%;
    }
    
    .lottie-animation {
        height: 250px;
        max-width: 100%;
    }
    
    .collision-animation-container {
        margin-bottom: var(--spacing-sm);
    }
    
    #securityPhonesCanvas {
        height: 350px;
    }
    
    .security-phones-container {
        margin-bottom: var(--spacing-sm);
    }
    
    .feature-item--compact .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-item--compact .feature-description {
        font-size: 1rem;
    }
    
    .feature-item--large .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-item--large .feature-number {
        font-size: 1.1rem;
    }
    
    .feature-item--large .feature-description {
        font-size: 1.05rem;
    }
    
    .nav__logo {
        width: 60px;
        height: 60px;
    }
}

/* ===== ACCESSIBILITY ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== SCROLLBAR (HIDDEN) ===== */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== SELECTION ===== */
::selection {
    background: var(--color-white);
    color: var(--color-black);
}

::-moz-selection {
    background: var(--color-white);
    color: var(--color-black);
} 