:root {
    --bg: #060812;
    --surface: rgba(15, 20, 36, 0.82);
    --surface-solid: #101527;
    --surface-light: #161d32;
    --border: rgba(148, 163, 184, 0.14);
    --border-bright: rgba(92, 233, 255, 0.25);
    --text: #eef5ff;
    --muted: #8792aa;
    --cyan: #53e7ff;
    --cyan-dark: #0aa5cf;
    --purple: #9a6cff;
    --green: #38e6a2;
    --red: #ff5d79;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --radius: 20px;
    --sidebar-width: 270px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

[hidden] {
    display: none !important;
}

/* Authentication */
.auth-page {
    position: relative;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(8, 11, 22, 0.72), rgba(4, 6, 14, 0.92)),
        repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(83, 231, 255, 0.025) 80px),
        repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(83, 231, 255, 0.025) 80px),
        radial-gradient(circle at 50% 40%, #14233b 0, #080b16 45%, #04060d 100%);
}

.auth-page::before,
.auth-page::after {
    position: fixed;
    z-index: 0;
    width: 38vw;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(83, 231, 255, 0.25), transparent);
    transform: rotate(-35deg);
}

.auth-page::before {
    top: 18%;
    left: -10%;
}

.auth-page::after {
    right: -8%;
    bottom: 18%;
}

.ambient {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.23;
    animation: ambientFloat 12s ease-in-out infinite alternate;
}

.ambient-one {
    top: -16%;
    left: -8%;
    width: 520px;
    height: 520px;
    background: #13677f;
}

.ambient-two {
    right: -10%;
    bottom: -18%;
    width: 560px;
    height: 560px;
    background: #542a93;
    animation-delay: -4s;
}

.noise-layer {
    position: fixed;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}

.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    min-height: 100vh;
    place-items: center;
    padding: 48px 20px 72px;
}

.auth-card {
    position: relative;
    width: min(100%, 460px);
    padding: 42px 42px 32px;
    overflow: hidden;
    border: 1px solid rgba(152, 177, 210, 0.17);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(19, 25, 43, 0.86), rgba(9, 13, 26, 0.76));
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 80px rgba(26, 181, 222, 0.05);
    backdrop-filter: blur(22px);
    animation: cardReveal 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-card::before {
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 16px var(--cyan);
}

.auth-card::after {
    position: absolute;
    top: -80px;
    left: 50%;
    width: 270px;
    height: 150px;
    content: "";
    border-radius: 50%;
    background: rgba(83, 231, 255, 0.08);
    filter: blur(38px);
    transform: translateX(-50%);
    pointer-events: none;
}

.auth-card-register {
    width: min(100%, 500px);
    padding-top: 36px;
}

.brand-mark {
    position: relative;
    z-index: 1;
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 19px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.4);
    border-radius: 18px;
    color: #07121a;
    background: linear-gradient(135deg, #a9f6ff, var(--cyan) 45%, #6a8cff);
    box-shadow: 0 0 30px rgba(83, 231, 255, 0.25), inset 0 0 0 5px rgba(8, 17, 29, 0.18);
    transform: rotate(45deg);
}

.brand-mark::before,
.brand-mark::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(83, 231, 255, 0.12);
    border-radius: 22px;
    inset: -9px;
}

.brand-mark::after {
    border-style: dashed;
    inset: -17px;
    animation: brandSpin 14s linear infinite;
}

.brand-core {
    font-size: 25px;
    font-weight: 900;
    transform: rotate(-45deg);
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.27em;
    text-align: center;
}

.auth-card h1 {
    margin: 0;
    font-size: clamp(24px, 6vw, 30px);
    font-weight: 850;
    letter-spacing: -0.04em;
    text-align: center;
}

.auth-card h1 span {
    display: inline-block;
    font-size: 0.82em;
    animation: robotFloat 2.8s ease-in-out infinite;
}

.auth-subtitle {
    margin: 8px 0 27px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    animation: alertReveal 300ms ease-out both;
}

