:root {
    --navy: #0b1c33;
    --blue: #1979c7;
    --cyan: #30bde2;
    --ink: #102033;
    --muted: #5d6a7a;
    --line: #d9e2ea;
    --panel: #ffffff;
    --soft: #f4f8fb;
    --success: #0f8a52;
    --error: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--soft);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

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

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 800;
}

.brand img {
    width: 156px;
    height: 42px;
    object-fit: contain;
}

.brand span {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 700;
}

.demo-link {
    padding: 9px 14px;
    border: 1px solid var(--blue);
    border-radius: 6px;
}

.nav-toggle {
    display: none;
}

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 60px;
}

.hero {
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 68px;
    background:
        linear-gradient(90deg, rgba(11, 28, 51, .94), rgba(25, 121, 199, .78)),
        url("logo-arza-symbol.png") right 8% center / 360px no-repeat;
    color: #fff;
}

.hero h1,
.page-hero h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1;
}

.hero p,
.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
}

.page-hero.compact {
    padding: 46px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy), #164f83);
    color: #fff;
}

.eyebrow,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e6f6fc;
    color: #086082;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.actions,
.total-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
}

.button.primary,
button.primary {
    background: var(--blue);
    color: #fff;
}

.button.ghost,
button.ghost {
    background: #fff;
    color: var(--blue);
    border-color: var(--line);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 44px 0 18px;
}

.section-grid,
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.card,
.panel,
.table-panel,
.form-panel,
.auth-card,
.install-card,
.shop-item,
.feature-list article,
.metrics article,
.price-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(10, 31, 51, .05);
}

.card,
.feature-list article,
.price-card,
.metrics article {
    padding: 22px;
}

.panel,
.table-panel,
.form-panel,
.auth-card {
    padding: 26px;
    margin-top: 24px;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.product-card {
    display: grid;
    gap: 10px;
}

.shop-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.shop-item {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 18px;
    padding: 22px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 13px;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c8d4df;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

label {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
    font-weight: 700;
}

.check,
.permission-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.check input,
.permission-form input {
    width: auto;
}

.form-grid,
.form-panel form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.form-panel textarea,
.form-panel h1,
.form-panel h2,
.form-panel button,
.form-panel .check {
    grid-column: 1 / -1;
}

.auth-card,
.install-card {
    max-width: 760px;
    margin: 44px auto;
}

.install-card img {
    width: 220px;
}

.flash {
    padding: 12px 14px;
    margin: 0 0 16px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 700;
}

.flash.success {
    color: var(--success);
    background: #ecfdf3;
}

.flash.error {
    color: var(--error);
    background: #fff1f0;
}

.admin-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    width: min(1400px, 100%);
    margin: 0 auto;
}

.admin-menu {
    min-height: calc(100vh - 72px);
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    background: #fff;
}

.admin-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    font-weight: 800;
}

.admin-menu a:hover {
    background: var(--soft);
}

.admin-main {
    width: min(1160px, calc(100% - 28px));
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.metrics article span {
    color: var(--muted);
    font-weight: 800;
}

.metrics article strong {
    display: block;
    margin-top: 8px;
    font-size: 34px;
}

.inline-form {
    display: grid;
    gap: 8px;
}

.permission-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
}

.qty-input {
    max-width: 84px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px;
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
}

.site-footer div {
    display: flex;
    gap: 16px;
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: inline-flex;
        background: var(--navy);
        color: #fff;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 44px 24px;
        background: linear-gradient(135deg, var(--navy), #164f83);
    }

    .hero h1,
    .page-hero h1 {
        font-size: 40px;
    }

    .shop-item,
    .admin-layout {
        grid-template-columns: 1fr;
    }

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

    table {
        display: block;
        overflow-x: auto;
    }
}

