:root {
    --bg: #0a0a0a;
    --panel: rgba(26, 26, 26, 0.78);
    --line: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.62);
    --accent: #00ffd1;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 20% 5%, rgba(0, 255, 209, 0.18), transparent 28rem),
        linear-gradient(135deg, #0a0a0a 0%, #111 46%, #0a0a0a 100%);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
input, textarea, select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045));
    color: var(--text);
    min-height: 48px;
    padding: 0.86rem 1rem;
    outline: none;
    font: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.08);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.34); }
input:hover, textarea:hover, select:hover { border-color: rgba(255, 255, 255, 0.2); }
input:focus, textarea:focus, select:focus {
    border-color: rgba(0, 255, 209, 0.78);
    background:
        linear-gradient(180deg, rgba(0, 255, 209, 0.09), rgba(255, 255, 255, 0.055));
    box-shadow:
        0 0 0 4px rgba(0, 255, 209, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 42px rgba(0, 255, 209, 0.08);
}
input[type="number"] { appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { margin: 0; appearance: none; }
select option { color: #111; }
label {
    display: grid;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    font-weight: 700;
}
form label:focus-within {
    color: rgba(255, 255, 255, 0.92);
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    background: #0a0a0a;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.site-loader span {
    border: 1px solid rgba(0, 255, 209, 0.4);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    color: var(--accent);
    font-weight: 800;
}
.site-loader.hide { opacity: 0; visibility: hidden; }

.public-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    backdrop-filter: blur(22px);
    background: rgba(10, 10, 10, 0.72);
    border-bottom: 1px solid var(--line);
}
.brand, .erp-brand { font-family: Poppins, Inter, sans-serif; font-weight: 800; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 1rem; color: var(--muted); }
.public-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-links a:hover, .erp-link:hover { color: var(--accent); }
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.cart-link svg {
    width: 18px;
    height: 18px;
}
.cart-link b {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.72rem;
}
.cart-link b.has-items {
    background: var(--accent);
    color: #03110f;
}
.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 190px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.65rem 0.8rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}
.user-pill svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}
.user-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-pill:hover {
    color: var(--text);
    border-color: rgba(0, 255, 209, 0.36);
}
.nav-cta, .erp-link, .primary-btn, .secondary-btn, .logout-btn {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}
.nav-cta, .primary-btn {
    display: inline-flex;
    justify-content: center;
    background: var(--accent);
    color: #03110f;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 44px rgba(0, 255, 209, 0.18); }
.secondary-btn { color: var(--text); background: rgba(255, 255, 255, 0.04); }
button.primary-btn,
a.primary-btn,
button.secondary-btn,
a.secondary-btn {
    min-height: 48px;
    align-items: center;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
}

.hero-section, .page-hero, .form-page, .content-band, .section-grid, .product-grid, .footer-band {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}
.hero-section {
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
    padding: 4rem 0;
}
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; }
h1, h2 { font-family: Poppins, Inter, sans-serif; letter-spacing: 0; margin: 0; }
.hero-copy h1 { font-size: clamp(3rem, 10vw, 8.5rem); line-height: 0.9; }
.hero-text, .page-hero p, .content-band p { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero-panel, .feature-card, .product-card, .glass-form, .panel, .stat-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.hero-panel {
    min-height: 430px;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background:
        linear-gradient(145deg, rgba(0, 255, 209, 0.16), transparent),
        rgba(26, 26, 26, 0.82);
}
.metric-card { display: grid; align-content: end; border-radius: 16px; padding: 1.2rem; background: rgba(255, 255, 255, 0.05); }
.metric-card span { color: var(--accent); font-size: 2.1rem; font-weight: 900; }
.metric-card p, .feature-card p, .product-card p { color: var(--muted); }
.section-grid, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 2rem 0 5rem; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card, .product-card { padding: 1.3rem; min-height: 220px; }
.feature-card svg, .product-visual svg { color: var(--accent); width: 34px; height: 34px; }
.catalog-section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 5rem;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.catalog-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    backdrop-filter: blur(22px);
    padding: 1.1rem;
}
.catalog-media-link {
    display: block;
}
.catalog-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 14px;
    background: rgba(0, 255, 209, 0.12);
    color: var(--accent);
}
.catalog-image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}
.catalog-card span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}
.catalog-card h3 {
    margin: 0.25rem 0;
    font-size: 1.08rem;
}
.catalog-card p,
.catalog-card small {
    color: var(--muted);
}
.catalog-meta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 0.85rem;
}
.catalog-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.catalog-actions .primary-btn,
.catalog-actions .secondary-btn {
    width: 100%;
    min-height: 44px;
    text-align: center;
}