.alert > span:first-child {
    display: grid;
    flex: 0 0 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.alert-error {
    border-color: rgba(255, 93, 121, 0.25);
    color: #ffb5c1;
    background: rgba(255, 93, 121, 0.08);
}

.alert-error > span:first-child {
    color: #fff;
    background: var(--red);
}

.alert-success {
    border-color: rgba(56, 230, 162, 0.25);
    color: #aaf7d8;
    background: rgba(56, 230, 162, 0.08);
}

.alert-success > span:first-child {
    color: #07150f;
    background: var(--green);
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group label,
.tool-label {
    display: block;
    margin: 0 0 8px;
    color: #cbd5e5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.input-wrap {
    position: relative;
}

.input-wrap input {
    width: 100%;
    height: 53px;
    padding: 0 48px 0 46px;
    outline: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 13px;
    color: var(--text);
    caret-color: var(--cyan);
    background: rgba(5, 8, 18, 0.62);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-wrap input:focus {
    border-color: rgba(83, 231, 255, 0.58);
    background: rgba(6, 12, 24, 0.9);
    box-shadow: 0 0 0 4px rgba(83, 231, 255, 0.08), inset 0 0 18px rgba(83, 231, 255, 0.025);
}

.input-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    color: #66728c;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 180ms ease;
}

.input-icon svg,
.password-toggle svg {
    width: 19px;
    height: 19px;
}

.input-wrap:focus-within .input-icon {
    color: var(--cyan);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border-radius: 9px;
    color: #758199;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--cyan);
    background: rgba(83, 231, 255, 0.08);
    outline: none;
}

.field-hint {
    display: block;
    margin-top: 7px;
    color: #66728b;
    font-size: 11px;
    line-height: 1.35;
}

.primary-button {
    position: relative;
    display: flex;
    width: 100%;
    height: 53px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    overflow: hidden;
    border-radius: 13px;
    color: #06131a;
    background: linear-gradient(105deg, #65eeff 0%, #52d8ff 42%, #8788ff 100%);
    box-shadow: 0 12px 28px rgba(50, 194, 232, 0.2);
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.02em;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.primary-button::before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 500ms ease;
}

.primary-button:hover {
    box-shadow: 0 16px 35px rgba(50, 194, 232, 0.31);
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.primary-button:hover::before {
    left: 140%;
}

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

.primary-button:focus-visible,
.auth-switch a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.primary-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.button-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(6, 19, 26, 0.25);
    border-top-color: #06131a;
    border-radius: 50%;
    animation: brandSpin 650ms linear infinite;
}

.auth-form.is-loading .primary-button {
    pointer-events: none;
    opacity: 0.8;
}

.auth-form.is-loading .button-label,
.auth-form.is-loading .primary-button svg {
    display: none;
}

.auth-form.is-loading .button-loader {
    display: block;
}

.auth-switch {
    margin: 24px 0 0;
    color: #7e8aa2;
    font-size: 13px;
    text-align: center;
}

.auth-switch a {
    color: var(--cyan);
    font-weight: 750;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: #66728a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pulse-dot,
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px var(--green);
    animation: pulse 2s ease-in-out infinite;
}

.auth-footer {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 22px;
    left: 0;
    color: rgba(135, 146, 170, 0.48);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

/* Dashboard shell */
.dashboard-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(6, 8, 18, 0.93), rgba(6, 8, 18, 0.98)),
        repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(83, 231, 255, 0.035) 80px),
        repeating-linear-gradient(0deg, transparent 0, transparent 79px, rgba(83, 231, 255, 0.035) 80px),
        #060812;
}

.dashboard-ambient {
    position: fixed;
    z-index: 0;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
    opacity: 0.12;
}

.dashboard-ambient-one {
    top: -260px;
    left: 25%;
    background: #1ba3ca;
}

.dashboard-ambient-two {
    right: -300px;
    bottom: -200px;
    background: #6c36bb;
}

.sidebar {
    position: fixed;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    width: var(--sidebar-width);
    flex-direction: column;
    border-right: 1px solid rgba(148, 163, 184, 0.11);
    background: rgba(8, 11, 22, 0.94);
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(22px);
}

.sidebar::after {
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 160px;
    content: "";
    background: linear-gradient(var(--cyan), transparent);
    opacity: 0.4;
}

.sidebar-header {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.09);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
}

