/* ============================================================
   LEGO DISPLAY BOX — Landing Page Styles
   Dark premium theme · Bebas Neue + DM Sans
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --y: #FFD700;
    --y-hover: #FFE44D;
    --y-dark: #B8960A;
    --red: #E63329;
    --blk: #0A0A0A;
    --wh: #FAFAFA;
    --gray1: #141414;
    --gray2: #1E1E1E;
    --gray3: #2A2A2A;
    --gray4: #3D3D3D;
    --gray5: #6B6B6B;
    --gray6: #9A9A9A;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 6px;
    --radius-lg: 10px;
    --max-w: 1140px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--blk);
    color: var(--wh);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    line-height: 1;
}

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.top-bar {
    background: var(--red);
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--wh);
}

.top-bar-badge {
    background: var(--y);
    color: var(--blk);
    padding: 2px 10px;
    border-radius: 3px;
    margin: 0 8px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid var(--gray3);
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blk);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--y);
    letter-spacing: 3px;
}

.nav-logo span {
    color: var(--wh);
}

.nav-cta {
    background: var(--y);
    color: var(--blk);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-transform: uppercase;
}

.nav-cta:hover {
    background: var(--y-hover);
    transform: translateY(-1px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background: var(--y);
    color: var(--blk);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 16px 28px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--y-hover);
    transform: translateY(-1px);
}

.btn-primary.btn-large {
    padding: 20px 48px;
    font-size: 16px;
}

.btn-secondary {
    background: transparent;
    color: var(--wh);
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--gray4);
    padding: 15px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--gray5);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.hero-left {
    padding: 56px 40px 56px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--gray3);
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--y);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(56px, 7vw, 88px);
    line-height: 0.93;
    color: var(--wh);
}

.hero-accent {
    color: var(--y);
}

.hero-sub {
    font-size: 15px;
    color: var(--gray6);
    margin-top: 20px;
    line-height: 1.7;
    max-width: 340px;
}

.hero-price-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: 32px;
}

.hero-old-price {
    font-size: 16px;
    color: var(--gray5);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.hero-new-price {
    font-family: var(--font-display);
    font-size: 52px;
    color: var(--y);
    letter-spacing: 1px;
}

.hero-currency {
    font-size: 22px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-trust {
    font-size: 13px;
    color: var(--gray5);
    margin-top: 16px;
}

.hero-trust strong {
    color: var(--red);
}

/* Hero Right / Product Image */
.hero-right {
    position: relative;
    background: var(--gray1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 400px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero-img-placeholder {
    text-align: center;
    z-index: 1;
}

.placeholder-icon {
    font-size: 80px;
    line-height: 1;
}

.placeholder-label {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--gray5);
    margin-top: 14px;
    letter-spacing: 4px;
}

.placeholder-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.placeholder-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.placeholder-dots span:nth-child(1) { background: var(--y); }
.placeholder-dots span:nth-child(2) { background: var(--red); }
.placeholder-dots span:nth-child(3) { background: #4FC3F7; }

.hero-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--red);
    color: var(--wh);
    font-family: var(--font-display);
    font-size: 20px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    border: 2px solid rgba(255,255,255,0.15);
    z-index: 2;
}

/* ============================================================
   SHIPPING BAR
   ============================================================ */
.ship-bar {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    border-top: 1px solid var(--gray3);
    border-bottom: 1px solid var(--gray3);
}

.ship-item {
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ship-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.ship-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--wh);
}

.ship-desc {
    font-size: 12px;
    color: var(--gray5);
    margin-top: 2px;
}

.ship-divider {
    background: var(--gray3);
}

/* ============================================================
   COUNTDOWN TIMER
   ============================================================ */
.timer-section {
    background: var(--gray1);
    border-top: 1px solid var(--gray3);
    border-bottom: 1px solid var(--gray3);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.timer-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gray5);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.timer-digits {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-block {
    background: var(--blk);
    border: 1px solid var(--gray3);
    border-radius: var(--radius);
    padding: 10px 14px;
    min-width: 58px;
    text-align: center;
}

.timer-num {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--y);
    line-height: 1;
}

.timer-unit {
    font-size: 9px;
    color: var(--gray5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 3px;
}

.timer-colon {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--gray4);
}

.stock-pill {
    background: rgba(230, 51, 41, 0.12);
    border: 1px solid rgba(230, 51, 41, 0.25);
    color: #FF7070;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-header {
    margin-bottom: 36px;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--y);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(38px, 5vw, 56px);
    color: var(--wh);
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
    padding: 64px 32px;
    border-bottom: 1px solid var(--gray3);
}