.product-detail-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: 1.2rem;
    align-items: stretch;
    padding: 5rem 0;
}
.product-detail-media,
.product-detail-info {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}
.product-detail-media {
    min-height: 620px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 75% 15%, rgba(0, 255, 209, 0.14), transparent 44%),
        var(--panel);
}
.product-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail-placeholder {
    display: grid;
    place-items: center;
    width: min(420px, 80%);
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(0, 255, 209, 0.08);
    color: var(--accent);
}
.product-detail-placeholder svg {
    width: 92px;
    height: 92px;
}
.product-detail-info {
    display: grid;
    align-content: center;
    gap: 1.2rem;
    padding: clamp(1.2rem, 4vw, 2rem);
}
.product-detail-info h1 {
    font-size: clamp(2.4rem, 5.8vw, 5rem);
    line-height: 0.96;
}
.product-detail-copy {
    color: var(--muted);
    line-height: 1.75;
}
.product-detail-price {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
}
.product-detail-price strong {
    color: var(--accent);
    font-size: 1.7rem;
}
.product-detail-price span {
    color: var(--muted);
    font-weight: 800;
}
.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.product-spec-grid div {
    display: grid;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.045);
}
.product-spec-grid span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}
}
.cart-page {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
    align-items: start;
    padding: 0 0 5rem;
}
.cart-panel {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    backdrop-filter: blur(22px);
    padding: 1rem;
}
.cart-items {
    display: grid;
    gap: 0.75rem;
}
.cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 0.8rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.045);
}
.cart-row span {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}
.cart-row h3 {
    margin: 0.2rem 0;
}
.cart-row p {
    color: var(--muted);
    margin: 0;
}
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem;
}
.qty-control button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    cursor: pointer;
}
.cart-empty {
    display: none;
    place-items: center;
    gap: 0.8rem;
    min-height: 260px;
    text-align: center;
    color: var(--muted);
}
.cart-empty.show {
    display: grid;
}
.cart-empty svg {
    width: 42px;
    height: 42px;
    color: var(--accent);
}
.cart-summary {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}
.cart-summary.show {
    display: flex;
}
.cart-summary span {
    color: var(--muted);
    font-weight: 800;
}
.cart-summary strong {
    color: var(--accent);
    font-size: 1.4rem;
}
.page-hero { padding: 6rem 0 2rem; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 5.5rem); max-width: 900px; }
.content-band, .form-page { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; padding: 2rem 0 5rem; align-items: start; }
.glass-list { display: grid; gap: 0.8rem; }
.glass-list span, .report-stat {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
}
.direct-contact-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.4rem;
}
.direct-contact-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.2rem 0.85rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    background: var(--panel);
    backdrop-filter: blur(22px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.direct-contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 209, 0.42);
    background: rgba(0, 255, 209, 0.08);
}
.direct-contact-card svg {
    grid-row: span 2;
    width: 30px;
    height: 30px;
    color: var(--accent);
}
.direct-contact-card span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}
.direct-contact-card strong {
    font-size: 1.05rem;
}
.contact-focus-card {
    display: grid;
    align-content: center;
    gap: 1rem;
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(1.2rem, 4vw, 2rem);
    background:
        radial-gradient(circle at 80% 10%, rgba(0, 255, 209, 0.18), transparent 42%),
        var(--panel);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.contact-focus-card h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
}
.contact-focus-card p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7;
}
.glass-form {
    display: grid;
    gap: 1.08rem;
    padding: clamp(1.05rem, 3vw, 1.45rem);
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
.glass-form input,
.glass-form select,
.glass-form textarea,
.login-card input {
    min-height: 52px;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.052));
}
.glass-form .primary-btn,
.login-card .primary-btn {
    width: 100%;
    margin-top: 0.25rem;
}
.form-status { min-height: 1.2rem; color: var(--accent); }
.form-status.error { color: #ff7b7b; }
.footer-band {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.footer-band strong { color: var(--text); }
.footer-band a { color: var(--accent); font-weight: 700; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.legal-hero,
.legal-layout {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}
.legal-hero {
    position: relative;
    display: grid;
    gap: 0.9rem;
    padding: 6rem 0 2rem;
    overflow: hidden;
}
.legal-hero::after {
    content: "";
    position: absolute;
    right: 4%;
    top: 28%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 255, 209, 0.16), transparent 66%);
    pointer-events: none;
}
.legal-hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    line-height: 0.95;
}
.legal-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}
.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0 5rem;
}
.legal-toc {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    backdrop-filter: blur(22px);
    padding: 1rem;
}
.legal-toc span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.legal-toc a {
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.legal-toc a:hover {
    background: rgba(0, 255, 209, 0.1);
    color: var(--text);
}
.legal-content {
    display: grid;
    gap: 1rem;
}
.legal-card {
    scroll-margin-top: 110px;
    display: grid;
    gap: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    backdrop-filter: blur(22px);
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.legal-card.accent {
    background:
        radial-gradient(circle at 80% 0%, rgba(0, 255, 209, 0.18), transparent 44%),
        var(--panel);
}
.legal-card svg {
    width: 34px;
    height: 34px;
    color: var(--accent);
}
.legal-card h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}
.legal-card p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.login-page-section {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0;
}
.public-login-card {
    width: min(520px, 100%);
}
.login-card {
    width: min(430px, 100%);
    display: grid;
    gap: 1.08rem;
    padding: clamp(1.1rem, 4vw, 1.55rem);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    backdrop-filter: blur(22px);
}
.login-card h1 {
    font-size: clamp(1.75rem, 7vw, 2.45rem);
}
.login-copy {
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    font-weight: 900;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.google-login-btn:disabled {
    cursor: wait;
    opacity: 0.72;
}
.google-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 50px rgba(0, 255, 209, 0.12);
    color: #111;
}
.google-login-btn span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    color: #4285f4;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.password-fallback-form {
    display: grid;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}