/* ARZA V3 PUBLIC POLISH */
.lift-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lift-card:hover {
    transform: translateY(-3px);
    border-color: rgba(40,189,227,.52);
    box-shadow: 0 18px 40px rgba(11,28,51,.12);
}
.card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.text-link {
    display: inline-flex;
    margin-top: 10px;
    font-weight: 800;
}
.quote-box {
    align-self: stretch;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 24px;
    background: linear-gradient(180deg, #fff, #effaff);
    border: 1px solid #d7e3ee;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(10,31,51,.07);
}
.solution-panel {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,252,255,.98));
}
.feature-list.compact-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature-list.compact-list article p {
    margin: 0;
}
.demo-form label:last-of-type {
    grid-column: 1 / -1;
}
.hero,
.page-hero.compact {
    background:
        linear-gradient(115deg, rgba(11,28,51,.98), rgba(18,58,95,.94) 55%, rgba(23,105,182,.88)),
        url("logo-arza-symbol.png") right 7% center / 300px no-repeat;
    box-shadow: 0 24px 52px rgba(11,28,51,.2);
}
.demo-link,
.button.primary,
button.primary {
    background: linear-gradient(135deg, #1769b6, #28bde3);
    color: #fff !important;
    border-color: transparent;
}
@media (max-width: 980px) {
    .hero,
    .page-hero.compact {
        background: linear-gradient(135deg, #0b1c33, #123a5f 60%, #1769b6);
    }
}

/* ARZA ADMIN MANAGER CSS */
.manager-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.manager-grid.wide{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}.manager-card{display:grid;gap:12px;align-content:start;padding:22px;background:#fff;border:1px solid #d8e5f1;border-radius:8px;box-shadow:0 12px 28px rgba(11,28,51,.07)}.manager-card textarea{min-height:90px}.card-actions,.mini-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.mini-form input,.mini-form select{max-width:180px}.button.danger,button.danger{background:#fff1f0;color:#b42318;border-color:#ffccc7}.tier-card{background:#f8fbfe}@media(max-width:560px){.manager-grid,.manager-grid.wide{grid-template-columns:1fr}}

/* ARZA VISUAL POLISH V4 */
:root {
    --navy: #071a2f;
    --navy-2: #10395f;
    --blue: #1677c8;
    --blue-2: #35a7e8;
    --cyan: #22c7d8;
    --teal: #10b7a7;
    --gold: #f6b84b;
    --green: #15a36d;
    --ink: #0b1c33;
    --muted: #52657d;
    --line: #d6e5f2;
    --soft: #f2f8fc;
    --soft-blue: #e8f7ff;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(34,199,216,.18), transparent 28%),
        radial-gradient(circle at 82% 4%, rgba(246,184,75,.16), transparent 24%),
        linear-gradient(180deg, #f7fcff 0%, #eef6fb 420px, #f6f9fc 100%);
}

.site-header {
    min-height: 78px;
    padding: 10px 28px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(214,229,242,.96);
}

.brand {
    flex: 0 0 auto;
    min-width: 230px;
}

.brand img {
    width: 220px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.main-nav {
    gap: 12px;
    flex-wrap: nowrap;
}

.main-nav a {
    color: #075f9f;
    white-space: nowrap;
    padding: 8px 4px;
}

.main-nav a:hover {
    color: #0b1c33;
}

.demo-link,
.cart-link {
    padding: 11px 16px !important;
    border: 0 !important;
    border-radius: 8px;
    color: #fff !important;
    background: linear-gradient(135deg, #1677c8, #22c7d8);
    box-shadow: 0 10px 24px rgba(22,119,200,.24);
}

.hero {
    position: relative;
    background:
        linear-gradient(115deg, rgba(7,26,47,.98) 0%, rgba(16,57,95,.96) 44%, rgba(22,119,200,.90) 72%, rgba(34,199,216,.76) 100%),
        url("logo-arza-symbol.png") right 9% center / 340px no-repeat;
    border: 1px solid rgba(255,255,255,.16);
}

.page-hero.compact {
    background:
        linear-gradient(135deg, rgba(7,26,47,.98), rgba(16,57,95,.96) 52%, rgba(22,119,200,.90)),
        url("logo-arza-symbol.png") right 36px center / 220px no-repeat;
}

.hero .eyebrow,
.page-hero .eyebrow {
    background: rgba(255,255,255,.96);
    color: #071a2f;
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: 0 12px 26px rgba(7,26,47,.18);
    text-shadow: none;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    padding: 7px 14px;
    max-width: 100%;
    white-space: normal;
}

.hero h1,
.page-hero h1 {
    color: #fff;
    text-shadow: 0 2px 18px rgba(7,26,47,.18);
}

.hero p,
.page-hero p {
    color: rgba(255,255,255,.94);
}

.button.primary,
button.primary {
    background: linear-gradient(135deg, #1677c8, #22c7d8);
    box-shadow: 0 12px 26px rgba(22,119,200,.24);
}

.button.ghost,
button.ghost {
    background: #ffffff;
    color: #075f9f;
    border-color: rgba(22,119,200,.24);
}

.card,
.panel,
.table-panel,
.form-panel,
.auth-card,
.shop-item,
.feature-list article,
.metrics article,
.price-card,
.manager-card,
.quote-box {
    border-color: rgba(214,229,242,.96);
    box-shadow: 0 14px 34px rgba(7,26,47,.08);
}

.section-grid .card:nth-child(3n+1),
.feature-grid .panel:nth-child(3n+1),
.manager-grid .manager-card:nth-child(3n+1) {
    border-top: 4px solid #1677c8;
}

.section-grid .card:nth-child(3n+2),
.feature-grid .panel:nth-child(3n+2),
.manager-grid .manager-card:nth-child(3n+2) {
    border-top: 4px solid #22c7d8;
}

.section-grid .card:nth-child(3n),
.feature-grid .panel:nth-child(3n),
.manager-grid .manager-card:nth-child(3n) {
    border-top: 4px solid #f6b84b;
}

.pill {
    background: linear-gradient(135deg, #e8f7ff, #fff7e6);
    color: #075f9f;
}

@media (max-width: 1120px) {
    .site-header {
        align-items: center;
    }

    .brand {
        min-width: 190px;
    }

    .brand img {
        width: 188px;
        height: 52px;
    }

    .main-nav {
        gap: 8px;
        font-size: 13px;
    }
}

@media (max-width: 980px) {
    .site-header {
        min-height: 70px;
    }

    .brand img {
        width: 170px;
        height: 48px;
    }

    .main-nav {
        top: 70px;
    }

    .hero,
    .page-hero.compact {
        background: linear-gradient(135deg, #071a2f, #10395f 58%, #1677c8);
    }
}

@media (max-width: 560px) {
    .brand {
        min-width: 148px;
    }

    .brand img {
        width: 148px;
        height: 42px;
    }

    .hero .eyebrow,
    .page-hero .eyebrow {
        font-size: 12px;
    }
}
/* ARZA HEADER LOGO FIX V7 */
.site-header {
    min-height: 76px;
    padding: 10px 24px;
}

.brand {
    min-width: 255px;
}

.brand img {
    width: 255px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(7,26,47,.14);
}

.main-nav {
    gap: 12px;
}

.main-nav a {
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .brand {
        min-width: 218px;
    }

    .brand img {
        width: 218px;
        height: 52px;
    }

    .main-nav {
        gap: 8px;
        font-size: 13px;
    }
}

@media (max-width: 560px) {
    .brand {
        min-width: 172px;
    }

    .brand img {
        width: 172px;
        height: 42px;
    }
}

/* ARZA LOGO WATERMARK FIX V8 */
.brand { min-width: 275px; }
.brand img {
    width: 275px;
    height: 69px;
    object-fit: contain;
    object-position: left center;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(7,26,47,.13);
}
.hero,
.page-hero.compact {
    position: relative;
    isolation: isolate;
    background-image: linear-gradient(115deg, #071a2f 0%, #123a5f 48%, #1677c8 76%, #22c7d8 100%) !important;
}
.hero::after {
    content: "ARZA";
    position: absolute;
    right: 6%;
    top: 48%;
    transform: translateY(-50%);
    z-index: -1;
    font-size: clamp(92px, 14vw, 210px);
    font-weight: 900;
    color: rgba(255,255,255,.10);
    pointer-events: none;
}
.page-hero.compact::after {
    content: "ARZA";
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    font-size: clamp(68px, 10vw, 150px);
    font-weight: 900;
    color: rgba(255,255,255,.09);
    pointer-events: none;
}
.hero > *, .page-hero.compact > * {
    position: relative;
    z-index: 1;
}
@media (max-width: 980px) {
    .brand { min-width: 220px; }
    .brand img { width: 220px; height: 55px; }
    .hero::after, .page-hero.compact::after { display: none; }
}
@media (max-width: 560px) {
    .brand { min-width: 176px; }
    .brand img { width: 176px; height: 44px; }
}