:root {
  --primary: #246bfd;
  --primary-dark: #1853d8;
  --primary-soft: #edf3ff;
  --cyan: #28b8d4;
  --green: #16a56a;
  --purple: #7f68e8;
  --ink: #172033;
  --text: #3e4a5f;
  --muted: #728096;
  --line: #e4e9f1;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --shadow-sm: 0 8px 24px rgba(31, 50, 81, 0.08);
  --shadow-lg: 0 24px 70px rgba(25, 46, 82, 0.16);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
}

body.modal-open { overflow: hidden; }

button, input, select { font: inherit; }

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

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

.logo {
	
	height: 3.5rem;
	
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hidden { display: none !important; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section { padding: 104px 0; }

.section-muted { background: var(--surface-soft); }

.section-heading { max-width: 680px; margin-bottom: 48px; }

.section-heading.centered { margin-inline: auto; text-align: center; }

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p { margin: 18px 0 0; font-size: 1.06rem; color: var(--muted); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(228, 233, 241, 0.75);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 11px;
  background: linear-gradient(145deg, #3478ff, #1856df);
  box-shadow: 0 8px 18px rgba(36, 107, 253, 0.27);
}

.brand-mark svg { width: 27px; height: 27px; stroke-width: 1.6; }

.desktop-nav { display: flex; align-items: center; gap: 34px; }

.desktop-nav a {
  color: #4b586b;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover { color: var(--primary); }

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

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(36, 107, 253, .23);
}

.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 13px 30px rgba(36, 107, 253, .3); }

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

.btn-secondary:hover { border-color: #c9d4e6; box-shadow: var(--shadow-sm); }

.btn-ghost { color: var(--text); background: transparent; }

.btn-ghost:hover { background: var(--surface-soft); }

.btn-large { min-height: 52px; padding-inline: 26px; }

.btn-full { width: 100%; }

.btn-white { color: var(--primary); background: white; }

.mobile-menu-button,
.dashboard-menu-button {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: var(--surface-soft);
}

.mobile-menu-button span,
.dashboard-menu-button span { width: 19px; height: 2px; border-radius: 2px; background: var(--ink); }

.mobile-menu {
  display: none;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
  background: white;
}

.mobile-menu.open { display: grid; gap: 16px; }

.mobile-menu a { font-weight: 650; }

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  font-weight: 700;
  color: var(--ink);
}

.user-menu-trigger svg { width: 16px; }

.user-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg, #5c8cff, #246bfd);
}

.user-dropdown {
  position: fixed;
  z-index: 150;
  top: 68px;
  right: max(20px, calc((100vw - var(--container)) / 2));
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow-lg);
}

.user-dropdown button, .user-dropdown a {
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  text-align: left;
  color: var(--text);
  background: transparent;
  display: block;
}

.user-dropdown button:hover, .user-dropdown a:hover { background: var(--surface-soft); }

.hero {
  overflow: hidden;
  padding-top: 88px;
  background:
    radial-gradient(circle at 86% 20%, rgba(53, 119, 255, .13), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 74px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid #dce7ff;
  border-radius: 999px;
  color: #3b64b8;
  background: #f4f7ff;
  font-size: .82rem;
  font-weight: 700;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(22,165,106,.1); }

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: .99;
  letter-spacing: -.065em;
}

.hero h1 span { display: block; color: var(--primary); }

.hero-description {
  max-width: 660px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 38px; }

.trust-avatars { display: flex; }

.trust-avatars span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  font-size: .72rem;
  font-weight: 800;
  background: #8797b4;
}