.video-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray3);
    max-width: 800px;
}

.product-video {
    width: 100%;
    display: block;
    background: var(--gray1);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
    padding: 64px 32px;
    border-bottom: 1px solid var(--gray3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray3);
    background: var(--gray1);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
    padding: 64px 32px;
    border-bottom: 1px solid var(--gray3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feat-card {
    background: var(--gray1);
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: border-color 0.25s;
}

.feat-card:hover {
    border-color: var(--gray4);
}

.feat-num {
    font-family: var(--font-display);
    font-size: 44px;
    color: var(--gray3);
    margin-bottom: 14px;
    line-height: 1;
}

.feat-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--wh);
    margin-bottom: 8px;
}

.feat-desc {
    font-size: 13px;
    color: var(--gray5);
    line-height: 1.7;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.compare-section {
    padding: 64px 32px;
    background: var(--gray1);
    border-top: 1px solid var(--gray3);
    border-bottom: 1px solid var(--gray3);
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 36px;
}

.compare-col {
    position: relative;
}

.compare-img-wrap {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gray2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-display);
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 3px;
    letter-spacing: 2px;
}

.tag-before {
    background: var(--gray4);
    color: var(--gray6);
}

.tag-after {
    background: var(--y);
    color: var(--blk);
}

.compare-caption {
    padding: 14px 18px;
    font-size: 13px;
    color: var(--gray5);
    background: var(--gray2);
    border-top: 1px solid var(--gray3);
}

.compare-cta {
    text-align: center;
    margin-top: 36px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
    padding: 64px 32px;
    border-bottom: 1px solid var(--gray3);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.review-card {
    background: var(--gray1);
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: var(--y);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-text {
    font-size: 14px;
    color: var(--gray6);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray3);
}

.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--y);
    flex-shrink: 0;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wh);
}

.reviewer-loc {
    font-size: 11px;
    color: var(--gray5);
    margin-top: 2px;
}

/* ============================================================
   ORDER FORM
   ============================================================ */
.order-section {
    padding: 72px 32px;
    background: var(--gray1);
    border-top: 1px solid var(--gray3);
}

.order-inner {
    max-width: 560px;
    margin: 0 auto;
}

.order-title {
    text-align: center;
    font-size: clamp(40px, 6vw, 64px);
    margin-top: 8px;
}

.order-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gray5);
    margin-top: 14px;
    line-height: 1.6;
}

.order-form {
    margin-top: 36px;
    display: grid;
    gap: 14px;
}

.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gray5);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--blk);
    border: 1px solid var(--gray3);
    color: var(--wh);
    padding: 14px 16px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--y);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray4);
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-field select option {
    background: var(--gray2);
    color: var(--wh);
}

.form-field textarea {
    resize: vertical;
    min-height: 90px;
}

.field-error {
    font-size: 12px;
    color: #FF6B6B;
    margin-top: 4px;
    min-height: 16px;
}

.submit-btn {
    width: 100%;
    background: var(--y);
    color: var(--blk);
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 3px;
    padding: 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s, transform 0.15s;
}

.submit-btn:hover {
    background: var(--y-hover);
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray5);
    margin-top: 10px;
}

.submit-message {
    text-align: center;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 15px;
    margin-top: 16px;
    display: none;
}

.submit-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    display: block;
}

.submit-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 36px 32px;
    border-top: 1px solid var(--gray3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--y);
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--wh);
}

.footer-note {
    font-size: 13px;
    color: var(--gray5);
}

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-icon {
    font-size: 48px;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 16px;
    font-size: 16px;
    color: var(--gray6);
    letter-spacing: 0.06em;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: clamp(44px, 8vw, 72px);
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
    /* Nav */
    .nav {
        padding: 14px 20px;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 40px 20px;
        border-right: none;
        border-bottom: 1px solid var(--gray3);
    }

    .hero-right {
        height: 280px;
    }

    .hero-title {
        font-size: clamp(52px, 14vw, 80px);
    }

    /* Ship bar */
    .ship-bar {
        grid-template-columns: 1fr;
    }

    .ship-divider {
        display: none;
    }

    .ship-item {
        border-bottom: 1px solid var(--gray3);
        padding: 18px 20px;
    }

    /* Timer */
    .timer-section {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    /* Sections */
    .video-section,
    .gallery-section,
    .features-section,
    .compare-section,
    .reviews-section,
    .order-section {
        padding: 48px 20px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* Before/After */
    .compare-grid {
        grid-template-columns: 1fr;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
}
