:root {
  --ink: #0c1325;
  --muted: #687085;
  --paper: #f7f8fb;
  --white: #fff;
  --line: #dde1e9;
  --lime: #b9ff66;
  --lime-strong: #99eb3e;
  --violet: #7567f8;
  --navy: #11182d;
  --shadow: 0 30px 80px rgba(20, 28, 52, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); 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; }

.ambient { position: fixed; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .13; pointer-events: none; z-index: -1; }
.ambient-one { background: var(--lime-strong); top: -220px; left: -200px; }
.ambient-two { background: var(--violet); top: 100px; right: -260px; }

.site-header { position: sticky; top: 0; z-index: 40; padding: 17px 0; border-bottom: 1px solid rgba(221, 225, 233, .68); background: rgba(247, 248, 251, .82); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; align-items: center; min-height: 42px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 850; letter-spacing: .14em; }
.brand-mark { width: 32px; height: 32px; color: var(--ink); }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-mark path:first-child { fill: currentColor; }
.brand-mark path:last-child { fill: var(--lime); }
.main-nav { display: flex; gap: 34px; margin-left: 72px; font-size: 14px; font-weight: 650; color: #4e566a; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--violet); transition: right .2s; }
.main-nav a:hover::after { right: 0; }
.auth-actions, .user-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.user-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 750; }
.user-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); font-weight: 850; }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s, opacity .2s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 100px; background: var(--ink); color: var(--white); font-weight: 750; font-size: 14px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(12, 19, 37, .16); }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(117, 103, 248, .34); outline-offset: 3px; }
.button-small { min-height: 41px; padding-inline: 19px; }
.button-large { min-height: 58px; padding-inline: 28px; font-size: 15px; }
.button-ghost { color: var(--ink); background: transparent; border-color: transparent; box-shadow: none; }
.button-ghost:hover { box-shadow: none; background: #eceef4; transform: none; }

.hero { padding: 100px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1fr .96fr; gap: 68px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; text-transform: uppercase; letter-spacing: .16em; font-weight: 850; font-size: 11px; color: #5e6678; }
.eyebrow > span { width: 24px; height: 2px; background: var(--violet); }
.hero h1, .section h2, .cta-card h2 { margin: 0; font-size: clamp(50px, 5.5vw, 78px); line-height: .99; letter-spacing: -.055em; font-weight: 820; }
.hero h1 em, .cta-card h2 em { color: var(--violet); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 35px; }
.text-link { font-size: 14px; font-weight: 750; border-bottom: 1px solid #b9bec8; padding: 10px 0 6px; }
.text-link span { margin-left: 7px; color: var(--violet); }
.trust-row { display: flex; gap: 28px; margin-top: 49px; color: #7a8192; font-size: 12px; }
.trust-row span { display: flex; flex-direction: column; }
.trust-row b { color: var(--ink); font-size: 17px; }

.hero-visual { position: relative; min-width: 0; padding: 26px 2px 34px 12px; perspective: 1000px; }
.visual-glow { position: absolute; inset: 0 12% 10%; border-radius: 50%; background: var(--violet); opacity: .15; filter: blur(70px); }
.dashboard-card { position: relative; overflow: hidden; min-height: 470px; border: 7px solid #20283c; border-radius: 25px; background: #f7f8fc; box-shadow: 0 45px 90px rgba(16, 24, 48, .25); transform: rotateY(-4deg) rotateX(2deg); }
.dashboard-top { display: flex; align-items: center; height: 42px; padding: 0 14px; background: #171e31; color: #98a1b7; font-size: 9px; }
.dashboard-top > span { margin: auto; }
.dashboard-top button { color: #8d96aa; border: 0; background: none; }
.traffic-lights { display: flex; gap: 5px; }
.traffic-lights i { width: 7px; height: 7px; border-radius: 50%; background: #f76a6a; }
.traffic-lights i:nth-child(2) { background: #f4c057; }
.traffic-lights i:nth-child(3) { background: #68ce7e; }
.dashboard-body { display: flex; min-height: 421px; }
.dashboard-side { width: 56px; flex: 0 0 56px; background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; }
.mini-logo { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 16px; border-radius: 8px; background: var(--lime); color: var(--ink); font-weight: 900; font-size: 11px; }
.dashboard-side i { width: 15px; height: 15px; border: 1.5px solid #667087; border-radius: 4px; }
.dashboard-side i.active { border-color: var(--lime); background: rgba(185, 255, 102, .14); box-shadow: inset 0 0 0 3px var(--navy); }
.dashboard-content { flex: 1; min-width: 0; padding: 27px 24px 20px; }
.dash-heading { display: flex; justify-content: space-between; align-items: center; }
.dash-heading div { display: flex; flex-direction: column; }
.dash-heading small { color: #9298a9; font-size: 9px; }
.dash-heading strong { font-size: 17px; }
.status-chip { padding: 5px 8px; border: 1px solid #d9ead1; border-radius: 20px; color: #469b4f; background: #f4fff0; font-size: 8px; }
.metric-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 12px; margin-top: 22px; }
.metric-grid article { min-width: 0; height: 125px; padding: 15px; border: 1px solid #e5e7ed; border-radius: 13px; background: #fff; box-shadow: 0 8px 20px rgba(31, 40, 66, .05); }
.metric-grid article > span { display: block; color: #8b92a4; font-size: 8px; }
.metric-grid strong { display: block; font-size: 24px; margin-top: 3px; }
.sparkline { height: 40px; margin-top: 7px; }
.sparkline svg { width: 100%; height: 100%; }
.sparkline path { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; }
.avatar-stack { display: flex; margin-top: 23px; }
.avatar-stack i { display: grid; place-items: center; width: 25px; height: 25px; margin-right: -5px; border: 2px solid #fff; border-radius: 50%; background: #f8cfd1; font-size: 7px; font-style: normal; font-weight: 800; }
.avatar-stack i:nth-child(2) { background: #c7def7; }.avatar-stack i:nth-child(3) { background: #d7caed; }.avatar-stack i:nth-child(4) { color: #fff; background: var(--ink); }
.project-card { margin-top: 13px; padding: 15px; border: 1px solid #e5e7ed; border-radius: 13px; background: #fff; }
.project-title { display: flex; align-items: center; gap: 10px; }
.project-title div { display: flex; flex: 1; flex-direction: column; }
.project-title strong { font-size: 10px; }.project-title small { color: #a0a6b4; font-size: 7px; }.project-title b { font-size: 10px; }
.project-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--lime); font-size: 12px; }
.progress { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 8px; background: #edf0f4; }
.progress span { display: block; width: 72%; height: 100%; background: var(--violet); }
.project-tags { display: flex; gap: 5px; margin-top: 11px; }
.project-tags span { padding: 3px 7px; border-radius: 12px; background: #f1f2f6; color: #7b8293; font-size: 6px; }
.dash-footer { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: #8e95a6; font-size: 8px; }
.dash-footer span { margin-right: auto; }
.dash-footer i { width: 22px; height: 5px; border-radius: 5px; background: #e1e4ea; }
.floating-note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 13px; background: rgba(255, 255, 255, .92); box-shadow: 0 18px 35px rgba(22, 30, 52, .17); backdrop-filter: blur(10px); }
.floating-note > span { display: grid; place-items: center; min-width: 29px; height: 29px; border-radius: 8px; color: var(--ink); background: var(--lime); font-size: 10px; font-weight: 900; }
.floating-note div { display: flex; flex-direction: column; }.floating-note b { font-size: 9px; }.floating-note small { color: #9399a7; font-size: 7px; }
.note-one { top: 2px; right: -12px; }.note-two { left: -12px; bottom: 3px; }.note-two > span { min-width: 42px; background: #dedaff; color: #5146ba; }

.logo-strip { padding: 28px 0 70px; }
.logo-strip .container { display: flex; align-items: center; gap: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.logo-strip p { flex: 0 0 auto; color: #9298a6; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.logos { display: flex; justify-content: space-between; align-items: center; width: 100%; color: #808797; filter: grayscale(1); }
.logos span { font-size: 16px; font-weight: 850; letter-spacing: -.03em; }.logos span:nth-child(3) { letter-spacing: .16em; font-size: 12px; }.logos span:nth-child(4) { font-weight: 500; }

.section { padding: 110px 0; }
.features { background: #fff; }
.section-heading { display: grid; grid-template-columns: 1fr 400px; gap: 50px; align-items: end; margin-bottom: 55px; }
.section-heading h2, .process h2 { font-size: clamp(42px, 5vw, 65px); }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { position: relative; min-height: 380px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8f9fb; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(22, 30, 53, .08); }
.feature-dark { color: #fff; border-color: var(--navy); background: var(--navy); }
.feature-number { position: absolute; top: 29px; right: 29px; color: #9ba1af; font-size: 10px; letter-spacing: .12em; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 65px; border-radius: 15px; background: #e5e2ff; color: var(--violet); font-size: 27px; font-weight: 400; }
.feature-dark .feature-icon { color: var(--ink); background: var(--lime); }
.feature-card h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: #737b8e; font-size: 14px; }
.feature-dark p { color: #aab1c2; }
.feature-card a { position: absolute; bottom: 29px; left: 31px; font-size: 12px; font-weight: 800; }
.feature-card a span { margin-left: 8px; color: var(--violet); }.feature-dark a span { color: var(--lime); }

.process { background: #f2f3f7; }
.process-grid { display: grid; grid-template-columns: .86fr 1fr; gap: 110px; align-items: start; }
.process-copy { position: sticky; top: 130px; }
.process-copy > p:not(.eyebrow) { max-width: 440px; margin: 25px 0 30px; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 29px 0; border-top: 1px solid #d7dbe4; }
.steps li:last-child { border-bottom: 1px solid #d7dbe4; }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--violet); font-size: 11px; font-weight: 850; }
.steps h3 { margin: 0 0 5px; font-size: 20px; }.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-section { padding: 90px 0; background: #fff; }
.cta-card { position: relative; overflow: hidden; padding: 85px 50px; border-radius: 32px; color: #fff; text-align: center; background: var(--navy); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(117, 103, 248, .25), transparent 35%), radial-gradient(circle at 15% 90%, rgba(185, 255, 102, .12), transparent 35%); }
.cta-card > * { position: relative; z-index: 1; }
.eyebrow.light { justify-content: center; color: #aeb6c8; }.eyebrow.light span { background: var(--lime); }
.cta-card h2 { font-size: clamp(45px, 6vw, 72px); }
.cta-card h2 em { color: var(--lime); }
.cta-card > p:not(.eyebrow) { color: #abb3c5; margin: 23px 0 27px; }
.button-light { color: var(--ink); border-color: var(--lime); background: var(--lime); }

.site-footer { padding: 50px 0 30px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-top: 35px; border-top: 1px solid var(--line); }
.footer-grid > p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 25px; font-size: 13px; font-weight: 700; }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 25px; border-top: 1px solid #edf0f4; font-size: 11px !important; }

.auth-dialog { width: min(475px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 25px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.auth-dialog::backdrop { background: rgba(7, 12, 24, .68); backdrop-filter: blur(8px); }
.auth-dialog[open] { animation: dialog-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(15px) scale(.98); } }
.dialog-shell { position: relative; padding: 35px 42px 31px; }
.dialog-close { position: absolute; top: 17px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f2f5; color: #686f7e; font-size: 24px; line-height: 1; cursor: pointer; }
.dialog-brand { margin-bottom: 27px; }
.dialog-kicker { margin: 0 0 4px; color: var(--violet); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .15em; }
.auth-dialog h2 { margin: 0; font-size: 35px; line-height: 1.1; letter-spacing: -.04em; }
.dialog-intro { margin: 9px 0 23px; color: var(--muted); font-size: 13px; }
.auth-dialog form { display: flex; flex-direction: column; }
.auth-dialog label { margin: 11px 0 6px; font-size: 11px; font-weight: 800; }
.auth-dialog input:not([type="checkbox"]) { width: 100%; height: 49px; padding: 0 15px; border: 1px solid #d9dde6; border-radius: 11px; color: var(--ink); background: #fbfbfd; outline: 0; transition: border .2s, box-shadow .2s; }
.auth-dialog input:not([type="checkbox"]):focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(117, 103, 248, .13); }
.password-field { position: relative; }
.password-field input { padding-right: 65px !important; }
.password-field button { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); padding: 4px; border: 0; background: transparent; color: var(--violet); font-size: 10px; font-weight: 800; cursor: pointer; }
.check-field { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-weight: 500 !important; cursor: pointer; }
.check-field input { accent-color: var(--violet); margin-top: 4px; }
.form-error { min-height: 20px; margin: 7px 0 2px; color: #c5314a; font-size: 11px; }
.button-form { width: 100%; border-radius: 11px; }
.button-form[disabled] { cursor: wait; opacity: .65; }
.dialog-switch { margin: 20px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.dialog-switch button { padding: 0; border: 0; background: transparent; color: var(--violet); font-weight: 800; cursor: pointer; }
.toast { position: fixed; z-index: 100; right: 25px; bottom: 25px; max-width: min(380px, calc(100% - 30px)); padding: 14px 19px; border-radius: 13px; color: #fff; background: var(--ink); box-shadow: var(--shadow); font-size: 13px; animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 980px) {
  .main-nav { margin-left: 35px; gap: 20px; }
  .hero { padding-top: 70px; }.hero-grid { grid-template-columns: 1fr; }.hero-copy { max-width: 760px; }.hero-visual { width: min(680px, 100%); margin-inline: auto; }
  .logo-strip .container { flex-direction: column; align-items: flex-start; gap: 20px; }.logos { flex-wrap: wrap; gap: 20px 45px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }.feature-card:last-child { grid-column: 1 / -1; min-height: 330px; }
  .process-grid { gap: 55px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 30px, 620px); }
  .site-header { padding: 12px 0; }.menu-toggle { display: block; order: 2; }.auth-actions, .user-actions { order: 1; margin-left: auto; }.auth-actions .button-ghost, .user-actions .user-name, .user-actions .button-ghost { display: none; }
  .main-nav { position: absolute; top: 67px; left: 15px; right: 15px; display: none; flex-direction: column; gap: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }.main-nav.open { display: flex; }.main-nav a { padding: 12px; }.main-nav a::after { display: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 60px 0 60px; }.hero h1 { font-size: clamp(43px, 13vw, 63px); }.hero-lead { font-size: 16px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }.trust-row { flex-wrap: wrap; gap: 18px 30px; }
  .dashboard-card { min-height: 380px; border-width: 5px; transform: none; }.dashboard-body { min-height: 333px; }.dashboard-content { padding: 20px 14px; }.dashboard-side { width: 44px; flex-basis: 44px; }.floating-note { display: none; }.metric-grid article { height: 110px; }.dash-footer { display: none; }
  .logo-strip { padding-bottom: 40px; }.logos { justify-content: flex-start; }
  .section { padding: 78px 0; }.section-heading { grid-template-columns: 1fr; gap: 20px; }.feature-grid { grid-template-columns: 1fr; }.feature-card, .feature-card:last-child { grid-column: auto; min-height: 350px; }
  .process-grid { grid-template-columns: 1fr; }.process-copy { position: static; }.steps li { grid-template-columns: 50px 1fr; gap: 14px; }
  .cta-section { padding: 60px 0; }.cta-card { width: calc(100% - 20px); padding: 65px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }.footer-links { margin: 15px 0; }.copyright { grid-column: auto; }
  .dialog-shell { padding: 30px 22px 26px; }.dialog-brand { margin-bottom: 20px; }.auth-dialog h2 { font-size: 31px; }
}

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

/* Dark theme */
:root {
  color-scheme: dark;
  --dark-bg: #060811;
  --dark-surface: #0c111d;
  --dark-surface-2: #121929;
  --dark-border: rgba(255, 255, 255, .1);
  --dark-text: #f5f7fc;
  --dark-muted: #9ba5ba;
  --violet: #8b7cff;
  --lime: #baff69;
  --lime-strong: #a5f44e;
  --line: rgba(255, 255, 255, .1);
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

html { scroll-padding-top: 84px; }
body {
  color: var(--dark-text);
  background:
    radial-gradient(circle at 12% 5%, rgba(186, 255, 105, .08), transparent 28%),
    radial-gradient(circle at 88% 9%, rgba(139, 124, 255, .13), transparent 32%),
    var(--dark-bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}
::selection { color: #07100a; background: var(--lime); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #070a12; }
::-webkit-scrollbar-thumb { border: 3px solid #070a12; border-radius: 20px; background: #3a4255; }
::-webkit-scrollbar-thumb:hover { background: #505a70; }

.ambient { opacity: .2; animation: ambient-drift 14s ease-in-out infinite alternate; }
.ambient-one { background: var(--lime); }
.ambient-two { background: var(--violet); animation-delay: -7s; }
@keyframes ambient-drift { to { transform: translate3d(40px, 28px, 0) scale(1.08); } }

.site-header {
  border-color: rgba(255, 255, 255, .07);
  background: rgba(6, 8, 17, .76);
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(6, 8, 17, .93); box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.brand { color: var(--dark-text); }
.main-nav { color: #abb4c7; }
.main-nav a::after { background: var(--lime); }
.user-avatar { color: #07100a; box-shadow: 0 0 24px rgba(186,255,105,.22); }
.menu-toggle span:not(.sr-only) { background: var(--dark-text); }

.button { color: #081009; border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 rgba(186,255,105,0); }
.button:hover { box-shadow: 0 13px 35px rgba(186,255,105,.18); }
.button-ghost { color: var(--dark-text); border-color: transparent; background: transparent; }
.button-ghost:hover { color: var(--dark-text); background: rgba(255,255,255,.07); }
.text-link { border-color: rgba(255,255,255,.24); }
.text-link span { color: var(--lime); }

.eyebrow { color: #8f9ab0; }
.eyebrow > span { background: var(--lime); box-shadow: 0 0 14px rgba(186,255,105,.5); }
.hero h1, .section h2, .cta-card h2 { color: var(--dark-text); }
.hero h1 em { color: var(--violet); text-shadow: 0 0 50px rgba(139,124,255,.22); }
.hero-lead, .section-heading > p, .process-copy > p:not(.eyebrow), .steps p { color: var(--dark-muted); }
.trust-row { color: #778196; }
.trust-row b { color: var(--dark-text); }

.visual-glow { opacity: .27; }
.dashboard-card { border-color: #242c40; background: #0b101c; box-shadow: 0 45px 100px rgba(0,0,0,.55), 0 0 65px rgba(139,124,255,.12); }
.dashboard-top { background: #080c15; }
.dashboard-body { background: #0b101c; }
.dashboard-side { background: #080d18; border-right: 1px solid rgba(255,255,255,.06); }
.dashboard-side i.active { box-shadow: inset 0 0 0 3px #080d18; }
.dashboard-content { background: linear-gradient(145deg, #101625, #0b101b); }
.dash-heading small, .metric-grid article > span, .project-title small, .dash-footer { color: #778197; }
.dash-heading strong, .metric-grid strong, .project-title strong, .project-title b { color: #f6f7fb; }
.status-chip { color: #baff69; border-color: rgba(186,255,105,.22); background: rgba(186,255,105,.08); }
.metric-grid article, .project-card { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.project-tags span { color: #a1aabd; background: rgba(255,255,255,.07); }
.progress, .dash-footer i { background: rgba(255,255,255,.08); }
.avatar-stack i { color: #0c1325; border-color: #111727; }
.floating-note { color: #eef1f8; border-color: rgba(255,255,255,.12); background: rgba(15,21,35,.9); box-shadow: 0 20px 45px rgba(0,0,0,.38); }
.floating-note b { color: #fff; }.floating-note small { color: #8f99ad; }

.logo-strip .container { border-color: var(--dark-border); }
.logo-strip p { color: #6f7a90; }
.logos { color: #8b95a9; filter: none; }
.features, .cta-section, .site-footer { background: rgba(8, 11, 19, .78); }
.feature-card { border-color: var(--dark-border); background: linear-gradient(145deg, rgba(20,27,44,.88), rgba(12,17,29,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.feature-card:hover { border-color: rgba(186,255,105,.28); box-shadow: 0 25px 60px rgba(0,0,0,.3), 0 0 35px rgba(186,255,105,.05); }
.feature-dark { color: var(--dark-text); border-color: rgba(139,124,255,.4); background: radial-gradient(circle at 20% 0, rgba(139,124,255,.23), transparent 42%), linear-gradient(145deg, #151b2d, #0d1321); }
.feature-number { color: #717c92; }
.feature-icon { color: #c4bcff; background: rgba(139,124,255,.15); box-shadow: inset 0 0 0 1px rgba(139,124,255,.18); }
.feature-dark .feature-icon { color: #081009; background: var(--lime); box-shadow: 0 0 28px rgba(186,255,105,.15); }
.feature-card p, .feature-dark p { color: var(--dark-muted); }
.feature-card a span { color: var(--lime); }

.process { background: rgba(5, 8, 14, .96); }
.steps li, .steps li:last-child { border-color: var(--dark-border); }
.steps li > span { color: var(--lime); border: 1px solid rgba(186,255,105,.17); background: rgba(186,255,105,.07); box-shadow: 0 0 25px rgba(186,255,105,.04); }
.cta-card { border: 1px solid rgba(255,255,255,.1); background: linear-gradient(135deg, #121a2a, #0a0f1b 50%, #141126); box-shadow: 0 35px 90px rgba(0,0,0,.4); }
.cta-card::before { background: radial-gradient(circle at 80% 20%, rgba(139,124,255,.35), transparent 38%), radial-gradient(circle at 15% 90%, rgba(186,255,105,.16), transparent 40%); }
.cta-card > p:not(.eyebrow) { color: #9ca6ba; }
.button-light { color: #081009; }
.footer-grid, .copyright { border-color: var(--dark-border); }
.footer-grid > p, .copyright { color: #7f899e; }
.footer-links { color: #b4bdcc; }

.auth-dialog { color: var(--dark-text); border: 1px solid rgba(255,255,255,.11); background: #0e1422; box-shadow: 0 40px 120px rgba(0,0,0,.72); }
.auth-dialog::backdrop { background: rgba(1,3,8,.8); }
.dialog-close { color: #aeb7c8; background: rgba(255,255,255,.07); }
.dialog-kicker { color: var(--lime); }
.dialog-intro, .dialog-switch, .check-field { color: var(--dark-muted); }
.auth-dialog input:not([type="checkbox"]) { color: var(--dark-text); border-color: rgba(255,255,255,.11); background: rgba(255,255,255,.045); }
.auth-dialog input:not([type="checkbox"])::placeholder { color: #697388; }
.auth-dialog input:not([type="checkbox"]):focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,124,255,.16); }
.password-field button, .dialog-switch button { color: #b9b1ff; }
.form-error { color: #ff7189; }
.toast { color: #081009; border: 1px solid rgba(186,255,105,.5); background: var(--lime); }

/* Smooth entry transitions */
.motion-ready [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready [data-reveal="scale"] { transform: translate3d(0, 18px, 0) scale(.965); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.motion-ready .feature-card[data-reveal].is-visible:hover { transform: translateY(-7px); }
.floating-note { animation: float-note 4.8s ease-in-out infinite; }
.note-two { animation-delay: -2.4s; }
@keyframes float-note { 50% { transform: translateY(-8px); } }

@media (max-width: 760px) {
  .main-nav { border-color: rgba(255,255,255,.1); background: rgba(12,17,29,.97); }
  .main-nav a { color: #dbe0eb; }
  body::before { background-size: 48px 48px; }
}

/* 40% glass blur layer */
body::after {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  opacity: .4;
  filter: blur(85px);
  background:
    radial-gradient(circle at 20% 22%, rgba(186,255,105,.25), transparent 23%),
    radial-gradient(circle at 78% 18%, rgba(139,124,255,.32), transparent 27%),
    radial-gradient(circle at 62% 78%, rgba(78,109,255,.17), transparent 25%);
  animation: glass-glow 18s ease-in-out infinite alternate;
}
@keyframes glass-glow {
  to { transform: translate3d(3%, -2%, 0) scale(1.05); }
}

.site-header {
  background: rgba(6,8,17,.58);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.site-header.scrolled { background: rgba(6,8,17,.72); }
.dashboard-card,
.feature-card,
.cta-card,
.auth-dialog,
.floating-note,
.metric-grid article,
.project-card {
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.dashboard-card { background: rgba(9,14,25,.72); }
.dashboard-content { background: linear-gradient(145deg, rgba(16,22,37,.7), rgba(8,13,23,.76)); }
.metric-grid article, .project-card { background: rgba(255,255,255,.055); }
.feature-card { background: linear-gradient(145deg, rgba(24,32,51,.62), rgba(10,15,26,.68)); }
.feature-dark { background: radial-gradient(circle at 20% 0, rgba(139,124,255,.26), transparent 42%), rgba(13,19,33,.62); }
.cta-card { background: linear-gradient(135deg, rgba(18,26,42,.72), rgba(8,13,23,.68) 50%, rgba(20,17,38,.72)); }
.floating-note { background: rgba(15,21,35,.64); }
.auth-dialog { background: rgba(14,20,34,.82); }

@media (max-width: 760px) {
  .main-nav {
    background: rgba(12,17,29,.78);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
  }
  body::after { inset: -10%; filter: blur(65px); }
}
