:root {
    --bg: #0f1722;
    --panel: #182433;
    --panel-2: #213246;
    --text: #e8f0f8;
    --muted: #9fb3c8;
    --accent: #2b78d6;
    --accent-2: #5ca4ff;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #0c131d 0%, #121b28 100%);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 56px 0; }
.alt { background: rgba(255, 255, 255, 0.02); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 34, 0.9);
    border-bottom: 1px solid var(--border);
}
.site-header.compact { position: relative; }
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}
.brand { font-size: 28px; font-weight: 800; letter-spacing: 0.04em; }
.tagline { color: var(--muted); font-size: 14px; margin-top: 6px; }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.hero { padding: 72px 0 48px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
    align-items: center;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 12px 0 18px; }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 780px; }
.badge {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(92, 164, 255, 0.35);
    background: rgba(43, 120, 214, 0.1);
    border-radius: 999px;
    color: #cfe4ff;
}
.hero-card, .info-box, .success-box {
    background: linear-gradient(180deg, rgba(24, 36, 51, 0.95) 0%, rgba(33, 50, 70, 0.95) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.hero-list { padding-left: 18px; margin: 16px 0 0; color: var(--muted); line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 13px 20px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
}
.btn.small { padding: 10px 14px; font-size: 14px; }
.btn-primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: white; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text); }

.section-head { margin-bottom: 26px; }
.section-head h1, .section-head h2 { margin: 0 0 10px; font-size: 32px; }
.section-head p { color: var(--muted); margin: 0; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-pill {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: var(--muted);
}
.filter-pill.active {
    background: rgba(43, 120, 214, 0.2);
    color: #d8eaff;
    border-color: rgba(92, 164, 255, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.product-card, .product-visual, .product-content, .table-wrap {
    background: linear-gradient(180deg, rgba(24, 36, 51, 0.92) 0%, rgba(18, 27, 40, 0.96) 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.product-card img { height: 280px; object-fit: cover; }
.product-body { padding: 20px; }
.category-label {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(92, 164, 255, 0.14);
    color: #d1e5ff;
    margin-bottom: 10px;
}
.product-card h3 { margin: 0 0 12px; font-size: 22px; }
.product-card p { color: var(--muted); min-height: 72px; }
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.two-col, .product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.product-visual img { height: 100%; min-height: 520px; object-fit: cover; }
.product-content { padding: 28px; }
.product-content h1 { margin: 10px 0; font-size: 40px; }
.product-price { font-size: 28px; font-weight: 800; color: #d5e8ff; margin-bottom: 12px; }
.product-content p { color: var(--muted); line-height: 1.7; }
.detail-table {
    display: grid;
    gap: 10px;
    padding: 18px;
    margin: 18px 0 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.order-form { display: grid; gap: 16px; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
}
input, select, textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 14, 20, 0.75);
    color: var(--text);
    padding: 13px 14px;
    border-radius: 14px;
    outline: none;
}
textarea { resize: vertical; }

.table-wrap { padding: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 1100px; }
th, td {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    padding: 14px;
    vertical-align: top;
}
th { color: #cfe3fb; font-size: 14px; }
td { color: var(--muted); }
.muted { color: #7f96ad; font-size: 13px; margin-top: 6px; }

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 36px;
    background: rgba(4, 9, 15, 0.45);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 22px;
}
.footer-grid h4 { margin: 0 0 12px; }
.footer-grid a, .footer-grid p { color: var(--muted); display: block; margin-bottom: 10px; }

@media (max-width: 900px) {
    .hero-grid, .two-col, .product-layout, .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .product-visual img { min-height: 320px; }
    .product-content h1 { font-size: 32px; }
}