.fallback-link {
    font-size: 0.88rem;
}
.login-card a {
    color: var(--muted);
    text-align: center;
}
.login-card a:hover {
    color: var(--accent);
}

.erp-body.light {
    --bg: #f7f8fb;
    --panel: rgba(255, 255, 255, 0.86);
    --line: rgba(10, 10, 10, 0.12);
    --text: #111;
    --muted: rgba(10, 10, 10, 0.62);
    background: #f7f8fb;
}
.erp-shell { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; }
.erp-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    border-right: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(24px);
}
.light .erp-sidebar { background: rgba(255, 255, 255, 0.82); }
.erp-brand { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1.4rem; }
.erp-brand span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #03110f; }
.erp-sidebar nav { display: grid; gap: 0.35rem; }
.erp-sidebar a { display: flex; gap: 0.75rem; align-items: center; padding: 0.82rem; border-radius: 12px; color: var(--muted); }
.erp-sidebar a:hover, .erp-sidebar a.is-active { background: rgba(0, 255, 209, 0.12); color: var(--text); }
.erp-sidebar svg { width: 18px; height: 18px; }
.erp-main { min-width: 0; padding: 1rem; }
.erp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    backdrop-filter: blur(22px);
}
.erp-topbar h1 { font-size: 1.45rem; }
.topbar-actions { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); }
.icon-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.stat-card { padding: 1.1rem; }
.stat-card p { color: var(--muted); margin: 0 0 0.5rem; }
.stat-card strong { color: var(--accent); font-size: 1.8rem; }
.dashboard-grid, .module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.module-grid { grid-template-columns: 360px 1fr; align-items: start; }
.panel { padding: 1rem; min-width: 0; }
.panel.wide { grid-column: span 2; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-head span { color: var(--accent); }
.erp-form {
    display: grid;
    gap: 1.05rem;
}
.erp-form h2 {
    margin-bottom: 0.15rem;
}
.form-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.erp-form label {
    position: relative;
}
.erp-form input,
.erp-form select,
.erp-form textarea {
    min-height: 50px;
    border-color: rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.055));
}
.erp-form input:not(:placeholder-shown),
.erp-form textarea:not(:placeholder-shown) {
    border-color: rgba(255, 255, 255, 0.22);
}
.erp-form .primary-btn {
    min-height: 50px;
    margin-top: 0.2rem;
}
.table-panel { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.data-table th, .data-table td { padding: 0.9rem; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; }
.table-search {
    max-width: 300px;
    min-height: 44px;
    border-radius: 999px;
    padding-left: 1rem;
}
.product-thumb {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
}
.product-thumb.empty svg {
    width: 22px;
    height: 22px;
}
.row-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.row-actions form {
    margin: 0;
}
.inline-update-form {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.inline-update-form select {
    min-height: 34px;
    width: auto;
    min-width: 112px;
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
}
.ghost-btn,
.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.ghost-btn:hover {
    border-color: rgba(0, 255, 209, 0.55);
    background: rgba(0, 255, 209, 0.1);
}
.danger-btn {
    color: #ff9b9b;
}
.danger-btn:hover {
    border-color: rgba(255, 100, 100, 0.55);
    background: rgba(255, 100, 100, 0.1);
}
.mini-list, .activity-feed { display: grid; gap: 0.75rem; }
.mini-list div, .activity-feed div {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}
.mini-list span, .activity-feed span, .activity-feed time { color: var(--muted); }
.report-stat { display: flex; justify-content: space-between; margin-top: 0.75rem; }
.toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    opacity: 0;
    transform: translateY(12px);
    transition: 0.25s ease;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    padding: 0.9rem 1rem;
}
.toast.show { opacity: 1; transform: translateY(0); }
.empty-state { display: grid; place-items: center; gap: 1rem; min-height: 60vh; color: var(--muted); text-align: center; }

.about-hero,
.about-story,
.about-section,
.vision-band,
.about-cta {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}
.about-hero {
    position: relative;
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 2rem;
    padding: 5rem 0 3rem;
    overflow: hidden;
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 8% -12% auto auto;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(0, 255, 209, 0.22), transparent 64%);
    filter: blur(8px);
    animation: floatGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}
