:root {
    --bg: #05080d;
    --bg-soft: #081018;
    --panel: rgba(10, 20, 29, 0.88);
    --panel-2: rgba(13, 28, 39, 0.94);
    --panel-3: rgba(16, 34, 47, 0.88);
    --line: rgba(127, 221, 255, 0.18);
    --line-strong: rgba(37, 244, 207, 0.45);
    --text: #eef8ff;
    --muted: #91aabb;
    --muted-2: #bed4df;
    --accent: #25f4cf;
    --accent-2: #1ca7ff;
    --accent-3: #ffb84d;
    --danger: #ff6577;
    --success: #29e6a7;
    --radius: 8px;
    --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.26);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(140deg, rgba(37, 244, 207, 0.09), transparent 24%),
        linear-gradient(215deg, rgba(255, 184, 77, 0.07), transparent 30%),
        linear-gradient(rgba(127, 221, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 221, 255, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, #05080d 0%, #071018 52%, #060b12 100%);
    background-size: auto, auto, 42px 42px, 42px 42px, auto;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(115deg, transparent 0%, rgba(28, 167, 255, 0.08) 42%, transparent 64%),
        repeating-linear-gradient(115deg, transparent 0 24px, rgba(37, 244, 207, 0.035) 24px 25px, transparent 25px 76px);
    opacity: 0.72;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted-2);
    line-height: 1.9;
}

