/* POSTMODERN — DESIGN SYSTEM & STYLES */

/* --- Custom Variables & Tokens --- */
:root {
    --bg-color: #0d0d0d;
    --text-primary: #f5f5f5;
    --text-secondary: #8c8c8c;
    --accent-blue: #0088ff;
    --accent-blue-glow: rgba(0, 136, 255, 0.35);
    --border-color: #222222;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease-out;
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Custom Selection */
::selection {
    background-color: var(--accent-blue);
    color: #fff;
}

/* Custom Cursor (Hide on mobile) */
#custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

#custom-cursor::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hoverable:hover ~ #custom-cursor,
a:hover ~ #custom-cursor,
button:hover ~ #custom-cursor,
input:hover ~ #custom-cursor {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 136, 255, 0.1);
}

@media (max-width: 768px) {
    #custom-cursor {
        display: none;
    }
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* --- Header / Navigation --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.logo #brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-quick);
}

.logo #brand-logo:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue-glow);
}

.logo-post {
    color: var(--accent-blue);
    transition: var(--transition-quick);
}

.logo #brand-logo:hover .logo-post {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.main-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-quick);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-blue);
    transition: var(--transition-quick);
}

.nav-link:hover::after {
    width: 100%;
}

.cart-trigger-container button {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 8px 16px;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: var(--transition-quick);
}

.cart-trigger-container button:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue-glow);
}

/* --- Helper Buttons --- */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 16px 32px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

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

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    border-bottom: 1px solid var(--border-color);
    padding-top: 80px;
}

.hero-content {
    padding: 8% 10% 8% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.product-badge {
    color: var(--accent-blue);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.product-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px;
}

.product-details-brief {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 45px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.detail-value {
    font-weight: 500;
}

.price-action-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    background-color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hero-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.slider-slide:hover .hero-product-img {
    transform: scale(1.03);
}

.image-overlay-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    mix-blend-mode: difference;
    z-index: 5;
}

/* Slider Controls */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 13, 13, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition-quick);
}

.slider-nav-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.prev-btn {
    left: 25px;
}

.next-btn {
    right: 25px;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-quick);
}

.slider-dot.active {
    background: var(--accent-blue);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--accent-blue-glow);
}

/* --- Simulator Section --- */
.simulator-section {
    padding: 120px 8%;
    border-bottom: 1px solid var(--border-color);
    background-color: #080808;
}

.section-header {
    margin-bottom: 80px;
    max-width: 600px;
}

.section-num {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 300;
}

.simulator-workspace {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    padding: 100px 80px;
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

/* Letterbox architectural aperture */
.letterbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.letterbox-plate {
    width: 100%;
    max-width: 380px;
    height: 180px;
    background: #050505;
    border: 1px solid #1c1c1c;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
}

.letterbox-slot {
    width: 100%;
    height: 24px; /* precise slim design */
    background: #000;
    position: relative;
    overflow: visible; /* allows 3D flap projection */
    border: 1px solid #1a1a1a;
}

.letterbox-flap {
    width: 100%;
    height: 100%;
    background: #111;
    border: 1px solid #282828;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s;
}

/* Swung open state */
.letterbox-flap.open {
    transform: rotateX(-95deg);
    background: #0a0a0a;
    border-color: var(--accent-blue);
    box-shadow: 0 -15px 35px var(--accent-blue-glow);
}

.slot-success-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--accent-blue);
    background: transparent;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 25px var(--accent-blue-glow);
}

.slot-success-glow.glow-active {
    opacity: 1;
}

.aperture-label {
    position: absolute;
    bottom: 20px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: #444;
    font-weight: 500;
}

/* Draggable / Clickable Package */
.draggable-package-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.package-wrapper {
    width: 280px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 10;
    transform-style: preserve-3d;
}

.package-wrapper:hover {
    transform: translateY(-10px);
}

/* --- CSS 3D Cardboard Box --- */
.box-3d {
    width: 240px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateY(0deg) rotateZ(-25deg);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    margin: 30px auto;
}

.package-wrapper:hover .box-3d {
    transform: rotateX(35deg) rotateY(5deg) rotateZ(-15deg);
}

.box-3d .face {
    position: absolute;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #be9b7b; /* Base cardboard brown */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.05);
}

