:root {
    --bg: #0c111d;
    --panel: #121a2a;
    --panel-soft: #172238;
    --line: rgba(255, 255, 255, 0.08);
    --text: #edf3ff;
    --muted: #9ba8bd;
    --teal: #29d3a7;
    --amber: #f8b84e;
    --rose: #ff6b7a;
    --blue: #6ea8fe;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a { text-decoration: none; }

.app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    background: #09101d;
    border-right: 1px solid var(--line);
    padding: 22px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.brand:hover { color: var(--text); }

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    border-radius: 8px;
    color: #041018;
    display: inline-flex;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand small,
.eyebrow,
.muted {
    color: var(--muted);
}

.sidebar-nav {
    display: grid;
    gap: 6px;
    margin-top: 28px;
}

.sidebar-nav a {
    align-items: center;
    border-radius: 8px;
    color: #c8d2e4;
    display: flex;
    gap: 12px;
    padding: 11px 12px;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
    background: rgba(41, 211, 167, 0.12);
    color: #fff;
}

.risk-note {
    background: rgba(248, 184, 78, 0.1);
    border: 1px solid rgba(248, 184, 78, 0.22);
    border-radius: 8px;
    color: #ffd99a;
    display: flex;
    gap: 10px;
    font-size: 13px;
    margin-top: 28px;
    padding: 12px;
}

.main {
    padding: 28px;
}

.topbar {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.topbar h1 {
    font-size: 28px;
    margin: 0;
}

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

.btn-icon {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.user-pill {
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    gap: 8px;
    padding: 8px 12px;
}

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

.metric-card,
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.metric-card {
    padding: 18px;
}

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

.metric-card strong {
    display: block;
    font-size: 26px;
    margin-top: 6px;
}

.panel {
    padding: 20px;
}

.section-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    margin-top: 18px;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--line);
}

.badge-soft-success { background: rgba(41, 211, 167, 0.14); color: #6ff0cb; }
.badge-soft-danger { background: rgba(255, 107, 122, 0.14); color: #ff9aa4; }
.badge-soft-warning { background: rgba(248, 184, 78, 0.14); color: #ffd383; }
.badge-soft-info { background: rgba(110, 168, 254, 0.14); color: #a9caff; }

.auth-page {
    background:
        radial-gradient(circle at top left, rgba(41, 211, 167, 0.22), transparent 30%),
        radial-gradient(circle at bottom right, rgba(248, 184, 78, 0.16), transparent 28%),
        var(--bg);
}

.auth-wrap {
    align-items: center;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) 430px;
    min-height: 100vh;
    padding: 42px;
}

.auth-hero h1 {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.02;
    margin: 38px 0 18px;
    max-width: 860px;
}

.auth-hero p {
    color: #cbd6e7;
    font-size: 18px;
    max-width: 720px;
}

.brand-large .brand-mark {
    height: 54px;
    width: 54px;
}

.market-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.market-strip span {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 12px;
}

.auth-card {
    background: rgba(18, 26, 42, 0.88);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.form-control,
.form-select {
    background-color: #0f1728;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.plain-error {
    align-items: center;
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.landing-page {
    --landing-ink: #132033;
    --landing-muted: #637083;
    --landing-border: rgba(19, 32, 51, 0.1);
    --landing-cyan: #00b8ff;
    --landing-emerald: #15c98f;
    --landing-coral: #ff6f61;
    --landing-violet: #7c3cff;
    --landing-yellow: #ffc857;
    background: #fbfdff;
    color: var(--landing-ink);
    overflow-x: hidden;
}

.landing-nav {
    align-items: center;
    backdrop-filter: blur(22px);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(46, 70, 114, 0.12);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    left: 50%;
    max-width: 1160px;
    padding: 10px 12px 10px 18px;
    position: fixed;
    top: 18px;
    transform: translateX(-50%);
    width: min(calc(100% - 32px), 1160px);
    z-index: 30;
}

.landing-brand {
    align-items: center;
    color: var(--landing-ink);
    display: inline-flex;
    gap: 10px;
    font-weight: 800;
}

.landing-brand:hover {
    color: var(--landing-ink);
}

.landing-brand span {
    align-items: center;
    background: linear-gradient(135deg, var(--landing-cyan), var(--landing-emerald), var(--landing-yellow));
    border-radius: 10px;
    color: #051423;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.landing-links {
    display: flex;
    gap: 22px;
}

.landing-links a {
    color: #4a5870;
    font-weight: 700;
}

.landing-links a:hover {
    color: var(--landing-violet);
}

.landing-actions {
    display: flex;
    gap: 8px;
}

.landing-page .btn {
    border-radius: 999px;
    font-weight: 800;
}

.landing-page .btn-primary {
    background: linear-gradient(135deg, #1768ff, var(--landing-violet));
    border: 0;
    box-shadow: 0 12px 30px rgba(23, 104, 255, 0.28);
}

.landing-hero {
    align-items: center;
    display: flex;
    min-height: 88svh;
    overflow: hidden;
    padding: 118px max(24px, calc((100vw - 1160px) / 2)) 64px;
    position: relative;
}

.landing-hero::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 37%, rgba(255, 255, 255, 0.34) 66%, rgba(255, 255, 255, 0.04) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), #fbfdff 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
}

.landing-hero > img {
    animation: heroFloat 8s ease-in-out infinite;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center right;
    position: absolute;
    width: 100%;
}

.hero-content {
    max-width: 690px;
    position: relative;
    z-index: 3;
}

.hero-kicker,
.section-heading span,
.impact-band span {
    align-items: center;
    color: var(--landing-violet);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1 {
    color: #101b2d;
    font-size: clamp(56px, 9vw, 118px);
    font-weight: 950;
    line-height: 0.92;
    margin: 20px 0 24px;
    max-width: 780px;
}

.hero-content p {
    color: #334157;
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.45;
    max-width: 660px;
}

.hero-ctas,
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-trust span {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--landing-border);
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(46, 70, 114, 0.12);
    color: #314158;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    padding: 10px 14px;
}

.hero-glow {
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.hero-glow-a {
    animation: pulseGlow 5s ease-in-out infinite;
    background: var(--landing-yellow);
    height: 150px;
    left: 4%;
    top: 20%;
    width: 150px;
}

.hero-glow-b {
    animation: pulseGlow 6s ease-in-out infinite reverse;
    background: var(--landing-coral);
    bottom: 14%;
    height: 110px;
    left: 42%;
    width: 110px;
}

.landing-strip {
    background: #ffffff;
    border: 1px solid var(--landing-border);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(46, 70, 114, 0.12);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -34px auto 84px;
    max-width: 1160px;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.landing-strip div {
    background: linear-gradient(180deg, #fff, #f8fbff);
    padding: 24px;
}

.landing-strip strong {
    color: #111d31;
    display: block;
    font-size: 34px;
    line-height: 1;
}

.landing-strip span {
    color: var(--landing-muted);
    font-weight: 800;
}

.landing-section {
    margin: 0 auto;
    max-width: 1160px;
    padding: 0 24px 92px;
}

.section-heading {
    margin-bottom: 28px;
    max-width: 760px;
}

.section-heading h2,
.impact-band h2 {
    color: #101b2d;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 930;
    line-height: 1.02;
    margin-top: 12px;
}

.feature-grid,
.pricing-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.price-card {
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(46, 70, 114, 0.1);
    overflow: hidden;
    padding: 24px;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.price-card:hover {
    box-shadow: 0 34px 100px rgba(46, 70, 114, 0.18);
    transform: translateY(-6px);
}

.feature-card::before,
.price-card::before {
    background: linear-gradient(90deg, var(--landing-cyan), var(--landing-emerald), var(--landing-yellow), var(--landing-coral), var(--landing-violet));
    content: "";
    height: 5px;
    inset: 0 0 auto;
    position: absolute;
}

.feature-card i {
    align-items: center;
    background: #eef7ff;
    border-radius: 14px;
    color: var(--landing-violet);
    display: inline-flex;
    font-size: 24px;
    height: 52px;
    justify-content: center;
    margin-bottom: 18px;
    width: 52px;
}

.feature-card h3,
.price-card span {
    color: #152239;
    font-size: 20px;
    font-weight: 900;
}

.feature-card p,
.price-card p {
    color: var(--landing-muted);
    line-height: 1.55;
    margin: 12px 0 0;
}

.feature-card-hot {
    background: linear-gradient(145deg, #ffffff, #f5fbff 58%, #fff7de);
}

.impact-band {
    align-items: center;
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 200, 87, 0.62), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(0, 184, 255, 0.32), transparent 28%),
        linear-gradient(135deg, #f4fbff, #fff5f6 48%, #f9f3ff);
    border: 1px solid var(--landing-border);
    border-radius: 30px;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin: 0 auto 92px;
    max-width: 1160px;
    overflow: hidden;
    padding: 44px;
    position: relative;
}

.impact-band::after {
    animation: shimmer 5s linear infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.74), transparent);
    content: "";
    height: 180%;
    left: -40%;
    position: absolute;
    top: -40%;
    transform: rotate(18deg);
    width: 120px;
}

.impact-band > * {
    position: relative;
    z-index: 2;
}

.price-card strong {
    color: #101b2d;
    display: block;
    font-size: 42px;
    line-height: 1;
    margin: 16px 0;
}

.price-card a {
    color: var(--landing-violet);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    margin-top: 20px;
}

.price-card.featured {
    background: #101b2d;
    color: #fff;
    transform: translateY(-10px);
}

.price-card.featured span,
.price-card.featured strong {
    color: #fff;
}

.price-card.featured p {
    color: #d6e0ef;
}

.price-card.featured a {
    color: var(--landing-yellow);
}

.security-section {
    padding-bottom: 64px;
}

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

.security-list div {
    align-items: center;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    box-shadow: 0 14px 50px rgba(46, 70, 114, 0.08);
    color: #26364d;
    display: flex;
    font-weight: 800;
    gap: 12px;
    padding: 18px;
}

.security-list i {
    color: var(--landing-emerald);
    font-size: 22px;
}

.landing-footer {
    align-items: center;
    background: #101b2d;
    color: #dbe6f5;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    padding: 28px max(24px, calc((100vw - 1160px) / 2));
}

.landing-footer a {
    color: var(--landing-yellow);
    font-weight: 900;
}

.clean-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 50%;
    max-width: 1180px;
    padding: 12px 14px 12px 16px;
    position: fixed;
    top: 18px;
    transform: translateX(-50%);
    width: min(calc(100% - 32px), 1180px);
    z-index: 40;
    backdrop-filter: blur(24px);
}

.clean-brand {
    align-items: center;
    color: #0f172a;
    display: inline-flex;
    gap: 10px;
    font-weight: 900;
}

.clean-brand:hover {
    color: #0f172a;
}

.clean-brand span {
    align-items: center;
    background: #0f172a;
    border-radius: 12px;
    color: #fff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.clean-links {
    align-items: center;
    display: flex;
    gap: 22px;
}

.clean-links a,
.clean-actions .btn-link {
    color: #64748b;
    font-weight: 800;
}

.clean-links a:hover,
.clean-actions .btn-link:hover {
    color: #0f172a;
}

.clean-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.clean-actions .btn-primary,
.clean-hero-actions .btn-primary {
    background: #0f172a;
    border-color: #0f172a;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
}

.clean-hero {
    align-items: center;
    display: grid;
    gap: 52px;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    min-height: 92svh;
    overflow: hidden;
    padding: 132px max(24px, calc((100vw - 1180px) / 2)) 72px;
    position: relative;
}

.clean-hero::before {
    background:
        linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    position: absolute;
}

.clean-orbit {
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.55;
    position: absolute;
    z-index: 0;
}

.clean-orbit-a {
    animation: cleanPulse 8s ease-in-out infinite;
    background: rgba(14, 165, 233, 0.16);
    height: 440px;
    right: -160px;
    top: 120px;
    width: 440px;
}

.clean-orbit-b {
    animation: cleanPulse 9s ease-in-out infinite reverse;
    background: rgba(34, 197, 94, 0.13);
    bottom: 80px;
    height: 340px;
    left: -130px;
    width: 340px;
}

.clean-hero-copy,
.clean-hero-visual {
    position: relative;
    z-index: 2;
}

.clean-kicker,
.clean-heading span,
.clean-final-cta span {
    align-items: center;
    color: #2563eb;
    display: inline-flex;
    font-size: 12px;
    font-weight: 950;
    gap: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.clean-hero-copy h1 {
    color: #0f172a;
    font-size: clamp(44px, 6.8vw, 82px);
    font-weight: 950;
    line-height: 0.98;
    margin: 18px 0 22px;
    max-width: 720px;
}

.clean-hero-copy p {
    color: #475569;
    font-size: clamp(18px, 1.7vw, 21px);
    line-height: 1.6;
    max-width: 620px;
}

.clean-hero-actions,
.clean-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.clean-hero-actions .btn,
.clean-actions .btn,
.clean-final-cta .btn {
    border-radius: 12px;
    font-weight: 900;
}

.clean-proof span {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    color: #334155;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    padding: 10px 12px;
}

.clean-hero-visual {
    min-height: 520px;
}

.clean-hero-visual img {
    animation: cleanFloat 9s ease-in-out infinite;
    border-radius: 30px;
    box-shadow: 0 34px 100px rgba(15, 23, 42, 0.14);
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    right: -48px;
    top: 0;
    width: min(760px, 58vw);
}

.floating-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    position: absolute;
    z-index: 3;
    backdrop-filter: blur(20px);
}

.floating-card i {
    align-items: center;
    background: #ecfeff;
    border-radius: 12px;
    color: #0891b2;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    color: #0f172a;
    font-size: 14px;
}

.floating-card span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.floating-card-top {
    right: 8%;
    top: 46px;
}

.floating-card-bottom {
    bottom: 62px;
    left: 4%;
}

.clean-metrics,
.clean-section,
.clean-split,
.clean-final-cta {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.clean-metrics {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 92px;
    overflow: hidden;
}

.clean-metrics article {
    padding: 28px;
}

.clean-metrics article + article {
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.clean-metrics strong {
    color: #0f172a;
    display: block;
    font-size: 38px;
    line-height: 1;
}

.clean-metrics span {
    color: #64748b;
    display: block;
    font-weight: 800;
    margin-top: 8px;
}

.clean-section {
    padding: 0 24px 94px;
}

.clean-heading {
    margin-bottom: 30px;
    max-width: 760px;
}

.clean-heading h2,
.clean-split h2,
.clean-final-cta h2 {
    color: #0f172a;
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 940;
    line-height: 1.05;
    margin: 12px 0;
}

.clean-heading p,
.clean-final-cta p {
    color: #64748b;
    font-size: 18px;
    line-height: 1.65;
}

.clean-feature-grid,
.clean-pricing-grid {
    display: grid;
    gap: 18px;
}

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

.clean-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clean-feature-grid article,
.clean-pricing-grid article {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
    padding: 26px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.clean-feature-grid article:hover,
.clean-pricing-grid article:hover {
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.11);
    transform: translateY(-5px);
}

.clean-feature-grid i {
    align-items: center;
    background: #eff6ff;
    border-radius: 16px;
    color: #2563eb;
    display: inline-flex;
    font-size: 24px;
    height: 54px;
    justify-content: center;
    margin-bottom: 20px;
    width: 54px;
}

.clean-feature-grid h3 {
    color: #0f172a;
    font-size: 22px;
    font-weight: 920;
}

.clean-feature-grid p,
.clean-pricing-grid p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.clean-split {
    align-items: center;
    background:
        radial-gradient(circle at 14% 18%, rgba(14, 165, 233, 0.14), transparent 32%),
        linear-gradient(135deg, #f8fafc, #eef6ff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 30px;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    margin-bottom: 94px;
    overflow: hidden;
    padding: 46px;
    position: relative;
}

.clean-split::after {
    animation: cleanSweep 6s linear infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    content: "";
    height: 160%;
    left: -30%;
    position: absolute;
    top: -30%;
    transform: rotate(16deg);
    width: 110px;
}

.clean-split > * {
    position: relative;
    z-index: 2;
}

.clean-checks {
    display: grid;
    gap: 12px;
}

.clean-checks p {
    align-items: center;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    color: #334155;
    display: flex;
    font-weight: 800;
    gap: 10px;
    margin: 0;
    padding: 14px;
}

.clean-checks i {
    color: #16a34a;
    font-size: 20px;
}

.clean-pricing-grid article span {
    color: #2563eb;
    display: block;
    font-weight: 900;
}

.clean-pricing-grid article strong {
    color: #0f172a;
    display: block;
    font-size: 38px;
    margin: 12px 0;
}

.clean-pricing-grid article a {
    color: #0f172a;
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    margin-top: 22px;
}

.clean-pricing-grid .is-featured {
    background: #0f172a;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.22);
    transform: translateY(-10px);
}

.clean-pricing-grid .is-featured span {
    color: #93c5fd;
}

.clean-pricing-grid .is-featured strong,
.clean-pricing-grid .is-featured a {
    color: #fff;
}

.clean-pricing-grid .is-featured p {
    color: #cbd5e1;
}

.clean-final-cta {
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 197, 94, 0.2), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.22), transparent 30%),
        #0f172a;
    border-radius: 34px;
    box-shadow: 0 34px 100px rgba(15, 23, 42, 0.18);
    color: #fff;
    margin-bottom: 52px;
    overflow: hidden;
    padding: 58px;
    position: relative;
    text-align: center;
}

.clean-final-cta h2,
.clean-final-cta p {
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.clean-final-cta p {
    color: #cbd5e1;
}

.clean-final-cta span {
    color: #93c5fd;
}

.clean-footer {
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    padding: 28px max(24px, calc((100vw - 1180px) / 2));
}

.clean-footer strong {
    color: #0f172a;
}

.clean-footer a {
    color: #2563eb;
    font-weight: 900;
}

@keyframes cleanFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(0.4deg); }
}

@keyframes cleanPulse {
    0%, 100% { transform: scale(0.94); }
    50% { transform: scale(1.08); }
}

@keyframes cleanSweep {
    from { transform: translateX(0) rotate(16deg); }
    to { transform: translateX(1300px) rotate(16deg); }
}

@keyframes heroFloat {
    0%, 100% { transform: scale(1.02) translateY(0); }
    50% { transform: scale(1.06) translateY(-14px); }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(0.92); opacity: 0.42; }
    50% { transform: scale(1.18); opacity: 0.8; }
}

@keyframes shimmer {
    from { transform: translateX(0) rotate(18deg); }
    to { transform: translateX(1200px) rotate(18deg); }
}

@media (max-width: 1024px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar {
        height: auto;
        position: static;
    }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-grid { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: 1fr; padding: 24px; }
    .landing-links { display: none; }
    .landing-hero {
        min-height: 84svh;
        padding-top: 112px;
    }
    .landing-hero::after {
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.84) 58%, rgba(255, 255, 255, 0.22) 100%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.04), #fbfdff 100%);
    }
    .feature-grid,
    .pricing-grid,
    .landing-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .impact-band {
        align-items: flex-start;
        flex-direction: column;
        margin-left: 24px;
        margin-right: 24px;
    }
    .clean-links { display: none; }
    .clean-hero {
        gap: 34px;
        grid-template-columns: 1fr;
        padding-top: 120px;
    }
    .clean-hero-visual {
        min-height: 430px;
    }
    .clean-hero-visual img {
        right: 0;
        width: 100%;
    }
    .clean-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-left: 24px;
        margin-right: 24px;
    }
    .clean-feature-grid,
    .clean-pricing-grid,
    .clean-split {
        grid-template-columns: 1fr;
    }
    .clean-pricing-grid .is-featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .main { padding: 18px; }
    .topbar,
    .topbar-actions { align-items: flex-start; flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr; }
    .landing-nav {
        align-items: stretch;
        border-radius: 22px;
        flex-direction: column;
        position: absolute;
    }
    .landing-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .landing-actions .btn {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-height: 42px;
        white-space: normal;
    }
    .landing-hero {
        min-height: 90svh;
        padding-top: 184px;
    }
    .landing-hero::after {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 56%, #fbfdff 100%);
    }
    .landing-hero > img {
        opacity: 0.46;
        object-position: center;
    }
    .hero-content h1 {
        font-size: clamp(48px, 18vw, 70px);
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .landing-strip,
    .feature-grid,
    .pricing-grid,
    .security-list {
        grid-template-columns: 1fr;
    }
    .landing-strip {
        margin-left: 16px;
        margin-right: 16px;
    }
    .landing-section {
        padding-left: 16px;
        padding-right: 16px;
    }
    .impact-band {
        margin-left: 16px;
        margin-right: 16px;
        padding: 28px;
    }
    .clean-nav {
        align-items: stretch;
        border-radius: 18px;
        flex-direction: column;
        position: absolute;
    }
    .clean-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .clean-actions .btn {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-height: 42px;
        padding-left: 10px;
        padding-right: 10px;
        white-space: normal;
    }
    .clean-hero {
        padding: 180px 16px 48px;
    }
    .clean-hero-copy h1 {
        font-size: clamp(38px, 13vw, 54px);
    }
    .clean-hero-actions .btn {
        width: 100%;
    }
    .clean-proof span {
        width: 100%;
    }
    .clean-hero-visual {
        min-height: 310px;
    }
    .floating-card {
        display: none;
    }
    .clean-metrics {
        grid-template-columns: 1fr;
        margin-left: 16px;
        margin-right: 16px;
    }
    .clean-metrics article + article {
        border-left: 0;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }
    .clean-section {
        padding-left: 16px;
        padding-right: 16px;
    }
    .clean-split,
    .clean-final-cta {
        border-radius: 24px;
        margin-left: 16px;
        margin-right: 16px;
        padding: 28px;
    }
}