.mini-brand {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.45);
    border-radius: 11px;
    color: #06131a;
    background: linear-gradient(135deg, #8af3ff, var(--cyan), #8b76ff);
    box-shadow: 0 0 22px rgba(83, 231, 255, 0.15);
    font-size: 17px;
    font-weight: 900;
}

.dashboard-brand > span:last-child {
    display: grid;
}

.dashboard-brand strong {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.19em;
    line-height: 1.1;
}

.dashboard-brand small {
    margin-top: 4px;
    color: var(--cyan);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.25em;
}

.sidebar-close {
    display: none;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 10px;
    color: var(--muted);
    background: rgba(148, 163, 184, 0.07);
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 27px 16px;
}

.nav-label {
    margin: 0 12px 12px;
    color: #505b70;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.nav-item {
    position: relative;
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    gap: 13px;
    margin-bottom: 5px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #768198;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 650;
    text-align: left;
    transition: color 170ms ease, background 170ms ease, border-color 170ms ease;
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

.nav-item:hover {
    color: #cdd6e7;
    background: rgba(148, 163, 184, 0.055);
}

.nav-item.active {
    border-color: rgba(83, 231, 255, 0.12);
    color: var(--cyan);
    background: linear-gradient(90deg, rgba(83, 231, 255, 0.12), rgba(83, 231, 255, 0.025));
    box-shadow: inset 3px 0 0 var(--cyan);
}

.nav-item.active::after {
    position: absolute;
    right: 12px;
    width: 4px;
    height: 4px;
    content: "";
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.nav-badge {
    display: grid;
    min-width: 22px;
    height: 18px;
    margin-left: auto;
    padding: 0 6px;
    place-items: center;
    border-radius: 9px;
    color: #9aa5ba;
    background: rgba(148, 163, 184, 0.1);
    font-size: 9px;
}

.nav-item.active .nav-badge {
    display: none;
}

.sidebar-status {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 16px 18px;
    padding: 14px;
    border: 1px solid rgba(56, 230, 162, 0.11);
    border-radius: 13px;
    background: rgba(56, 230, 162, 0.035);
}

.status-orbit {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border: 1px solid rgba(56, 230, 162, 0.2);
    border-radius: 50%;
}

.status-orbit span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse 2s infinite;
}

.sidebar-status div:last-child {
    display: grid;
    min-width: 0;
}

.sidebar-status strong {
    color: #a6edcf;
    font-size: 10px;
}

.sidebar-status small {
    margin-top: 3px;
    overflow: hidden;
    color: #5f716d;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user {
    display: flex;
    min-height: 77px;
    align-items: center;
    gap: 11px;
    padding: 14px 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.09);
    background: rgba(255, 255, 255, 0.012);
}

.user-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.25);
    border-radius: 11px;
    color: var(--cyan);
    background: linear-gradient(135deg, rgba(83, 231, 255, 0.16), rgba(154, 108, 255, 0.12));
    font-weight: 850;
}

.user-meta {
    display: grid;
    min-width: 0;
    flex: 1;
}

.user-meta strong {
    overflow: hidden;
    color: #d8e1f0;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-meta small {
    margin-top: 2px;
    color: #68748b;
    font-size: 9px;
}