.about-hero-copy,
.about-stat-grid {
    position: relative;
    z-index: 1;
}
.about-hero-copy h1 {
    max-width: 900px;
    font-size: clamp(3rem, 7.4vw, 7rem);
    line-height: 0.95;
}
.about-hero-copy p:not(.eyebrow) {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.13rem;
    line-height: 1.7;
}
.about-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.about-stat-card,
.timeline-card,
.offer-card,
.trust-card,
.vision-band,
.about-cta {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(22px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.about-stat-card {
    min-height: 170px;
    display: grid;
    align-content: end;
    gap: 0.35rem;
    border-radius: 22px;
    padding: 1.2rem;
    background:
        linear-gradient(145deg, rgba(0, 255, 209, 0.13), rgba(255, 255, 255, 0.035)),
        var(--panel);
    transition: transform 0.22s ease, border-color 0.22s ease;
}
.about-stat-card:hover,
.offer-card:hover,
.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 209, 0.36);
}
.about-stat-card strong {
    color: var(--accent);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
}
.about-stat-card span {
    color: var(--muted);
    font-weight: 800;
}
.about-story,
.about-section {
    padding: 4.5rem 0;
}
.section-kicker {
    display: grid;
    gap: 0.75rem;
    max-width: 820px;
    margin-bottom: 1.5rem;
}
.section-kicker h2,
.vision-band h2,
.about-cta h2 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 1;
}
.section-kicker p:not(.eyebrow),
.timeline-card p,
.offer-card p,
.trust-card p,
.vision-band p,
.about-cta p {
    color: var(--muted);
    line-height: 1.65;
}
.timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 1rem;
    bottom: 1rem;
    width: 1px;
    background: linear-gradient(var(--accent), transparent);
    opacity: 0.42;
}
.timeline-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    align-items: start;
    border-radius: 20px;
    padding: 1.2rem;
}
.timeline-card span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0, 255, 209, 0.12);
    color: var(--accent);
    font-weight: 900;
}
.timeline-card h3,
.offer-card h3,
.trust-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.offer-card,
.trust-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 20px;
    padding: 1.2rem;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.offer-card::after,
