:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-deep: #12357a;
    --brand-soft: #eff6ff;
    --cyan: #38bdf8;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --success: #16a34a;
    --danger: #dc2626;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
    --shadow: 0 20px 50px rgba(37, 99, 235, .12);
    --radius: 18px;
    --radius-sm: 11px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand-light { color: #fff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 21px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .25); outline-offset: 2px; }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 9px 22px rgba(37, 99, 235, .22); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 28px rgba(37, 99, 235, .3); }
.btn-secondary { color: var(--brand); background: #fff; border-color: #bfdbfe; }
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-white { color: var(--brand-deep); background: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.btn-white:hover { background: #f8fafc; }
.btn-small { min-height: 40px; padding: 9px 17px; font-size: 14px; }
.btn-large { min-height: 52px; padding: 14px 25px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(226, 232, 240, .75);
    backdrop-filter: blur(14px);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.desktop-nav { display: flex; align-items: center; gap: 36px; margin-left: 80px; }
.desktop-nav a, .text-link { color: #334155; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.desktop-nav a:hover, .text-link:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions form { margin: 0; }
.mobile-menu-button, .sidebar-open, .sidebar-close { display: none; }
.mobile-nav { display: none; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 106px 0 92px;
    background:
        radial-gradient(circle at 18% 15%, rgba(56, 189, 248, .16), transparent 27%),
        radial-gradient(circle at 82% 10%, rgba(37, 99, 235, .15), transparent 29%),
        linear-gradient(180deg, #f4f9ff 0%, #fff 88%);
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: .45;
}
.hero::before { width: 240px; height: 240px; left: -125px; top: 60px; background: rgba(56, 189, 248, .16); }
.hero::after { width: 300px; height: 300px; right: -170px; bottom: -70px; background: rgba(37, 99, 235, .12); }
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.eyebrow, .section-kicker, .auth-kicker, .dashboard-eyebrow, .panel-kicker, .topbar-label {
    display: inline-block;
    color: var(--brand);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow { margin-bottom: 21px; padding: 9px 14px; border: 1px solid #bfdbfe; border-radius: 999px; background: rgba(255, 255, 255, .8); }
.hero h1 { max-width: 880px; margin: 0 auto; font-size: clamp(44px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -.055em; }
.hero p { max-width: 770px; margin: 26px auto 0; color: var(--muted); font-size: 19px; line-height: 1.72; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.hero-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 35px; color: #475569; font-size: 14px; font-weight: 650; }
.hero-benefits span { display: inline-flex; align-items: center; gap: 8px; }
.hero-benefits b { display: grid; place-items: center; width: 20px; height: 20px; color: #fff; background: #22c55e; border-radius: 50%; font-size: 11px; }

.section { padding: 95px 0; }
.section-muted { background: var(--surface-soft); }
.section-heading { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin: 12px 0 15px; font-size: clamp(34px, 4vw, 45px); line-height: 1.12; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.product-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: stretch;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #dbeafe;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}
.popular-badge {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 42px;
    transform: translateY(-1px);
    padding: 8px 16px;
    color: #fff;
    background: var(--brand);
    border-radius: 0 0 9px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.product-copy { padding: 70px 50px 50px; }
.product-price { color: var(--brand); font-size: 18px; font-weight: 800; }
.product-copy h3 { margin: 8px 0 11px; font-size: 33px; letter-spacing: -.04em; }
.product-copy > p { margin: 0 0 26px; color: var(--muted); line-height: 1.65; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; color: #334155; line-height: 1.5; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    color: #fff;
    background: #22c55e;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}
.product-actions { display: grid; gap: 10px; margin-top: 31px; }
.product-actions .btn { justify-content: space-between; }
.product-actions .btn span { font-size: 12px; font-weight: 600; opacity: .84; }
.product-image-wrap { position: relative; min-height: 490px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eff6ff 0%, #f8fbff 100%); }
.product-image-wrap img { position: relative; z-index: 1; width: 86%; border-radius: 16px; box-shadow: 0 24px 50px rgba(15, 23, 42, .14); }
.image-glow { position: absolute; width: 290px; height: 290px; background: rgba(56, 189, 248, .2); border-radius: 50%; filter: blur(20px); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 920px; margin: 0 auto; }
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 590px;
    padding: 46px 42px 40px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.pricing-card-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pricing-card .popular-badge { left: 50%; transform: translate(-50%, -1px); }
.pricing-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--brand); background: var(--brand-soft); border-radius: 13px; font-size: 22px; font-weight: 800; }
.pricing-card h3 { margin: 22px 0 8px; font-size: 25px; letter-spacing: -.025em; }
.pricing-card > p { margin: 0; color: var(--muted); }
.price-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin: 28px 0 27px; }
.price-note small { flex-basis: 100%; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.price-note strong { font-size: 35px; letter-spacing: -.045em; }
.price-note span { color: var(--muted); font-size: 14px; }
.pricing-card .check-list { margin-bottom: 30px; }
.pricing-card .btn { margin-top: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-card { padding: 31px 29px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #bfdbfe; box-shadow: var(--shadow-sm); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--brand); background: var(--brand-soft); border-radius: 13px; font-size: 21px; font-weight: 800; }
.feature-card h3 { margin: 20px 0 10px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.cta-section { padding: 92px 0; color: #fff; background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 53%, #0ea5e9 125%); }
.cta-inner { max-width: 840px; text-align: center; }
.cta-inner h2 { margin: 0; font-size: clamp(36px, 4.8vw, 53px); letter-spacing: -.045em; }
.cta-inner > p { max-width: 710px; margin: 18px auto 30px; color: rgba(255, 255, 255, .83); font-size: 17px; line-height: 1.7; }
.cta-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 29px; color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 650; }

.site-footer { padding: 70px 0 0; color: #cbd5e1; background: #0b1220; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 65px; padding-bottom: 52px; }
.footer-brand-column p { max-width: 320px; margin: 18px 0 0; color: #94a3b8; line-height: 1.7; }
.footer-grid h4 { margin: 0 0 20px; color: #fff; font-size: 15px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-grid a, .footer-grid span { color: #94a3b8; font-size: 14px; line-height: 1.4; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-top: 1px solid rgba(148, 163, 184, .18); color: #64748b; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #cbd5e1; }

.toast {
    position: fixed;
    z-index: 1000;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 44px), 420px);
    padding: 15px 16px;
    color: #14532d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
    animation: toast-in .32s ease both;
}
.toast-icon { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; background: var(--success); border-radius: 50%; font-weight: 800; }
.toast button { padding: 0; color: #166534; background: none; border: 0; font-size: 22px; }
.toast.is-hiding { animation: toast-out .25s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* Authentication */
.auth-page { min-height: 100vh; background: #f8fbff; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .88fr) minmax(560px, 1.12fr); }
.auth-promo { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 46px 54px; color: #fff; background: linear-gradient(145deg, #153d91 0%, #2563eb 62%, #0ea5e9 145%); }
.auth-promo::before { content: ""; position: absolute; width: 420px; height: 420px; left: -190px; bottom: -190px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.035), 0 0 0 150px rgba(255,255,255,.025); }
.auth-promo-copy { position: relative; z-index: 1; max-width: 510px; margin: auto 0; }
.auth-kicker { color: #bae6fd; }
.auth-promo h1 { margin: 18px 0 18px; font-size: clamp(42px, 5vw, 62px); line-height: 1.06; letter-spacing: -.05em; }
.auth-promo p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 17px; line-height: 1.75; }
.auth-points { display: grid; gap: 14px; margin-top: 30px; color: rgba(255, 255, 255, .93); font-weight: 650; }
.auth-points span { display: flex; gap: 10px; }
.auth-promo-orb { position: absolute; right: -110px; top: 12%; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px; }
.auth-card { width: min(100%, 610px); padding: 45px 48px; background: #fff; border: 1px solid #e7edf6; border-radius: 20px; box-shadow: 0 28px 65px rgba(37, 99, 235, .11); }
.auth-mobile-brand { display: none; }
.auth-heading { margin-bottom: 31px; }
.auth-heading h2 { margin: 12px 0 10px; font-size: 32px; letter-spacing: -.035em; }
.auth-heading p { margin: 0; color: var(--muted); line-height: 1.65; }
.auth-form { display: grid; gap: 20px; }
.form-group { display: grid; gap: 8px; }
.form-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-group label { color: #334155; font-size: 13px; font-weight: 750; }
.form-group label span { color: #94a3b8; font-weight: 500; }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.muted-link { color: #94a3b8; font-size: 12px; }
.form-control { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 9px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control::placeholder { color: #a3afbf; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .11); }
.form-control.is-invalid { border-color: #ef4444; }
.field-error { color: var(--danger); font-size: 12px; line-height: 1.4; }
.standalone-error { margin-top: -13px; }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 67px; }
.password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 5px 7px; color: var(--brand); background: transparent; border: 0; font-size: 12px; font-weight: 750; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: #475569; font-size: 13px; line-height: 1.5; cursor: pointer; }
.checkbox-row input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand); }
.checkbox-row a { color: var(--brand); font-weight: 700; }
.password-help { margin: -10px 0 0; color: #94a3b8; font-size: 12px; line-height: 1.5; }
.auth-switch { margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 14px; }
.auth-switch a { color: var(--brand); font-weight: 800; }
.back-home { margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 650; }
.back-home:hover { color: var(--brand); }

/* Dashboard */
.dashboard-page { min-height: 100vh; background: #f4f7fb; }
.dashboard-shell { min-height: 100vh; display: flex; }
.dashboard-sidebar { position: fixed; z-index: 100; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 282px; padding: 28px 20px 22px; color: #cbd5e1; background: linear-gradient(180deg, #102b68 0%, #123a8f 50%, #0c2866 100%); box-shadow: 10px 0 35px rgba(15, 23, 42, .14); }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.sidebar-user { display: flex; align-items: center; gap: 12px; margin: 30px 5px 24px; padding: 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(255,255,255,.07); }
.sidebar-avatar, .topbar-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--brand-deep); background: #dbeafe; border-radius: 50%; font-weight: 850; }
.sidebar-user div:last-child, .topbar-profile div:last-child { min-width: 0; display: grid; gap: 3px; }
.sidebar-user strong { overflow: hidden; color: #fff; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user span { overflow: hidden; color: #9fb4df; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-nav { display: grid; gap: 6px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 13px; border-radius: 10px; color: #bfd0f1; font-size: 14px; font-weight: 650; transition: background .18s ease, color .18s ease, transform .18s ease; }
.sidebar-nav a:hover { color: #fff; background: rgba(255,255,255,.08); transform: translateX(2px); }
.sidebar-nav a.active { color: #12357a; background: #fff; box-shadow: 0 10px 24px rgba(5, 15, 40, .2); }
.nav-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; font-size: 16px; font-weight: 800; }
.sidebar-nav a.active .nav-icon { color: #fff; background: var(--brand); }
.nav-separator { height: 1px; margin: 14px 8px; background: rgba(255,255,255,.12); }
.sidebar-footer { display: grid; gap: 10px; margin-top: auto; padding: 18px 7px 0; border-top: 1px solid rgba(255,255,255,.12); }
.sidebar-site-link, .sidebar-logout { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; color: #bfd0f1; background: transparent; border: 0; border-radius: 8px; font-size: 13px; font-weight: 650; text-align: left; }
.sidebar-site-link:hover, .sidebar-logout:hover { color: #fff; background: rgba(255,255,255,.07); }
.sidebar-overlay { display: none; }
.dashboard-main { width: calc(100% - 282px); min-height: 100vh; margin-left: 282px; }
.dashboard-topbar { height: 96px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; background: #fff; border-bottom: 1px solid #e7edf5; }
.dashboard-topbar h1 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.03em; }
.topbar-label { color: #94a3b8; font-size: 10px; }
.topbar-profile { display: flex; align-items: center; gap: 11px; }
.topbar-avatar { width: 39px; height: 39px; color: #fff; background: var(--brand); }
.topbar-profile strong { font-size: 13px; }
.topbar-profile span { color: var(--muted); font-size: 11px; }
.dashboard-content { padding: 34px 42px 48px; }
.dashboard-welcome-card { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 245px; overflow: hidden; padding: 42px 48px; color: #fff; background: linear-gradient(120deg, #1d4ed8 0%, #2563eb 63%, #0ea5e9 135%); border-radius: 20px; box-shadow: 0 20px 46px rgba(37,99,235,.2); }
.dashboard-welcome-card::before { content: ""; position: absolute; right: 70px; top: -135px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.025); }
.dashboard-welcome-card > div:first-child { position: relative; z-index: 2; max-width: 650px; }
.dashboard-eyebrow { color: #bfdbfe; }
.dashboard-welcome-card h2 { margin: 12px 0 8px; font-size: 37px; letter-spacing: -.045em; }
.dashboard-welcome-card p { max-width: 590px; margin: 0 0 24px; color: rgba(255,255,255,.82); line-height: 1.65; }
.welcome-meter-art { position: relative; z-index: 2; width: 235px; margin-right: 15px; }
.welcome-meter-art img { border: 6px solid rgba(255,255,255,.3); border-radius: 18px; box-shadow: 0 18px 35px rgba(5,25,75,.25); transform: rotate(3deg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; margin-top: 25px; }
.stat-card { display: flex; align-items: center; gap: 15px; min-height: 126px; padding: 22px; background: #fff; border: 1px solid #e5ebf3; border-radius: 15px; box-shadow: var(--shadow-sm); }
.stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; color: var(--brand); background: var(--brand-soft); border-radius: 12px; font-size: 20px; font-weight: 850; }
.stat-card > div:last-child { display: grid; gap: 4px; }
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 650; }
.stat-card strong { font-size: 24px; letter-spacing: -.03em; }
.stat-card small { color: #94a3b8; font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr); gap: 22px; margin-top: 25px; }
.dashboard-panel { background: #fff; border: 1px solid #e5ebf3; border-radius: 16px; box-shadow: var(--shadow-sm); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; min-height: 78px; padding: 18px 24px; border-bottom: 1px solid #edf1f6; }
.panel-kicker { color: #94a3b8; font-size: 9px; }
.panel-heading h3 { margin: 6px 0 0; font-size: 18px; }
.panel-heading > a { color: var(--brand); font-size: 12px; font-weight: 750; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 45px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; color: var(--brand); background: var(--brand-soft); border-radius: 18px; font-size: 27px; font-weight: 850; }
.empty-state h4, .empty-state h3 { margin: 18px 0 7px; font-size: 18px; }
.empty-state p { max-width: 570px; margin: 0 0 22px; color: var(--muted); line-height: 1.65; }
.quick-actions { display: grid; padding: 10px 14px 18px; }
.quick-actions a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 15px 10px; border-bottom: 1px solid #eef2f6; }
.quick-actions a:last-child { border-bottom: 0; }
.quick-actions a > span { display: grid; place-items: center; width: 39px; height: 39px; color: var(--brand); background: var(--brand-soft); border-radius: 10px; font-weight: 850; }
.quick-actions div { display: grid; gap: 4px; }
.quick-actions strong { font-size: 13px; }
.quick-actions small { color: var(--muted); font-size: 10px; }
.quick-actions b { color: #94a3b8; font-size: 21px; }
.dashboard-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; padding: 4px 2px; }
.dashboard-section-header h2 { margin: 10px 0 8px; font-size: 31px; letter-spacing: -.04em; }
.dashboard-section-header p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.65; }
.dashboard-placeholder .empty-state { min-height: 470px; }

@media (max-width: 1100px) {
    .desktop-nav { margin-left: 0; gap: 26px; }
    .product-card { grid-template-columns: 1fr 1fr; }
    .product-copy { padding-inline: 38px; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .desktop-nav, .header-actions { display: none; }
    .mobile-menu-button { display: grid; gap: 4px; padding: 9px; background: transparent; border: 0; }
    .mobile-menu-button span:not(.sr-only) { width: 23px; height: 2px; background: var(--ink); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
    .mobile-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .mobile-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .mobile-nav { display: none; padding: 8px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
    .mobile-nav.is-open { display: grid; }
    .mobile-nav a { padding: 12px 4px; color: #334155; border-bottom: 1px solid #f1f5f9; font-weight: 650; }
    .product-card { grid-template-columns: 1fr; }
    .product-image-wrap { min-height: 400px; order: -1; }
    .popular-badge { left: 50%; transform: translate(-50%, -1px); }
    .pricing-grid { max-width: 650px; grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }

    .auth-shell { grid-template-columns: 1fr; }
    .auth-promo { display: none; }
    .auth-mobile-brand { display: block; margin-bottom: 25px; }
    .auth-main { min-height: 100vh; }

    .dashboard-sidebar { transform: translateX(-102%); transition: transform .24s ease; }
    .dashboard-sidebar.is-open { transform: translateX(0); }
    .sidebar-close { display: block; padding: 3px 8px; color: #fff; background: transparent; border: 0; font-size: 28px; }
    .sidebar-overlay { position: fixed; z-index: 90; inset: 0; display: block; background: rgba(15,23,42,.48); opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease; }
    .sidebar-overlay.is-open { opacity: 1; visibility: visible; }
    .dashboard-main { width: 100%; margin-left: 0; }
    .sidebar-open { display: grid; gap: 4px; padding: 9px; margin-right: 12px; background: transparent; border: 0; }
    .sidebar-open span { width: 22px; height: 2px; background: var(--ink); }
    .dashboard-topbar { justify-content: flex-start; padding-inline: 24px; }
    .topbar-profile { margin-left: auto; }
    .dashboard-content { padding: 28px 24px 42px; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { height: 68px; }
    .hero { padding: 78px 0 70px; }
    .hero h1 { font-size: 43px; }
    .hero p { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-benefits { flex-direction: column; align-items: center; gap: 14px; }
    .section { padding: 72px 0; }
    .section-heading { margin-bottom: 36px; }
    .section-heading h2 { font-size: 34px; }
    .product-copy { padding: 58px 24px 28px; }
    .product-copy h3 { font-size: 28px; }
    .product-image-wrap { min-height: 310px; }
    .pricing-card { min-height: 0; padding: 43px 25px 28px; }
    .feature-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 72px 0; }
    .cta-benefits { flex-direction: column; gap: 13px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 25px; }
    .footer-brand-column { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { min-height: 110px; flex-direction: column; justify-content: center; gap: 10px; text-align: center; }

    .auth-main { padding: 24px 15px; justify-content: flex-start; }
    .auth-mobile-brand { margin-top: 10px; align-self: flex-start; }
    .auth-card { padding: 31px 22px; border-radius: 16px; }
    .auth-heading h2 { font-size: 28px; }
    .form-grid-two { grid-template-columns: 1fr; }

    .dashboard-topbar { height: 82px; padding-inline: 16px; }
    .dashboard-topbar h1 { font-size: 20px; }
    .topbar-profile div:last-child { display: none; }
    .dashboard-content { padding: 20px 14px 35px; }
    .dashboard-welcome-card { min-height: 0; padding: 32px 25px; }
    .dashboard-welcome-card h2 { font-size: 31px; }
    .welcome-meter-art { display: none; }
    .stats-grid { grid-template-columns: 1fr; gap: 13px; }
    .stat-card { min-height: 105px; }
    .dashboard-grid { gap: 16px; }
    .dashboard-section-header { align-items: flex-start; flex-direction: column; }
    .empty-state { min-height: 270px; padding: 32px 20px; }
}