.logout-icon,
.notification-button,
.menu-toggle {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 9px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 11px;
    color: #6e7a91;
    background: rgba(148, 163, 184, 0.045);
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.logout-icon svg,
.notification-button svg,
.menu-toggle svg {
    width: 19px;
    height: 19px;
}

.logout-icon:hover {
    border-color: rgba(255, 93, 121, 0.2);
    color: var(--red);
    background: rgba(255, 93, 121, 0.07);
}

.dashboard-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.topbar {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    height: 86px;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(22px, 4vw, 54px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.09);
    background: rgba(6, 8, 18, 0.76);
    backdrop-filter: blur(20px);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.breadcrumb {
    margin: 0 0 4px;
    color: #59657b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.breadcrumb span {
    color: var(--cyan);
}

.topbar h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-clock {
    display: flex;
    height: 36px;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid rgba(148, 163, 184, 0.09);
    border-radius: 10px;
    color: #7a879e;
    background: rgba(148, 163, 184, 0.035);
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.notification-button {
    position: relative;
}

.notification-button > span {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 7px var(--cyan);
}

.notification-button:hover,
.menu-toggle:hover {
    border-color: rgba(83, 231, 255, 0.18);
    color: var(--cyan);
    background: rgba(83, 231, 255, 0.07);
}

.menu-toggle {
    display: none;
}

.dashboard-content {
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 36px clamp(22px, 4vw, 54px) 60px;
}

.dashboard-panel.active {
    animation: panelReveal 380ms ease both;
}

.hero-panel {
    position: relative;
    display: grid;
    min-height: 270px;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(83, 231, 255, 0.13);
    border-radius: var(--radius);
    background:
        linear-gradient(100deg, rgba(20, 31, 50, 0.94), rgba(11, 15, 29, 0.75)),
        repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(83, 231, 255, 0.08) 50px);
    box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.035);
}

.hero-panel::before {
    position: absolute;
    top: 0;
    left: 5%;
    width: 42%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 15px var(--cyan);
}

.hero-panel::after {
    position: absolute;
    right: -10%;
    bottom: -70%;
    width: 530px;
    height: 530px;
    content: "";
    border: 1px solid rgba(83, 231, 255, 0.05);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(83, 231, 255, 0.012), 0 0 0 140px rgba(83, 231, 255, 0.009);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 40px clamp(30px, 5vw, 64px);
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--cyan);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.25em;
}

.hero-kicker span {
    width: 16px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.hero-copy h2,
.section-intro h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 45px);
    letter-spacing: -0.055em;
    line-height: 1.1;
}

.hero-copy h2 em {
    color: var(--cyan);
    font-style: normal;
    text-shadow: 0 0 24px rgba(83, 231, 255, 0.25);
}

.hero-copy > p:not(.hero-kicker),
.section-intro > div > p:last-child {
    max-width: 560px;
    margin: 14px 0 24px;
    color: #8793a9;
    font-size: 13px;
    line-height: 1.7;
}

.hero-button,
.outline-button,
.danger-button {
    display: inline-flex;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 11px;
    color: #06131a;
    background: linear-gradient(105deg, #6eefff, #55dcff);
    box-shadow: 0 9px 24px rgba(83, 231, 255, 0.15);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-button svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.hero-button:hover {
    box-shadow: 0 12px 28px rgba(83, 231, 255, 0.27);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    z-index: 2;
    width: 260px;
    height: 260px;
    justify-self: center;
}

.scanner-ring,
.scanner-core,
.scanner-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.scanner-ring {
    border: 1px solid rgba(83, 231, 255, 0.19);
}

.ring-one {
    width: 210px;
    height: 210px;
    border-style: dashed;
    animation: brandSpin 24s linear infinite;
}

.ring-two {
    width: 155px;
    height: 155px;
    border-color: rgba(154, 108, 255, 0.26);
    border-style: dotted;
    animation: reverseSpin 15s linear infinite;
}

.scanner-cross {
    background: linear-gradient(90deg, transparent, rgba(83, 231, 255, 0.28), transparent);
}

.cross-one {
    width: 230px;
    height: 1px;
}

.cross-two {
    width: 1px;
    height: 230px;
}

.scanner-core {
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.6);
    border-radius: 26px;
    color: #06131a;
    background: linear-gradient(135deg, #a8f7ff, var(--cyan) 48%, #8876ff);
    box-shadow: 0 0 55px rgba(83, 231, 255, 0.24), inset 0 0 0 8px rgba(7, 16, 28, 0.15);
    transform: translate(-50%, -50%) rotate(45deg);
}

.scanner-core::before {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 20px;
    inset: 10px;
}

.scanner-core span {
    font-size: 38px;
    font-weight: 950;
    transform: rotate(-45deg);
}

.data-node {
    position: absolute;
    display: grid;
    width: 31px;
    height: 22px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.18);
    border-radius: 6px;
    color: rgba(83, 231, 255, 0.78);
    background: #0b1422;
    box-shadow: 0 0 12px rgba(83, 231, 255, 0.1);
    font-family: Consolas, monospace;
    font-size: 7px;
    animation: nodeFloat 3s ease-in-out infinite;
}

.node-one { top: 34px; left: 35px; }
.node-two { top: 57px; right: 18px; animation-delay: -1s; }
.node-three { right: 43px; bottom: 29px; animation-delay: -2s; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.stat-card {
    display: flex;
    min-height: 112px;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(18, 24, 42, 0.87), rgba(10, 14, 27, 0.78));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
    transition: border-color 180ms ease, transform 180ms ease;
}

.stat-card:hover {
    border-color: rgba(148, 163, 184, 0.25);
    transform: translateY(-2px);
}

.stat-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid;
    border-radius: 14px;
}