.icon {
    --size: 18px;
    display: inline-block;
    width: var(--size);
    height: var(--size);
    flex: 0 0 var(--size);
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.icon-home { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.icon-products { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21 8-9-5-9 5 9 5 9-5Z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
.icon-orders { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-3-2-3 2-3-2-3 2V2Z'/%3E%3Cpath d='M9 7h6'/%3E%3Cpath d='M9 11h6'/%3E%3Cpath d='M9 15h4'/%3E%3C/svg%3E"); }
.icon-admin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='8' rx='1'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1'/%3E%3Crect x='3' y='15' width='7' height='6' rx='1'/%3E%3C/svg%3E"); }
.icon-login { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E"); }
.icon-logout { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E"); }
.icon-server { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='5' rx='1'/%3E%3Crect x='4' y='10' width='16' height='5' rx='1'/%3E%3Crect x='4' y='16' width='16' height='4' rx='1'/%3E%3Cpath d='M7 6.5h.01M7 12.5h.01M7 18h.01'/%3E%3C/svg%3E"); }
.icon-network { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='7' r='3'/%3E%3Ccircle cx='18' cy='7' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cpath d='m8 9 3 6M16 9l-3 6M9 7h6'/%3E%3C/svg%3E"); }
.icon-tunnel { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='7' height='5' rx='1'/%3E%3Crect x='14' y='14' width='7' height='5' rx='1'/%3E%3Cpath d='M7 10v3a3 3 0 0 0 3 3h4'/%3E%3Cpath d='M14 16l-2-2M14 16l-2 2'/%3E%3C/svg%3E"); }
.icon-game { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9h10a5 5 0 0 1 4 7.8 2.4 2.4 0 0 1-3.7.3L15.8 15H8.2l-1.5 2.1a2.4 2.4 0 0 1-3.7-.3A5 5 0 0 1 7 9Z'/%3E%3Cpath d='M8 12v3M6.5 13.5h3M16.5 13h.01M18.5 15h.01'/%3E%3C/svg%3E"); }
.icon-ai { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4'/%3E%3Cpath d='M15 4a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h6'/%3E%3Ccircle cx='7' cy='12' r='1'/%3E%3Ccircle cx='17' cy='12' r='1'/%3E%3C/svg%3E"); }
.icon-cart { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h2l2 11h10l2-7H8'/%3E%3Ccircle cx='10' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E"); }
.icon-plus { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.icon-check { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.icon-close { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.icon-save { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h12l2 2v16H5V3Z'/%3E%3Cpath d='M8 3v6h8'/%3E%3Cpath d='M8 21v-7h8v7'/%3E%3C/svg%3E"); }
.icon-user { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.icon-inventory { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7 12 3l8 4v10l-8 4-8-4V7Z'/%3E%3Cpath d='M4 7l8 4 8-4M12 11v10'/%3E%3C/svg%3E"); }
.icon-alert { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 21h20L12 3Z'/%3E%3Cpath d='M12 9v5M12 18h.01'/%3E%3C/svg%3E"); }
.icon-shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 6v6c0 5-3.4 8.2-8 9-4.6-.8-8-4-8-9V6l8-3Z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/svg%3E"); }
.icon-clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.icon-arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 5vw;
    background: rgba(5, 10, 16, 0.8);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.26);
}

.site-header.compact {
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0;
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #04110f;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 8px;
    box-shadow: 0 0 26px rgba(37, 244, 207, 0.28);
}

.brand-mark .icon {
    --size: 19px;
}

nav,
.hero-actions,
.actions,
.inline-form,
.product-card-top,
.footer-payments {
    display: flex;
    align-items: center;
}

nav {
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

nav a,
.admin-side a:not(.brand) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 9px 12px;
    color: var(--muted);
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

nav a:hover,
.admin-side a:not(.brand):hover,
.admin-side a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(37, 244, 207, 0.22);
}

nav a:hover,
.admin-side a:not(.brand):hover {
    transform: translateY(-1px);
}

.hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
    gap: 46px;
    align-items: center;
    min-height: min(640px, calc(100vh - 75px));
    padding: 42px 5vw 46px;
}

.hero-copy {
    position: relative;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: 72px;
    line-height: 1.04;
    font-weight: 900;
}

.hero p,
.section-title p,
.product-card p,
.detail-panel p,
.data-panel p,
.auth-card p,
.footer-column a,
.footer-copy {
    color: var(--muted);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.hero p {
    margin: 0 0 28px;
    max-width: 560px;
    color: #c7dce7;
    font-size: 18px;
}

.hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
}

.hero-specs span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid rgba(127, 221, 255, 0.18);
    border-radius: var(--radius);
    padding: 8px 12px;
    color: var(--muted-2);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.hero-specs strong {
    margin-right: 6px;
    color: var(--accent);
    font-size: 15px;
}

.hero-actions,
.actions,
.inline-form {
    gap: 12px;
}

.mobile-break {
    display: none;
}

.btn,
button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 18px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
button:hover {
    transform: translateY(-1px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.075);
}

.btn.primary {
    color: #031210;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 30px rgba(28, 167, 255, 0.24);
}

.btn.ghost {
    color: var(--accent);
}

.btn.small {
    min-height: 36px;
    padding: 8px 12px;
}

.hero-visual {
    position: relative;
    max-width: 100%;
    min-width: 0;
    border: 1px solid rgba(127, 221, 255, 0.28);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(13, 28, 39, 0.92), rgba(6, 13, 20, 0.96));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-visual::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: inherit;
}

.hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.band,
.page {
    padding: 56px 5vw;
}

.section-title {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-title h1,
.section-title h2,
.admin-main h1,
.detail-panel h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.18;
}

.section-title h2,
.admin-main h1 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.category-grid,
.product-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.category-card,
.product-card,
.data-panel,
.detail-panel,
.metric-card,
.auth-card,
.admin-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(17, 37, 50, 0.92), rgba(7, 17, 26, 0.96));
    box-shadow: var(--shadow-soft);
}

.category-card,
.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-card::before,
.product-card::before,
.metric-card::before,
.admin-section::before,
.auth-card::before,
.detail-panel::before,
.data-panel::before {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(37, 244, 207, 0.72), rgba(28, 167, 255, 0.48), transparent);
    opacity: 0.55;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34), 0 0 34px rgba(37, 244, 207, 0.1);
}

.category-card {
    display: grid;
    min-height: 150px;
    align-content: space-between;
    gap: 16px;
    padding: 20px;
}

.category-icon,
.service-icon,
.metric-icon,
.auth-icon {
    display: inline-grid;
    place-items: center;
    color: var(--accent);
    background: rgba(37, 244, 207, 0.1);
    border: 1px solid rgba(37, 244, 207, 0.26);
    border-radius: var(--radius);
}

.category-icon {
    width: 48px;
    height: 48px;
}

.category-icon .icon,
.service-icon .icon,
.metric-icon .icon,
.auth-icon .icon {
    --size: 25px;
}

.category-card span:not(.icon),
.category-title {
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
}

.category-card small {
    color: var(--muted);
    line-height: 1.7;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.product-card {
    padding: 22px;
}

.product-card-top {
    justify-content: space-between;
    gap: 12px;
}

.service-icon {
    width: 46px;
    height: 46px;
}

.product-VPS .service-icon .icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='5' rx='1'/%3E%3Crect x='4' y='10' width='16' height='5' rx='1'/%3E%3Crect x='4' y='16' width='16' height='4' rx='1'/%3E%3Cpath d='M7 6.5h.01M7 12.5h.01M7 18h.01'/%3E%3C/svg%3E"); }
.product-LINE_ACCEL .service-icon .icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='7' r='3'/%3E%3Ccircle cx='18' cy='7' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cpath d='m8 9 3 6M16 9l-3 6M9 7h6'/%3E%3C/svg%3E"); }
.product-TUNNEL .service-icon .icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='7' height='5' rx='1'/%3E%3Crect x='14' y='14' width='7' height='5' rx='1'/%3E%3Cpath d='M7 10v3a3 3 0 0 0 3 3h4'/%3E%3Cpath d='M14 16l-2-2M14 16l-2 2'/%3E%3C/svg%3E"); }
.product-GAME .service-icon .icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9h10a5 5 0 0 1 4 7.8 2.4 2.4 0 0 1-3.7.3L15.8 15H8.2l-1.5 2.1a2.4 2.4 0 0 1-3.7-.3A5 5 0 0 1 7 9Z'/%3E%3Cpath d='M8 12v3M6.5 13.5h3M16.5 13h.01M18.5 15h.01'/%3E%3C/svg%3E"); }
.product-AI .service-icon .icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4'/%3E%3Cpath d='M15 4a4 4 0 0 1 4 4v8a4 4 0 0 1-4 4'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h6'/%3E%3Ccircle cx='7' cy='12' r='1'/%3E%3Ccircle cx='17' cy='12' r='1'/%3E%3C/svg%3E"); }

.product-type {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid rgba(37, 244, 207, 0.22);
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--accent);
    background: rgba(37, 244, 207, 0.08);
    font-size: 12px;
    font-weight: 900;
}

.product-card h3,
.detail-panel h1 {
    margin: 16px 0 10px;
}

.product-card h3 {
    font-size: 21px;
}

.spec {
    min-height: 46px;
    margin-top: 12px;
    color: #b8d8e8;
    font-size: 13px;
    line-height: 1.7;
}

.price {
    margin: 18px 0;
    color: var(--accent);
    font-size: 28px;
    font-weight: 900;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-row a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
}

.filter-row a.active {
    color: #031210;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-weight: 900;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 24px;
}

.detail-panel,
.data-panel,
.auth-card,
.admin-section,
.metric-card {
    position: relative;
    overflow: hidden;
}

.detail-panel,
.data-panel {
    padding: 28px;
}

dl {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    margin: 24px 0;
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
}

.buy-form,
.auth-card,
.admin-form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
}

input,
select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 12px;
    color: var(--text);
    background: rgba(5, 13, 20, 0.88);
    font-size: 14px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input::placeholder {
    color: rgba(145, 170, 187, 0.72);
}

input:focus,
select:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(37, 244, 207, 0.1);
    background: rgba(6, 16, 24, 0.96);
}

.auth-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-card {
    width: min(460px, 100%);
    padding: 30px;
}

.auth-card h1 {
    margin: 0;
    font-size: 30px;
}

.auth-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-icon {
    width: 52px;
    height: 52px;
}

.auth-card a {
    color: var(--accent);
    font-weight: 800;
}

.result-text {
    min-height: 22px;
    color: var(--accent);
    font-weight: 700;
}

.admin-shell {
    display: grid;
    grid-template-columns: 248px 1fr;
    min-height: 100vh;
}

.admin-side {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-right: 1px solid var(--line);
    background: rgba(6, 13, 20, 0.88);
    backdrop-filter: blur(18px);
}

.admin-side .brand {
    margin-bottom: 18px;
    align-items: flex-start;
    line-height: 1.35;
}

.admin-main {
    padding: 32px;
    overflow-x: auto;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 24px 0;
}

.user-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 14px;
    margin-bottom: 24px;
}

.metric-card {
    display: grid;
    min-height: 144px;
    gap: 12px;
    padding: 20px;
}

.metric-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.metric-icon {
    width: 42px;
    height: 42px;
    color: var(--accent-2);
    background: rgba(28, 167, 255, 0.1);
    border-color: rgba(28, 167, 255, 0.28);
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.metric-card strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-size: 34px;
    line-height: 1;
}

.metric-trend {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.admin-section {
    padding: 20px;
}

.admin-section h2 {
    margin-top: 0;
}

.admin-form {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    align-items: end;
    margin: 18px 0 24px;
}

.admin-form input[name="summary"],
.admin-form input[name="specs"] {
    grid-column: span 2;
}

.data-table {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 22, 32, 0.84);
    border-spacing: 0;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(127, 221, 255, 0.12);
    text-align: left;
    white-space: nowrap;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table th {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.025);
    font-size: 13px;
    font-weight: 900;
}

.data-table td {
    color: #c9e2ef;
}

.data-table tbody tr {
    transition: background 0.18s ease;
}

.data-table tbody tr:hover {
    background: rgba(37, 244, 207, 0.055);
}

.status-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border: 1px solid rgba(37, 244, 207, 0.24);
    border-radius: 6px;
    padding: 4px 8px;
    color: var(--accent);
    background: rgba(37, 244, 207, 0.08);
    font-size: 12px;
    font-weight: 900;
}

.actions form {
    margin: 0;
}

.actions button,
.inline-form button {
    min-height: 34px;
    padding: 7px 10px;
}

.inline-form input {
    min-width: 110px;
}

.site-footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding: 32px 5vw 24px;
    border-top: 1px solid var(--line);
    background: rgba(5, 10, 16, 0.72);
}

.footer-column {
    display: grid;
    gap: 10px;
}

.footer-column strong {
    color: var(--text);
}

.footer-column a {
    font-size: 13px;
}

.footer-payments {
    flex-wrap: wrap;
    gap: 8px;
}

.pay-icon {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 9px;
    color: var(--muted-2);
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

.footer-copy {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    border-top: 1px solid rgba(127, 221, 255, 0.11);
    padding-top: 16px;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .hero h1 {
        font-size: 58px;
    }

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

    .admin-form {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header,
    .hero,
    .detail-layout,
    .admin-shell,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-header {
        display: grid;
        gap: 12px;
    }

    nav,
    .hero-actions {
        flex-wrap: wrap;
    }

    .category-grid,
    .metric-grid,
    .user-panel,
    .admin-form {
        grid-template-columns: 1fr;
    }

    .admin-form input[name="summary"],
    .admin-form input[name="specs"] {
        grid-column: auto;
    }

    .hero {
        min-height: auto;
        overflow: hidden;
        padding-top: 36px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-copy {
        min-width: 0;
    }

    .mobile-break {
        display: block;
    }

    .admin-side {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-main {
        padding: 24px 16px;
    }
}

@media (max-width: 560px) {
    .band,
    .page {
        padding: 36px 16px;
    }

    .site-header {
        padding-right: 16px;
        padding-left: 16px;
    }

    nav a {
        padding: 8px 10px;
    }

    .brand {
        font-size: 18px;
    }

    .hero {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-actions,
    .inline-form {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    button {
        width: 100%;
    }

    dl {
        grid-template-columns: 1fr;
    }
}