/* Top Face layout */
.box-3d .face.top {
    top: 0;
    left: 0;
    width: 240px;
    height: 150px;
    background-color: #cfa885; /* Lightened top */
    transform: translateZ(9px);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

/* Bottom Face */
.box-3d .face.bottom {
    top: 0;
    left: 0;
    width: 240px;
    height: 150px;
    background-color: #a48160; /* Shadowed bottom */
    transform: translateZ(-9px) rotateY(180deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7); /* Drop shadow */
}

/* Front & Back Faces */
.box-3d .face.front {
    top: 66px; /* (150 - 18) / 2 */
    left: 0;
    width: 240px;
    height: 18px;
    background-color: #be9b7b;
    transform: rotateX(-90deg) translateZ(75px);
}

.box-3d .face.back {
    top: 66px; /* (150 - 18) / 2 */
    left: 0;
    width: 240px;
    height: 18px;
    background-color: #ad8a6a;
    transform: rotateX(90deg) translateZ(75px);
}

/* Left & Right Faces */
.box-3d .face.left {
    top: 0;
    left: 111px; /* (240 - 18) / 2 */
    width: 18px;
    height: 150px;
    background-color: #ad8a6a;
    transform: rotateY(-90deg) translateZ(120px);
}

.box-3d .face.right {
    top: 0;
    left: 111px; /* (240 - 18) / 2 */
    width: 18px;
    height: 150px;
    background-color: #be9b7b;
    transform: rotateY(90deg) translateZ(120px);
}

/* --- Cardboard Graphic Prints --- */
.box-logo {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #2b2b2b;
    text-transform: uppercase;
    border: 1px solid #2b2b2b;
    padding: 3px 6px;
    margin-bottom: 4px;
    align-self: center;
}

.box-stamp {
    position: absolute;
    top: 15px;
    right: 15px;
    border: 1.5px dashed #2b2b2b;
    padding: 4px 6px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #2b2b2b;
    transform: rotate(4deg);
    text-transform: uppercase;
}

.box-product-label {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #2b2b2b;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    width: 100%;
    padding-top: 6px;
    text-transform: uppercase;
}

.box-barcode {
    width: 70px;
    height: 15px;
    background-color: #2b2b2b;
    margin-top: 6px;
    position: relative;
    background: repeating-linear-gradient(
        90deg,
        #2b2b2b,
        #2b2b2b 2px,
        transparent 2px,
        transparent 5px,
        #2b2b2b 5px,
        #2b2b2b 8px
    );
}

.box-warning-label {
    font-size: 0.45rem;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
}

.drag-hint {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-top: 25px;
    font-weight: 500;
    transition: var(--transition-quick);
}

.package-wrapper:hover .drag-hint {
    color: var(--accent-blue);
}

/* Success status overlay */
.delivery-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    text-align: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition: var(--transition-smooth);
}

.delivery-status.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 25px;
}

.delivery-status h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.delivery-status p {
    color: var(--text-secondary);
    max-width: 440px;
    line-height: 1.6;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

/* --- Specs Section --- */
.specs-section {
    padding: 100px 8%;
    border-bottom: 1px solid var(--border-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.specs-column-info .specs-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 30px;
    max-width: 450px;
}

.specs-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-quick);
}

.accordion-header:hover {
    color: var(--accent-blue);
}

.accordion-header .icon {
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-bottom: 30px;
    font-size: 0.95rem;
}

/* Open states */
.accordion-item.open .accordion-content {
    max-height: 200px;
}

.accordion-item.open .accordion-header {
    color: var(--accent-blue);
}

.accordion-item.open .accordion-header .icon {
    transform: rotate(45deg);
}

/* --- Manifesto Quote Section --- */
.manifesto-section {
    padding: 120px 8%;
    border-bottom: 1px solid var(--border-color);
    background-color: #080808;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.quote-author {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    font-weight: 500;
    text-transform: uppercase;
}

/* --- Slide-in Cart Drawer --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    visibility: hidden;
    transition: visibility 0.4s;
}

.cart-drawer[aria-hidden="false"] {
    visibility: visible;
}

.cart-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cart-drawer[aria-hidden="false"] .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 460px;
    height: 100%;
    background-color: var(--bg-color);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
}

.cart-drawer[aria-hidden="false"] .cart-drawer-content {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

#close-cart-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 0.5;
    transition: var(--transition-quick);
}

#close-cart-btn:hover {
    color: var(--accent-blue);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-empty-message {
    color: var(--text-secondary);
    text-align: center;
    margin-top: 100px;
    font-size: 0.95rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Cart Item UI */