.stat-icon svg {
    width: 22px;
    height: 22px;
}

.stat-cyan .stat-icon { border-color: rgba(83, 231, 255, 0.18); color: var(--cyan); background: rgba(83, 231, 255, 0.07); }
.stat-purple .stat-icon { border-color: rgba(154, 108, 255, 0.2); color: var(--purple); background: rgba(154, 108, 255, 0.07); }
.stat-green .stat-icon { border-color: rgba(56, 230, 162, 0.18); color: var(--green); background: rgba(56, 230, 162, 0.06); }

.stat-card > div:last-child {
    display: grid;
    grid-template-columns: auto auto;
    min-width: 0;
    flex: 1;
    align-items: end;
}

.stat-card span {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    color: #6f7b92;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-card strong {
    font-size: 27px;
    letter-spacing: -0.04em;
}

.stat-card small {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 5px;
    color: #637087;
    font-size: 8px;
}

.stat-card small i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 7px var(--green);
}

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

.glass-panel,
.tool-card {
    border: 1px solid var(--border);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(17, 23, 40, 0.83), rgba(9, 13, 25, 0.75));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(14px);
}

.glass-panel {
    padding: 22px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.panel-heading p {
    margin: 0 0 4px;
    color: var(--cyan);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.panel-heading h3 {
    margin: 0;
    font-size: 15px;
}

.panel-heading > button {
    padding: 5px;
    color: #6d7990;
    background: transparent;
    cursor: pointer;
    font-size: 9px;
}

.panel-heading > button:hover {
    color: var(--cyan);
}

.quick-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.quick-list > button {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    padding: 13px;
    border: 1px solid rgba(148, 163, 184, 0.09);
    border-radius: 12px;
    color: #7c899f;
    background: rgba(148, 163, 184, 0.025);
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quick-list > button:hover {
    border-color: rgba(83, 231, 255, 0.17);
    background: rgba(83, 231, 255, 0.04);
    transform: translateY(-2px);
}

.quick-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid;
    border-radius: 10px;
    font-family: Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
}

.quick-icon.cyan { border-color: rgba(83, 231, 255, 0.17); color: var(--cyan); background: rgba(83, 231, 255, 0.07); }
.quick-icon.purple { border-color: rgba(154, 108, 255, 0.18); color: var(--purple); background: rgba(154, 108, 255, 0.07); }
.quick-icon.green { border-color: rgba(56, 230, 162, 0.16); color: var(--green); background: rgba(56, 230, 162, 0.06); }

.quick-list > button > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.quick-list strong {
    overflow: hidden;
    color: #c9d2e2;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-list small {
    margin-top: 3px;
    overflow: hidden;
    color: #5f6a80;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-list svg {
    width: 13px;
    height: 13px;
}

.session-terminal {
    padding: 13px 14px;
    border: 1px solid rgba(83, 231, 255, 0.08);
    border-radius: 11px;
    background: rgba(2, 6, 13, 0.72);
    font-family: Consolas, "SFMono-Regular", monospace;
}

.terminal-top {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.terminal-top span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff5d79;
}

.terminal-top span:nth-child(2) { background: #f4c65b; }
.terminal-top span:nth-child(3) { background: var(--green); }
.terminal-top small { margin-left: auto; color: #414d62; font-size: 7px; }

.session-terminal p {
    margin: 7px 0;
    color: #536078;
    font-size: 8px;
}

.session-terminal p > span { color: var(--cyan); }
.session-terminal p > strong { color: #87cfb3; font-weight: 500; }
.terminal-cursor i {
    display: inline-block;
    width: 5px;
    height: 9px;
    margin-left: 3px;
    vertical-align: -2px;
    background: var(--cyan);
    animation: cursorBlink 1s step-end infinite;
}

/* Content panels */
.section-intro {
    margin-bottom: 24px;
}

.section-intro-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-intro h2 {
    font-size: clamp(30px, 4vw, 40px);
}

.section-intro > div > p:last-child {
    margin-bottom: 0;
}

.tools-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tool-card {
    position: relative;
    padding: 25px;
    overflow: hidden;
}

.tool-card::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: 80px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.tool-card-wide {
    grid-column: 1 / -1;
}

.tool-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 21px;
}

.tool-number {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.2);
    border-radius: 12px;
    color: var(--cyan);
    background: rgba(83, 231, 255, 0.06);
    font-family: Consolas, monospace;
    font-size: 11px;
}

.tool-heading h3 {
    margin: 0;
    font-size: 16px;
}

.tool-heading p {
    margin: 4px 0 0;
    color: #69758b;
    font-size: 10px;
}

.tool-output-row,
.textarea-wrap {
    position: relative;
}

.tool-output-row {
    display: flex;
    gap: 9px;
}

.tool-output-row input,
.tool-card textarea {
    width: 100%;
    outline: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 11px;
    color: #d8e3f4;
    background: rgba(4, 7, 15, 0.67);
    font-family: Consolas, "SFMono-Regular", monospace;
    font-size: 11px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tool-output-row input {
    height: 43px;
    padding: 0 13px;
}

.tool-card textarea {
    display: block;
    padding: 12px;
    resize: vertical;
    line-height: 1.55;
}

.tool-output-row input:focus,
.tool-card textarea:focus {
    border-color: rgba(83, 231, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(83, 231, 255, 0.055);
}

.copy-button,
.textarea-wrap > button {
    border: 1px solid rgba(83, 231, 255, 0.16);
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(83, 231, 255, 0.055);
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
}

.copy-button {
    padding: 0 14px;
}

.textarea-wrap > button {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 5px 8px;
}

.range-row {
    margin: 18px 0;
}

.range-row label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    color: #77839a;
    font-size: 10px;
}

.range-row strong {
    color: var(--cyan);
    font-family: Consolas, monospace;
}

.range-row input {
    width: 100%;
    height: 4px;
    margin: 0;
    accent-color: var(--cyan);
    cursor: pointer;
}

.tool-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-bottom: 18px;
}

.tool-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #758198;
    cursor: pointer;
    font-size: 9px;
}

.tool-options input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--cyan);
}

