/* LABEL NUVI - Luxury Fashion Editorial Stylesheet */

:root {
    --bg-color: #0c0c0c;
    --bg-gradient: radial-gradient(circle at center, #1a1a1a 0%, #080808 100%);
    --text-color: #f4f1ea;       /* Soft Ivory */
    --text-muted: #8e8a84;       /* Soft Warm Grey */
    --text-dim: #44413d;         /* Subtle Dark Charcoal */
    --border-color: rgba(244, 241, 234, 0.08);
    --border-hover: rgba(244, 241, 234, 0.22);
    --font-primary: 'Inter', sans-serif;
    --font-brand: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-serif: 'Playfair Display', serif;
    --glass-bg: rgba(14, 14, 14, 0.85);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-color);
    font-family: var(--font-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Hide default cursor on desktop for custom interactive cursor */
@media (min-width: 1025px) {
    body, a, button, input, .phone-screen, .menu-toggle {
        cursor: none !important;
    }
}

/* Scrollbar reset */
::-webkit-scrollbar {
    display: none;
}

/* Custom Cursor */
#custom-cursor {
    width: 18px;
    height: 18px;
    background: transparent;
    border: 1px solid rgba(244, 241, 234, 0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: difference;
    opacity: 0;
}

.cursor-text {
    font-family: var(--font-mono);
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

#custom-cursor.hovering-phone {
    width: 80px;
    height: 80px;
    background-color: var(--text-color);
    border-color: var(--text-color);
}

#custom-cursor.hovering-phone .cursor-text {
    opacity: 1;
}

#custom-cursor.hovering-link {
    width: 40px;
    height: 40px;
    background-color: rgba(244, 241, 234, 0.12);
    border-color: var(--text-color);
}

/* Vignette and Ambient Glow */
.vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
}

.radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(244, 241, 234, 0.02) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(80px);
}

/* Grid & Editorial Noise Overlays */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(244, 241, 234, 0.006) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 241, 234, 0.006) 1px, transparent 1px);
    background-size: 90px 90px;
    background-position: center center;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

/* Infinite Scrolling Marquees */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: rgba(12, 12, 12, 0.85);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    position: fixed;
    left: 0;
    z-index: 10;
    pointer-events: none;
}

.marquee-top { top: 0; }
.marquee-bottom { bottom: 0; }

.marquee-content {
    display: inline-block;
    animation: marquee-scroll 55s linear infinite;
}

.marquee-content span {
    font-family: var(--font-brand);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-right: 4rem;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-25%, 0, 0); }
}

/* Kinetic Background Text (Subtle Ambient Behind Phone) */
.kinetic-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    width: 160vw;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.kinetic-track {
    display: flex;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
}

.kinetic-text {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: clamp(5rem, 9.5vw, 10.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: rgba(244, 241, 234, 0.015);
    text-transform: uppercase;
}

.kinetic-text.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(244, 241, 234, 0.025);
}

.kinetic-track-left .kinetic-text {
    animation: scroll-left 65s linear infinite;
}

.kinetic-track-right .kinetic-text {
    animation: scroll-right 65s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* App Container Layout */
.app-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 70px 50px;
    pointer-events: none;
}

.header, .main-content, .footer, .sidebar-menu {
    pointer-events: auto;
}

/* Header Styles */
.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    z-index: 20;
}

.header-left { justify-self: start; }
.header-center { justify-self: center; }
.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 40px;
}

.brand-name {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.7em; /* Increased spacing as requested */
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-right: -0.7em;
}

.brand-name:hover {
    letter-spacing: 0.85em;
    opacity: 0.85;
}

.status-indicator {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 0px; /* Clean sharp border */
    background-color: rgba(12, 12, 12, 0.7);
}

.status-dot {
    width: 4px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 50%;
    display: inline-block;
    opacity: 0.8;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.nav-link:hover {
    color: var(--text-color);
    border-color: var(--text-color);
}

/* Menu Toggle Button */
.menu-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 12px;
    justify-content: space-between;
}

.menu-line {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transition: var(--transition-smooth);
}

.menu-toggle:hover .menu-line:first-child { transform: translateX(4px); }
.menu-toggle:hover .menu-line:last-child { transform: translateX(-4px); }

/* Main Content Area */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    gap: 60px; /* Increased whitespace gap */
    position: relative;
    z-index: 5;
}

/* Spinning Circular Fashion Badge (Floating) */
.spinning-badge-container {
    position: absolute;
    top: 2%;
    left: -4%;
    width: 100px;
    height: 100px;
    z-index: 12;
    pointer-events: none;
}

.spinning-badge {
    width: 100%;
    height: 100%;
    animation: badge-spin 24s linear infinite;
    overflow: visible;
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 7.5px;
    letter-spacing: 2px;
    fill: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
}

.badge-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

@keyframes badge-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Central 3D Smartphone (Reduced by ~14% for whitespace) */
.phone-perspective-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    perspective: 1200px;
    position: relative;
    z-index: 10;
}

.phone-container-3d {
    width: 250px;       /* Down from 290px (~14% reduction) */
    height: 510px;      /* Down from 590px */
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.phone-body {
    width: 100%;
    height: 100%;
    background-color: #121212;
    border: 1px solid rgba(244, 241, 234, 0.12);
    border-radius: 32px;
    position: relative;
    padding: 8px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    transform-style: preserve-3d;
}

.phone-speaker {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #222;
    border-radius: 4px;
    z-index: 30;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    background-color: #0d0d0d;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    background: linear-gradient(
        to bottom, 
        rgba(12, 12, 12, 0.65) 0%, 
        rgba(12, 12, 12, 0.05) 40%, 
        rgba(12, 12, 12, 0.25) 65%, 
        rgba(12, 12, 12, 0.75) 100%
    );
}

