/* ==========================================================================
   KRONOS ATELIER GENÈVE - HAUTE HORLOGERIE DESIGN SYSTEM
   Midnight Sapphire, 18K Rose Gold & Grand Feu Enamel Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
    --bg-primary: #040711;
    --bg-surface: #0a0f1d;
    --bg-card: #0e1526;
    --bg-card-hover: #131c33;
    --bg-glass: rgba(14, 21, 38, 0.75);
    
    --gold-primary: #E6BE8A;
    --gold-light: #F7E3C8;
    --gold-dark: #A67C48;
    --gold-gradient: linear-gradient(135deg, #FDF0DE 0%, #E6BE8A 50%, #B88E52 100%);
    --gold-border: rgba(230, 190, 138, 0.25);
    --gold-glow: rgba(230, 190, 138, 0.15);

    --platinum: #E2E8F0;
    --platinum-dark: #94A3B8;
    --swiss-red: #C5222E;
    
    --text-primary: #F8FAFC;
    --text-muted: #94A3B8;
    --text-gold: #E6BE8A;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-mono: 'JetBrains Mono', monospace;

    --border-subtle: 1px solid rgba(230, 190, 138, 0.15);
    --border-gold: 1px solid rgba(230, 190, 138, 0.4);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-luxury: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(230, 190, 138, 0.05);
    --shadow-glow: 0 0 25px rgba(230, 190, 138, 0.25);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(20, 30, 60, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 100% 50%, rgba(230, 190, 138, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-primary);
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.kronos-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(4, 7, 17, 0.65);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(230, 190, 138, 0.1);
    transition: var(--transition);
    padding: 1.25rem 0;
}

.kronos-navbar.scrolled {
    background: rgba(4, 7, 17, 0.95);
    padding: 0.85rem 0;
    border-bottom-color: rgba(230, 190, 138, 0.25);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--gold-primary);
    text-transform: uppercase;
}

.kronos-nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.kronos-nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.kronos-nav-links a:hover,
.kronos-nav-links a.active {
    color: var(--gold-light);
}

.kronos-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.kronos-nav-links a:hover::after,
.kronos-nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.btn-nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: var(--border-subtle);
    color: var(--gold-primary);
    background: rgba(230, 190, 138, 0.05);
}

.btn-nav-cart:hover {
    border-color: var(--gold-primary);
    background: rgba(230, 190, 138, 0.15);
    box-shadow: 0 0 15px var(--gold-glow);
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--swiss-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    background: rgba(230, 190, 138, 0.05);
    position: relative;
    overflow: hidden;
}

.btn-gold-outline:hover {
    background: var(--gold-primary);
    color: #040711;
    box-shadow: 0 0 25px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-gold-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    background: var(--gold-gradient);
    color: #040711;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(230, 190, 138, 0.2);
}

.btn-gold-solid:hover {
    box-shadow: 0 12px 35px rgba(230, 190, 138, 0.4);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    color: var(--gold-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

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

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-family: var(--font-serif);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: var(--border-subtle);
}

.hero-stat-item h4 {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.hero-stat-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px -10px rgba(0,0,0,0.8), 0 0 40px rgba(230, 190, 138, 0.1);
    border: var(--border-gold);
}

.hero-image-wrap img {
    width: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrap:hover img {
    transform: scale(1.06);
}

.hero-badge-floating {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: var(--border-gold);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-luxury);
    text-align: center;
}

.hero-badge-floating span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
}

.hero-badge-floating strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* ==========================================================================
   FRAME-BY-FRAME 360° MOVEMENT TURNTABLE INSPECTOR
   ========================================================================== */
.turntable-section {
    padding: 7rem 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(14, 25, 50, 0.5) 0%, rgba(4, 7, 17, 0.95) 75%);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.movement-inspector-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.movement-viewer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-surface);
    border: var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-luxury);
    overflow: hidden;
}

/* Loading overlay */
.frame-loader-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 17, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 20;
    transition: opacity 0.5s ease;
}

.frame-loader-overlay.loaded {
    opacity: 0;
    pointer-events: none;
}