.tool-action {
    height: 40px;
    padding: 0 15px;
    border-radius: 10px;
    color: #07131a;
    background: linear-gradient(105deg, #71efff, #57d7ff);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}

.tool-action:hover,
.copy-button:hover,
.textarea-wrap > button:hover {
    filter: brightness(1.12);
}

.tool-action.secondary {
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #9da8bc;
    background: rgba(148, 163, 184, 0.055);
}

.dual-actions {
    display: flex;
    gap: 9px;
    margin: 12px 0 18px;
}

.dual-actions .tool-action {
    flex: 1;
}

.json-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.full-height,
.full-height textarea {
    height: calc(100% - 0px);
}

.compact-actions {
    max-width: 300px;
    margin-bottom: 0;
}

.tool-message {
    min-height: 16px;
    margin: 10px 0 0;
    color: var(--green);
    font-size: 10px;
}

.tool-message.error {
    color: var(--red);
}

.outline-button {
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #8a96ab;
    background: rgba(148, 163, 184, 0.04);
    box-shadow: none;
}

.outline-button:hover {
    border-color: rgba(255, 93, 121, 0.25);
    color: #ff9bae;
}

.history-panel {
    min-height: 380px;
}

.history-head,
.history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.35fr) 100px;
    align-items: center;
    gap: 16px;
}