.screen-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    scale: 1.03;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                scale 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active {
    opacity: 1;
    scale: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Inside Phone Screen Content */
.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px 24px 20px;
}

.screen-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.screen-label {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    opacity: 0.8;
}

.screen-brand {
    font-family: var(--font-brand);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.35em;
}

.screen-middle-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.screen-coming-soon {
    font-family: var(--font-brand);
    font-weight: 800;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--text-color);
    text-transform: uppercase;
    text-align: center;
}

.screen-coming-soon.outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
}

.screen-bottom-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.look-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-family: var(--font-mono);
    text-align: center;
}

#screen-look-tag {
    font-size: 0.5rem;
    border: 1px solid rgba(244, 241, 234, 0.2);
    padding: 2px 7px;
    border-radius: 0px;
    color: var(--text-color);
}

#screen-look-name {
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.screen-date-pill {
    border: 1px solid rgba(244, 241, 234, 0.2);
    padding: 6px 14px;
    border-radius: 0px; /* Minimal sharp pill box */
    background: rgba(12, 12, 12, 0.7);
    transition: var(--transition-fast);
}

.date-text {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--text-color);
}

/* Phone side buttons */
.phone-button {
    position: absolute;
    background-color: #1a1a1a;
    border-radius: 1px;
}

.volume-up {
    top: 90px;
    left: -5px;
    width: 3px;
    height: 40px;
}

.volume-down {
    top: 140px;
    left: -5px;
    width: 3px;
    height: 40px;
}

.power {
    top: 115px;
    right: -5px;
    width: 3px;
    height: 50px;
}

/* Right-Side Control Center */
.control-center {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 420px;
    justify-self: start;
}

.tap-helper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.54rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.helper-dot {
    width: 4px;
    height: 4px;
    background-color: var(--text-color);
    border-radius: 50%;
    opacity: 0.7;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-mono);
    background: #101010;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 0px; /* Minimal sharp edges */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
}

.countdown-container:hover {
    border-color: var(--border-hover);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.countdown-value {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.1;
}

.countdown-label {
    font-size: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-top: 4px;
}

.countdown-divider {
    font-size: 1.2rem;
    color: var(--text-dim);
    padding-bottom: 6px;
}

/* Subscription Form Card */
.subscription-card {
    background: #101010;
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 0px; /* Editorial minimal edges */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    transition: var(--transition-fast);
}

.subscription-card:hover {
    border-color: var(--border-hover);
}

.card-title {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.35em;
    margin-bottom: 12px;
    text-align: left;
    color: var(--text-color);
}

.card-subtitle {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    line-height: 1.65;
    text-align: left;
}

.subscribe-form {
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    transition: var(--transition-fast);
}

.input-group:focus-within {
    border-color: var(--text-color);
}

.email-input {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    padding: 6px 0;
}

.email-input::placeholder {
    color: #4a4742;
}

.submit-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 5px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.submit-btn:hover {
    opacity: 0.8;
}

.form-feedback {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    margin-top: 12px;
    height: 15px;
    text-align: left;
    transition: var(--transition-fast);
}

.form-feedback.success { color: var(--text-color); }
.form-feedback.error { color: #cc6666; }

/* Footer Styles */
.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(244, 241, 234, 0.04);
    padding-top: 25px;
    z-index: 20;
}

.footer-left { justify-self: start; }
.footer-center { justify-self: center; }
.footer-right { justify-self: end; }

.copyright {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    color: var(--text-dim);
}

.location-coords {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-link {
    font-family: var(--font-primary);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--text-color);
}

.social-divider {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-dim);
}

/* Sidebar Sliding Panel */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #0d0d0d;
    border-left: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-menu.active {
    right: 0;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.9);
}

.close-sidebar {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.close-sidebar:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.sidebar-brand {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    margin-top: 40px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 60px 0;
}

.sidebar-link {
    font-family: var(--font-brand);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 8px 0;
}

.sidebar-link:hover:not(.disabled) {
    color: var(--text-color);
    padding-left: 10px;
}

.sidebar-link.active {
    color: var(--text-color);
    font-weight: 700;
}

.sidebar-link.disabled {
    opacity: 0.25;
    position: relative;
}

.sidebar-link.disabled::after {
    content: "LOCKED";
    font-family: var(--font-mono);
    font-size: 0.48rem;
    letter-spacing: 0.15em;
    border: 1px solid rgba(244, 241, 234, 0.2);
    padding: 2px 6px;
    border-radius: 0px;
    margin-left: 12px;
    vertical-align: middle;
}

.sidebar-footer {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.sidebar-footer p { margin-bottom: 20px; }

/* Responsive Layout Design */
@media (max-width: 1024px) {
    .app-container {
        padding: 55px 30px;
        overflow-y: auto;
    }
    
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 40px;
        padding-bottom: 100px;
        justify-items: center;
    }

    .control-center {
        justify-self: center;
        max-width: 380px;
    }

    .spinning-badge-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 45px 20px;
    }

    .header {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .header-center {
        grid-column: 1 / span 2;
        order: 3;
        margin-top: 8px;
        justify-self: stretch;
        text-align: center;
    }

    .status-indicator {
        justify-content: center;
        width: 100%;
    }

    /* Mobile optimization: Smaller phone size so countdown is visible earlier */
    .phone-container-3d {
        width: 200px;
        height: 410px;
    }

    .screen-coming-soon {
        font-size: 2.1rem;
    }

    .subscription-card {
        padding: 24px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        justify-items: center;
        padding-bottom: 25px;
    }

    .footer-left, .footer-center, .footer-right {
        justify-self: center;
    }
}