.cart-item {
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cart-item-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.cart-item-row-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-qty {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cart-item-price {
    font-weight: 700;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.shipping-status {
    color: var(--accent-blue);
    font-weight: 700;
}

.total-amount-row {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    border-top: 1px dashed var(--border-color);
    padding-top: 15px;
    margin-bottom: 25px;
}

/* --- Satirical Checkout Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 50px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay[aria-hidden="false"] .modal-content {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-quick);
}

.close-modal-btn:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.modal-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* Interactive Letterbox animation in checkout */
.delivery-visual-box {
    width: 100%;
    height: 80px;
    background-color: #111;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.slit-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background-color: #222;
    transform: translateY(-50%);
    z-index: 1;
}

.moving-box {
    position: absolute;
    width: 120px;
    height: 25px;
    background-color: #fff;
    color: #000;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    top: 50%;
    left: -130px;
    transform: translateY(-50%);
    z-index: 2;
    animation: slideThrough 3s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes slideThrough {
    0% {
        left: -130px;
        transform: translateY(-50%) rotate(0deg);
        opacity: 1;
    }
    40% {
        left: 50%;
        transform: translate(-50%, -50%) rotate(0deg) scaleY(1);
    }
    55% {
        left: 50%;
        transform: translate(-50%, -50%) rotate(0deg) scaleY(0.05); /* squeezes through slot */
        box-shadow: 0 0 10px var(--accent-blue-glow);
    }
    75% {
        left: 110%;
        transform: translateY(-50%) rotate(0deg) scaleY(1);
        opacity: 0;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

.modal-subtext {
    font-size: 0.8rem;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    font-weight: 500;
}

/* --- Footer --- */
.site-footer {
    padding: 80px 8%;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: var(--transition-quick);
}

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

.footer-copyright {
    color: #444;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* --- Collection Index Product Selector --- */
.collection-index {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.index-header {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.index-row {
    display: flex;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    padding: 6px 0;
    transition: var(--transition-quick);
}

.index-row:hover {
    color: var(--text-primary);
}

.index-row.active {
    color: var(--accent-blue);
    font-weight: 500;
}

.index-row .index-num {
    width: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.7;
}

.index-row .index-name {
    letter-spacing: 0.05em;
}

.index-row .index-leader {
    flex-grow: 1;
    border-bottom: 1px dotted var(--border-color);
    margin: 0 15px;
    height: 10px;
}

.index-row.active .index-leader {
    border-bottom-color: rgba(0, 136, 255, 0.3);
}

.index-row .index-price {
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .hero-content {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 60px 4%;
    }
    .hero-image-container {
        height: 500px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 3rem;
    }
    .index-row {
        font-size: 0.75rem;
    }
    .index-row .index-name {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .simulator-workspace {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    .site-header {
        padding: 15px 4%;
    }
    .main-nav {
        display: none; /* Hide middle nav links on mobile for simplicity */
    }
    .cart-drawer-content {
        max-width: 100%;
        padding: 20px;
    }
}

/* --- Subscription Section & Card --- */
.subscription-section {
    padding: 100px 8%;
    background-color: #0b0b0b;
}

.sub-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.subscription-info .section-desc {
    margin: 25px 0 40px 0;
    color: var(--text-secondary);
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
}

.subscription-actions {
    display: flex;
    gap: 20px;
}

.sub-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.sub-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.sub-card-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* --- Inline Tiara Blueprint --- */
.tiara-blueprint-view {
    background-color: #050505;
    border: 1px solid var(--border-color);
    padding: 35px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.tiara-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
}

/* --- Box Wireframe Blueprint --- */
.box-outline-container {
    width: 100%;
    text-align: center;
}

.box-wireframe {
    position: relative;
    width: 200px;
    height: 140px;
    border: 1.5px solid var(--text-secondary);
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.box-wireframe::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.wireframe-face {
    text-align: center;
}

.box-label {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-weight: 700;
    display: block;
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    background: var(--bg-primary);
}

.wireframe-dims {
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    font-weight: bold;
}

.blueprint-caption {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: #555;
    margin-top: 15px;
    text-transform: uppercase;
}

/* --- Subscription Responsive --- */
@media (max-width: 768px) {
    .subscription-actions {
        flex-direction: column;
    }
}

/* --- Legal & Depot Modals --- */
.legal-modal-content {
    max-width: 600px !important;
}

.legal-scroll-box {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    background: #000;
    padding: 15px;
    margin-top: 15px;
    font-size: 0.7rem;
    line-height: 1.6;
    text-align: left;
    color: var(--text-secondary);
    font-family: monospace;
}

.legal-scroll-box h3 {
    font-size: 0.75rem;
    color: var(--text-primary);
    margin-top: 15px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.depot-modal-content {
    max-width: 700px !important;
}

.depot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
    text-align: left;
}

.depot-card {
    border: 1px solid var(--border-color);
    background: #0a0a0a;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.depot-id {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    font-weight: 700;
    font-family: monospace;
}

.depot-card h3 {
    font-size: 0.8rem;
    margin: 8px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.depot-card p {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* --- Wear and Care Box --- */
.wear-care-box {
    margin-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 15px;
    text-align: left;
}

.wear-care-box h4 {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.wear-care-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wear-care-box li {
    font-size: 0.6rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
}

.wear-care-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* --- Dispatch Timeline Controller --- */
.dispatch-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-arrow-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    font-family: monospace;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.nav-arrow-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #000;
}