.history-head {
    padding: 0 15px 11px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.09);
    color: #505d73;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.history-item {
    min-height: 62px;
    padding: 9px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.065);
    animation: panelReveal 250ms ease both;
}

.history-item:last-child {
    border-bottom: 0;
}

.history-task {
    display: flex;
    align-items: center;
    gap: 11px;
}

.history-task > span {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 9px;
    color: var(--cyan);
    background: rgba(83, 231, 255, 0.07);
    font-family: Consolas, monospace;
    font-size: 8px;
}

.history-task strong {
    color: #c2ccdc;
    font-size: 10px;
}

.history-time {
    color: #68758b;
    font-family: Consolas, monospace;
    font-size: 9px;
}

.history-success,
.online-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 10px;
    color: #7de8bc;
    background: rgba(56, 230, 162, 0.07);
    font-size: 8px;
    font-weight: 700;
}

.empty-state {
    display: grid;
    min-height: 290px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.empty-state > div {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(83, 231, 255, 0.13);
    border-radius: 16px;
    color: var(--cyan);
    background: rgba(83, 231, 255, 0.045);
}

.empty-state svg {
    width: 25px;
    height: 25px;
}

.empty-state h3 {
    margin: 15px 0 6px;
    font-size: 14px;
}

.empty-state p {
    margin: 0 0 16px;
    color: #68758b;
    font-size: 10px;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.4fr) minmax(0, 0.6fr);
    gap: 18px;
}

.account-card {
    padding: 0;
    overflow: hidden;
}

.account-cover {
    position: relative;
    display: grid;
    height: 150px;
    place-items: end center;
    background:
        linear-gradient(rgba(8, 12, 23, 0.12), rgba(8, 12, 23, 0.85)),
        repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(83, 231, 255, 0.07) 40px),
        linear-gradient(135deg, rgba(83, 231, 255, 0.16), rgba(154, 108, 255, 0.13));
}

.large-avatar {
    display: grid;
    width: 86px;
    height: 86px;
    margin-bottom: -38px;
    place-items: center;
    border: 5px solid #0c1120;
    border-radius: 25px;
    color: #07131a;
    background: linear-gradient(135deg, #a4f6ff, var(--cyan), #8d75ff);
    box-shadow: 0 0 30px rgba(83, 231, 255, 0.15);
    font-size: 30px;
    font-weight: 900;
}

.account-body {
    padding: 51px 25px 30px;
    text-align: center;
}

.account-body h3 {
    margin: 0;
    font-size: 20px;
}

.account-body p {
    margin: 6px 0 13px;
    color: #718097;
    font-size: 10px;
}

.verified-badge {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(56, 230, 162, 0.13);
    border-radius: 12px;
    color: #8beac2;
    background: rgba(56, 230, 162, 0.055);
    font-size: 8px;
    font-weight: 750;
}

.account-details dl {
    margin: 0 0 22px;
}

.account-details dl > div {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.075);
}

.account-details dt {
    color: #69758b;
    font-size: 10px;
}

.account-details dd {
    margin: 0;
    color: #bdc7d8;
    font-size: 10px;
    font-weight: 650;
    text-align: right;
}

.danger-button {
    width: 100%;
    border: 1px solid rgba(255, 93, 121, 0.17);
    color: #ff9bad;
    background: rgba(255, 93, 121, 0.06);
    box-shadow: none;
}

