/* ===== Design tokens ===== */
:root {
    /* Light surfaces */
    --bg: #e6e7e7;
    --hero-1: #f3f5f7;
    --hero-2: #e2e5e9;
    --card: #ffffff;
    --card-soft: #f4f5f7;
    --border: rgba(20, 36, 54, 0.09);

    /* Dark accent sections (sell box + footer) */
    --navy-900: #0f1d30;
    --navy-800: #16283d;
    --navy-700: #1b3047;

    /* Brand gold */
    --gold: #EA9C16;
    --gold-bright: #ffb02e;
    --gold-soft: #d98e15;

    /* Text on light */
    --text: #16263d;
    --text-muted: #475563;
    --text-dim: #7d8da0;

    /* Text on dark */
    --text-light: #f4f6f9;
    --text-light-muted: #cbd5e1;

    --radius: 16px;
    --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.page {
    max-width: var(--maxw);
    margin: 0 auto;
    background: transparent;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 25px max(48px, calc((100vw - var(--maxw)) / 2 + 48px)) 10px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 60% 25%, rgba(242, 160, 29, 0.10), transparent 55%),
        linear-gradient(180deg, #eef0f2 0%, #e6e7e7 100%);
}

.hero-models {
    position: absolute;
    right: max(0px, calc((100vw - var(--maxw)) / 1.8));
    top: 30px;
    width: 100%;
    max-width: 600px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 18px 28px rgba(20, 36, 54, 0.28));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Reserve room so headline text never runs under the models */
    max-width: 60%;
}

.hero-logo {
    width: 130px;
    height: auto;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Oswald', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 5.4vw, 58px);
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-transform: none;
    color: var(--text);
    text-shadow: 0 1px 1px rgba(20, 36, 54, 0.35);
}

.hero-title-line { display: block; position: relative; z-index: 2; }
.hero-title-line--accent {
    color: var(--gold);
    white-space: nowrap;
    z-index: 1;
}

.hero-divider {
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: var(--gold);
    margin: 22px 0 18px;
}

.hero-subtitle {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    padding-top: 15px;
}

/* ===== Category cards ===== */
.categories-section {
    padding: 20px 48px 40px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(20, 36, 54, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 160, 29, 0.55);
    box-shadow: 0 14px 28px rgba(20, 36, 54, 0.13);
}

.category-card-icon,
.feature-icon,
.btn-quote svg {
    width: auto;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

.category-card-icon {
    font-size: 38px;
    color: var(--navy-800);
}

.category-card-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* ===== Sell CTA (dark accent block) ===== */
.sell {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: center;
    margin: 8px 48px 44px;
    padding: 40px;
    background: linear-gradient(160deg, #2a3a4d 0%, #222f3e 100%);
    border: 1px solid rgba(20, 36, 54, 0.4);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(20, 36, 54, 0.18);
}

.sell-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.sell-title {
    font-family: 'Oswald', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 25ch;
    color: var(--text-light);
}

.sell-divider {
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
    margin: 22px 0 18px;
}

.sell-body {
    color: var(--text-light-muted);
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 30px;
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--gold);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(242, 160, 29, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-quote svg {
    font-size: 1.5em;
}

.btn-quote:hover {
    transform: translateY(-2px);
    background: var(--gold-bright);
    box-shadow: 0 14px 38px rgba(242, 160, 29, 0.4);
}

.sell-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

/* Soft warm glow behind the box */
.sell-visual::before {
    content: "";
    position: absolute;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 175, 255, 0.20) 0%, rgba(96, 175, 255, 0.06) 40%, transparent 70%);
    filter: blur(26px);
    z-index: 0;
    pointer-events: none;
}

.sell-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: auto;
    filter:
        drop-shadow(0 0 22px rgba(96, 175, 255, 0.18))
        drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

/* Shop die-cast callout under the box */
.shop-callout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.shop-callout-text {
    color: var(--text-light-muted);
    font-size: 16px;
    line-height: 1.4;
}

.shop-callout-text strong {
    color: var(--text-light);
    font-weight: 700;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: transparent;
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-decoration: none;
    border: 2px solid var(--gold);
    border-radius: 12px;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-shop svg {
    width: auto;
    height: 1.15em;
    fill: currentColor;
}

.btn-shop:hover {
    transform: translateY(-2px);
    background: var(--gold);
    color: var(--navy-900);
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 18px;
    margin: 0 48px 48px;
    padding: 8px 0 0;
    background: transparent;
    border: none;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(20, 36, 54, 0.05);
}

.feature-icon {
    display: block;
    font-size: 32px;
    color: var(--navy-800);
    margin: 0 auto 16px;
}

.feature-title {
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text);
    margin-bottom: 18px;
    padding-bottom: 12px;
}

.feature-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
}

.feature-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* Vertical separators retired in favour of card layout */
.feature-sep { display: none; }

/* ===== Footer (dark accent block) ===== */
.footer {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 32px 48px;
    background:
        radial-gradient(circle at 8% 90%, rgba(242, 160, 29, 0.05), transparent 40%),
        var(--navy-800);
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: var(--text-light-muted);
    letter-spacing: 0.3px;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .hero, .categories-section, .sell, .features, .footer { padding-left: 28px; padding-right: 28px; }
    /* Keep the models image visible alongside the text, just smaller */
    .hero-models { width: 50%; max-width: 400px; top: 80px; bottom: auto; }
    .hero-content { max-width: 60%; }
    .hero-title-line--accent { white-space: normal; }
    .categories { grid-template-columns: repeat(3, 1fr); }
    .sell { grid-template-columns: 1fr; margin: 8px 30px 44px; }
    .sell-visual {
        order: -1;
        padding-left: 0;
        padding-bottom: 26px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .btn-quote {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 16px 22px;
        font-size: 16px;
    }
    .features {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin: 0 0px 30px;
    }
}

@media (max-width: 520px) {
    /* Mobile: stack the hero and hide the models image */
    .hero { display: flex; flex-direction: column; }
    .hero-models { display: none; }
    .hero-content { max-width: 100%; }
    .hero-logo { display: block; width: 120px; margin-left: auto; margin-right: auto; }
    .categories { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: 1fr; }
}
