/* === BuckGear Design System === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --dust: #C4A86B;
    --leather: #5C3D2E;
    --arena: #1A1410;
    --bone: #F5F0E8;
    --iron: #2A2A2A;
    --rust: #A0522D;
    --sand: #E8DCC8;
    --arena-light: #231C15;
    --dust-dim: rgba(196, 168, 107, 0.15);
    --dust-glow: rgba(196, 168, 107, 0.3);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--arena);
    color: var(--bone);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--arena); }
::-webkit-scrollbar-thumb { background: var(--leather); border-radius: 4px; }

/* === NAV === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 20, 16, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 168, 107, 0.08);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--dust);
}
.logo span { color: var(--bone); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--bone);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dust);
    transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--dust); }

.nav-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dust);
    opacity: 0.5;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(196, 168, 107, 0.15);
    border-radius: 2px;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 3rem 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(160, 82, 45, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 168, 107, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-dust {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--arena) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dust);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--bone);
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--dust);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--sand);
    opacity: 0.75;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--dust);
    color: var(--arena);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.hero-cta:hover {
    background: var(--bone);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 168, 107, 0.2);
}

/* === SECTIONS === */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dust);
    opacity: 0.7;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2,
.catalog-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* === DISCIPLINE CARDS === */
.disciplines {
    padding: 6rem 3rem 4rem;
    position: relative;
}
.disciplines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--dust);
    opacity: 0.3;
}

.discipline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.discipline-card {
    background: var(--arena-light);
    border: 1px solid rgba(196, 168, 107, 0.08);
    padding: 2.5rem 2rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    color: inherit;
    width: 100%;
}
.discipline-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--dust);
    transition: width 0.4s ease;
}
.discipline-card:hover {
    border-color: rgba(196, 168, 107, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.discipline-card:hover::after { width: 100%; }

.discipline-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    filter: grayscale(20%);
}

.discipline-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.discipline-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--sand);
    opacity: 0.65;
    margin-bottom: 1.25rem;
}

.discipline-count {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dust);
    opacity: 0.6;
}

/* === CATALOG === */
.catalog {
    padding: 4rem 3rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* === FILTER BAR === */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(196, 168, 107, 0.12);
    color: var(--sand);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}
.filter-btn:hover {
    border-color: rgba(196, 168, 107, 0.3);
    color: var(--bone);
}
.filter-btn.active {
    background: var(--dust);
    color: var(--arena);
    border-color: var(--dust);
    font-weight: 600;
}

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--arena-light);
    border: 1px solid rgba(196, 168, 107, 0.06);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: rgba(196, 168, 107, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.product-discipline-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dust);
    opacity: 0.7;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-featured-badge {
    background: var(--rust);
    color: var(--bone);
    font-size: 0.6rem;
    padding: 0.15rem 0.5rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.product-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-category {
    font-size: 0.8rem;
    color: var(--sand);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--sand);
    opacity: 0.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(196, 168, 107, 0.06);
}

.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dust);
}

.product-action {
    padding: 0.55rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(196, 168, 107, 0.2);
    color: var(--dust);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}
.product-action:hover {
    background: var(--dust);
    color: var(--arena);
    border-color: var(--dust);
}

/* === STATES === */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 4rem;
    color: var(--sand);
    opacity: 0.5;
}

.loader {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(196, 168, 107, 0.15);
    border-top-color: var(--dust);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    text-align: center;
    padding: 4rem;
    color: var(--sand);
    opacity: 0.5;
    font-size: 1rem;
}

/* === FOOTER === */
footer {
    border-top: 1px solid rgba(196, 168, 107, 0.06);
    padding: 4rem 3rem 2rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--sand);
    opacity: 0.5;
}

.footer-links h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--dust);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.footer-links a {
    display: block;
    color: var(--sand);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
    transition: all 0.2s;
}
.footer-links a:hover { opacity: 1; color: var(--bone); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(196, 168, 107, 0.04);
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--sand);
    opacity: 0.3;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    animation: fadeUp 0.4s ease forwards;
    opacity: 0;
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
.product-card:nth-child(9) { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }
.product-card:nth-child(11) { animation-delay: 0.55s; }
.product-card:nth-child(12) { animation-delay: 0.6s; }
.product-card:nth-child(n+13) { animation-delay: 0.65s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .discipline-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .discipline-card { padding: 2rem 1.5rem; }
}

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-tag { display: none; }

    .hero {
        padding: 0 1.5rem 5rem;
        min-height: 90vh;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-sub { font-size: 1rem; }

    .disciplines { padding: 4rem 1.5rem 3rem; }
    .discipline-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .discipline-card {
        padding: 1.75rem 1.5rem;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        row-gap: 0.25rem;
    }
    .discipline-icon {
        grid-row: 1 / 3;
        font-size: 2rem;
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }
    .discipline-card h3 { margin-bottom: 0; }
    .discipline-card p { display: none; }
    .discipline-count { display: none; }

    .catalog { padding: 3rem 1.5rem 4rem; }
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .filter-bar { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    footer { padding: 3rem 1.5rem 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-cta { width: 100%; text-align: center; }
    .product-card { padding: 1.5rem; }
    .product-card h3 { font-size: 1.05rem; }
    .product-price { font-size: 1.15rem; }
}
