/* ===== MechBox Design System ===== */

:root {
    --bg: #0E0E11;
    --bg-secondary: #16161B;
    --bg-card: #1E1E24;
    --bg-card-hover: #26262E;
    --bg-accent-subtle: rgba(212, 145, 92, 0.08);
    --text: #EAEAEF;
    --text-secondary: #8E8E9E;
    --text-muted: #5E5E6E;
    --accent: #D4915C;
    --accent-hover: #C07F4A;
    --accent-glow: rgba(212, 145, 92, 0.15);
    --accent-strong-glow: rgba(212, 145, 92, 0.25);
    --success: #B89AC9;
    --success-subtle: rgba(184, 154, 201, 0.12);
    --price: #EAEAEF;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(212, 145, 92, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --max-width: 1200px;
    --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--accent-hover);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    color: var(--text);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.5rem; letter-spacing: -0.03em; }
h2 { font-size: 1.75rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

/* ===== Layout ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-warm {
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Grid ===== */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 3rem 0; }
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.header-logo img {
    width: 32px;
    height: 32px;
}

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

.header-nav a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--accent);
}

.header-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    padding: 2rem 1.5rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--accent);
}

@media (max-width: 768px) {
    .header-nav, .header-cta {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--accent);
    color: #0E0E11;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 207, 253, 0.3);
    color: #0E0E11;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-hover);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== Product Cards ===== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.product-card-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 1.5rem;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-card-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
}

.product-card-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== Doc Cards ===== */
.doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition);
    text-decoration: none;
    display: block;
    color: var(--text);
}

.doc-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text);
}

.doc-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.doc-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.doc-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-glow) 0%, transparent 60%), var(--bg);
    z-index: 0;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-text { max-width: 540px; }
.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--bg-accent-subtle);
    border: 1px solid rgba(0, 207, 253, 0.15);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: none;
    text-align: left;
}
.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 2.5rem;
    text-align: left;
    margin-left: 0;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image img {
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 207, 253, 0.15));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@media (max-width: 768px) {
    .hero { padding: 7rem 0 3rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-text { max-width: none; }
    .hero h1 { font-size: 2.25rem; text-align: center; }
    .hero p { text-align: center; margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-image img { max-height: 280px; }
}

/* ===== Features Strip ===== */
.features-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 768px) {
    .features-strip { grid-template-columns: 1fr; }
}

/* ===== Social Proof ===== */
.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.proof-stat { text-align: center; }
.proof-number { display: block; font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1.2; }
.proof-label { font-size: 0.875rem; color: var(--text-secondary); }
.proof-divider { width: 1px; height: 3rem; background: var(--border); }
@media (max-width: 768px) {
    .social-proof { flex-direction: column; gap: 1.5rem; }
    .proof-divider { width: 3rem; height: 1px; }
}

/* ===== CTA Block ===== */
.cta-block {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%), var(--bg-secondary);
    border: 1px solid var(--border);
}
.cta-block h2 { margin-bottom: 0.75rem; }
.cta-block p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 0; }

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
}
.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.footer-links-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-store-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-accent-subtle);
    border: 1px solid rgba(212, 145, 92, 0.2);
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--transition);
}
.footer-store-link:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.footer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition);
}
.footer-icon-link:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-simple {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: color var(--transition);
}

.close-button:hover {
    color: var(--text);
}

/* ===== Forms ===== */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.form-input {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--bg-accent-subtle);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2388889a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

select.form-input option {
    background: var(--bg-secondary);
    color: var(--text);
    padding: 0.5rem;
}

/* ===== Step Indicator ===== */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.step.active {
    color: var(--accent);
    font-weight: 600;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.step.active .step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-content { display: none; }
.step-content.active { display: block; }

.step-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-button { flex: 1; }

.step-button.secondary {
    background: var(--bg);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.step-button.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== Product Order Info ===== */
.product-order-info {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.product-order-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.quantity-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.quantity-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-button {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.quantity-button:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
}

/* ===== Delivery Info ===== */
.delivery-info-block {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    margin-bottom: 1.5rem;
}

.delivery-info-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 0.125rem;
}

.delivery-info-text strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.delivery-info-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.tariff-period {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.loading-delivery {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* ===== Order Summary ===== */
.order-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-weight: 700;
    font-size: 1.0625rem;
}

.summary-total {
    color: var(--accent);
}

/* ===== Submit Button (in modals) ===== */
.submit-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--accent);
    color: #0E0E11;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.submit-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 207, 253, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

/* ===== Doc Page ===== */
.doc-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.doc-content h1 {
    margin-bottom: 1.5rem;
}

.doc-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.doc-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.doc-content ul, .doc-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.doc-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.doc-content th,
.doc-content td {
    border: 1px solid var(--border);
    padding: 0.625rem 0.875rem;
    text-align: left;
}

.doc-content th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.doc-content tr:nth-child(even) {
    background: var(--bg-secondary);
}

.doc-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.doc-content pre {
    background: #0D0D14;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
}

.doc-content code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.875em;
}

.doc-content p > code {
    background: var(--bg-secondary);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.875em;
}

.doc-content .warning {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #FF9800;
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* ===== Product Detail ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.product-detail-image {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    aspect-ratio: 1;
}

.product-detail-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-detail-category {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--success);
    margin-bottom: 1rem;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-detail-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--success);
    background: var(--success-subtle);
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.stock-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-detail-image {
        aspect-ratio: 4/3;
    }
}

/* ===== Tabs ===== */
.tabs {
    margin-top: 3rem;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border);
    gap: 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.tab-panel {
    display: none;
    padding: 2rem 0;
}

.tab-panel.active {
    display: block;
}

/* ===== Catalog Filter ===== */
.catalog-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

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

.filter-btn.active {
    background: var(--accent);
    color: #0E0E11;
    border-color: var(--accent);
}

/* ===== About Page ===== */
.about-hero {
    text-align: center;
    padding: 8rem 0 3rem;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 3rem;
    align-items: start;
}

.about-qr {
    text-align: center;
}

.about-qr img {
    width: 180px;
    border-radius: var(--radius-md);
    margin: 0 auto 0.75rem;
}

.about-qr p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-qr {
        order: -1;
    }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== Page padding for fixed header ===== */
.page-content {
    padding-top: 64px;
}

/* ===== Loading ===== */
.loading {
    text-align: center;
    font-size: 1rem;
    padding: 3rem;
    color: var(--text-muted);
}

/* ===== Badge ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-success {
    background: var(--success-subtle);
    color: var(--success);
}

/* ===== Two-col form grid ===== */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.25rem;
        border-radius: 16px;
    }
}

/* ===== Selection ===== */
::selection { background: var(--accent); color: var(--bg); }

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