.trust-avatars span:first-child { margin-left: 0; background: #5b72a4; }
.trust-avatars span:nth-child(2) { background: #4d91ae; }
.trust-avatars span:nth-child(3) { background: #9b7aaf; }
.trust-avatars span:nth-child(4) { background: #5e9c80; }

.hero-trust strong, .hero-trust span { display: block; }
.hero-trust strong { color: var(--ink); font-size: .88rem; }
.hero-trust > div:last-child span { color: var(--muted); font-size: .78rem; }

.hero-visual { position: relative; min-height: 550px; display: grid; align-items: center; }

.visual-glow {
  position: absolute;
  inset: 8% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,107,253,.20), transparent 68%);
  filter: blur(24px);
}

.app-preview {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(205, 216, 233, .9);
  border-radius: 22px;
  background: white;
  box-shadow: 0 38px 90px rgba(31, 58, 103, .18);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.preview-topbar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #607087;
  font-size: .68rem;
  font-weight: 650;
}

.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d4dce8; }
.preview-status { justify-self: end; color: var(--green); }

.preview-body { display: grid; grid-template-columns: 55px 1fr; min-height: 390px; }
.preview-sidebar { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 17px; border-right: 1px solid var(--line); background: #f9fbfe; }
.preview-sidebar span { width: 17px; height: 17px; border-radius: 5px; background: #dfe6f1; }
.preview-sidebar .sidebar-logo { width: 28px; height: 28px; background: var(--primary); }
.preview-main { padding: 22px; }

.upload-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #dce6f5;
  border-radius: 12px;
  background: #fbfdff;
}

.file-icon { width: 41px; height: 41px; display: grid; place-items: center; color: var(--primary); border-radius: 10px; background: var(--primary-soft); }
.file-icon svg { width: 22px; height: 22px; }
.upload-card strong, .upload-card span { display: block; }
.upload-card strong { color: var(--ink); font-size: .75rem; }
.upload-card span { color: var(--muted); font-size: .63rem; margin-top: 3px; }
.success-check { width: 24px; height: 24px; display: grid; place-items: center; margin-left: auto; border-radius: 50%; color: white; background: var(--green); font-size: .7rem; }

.processing-line { display: flex; justify-content: space-between; margin: 22px 0 10px; color: var(--muted); font-size: .65rem; }
.processing-line span:last-child { color: var(--green); font-weight: 700; }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.result-card { padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.result-card span, .result-card strong { display: block; }
.result-card span { color: var(--muted); font-size: .57rem; }
.result-card strong { margin-top: 5px; color: var(--ink); font-size: .68rem; }
.green-text { color: var(--green) !important; }

.mini-chart { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 22px; margin-top: 20px; padding: 14px; border-radius: 11px; background: #f7f9fd; }
.mini-chart span, .mini-chart strong { display: block; }
.mini-chart span { color: var(--muted); font-size: .55rem; }
.mini-chart strong { color: var(--ink); font-size: .85rem; }
.bars { height: 50px; display: flex; align-items: end; gap: 7px; }
.bars i { flex: 1; min-width: 6px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #3978fb, #91b3ff); }

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid rgba(214, 223, 237, .86);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.floating-card strong, .floating-card span { display: block; }
.floating-card strong { color: var(--ink); font-size: .73rem; }
.floating-card div span { color: var(--muted); font-size: .61rem; }
.floating-card-top { top: 9%; right: -4%; }
.floating-card-bottom { bottom: 8%; left: -8%; }
.floating-icon { width: 34px; height: 34px; display: grid !important; place-items: center; border-radius: 9px; background: #fff2d7; }
.floating-icon-green { color: var(--green); background: #e7f8f0; }

.logo-strip { padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip p { margin: 0 0 24px; color: var(--muted); text-align: center; font-size: .82rem; }
.organization-list { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 26px; color: #9aa6b7; font-weight: 800; letter-spacing: -.03em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 250px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: #cfdbef; box-shadow: var(--shadow-sm); }
.feature-card.featured { background: linear-gradient(145deg, #f3f7ff, #fff); border-color: #d7e3fa; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--primary); border-radius: 13px; background: var(--primary-soft); }
.feature-icon svg { width: 25px; height: 25px; }
.feature-card h3 { margin: 23px 0 10px; color: var(--ink); font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.feature-tag { position: absolute; right: 20px; top: 20px; padding: 5px 9px; border-radius: 999px; color: var(--primary); background: #e7efff; font-size: .65rem; font-weight: 800; }

.process-section { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-grid article { position: relative; padding: 30px 30px 34px; border-top: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 52px; color: var(--primary); font-weight: 800; }
.process-grid article:not(:last-child)::after { content: ""; position: absolute; top: 41px; right: -10px; width: 38px; height: 1px; background: #cbd7e9; }
.process-grid h3 { margin: 0 0 9px; color: var(--ink); }
.process-grid p { margin: 0; color: var(--muted); font-size: .91rem; }

.billing-toggle {
  width: fit-content;
  display: flex;
  gap: 4px;
  margin: -18px auto 32px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.billing-toggle button { min-height: 38px; padding: 0 15px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .84rem; font-weight: 700; }
.billing-toggle button.active { color: var(--ink); background: var(--surface-soft); box-shadow: 0 2px 7px rgba(31,50,81,.07); }
.billing-toggle span { color: var(--green); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 31px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.pricing-card.popular { border: 2px solid var(--primary); box-shadow: 0 22px 55px rgba(36,107,253,.13); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 13px; border-radius: 999px; color: white; background: var(--primary); font-size: .72rem; font-weight: 800; }
.plan-name { color: var(--ink); font-size: 1.13rem; font-weight: 800; }
.pricing-card > div > p { margin: 7px 0 0; color: var(--muted); font-size: .88rem; }
.price { margin: 28px 0; }
.price strong, .price span { display: block; }
.price strong { color: var(--ink); font-size: 2rem; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: .78rem; }
.pricing-card ul { display: grid; gap: 13px; margin: 0 0 30px; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding-left: 25px; font-size: .88rem; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pricing-card .btn { margin-top: auto; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 10px 35px rgba(28,46,76,.05); }
.review-stars { color: #f5ad2f; letter-spacing: .12em; }
.review-card > p { min-height: 145px; color: var(--text); font-size: .92rem; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-author > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: #607ba9; font-size: .72rem; font-weight: 800; }
.review-author strong, .review-author small { display: block; }
.review-author strong { color: var(--ink); font-size: .85rem; }
.review-author small { color: var(--muted); font-size: .72rem; }

.cta-section { padding: 0 0 104px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px; border-radius: var(--radius-lg); color: white; background: linear-gradient(135deg, #1c5ce2, #2a7aff); box-shadow: 0 28px 70px rgba(36,107,253,.24); }
.section-kicker.light { color: #cfe0ff; }
.cta-card h2 { max-width: 760px; margin: 0; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.12; letter-spacing: -.04em; }
.cta-card p { margin: 14px 0 0; color: #dbe7ff; }

.site-footer { padding: 70px 0 25px; border-top: 1px solid var(--line); background: #fbfcfe; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; }
.footer-grid p { max-width: 280px; color: var(--muted); font-size: .84rem; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 11px; }
.footer-grid strong { color: var(--ink); margin-bottom: 6px; font-size: .86rem; }
.footer-grid a:not(.brand) { color: var(--muted); font-size: .82rem; }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 25px; border-top: 1px solid var(--line); color: #8b97a9; font-size: .75rem; }

/* Authentication */
.modal-backdrop {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(19, 29, 46, .58);
  backdrop-filter: blur(8px);
}

.auth-modal, .upload-modal {
  position: relative;
  width: min(100%, 470px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 38px;
  border-radius: 22px;
  background: white;
  box-shadow: 0 35px 100px rgba(10,22,43,.28);
  animation: modalIn .22s ease;
}

@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.modal-close { position: absolute; top: 14px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--muted); background: var(--surface-soft); font-size: 1.5rem; line-height: 1; }
.auth-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; }
.auth-brand .brand-mark { width: 34px; height: 34px; }
.auth-copy { margin: 29px 0 22px; }
.auth-copy h2 { margin: 0; color: var(--ink); font-size: 1.75rem; letter-spacing: -.04em; }
.auth-copy p { margin: 7px 0 0; color: var(--muted); font-size: .87rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 23px; padding: 4px; border-radius: 11px; background: var(--surface-soft); }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-weight: 700; }
.auth-tabs button.active { color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(29,47,76,.08); }
.auth-form { display: grid; gap: 17px; }
.auth-form label > span:first-child { display: block; margin-bottom: 7px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="text"] {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #dce3ed;
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(36,107,253,.1); }
.password-field { position: relative; }
.password-field input { padding-right: 78px !important; }
.toggle-password { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px; border: 0; color: var(--primary); background: transparent; font-size: .72rem; font-weight: 700; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.checkbox-label { display: flex !important; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .76rem; }
.checkbox-label input { margin-top: 3px; accent-color: var(--primary); }
.checkbox-label span { margin: 0 !important; color: inherit !important; font-size: inherit !important; font-weight: 500 !important; }
.link-button, .text-button { padding: 0; border: 0; color: var(--primary); background: transparent; font-size: .78rem; font-weight: 700; }
.demo-hint { padding: 11px 12px; border-radius: 9px; color: #64748b; background: #f7f9fc; font-size: .72rem; }
.button-loader { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Dashboard */
.dashboard { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f5f7fb; }
.dashboard-sidebar { position: fixed; z-index: 120; inset: 0 auto 0 0; width: 250px; display: flex; flex-direction: column; padding: 25px 18px 18px; border-right: 1px solid var(--line); background: white; }
.dashboard-brand { padding: 0 9px 25px; border-bottom: 1px solid var(--line); }
.dashboard-nav { display: grid; gap: 6px; margin-top: 23px; }
.dashboard-nav button { min-height: 47px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border: 0; border-radius: 10px; color: #66748a; background: transparent; font-weight: 650; text-align: left; }
.dashboard-nav button svg { width: 20px; height: 20px; }
.dashboard-nav button.active, .dashboard-nav button:hover { color: var(--primary); background: var(--primary-soft); }
.sidebar-footer { display: grid; gap: 12px; margin-top: auto; }
.plan-widget { padding: 15px; border-radius: 12px; background: var(--surface-soft); }
.plan-widget span, .plan-widget strong, .plan-widget small { display: block; }
.plan-widget span, .plan-widget small { color: var(--muted); font-size: .68rem; }
.plan-widget strong { margin-top: 3px; color: var(--ink); font-size: .85rem; }
.plan-progress { height: 5px; margin: 11px 0 7px; overflow: hidden; border-radius: 99px; background: #e2e8f1; }
.plan-progress i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.sidebar-logout { min-height: 43px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 0; border-radius: 9px; color: #6f7c91; background: transparent; font-weight: 650; }
.sidebar-logout:hover { color: #d24c4c; background: #fff5f5; }

.dashboard-content { min-width: 0; grid-column: 2; }
.dashboard-topbar { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-bottom: 1px solid var(--line); background: white; }
.topbar-date { color: var(--muted); font-size: .8rem; }
.dashboard-user { display: flex; align-items: center; gap: 11px; }
.dashboard-user strong, .dashboard-user span { display: block; }
.dashboard-user strong { color: var(--ink); font-size: .78rem; }
.dashboard-user div:last-child span { color: var(--muted); font-size: .65rem; }
.notification-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; margin-right: 7px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: white; }
.notification-button i { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border: 2px solid white; border-radius: 50%; background: #ff5d5d; }
.dashboard-main { padding: 34px 30px 50px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.dashboard-heading h1 { margin: 0; color: var(--ink); font-size: 1.85rem; letter-spacing: -.04em; }
.dashboard-heading p { margin: 6px 0 0; color: var(--muted); font-size: .86rem; }
.dashboard-heading .btn svg { width: 18px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 25px rgba(31,50,81,.035); }
.stat-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.stat-icon.cyan { color: var(--cyan); background: #e9f9fc; }
.stat-icon.green { color: var(--green); background: #e9f8f1; }
.stat-icon.purple { color: var(--purple); background: #f1efff; }
.stat-card span, .stat-card strong, .stat-card small { display: block; }
.stat-card span { color: var(--muted); font-size: .69rem; }
.stat-card strong { margin: 6px 0 3px; color: var(--ink); font-size: 1.35rem; letter-spacing: -.03em; }
.stat-card small { color: var(--muted); font-size: .61rem; }
.stat-card .trend-up { color: var(--green); }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); gap: 15px; margin-top: 15px; }
.dashboard-panel { border: 1px solid var(--line); border-radius: 15px; background: white; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 21px 22px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; color: var(--ink); font-size: .95rem; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: .69rem; }
.panel-heading select { padding: 7px 26px 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: white; font-size: .69rem; }

.chart-area { height: 290px; display: grid; grid-template-columns: 34px 1fr; gap: 7px; padding: 25px 24px 19px 17px; }
.chart-y-axis { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 25px; color: #9aa6b5; font-size: .58rem; text-align: right; }
.chart-canvas { position: relative; min-width: 0; padding-bottom: 25px; }
.chart-grid-lines { position: absolute; inset: 0 0 25px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid-lines i { width: 100%; height: 1px; background: #edf0f5; }
.chart-canvas svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.chart-fill { fill: url(#chartFill); stroke: none; }
.chart-line { fill: none; stroke: var(--primary); stroke-width: 3.5; vector-effect: non-scaling-stroke; }
.chart-labels { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; color: #8d99aa; font-size: .6rem; }

.donut-wrap { display: grid; place-items: center; gap: 28px; padding: 28px 24px; }
.donut-chart { width: 145px; height: 145px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary) 0 48%, var(--cyan) 48% 75%, var(--purple) 75% 91%, #dfe5ee 91%); }
.donut-chart::before { content: ""; position: absolute; width: 94px; height: 94px; border-radius: 50%; background: white; }
.donut-center { position: relative; z-index: 1; text-align: center; }
.donut-center strong, .donut-center span { display: block; }
.donut-center strong { color: var(--ink); font-size: 1.3rem; }
.donut-center span { color: var(--muted); font-size: .62rem; }
.donut-legend { width: 100%; display: grid; gap: 10px; }
.donut-legend div { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; font-size: .67rem; }
.donut-legend i { width: 8px; height: 8px; border-radius: 3px; }
.legend-blue { background: var(--primary); }
.legend-cyan { background: var(--cyan); }
.legend-purple { background: var(--purple); }
.legend-gray { background: #dfe5ee; }
.donut-legend span { color: var(--muted); }
.donut-legend strong { color: var(--ink); }

.recent-documents { margin-top: 15px; overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: .72rem; white-space: nowrap; }
th { color: #8996a9; background: #fbfcfe; font-weight: 700; }
td { color: var(--text); }
tbody tr:last-child td { border-bottom: 0; }
.document-cell { display: flex; align-items: center; gap: 10px; }
.document-mini-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-size: .62rem; font-weight: 800; }
.document-cell strong, .document-cell span { display: block; }
.document-cell strong { color: var(--ink); font-size: .72rem; }
.document-cell span { color: var(--muted); font-size: .6rem; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; color: var(--green); background: #e9f8f1; font-size: .62rem; font-weight: 700; }
.status-badge.processing { color: #b87512; background: #fff7e6; }
.action-button { width: 31px; height: 31px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; }
.action-button:hover { background: var(--surface-soft); }

.upload-modal h2 { margin: 0; color: var(--ink); }
.upload-modal > p { margin: 7px 0 24px; color: var(--muted); font-size: .86rem; }
.dropzone { min-height: 215px; display: grid; place-items: center; align-content: center; gap: 7px; margin-bottom: 19px; border: 1.5px dashed #b7c7df; border-radius: 15px; color: var(--muted); background: #f9fbfe; text-align: center; cursor: pointer; transition: .2s ease; }
.dropzone:hover, .dropzone.dragover { border-color: var(--primary); background: var(--primary-soft); }
.dropzone input { display: none; }
.dropzone-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: white; box-shadow: var(--shadow-sm); font-size: 1.3rem; }
.dropzone strong { color: var(--ink); font-size: .87rem; }
.dropzone small { font-size: .72rem; }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }

.toast-container { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.toast { min-width: 280px; max-width: 390px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; box-shadow: var(--shadow-lg); font-size: .82rem; animation: toastIn .22s ease; }
.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid #e55353; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 490px; }
  .feature-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .pricing-card { min-height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .document-types-panel .donut-wrap { grid-template-columns: auto 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 78px 0; }
  .desktop-auth-button { display: none; }
  .mobile-menu-button { display: flex; }
  .hero { padding-top: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero .eyebrow, .hero-description { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { width: min(100%, 650px); min-height: 480px; margin-inline: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { padding-left: 0; padding-right: 0; }
  .process-grid article:not(:last-child)::after { display: none; }
  .step-number { margin-bottom: 25px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard { display: block; }
  .dashboard-sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-content { width: 100%; }
  .dashboard-menu-button { display: flex; }
  .dashboard-topbar { padding-inline: 20px; }
  .dashboard-main { padding-inline: 20px; }
  .topbar-date { display: none; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 65px 0; }
  .header-inner { height: 68px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .hero-description { font-size: 1rem; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { align-items: flex-start; text-align: left; }
  .hero-visual { min-height: 390px; margin-top: 10px; }
  .app-preview { transform: none; border-radius: 16px; }
  .preview-body { grid-template-columns: 42px 1fr; min-height: 315px; }
  .preview-main { padding: 13px; }
  .preview-sidebar { gap: 18px; }
  .upload-card { padding: 11px; }
  .result-card { padding: 10px; }
  .mini-chart { display: none; }
  .floating-card-top { top: -2%; right: 0; }
  .floating-card-bottom { bottom: 1%; left: 0; }
  .feature-grid, .reviews-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .review-card > p { min-height: auto; }
  .pricing-card { padding: 26px; }
  .cta-card { padding: 32px 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .auth-modal, .upload-modal { padding: 29px 21px; border-radius: 18px; }
  .form-row { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .dashboard-topbar { height: 65px; }
  .dashboard-user div:last-child { display: none; }
  .dashboard-main { padding: 25px 14px 35px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .dashboard-heading .btn { width: 100%; }
  .dashboard-heading h1 { font-size: 1.55rem; }
  .chart-panel { overflow: hidden; }
  .chart-area { height: 245px; padding-inline: 12px; }
  .document-types-panel .donut-wrap { grid-template-columns: 1fr; }
  .panel-heading { padding: 18px 16px; }
  th, td { padding-inline: 16px; }
  .toast-container { right: 12px; bottom: 12px; left: 12px; }
  .toast { min-width: 0; max-width: none; }
}