.frame-loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(230, 190, 138, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.frame-loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gold-gradient);
    transition: width 0.15s ease;
}

.movement-canvas-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#movement-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7));
}

#movement-canvas:active {
    cursor: grabbing;
}

/* Scrubbing & Controls Bar */
.movement-controls-bar {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.scrubber-track-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.frame-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(230, 190, 138, 0.2);
    border-radius: 2px;
    outline: none;
}

.frame-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--gold-primary);
    border: 2px solid #040711;
    transition: transform 0.1s ease;
}

.frame-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.controls-button-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.turntable-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    background: rgba(230, 190, 138, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.turntable-play-btn:hover,
.turntable-play-btn.active {
    background: var(--gold-primary);
    color: #040711;
}

.angle-badge {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    border: var(--border-subtle);
}

.preset-angle-buttons {
    display: flex;
    gap: 0.5rem;
}

.preset-btn {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
}

.preset-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

/* Movement Detail Sidebar */
.movement-details-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calibre-header {
    border-bottom: var(--border-subtle);
    padding-bottom: 1.5rem;
}

.calibre-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hotspot-live-box {
    background: var(--bg-surface);
    border: var(--border-gold);
    border-left: 3px solid var(--gold-primary);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-luxury);
    transition: var(--transition);
}

.hotspot-live-box h4 {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hotspot-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-primary);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.calibre-specs-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.spec-cell label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.spec-cell span {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   MINUTE REPEATER & CELESTIAL MOONPHASE DUAL SECTION
   ========================================================================== */
.complications-dual-section {
    padding: 7rem 0;
    background: var(--bg-primary);
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.complication-card {
    background: var(--bg-surface);
    border: var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-luxury);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.complication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
}

.complication-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.complication-card p {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Minute Repeater Visualizer */
.repeater-box {
    background: rgba(0, 0, 0, 0.5);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.repeater-clock {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    color: var(--gold-light);
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.repeater-hammers-visual {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.gong-hammer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hammer-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.gong-hammer.active .hammer-icon {
    transform: scale(1.3) translateY(-4px);
    background: var(--gold-primary);
    color: #040711;
    box-shadow: 0 0 20px var(--gold-primary);
}

.gong-hammer span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.repeater-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gold-primary);
    min-height: 1.2rem;
}

.btn-strike-gong {
    width: 100%;
    padding: 1rem;
    background: var(--gold-gradient);
    color: #040711;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-strike-gong:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Moonphase Visualizer */
.moonphase-visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

#moonphase-canvas {
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(230, 190, 138, 0.2);
}

.lunar-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.lunar-metric-cell {
    background: rgba(0,0,0,0.4);
    border: var(--border-subtle);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.lunar-metric-cell span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.25rem;
}

.lunar-metric-cell strong {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--gold-light);
}

/* ==========================================================================
   FLAGSHIP TIMEPIECE GALLERY
   ========================================================================== */
.gallery-section {
    padding: 7rem 0;
    background: var(--bg-surface);
}

.timepiece-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.timepiece-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.timepiece-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
}

.timepiece-img-box {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #02040a;
}

.timepiece-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.timepiece-card:hover .timepiece-img-box img {
    transform: scale(1.08);
}

.timepiece-badge-lim {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(4, 7, 17, 0.85);
    backdrop-filter: blur(8px);
    border: var(--border-gold);
    color: var(--gold-primary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.timepiece-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timepiece-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timepiece-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timepiece-specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: var(--border-subtle);
}

.timepiece-specs-list li {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.timepiece-specs-list li span:last-child {
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.timepiece-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timepiece-price-box span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
}

.timepiece-price-box strong {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--gold-light);
}

/* ==========================================================================
   BESPOKE CONFIGURATOR STUDIO
   ========================================================================== */
.configurator-section {
    padding: 7rem 0;
    background: radial-gradient(circle at 50% 100%, rgba(20, 32, 60, 0.4) 0%, rgba(4, 7, 17, 1) 70%);
    border-top: var(--border-subtle);
}

.config-studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.config-preview-panel {
    background: var(--bg-surface);
    border: var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-luxury);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.watch-preview-stage {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.watch-case-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 14px solid #D4AF37;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.dial-preview-surface {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #020409;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.dial-preview-surface.dial-skeleton {
    background: radial-gradient(circle, #1a2238 20%, #080c18 80%);
    border: 1px dashed rgba(230, 190, 138, 0.3);
}

.dial-preview-surface.dial-aventurine {
    background: radial-gradient(circle at 40% 40%, #15274d 0%, #050b18 90%);
}

.dial-preview-surface.dial-meteorite {
    background: repeating-linear-gradient(45deg, #2b313a, #2b313a 4px, #1a1e24 4px, #1a1e24 8px);
}

.dial-preview-surface.dial-enamel {
    background: radial-gradient(circle, #0e1728 0%, #02050b 100%);
}

.engraving-brand-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}

.engraving-client-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: rgba(230, 190, 138, 0.7);
}

.config-options-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.config-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.options-pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.config-pill-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.4;
}

.config-pill-btn:hover {
    border-color: rgba(230, 190, 138, 0.5);
    color: var(--text-primary);
}

.config-pill-btn.active {
    background: rgba(230, 190, 138, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(230, 190, 138, 0.15);
}

.engraving-input-wrap input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: var(--border-subtle);
    padding: 0.85rem 1rem;
    color: var(--gold-light);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    outline: none;
}

.engraving-input-wrap input:focus {
    border-color: var(--gold-primary);
}

.config-total-card {
    background: var(--bg-card);
    border: var(--border-gold);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.config-total-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    border-bottom: var(--border-subtle);
    padding-bottom: 1rem;
}

.config-total-price {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--gold-light);
    font-weight: 700;
}

/* ==========================================================================
   ATELIER HERITAGE & CRAFTSMANSHIP
   ========================================================================== */
.craftsmanship-section {
    padding: 7rem 0;
    background: var(--bg-primary);
}

.craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.craft-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-gold);
    box-shadow: var(--shadow-luxury);
}