.trust-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -50% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 255, 209, 0.18), transparent 68%);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.offer-card:hover::after,
.trust-card:hover::after {
    opacity: 1;
}
.offer-card svg,
.trust-card svg {
    width: 34px;
    height: 34px;
    color: var(--accent);
    margin-bottom: 1.2rem;
}
.vision-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: center;
    border-radius: 26px;
    padding: clamp(1.3rem, 4vw, 2.4rem);
    background:
        linear-gradient(135deg, rgba(0, 255, 209, 0.13), rgba(255, 255, 255, 0.035)),
        var(--panel);
}
.vision-points {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.vision-points span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.72rem 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-weight: 800;
}
.about-cta {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.9rem;
    border-radius: 28px;
    margin-top: 4.5rem;
    margin-bottom: 5rem;
    padding: clamp(1.5rem, 6vw, 4rem);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 255, 209, 0.2), transparent 42%),
        var(--panel);
}
.about-cta p {
    max-width: 680px;
}

@keyframes floatGlow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-42px, 36px, 0) scale(1.08); }
}

@media (max-width: 980px) {
    .nav-links { display: none; }
    .hero-section, .content-band, .form-page, .module-grid, .about-hero, .vision-band, .cart-page, .legal-layout, .product-detail-page { grid-template-columns: 1fr; }
    .section-grid, .product-grid, .catalog-grid, .offer-grid, .trust-grid, .stat-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .panel.wide { grid-column: auto; }
    .erp-shell { grid-template-columns: 1fr; }
    .erp-sidebar {
        position: fixed;
        z-index: 30;
        transform: translateX(-104%);
        transition: transform 0.25s ease;
        width: 280px;
    }
    .erp-sidebar.open { transform: translateX(0); }
    .erp-topbar { align-items: flex-start; }
    .topbar-actions { flex-wrap: wrap; justify-content: flex-end; }
    .legal-toc { position: static; }
}

@media (max-width: 640px) {
    .hero-copy h1 { font-size: 3.2rem; }
    .footer-band, .erp-topbar { flex-direction: column; align-items: flex-start; }
    .footer-links { justify-content: flex-start; }
    .table-panel { overflow-x: auto; }
    .cart-row { grid-template-columns: 1fr; }
    .qty-control { width: max-content; }
    .form-row { grid-template-columns: 1fr; }
    .catalog-card { grid-template-columns: 1fr; }
    .catalog-image, .catalog-icon { width: 100%; height: 220px; }
    .catalog-actions { grid-template-columns: 1fr; }
    .product-detail-media { min-height: 360px; }
    .product-spec-grid { grid-template-columns: 1fr; }
}