.danger-button:hover {
    background: rgba(255, 93, 121, 0.11);
}

.danger-button svg {
    width: 17px;
    height: 17px;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 25px;
    bottom: 25px;
    display: flex;
    min-width: 230px;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(56, 230, 162, 0.18);
    border-radius: 12px;
    color: #b8e8d4;
    background: rgba(10, 20, 23, 0.94);
    box-shadow: var(--shadow);
    font-size: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #06130e;
    background: var(--green);
    font-size: 10px;
    font-weight: 900;
}

.mobile-backdrop {
    display: none;
}

/* Animation */
@keyframes ambientFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(35px, 20px, 0) scale(1.08); }
}

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes panelReveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes alertReveal {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes robotFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(4deg); }
}

@keyframes brandSpin {
    to { transform: rotate(360deg); }
}

@keyframes reverseSpin {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes cursorBlink {
    50% { opacity: 0; }
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Responsive */
@media (max-width: 1180px) {
    .quick-list {
        grid-template-columns: 1fr;
    }

    .quick-list > button {
        grid-template-columns: 36px minmax(0, 1fr) 14px;
    }
}

@media (max-width: 960px) {
    .sidebar {
        transform: translateX(-102%);
        transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .dashboard-page.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .dashboard-page.sidebar-open {
        overflow: hidden;
    }

    .sidebar-close,
    .menu-toggle {
        display: grid;
    }

    .mobile-backdrop {
        position: fixed;
        z-index: 40;
        display: block;
        inset: 0;
        background: rgba(1, 3, 8, 0.68);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 250ms ease;
    }

    .dashboard-page.sidebar-open .mobile-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .hero-panel {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .hero-visual {
        width: 230px;
        transform: scale(0.84);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .auth-card {
        padding: 36px 27px 28px;
    }

    .auth-card-register {
        padding-top: 32px;
    }

    .topbar {
        height: 74px;
        padding-inline: 18px;
    }

    .topbar h1 {
        font-size: 17px;
    }

    .dashboard-content {
        padding: 24px 18px 45px;
    }

    .hero-panel {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 35px 28px;
    }

    .hero-visual {
        display: none;
    }

    .stats-grid,
    .tools-layout,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .tool-card-wide {
        grid-column: auto;
    }

    .quick-list {
        grid-template-columns: 1fr;
    }

    .json-grid {
        grid-template-columns: 1fr;
    }

    .section-intro-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .history-head {
        display: none;
    }

    .history-item {
        grid-template-columns: 1fr auto;
        gap: 7px 12px;
    }

    .history-time {
        grid-row: 2;
        padding-left: 42px;
    }

    .history-success {
        grid-row: 1 / 3;
        grid-column: 2;
    }
}

@media (max-width: 520px) {
    .auth-shell {
        align-items: start;
        padding: 27px 14px 68px;
    }

    .auth-card {
        padding: 33px 20px 25px;
        border-radius: 21px;
    }

    .auth-card-register {
        padding-top: 29px;
    }

    .brand-mark {
        width: 54px;
        height: 54px;
        margin-bottom: 17px;
        border-radius: 15px;
    }

    .auth-card h1 {
        font-size: 23px;
    }

    .auth-subtitle {
        margin-bottom: 23px;
        font-size: 12px;
    }

    .auth-form {
        gap: 16px;
    }

    .live-clock {
        display: none;
    }

    .breadcrumb {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-copy {
        padding: 30px 22px;
    }

    .hero-copy h2 {
        font-size: 29px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card {
        min-height: 95px;
    }

    .glass-panel,
    .tool-card {
        padding: 18px;
    }

    .tool-output-row {
        flex-direction: column;
    }

    .copy-button {
        height: 38px;
    }

    .dual-actions {
        flex-direction: column;
    }

    .section-intro h2 {
        font-size: 31px;
    }

    .history-panel {
        padding: 13px;
    }

    .toast {
        right: 14px;
        bottom: 14px;
        left: 14px;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