.craft-content h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
}

.craft-content p {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.craft-pillars-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.craft-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-primary);
    font-weight: 700;
}

.pillar-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.pillar-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==========================================================================
   PERSISTENT CART DRAWER & ALLOCATION MODAL
   ========================================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-surface);
    border-left: var(--border-gold);
    z-index: 200;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0,0,0,0.8);
}

.cart-drawer.open {
    transform: translateX(-480px);
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 17, 0.7);
    backdrop-filter: blur(6px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer-header {
    padding: 2rem;
    border-bottom: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
}

.btn-close-drawer {
    color: var(--text-muted);
    font-size: 1.5rem;
}

.btn-close-drawer:hover {
    color: var(--gold-primary);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.cart-item-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
}

.cart-item-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #02040a;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-header h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.5rem;
}

.cart-qty-ctrl button {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 0.3rem;
}

.cart-qty-ctrl span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.cart-item-price {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--gold-light);
    font-weight: 600;
}

.cart-drawer-footer {
    padding: 2rem;
    border-top: var(--border-subtle);
    background: var(--bg-card);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.cart-subtotal-row strong {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--gold-light);
}

/* Outnumbered / Allocation Modal */
.allocation-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(4, 7, 17, 0.85);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.allocation-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.allocation-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 100%;
    padding: 3rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--gold-glow);
    text-align: center;
    position: relative;
}

.modal-close-x {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.modal-seal-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--gold-primary);
    background: rgba(230, 190, 138, 0.08);
}

.allocation-modal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.allocation-modal-card p {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.allocation-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.kronos-footer {
    background: #020408;
    border-top: var(--border-subtle);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 340px;
}

.footer-col h4 {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid,
    .movement-inspector-grid,
    .dual-grid,
    .config-studio-grid,
    .craft-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .kronos-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 2rem;
        border-bottom: var(--border-gold);
    }

    .kronos-nav-links.mobile-open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .options-pill-grid {
        grid-template-columns: 1fr;
    }

    .cart-drawer {
        width: 100vw;
    }

    .cart-drawer.open {
        transform: translateX(-100vw);
    }
}
