:root {
  --bg-main: #f8fafc;
  --surface-white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-soft: #94a3b8;
  --border-soft: #e2e8f0;
  --primary-blue: #5a14fd;
  --primary-dark: #2943a3;
  --primary-soft: #ede9fe;
  --shadow-soft: 0 15px 35px rgba(15, 23, 42, .06);
  --shadow-card: 0 22px 60px rgba(35, 26, 104, .10);
}

/* Target logo URL returned HTTP 403 and its Line Awesome font reset the connection in this environment; keep the CSS mark/glyph fallback self-contained. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0 0 68px;
  overflow-x: hidden;
  background: var(--bg-main);
  color: var(--text-main);
  font: 15px/1.7 "Plus Jakarta Sans", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
main { overflow: hidden; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 12px; }

/* Shared SmartLab navigation shell */
.custom-navbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: 82px;
  padding: 15px 0;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 4px 25px rgba(0, 0, 0, .05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.nav-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--primary-blue); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.nav-actions { width: 50px; height: 50px; }
.menu-toggle-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: var(--text-main);
  background: #f8fafc;
  font: 22px/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}
.menu-toggle-btn:hover { color: var(--primary-blue); border-color: #c4b5fd; }
.fullscreen-menu {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, .99);
}
.close-menu-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 0;
  color: var(--text-main);
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.menu-container-box { width: min(100%, 430px); text-align: center; }
.menu-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--primary-blue); }
.menu-trust { justify-content: center; margin-bottom: 24px; }
.menu-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.menu-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: var(--text-main);
  background: #fff;
  font-weight: 700;
  text-align: left;
}
.menu-item-link:hover { color: var(--primary-blue); border-color: #c4b5fd; }
.menu-item-link span { width: 22px; color: var(--primary-blue); text-align: center; }
.menu-btn-primary { justify-content: center; color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark)); }
.menu-btn-primary span { color: #fff; }

/* Homepage */
.hero-section {
  min-height: 936px;
  padding: 170px 0 90px;
  background-color: #fff;
  background-image: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, .05) 0%, transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: 80px; align-items: center; min-height: 676px; }
.hero-copy { max-width: 640px; }
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0 8px 20px 0;
  padding: 6px 13px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  color: #5b21b6;
  background: #f5f3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.badge-free-work { color: var(--primary-dark); border-color: #bfdbfe; background: #eff6ff; }
.badge-icon { color: var(--primary-blue); font-size: 13px; }
.hero-main-title { margin: 0 0 32px; font-size: 56px; font-weight: 800; line-height: 1.2; letter-spacing: -1px; }
.hero-main-title span { color: var(--primary-blue); }
.hero-subtitle { max-width: 640px; margin: 0 0 32px; color: var(--text-muted); font-size: 18.4px; line-height: 1.6; }
.hero-action-hub-inline { max-width: 580px; }
.hero-trust { display: inline-flex; margin: 0 0 24px; }
.free-investment-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  color: #5b21b6;
  background: #f5f3ff;
  font-size: 13px;
  font-weight: 700;
}
.action-icon { color: var(--primary-blue); font-size: 20px; line-height: 1; }
.hero-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 16px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 700 13px/1.2 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-outline, .button-light { color: var(--primary-blue); border-color: var(--primary-blue); background: #fff; }
.button-filled, .button-primary { color: #fff; background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark)); box-shadow: 0 10px 22px rgba(90, 20, 253, .18); }
.hero-start-button { width: 100%; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { display: block; width: 400px; height: 400px; object-fit: cover; border-radius: 24px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .06)); }
.metrics-container { position: relative; z-index: 2; margin: -40px 0 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metric-item-card { padding: 28px 20px; border: 1px solid #eef2ff; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); text-align: center; }
.metric-value { color: var(--primary-blue); font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.05em; }
.metric-title { margin-top: 8px; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.content-section, .steps-section { padding: 80px 0; }
.steps-section { background: #fff; }
.section-inner { padding-top: 0; padding-bottom: 0; }
.section-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-heading h2, .cta-section h2 { margin: 0; font-size: 36px; font-weight: 800; line-height: 1.2; letter-spacing: -.05em; }
.section-heading p { margin: 15px 0 0; color: var(--text-muted); }
.feature-grid, .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--border-soft); border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(15, 23, 42, .025); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.feature-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: var(--primary-blue); background: var(--primary-soft); font-size: 23px; }
.feature-card h3, .steps-grid h3 { margin: 20px 0 8px; font-size: 17px; font-weight: 800; }
.feature-card p, .steps-grid p { margin: 0; color: var(--text-muted); font-size: 14px; }
.steps-grid article { padding: 10px 25px; }
.step-number { color: var(--primary-blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.cta-section { padding: 0 0 110px; }
.premium-cta-banner { padding: 60px; border-radius: 24px; background: #fff; box-shadow: 0 15px 35px rgba(0, 0, 0, .02); text-align: center; }
.cta-symbol { display: block; margin-bottom: 12px; color: var(--primary-blue); font-size: 28px; }
.cta-kicker, .premium-cta-banner > p:not(.cta-kicker) { max-width: 620px; margin: 12px auto; color: var(--text-muted); }
.premium-cta-banner .button { margin-top: 20px; padding-right: 36px; padding-left: 36px; }

/* Existing auth and user pages stay on the same visual system. */
.auth-page, .dashboard-page { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 40px 20px 72px; }
.auth-card, .dashboard-card { width: min(100%, 520px); padding: 38px; border: 1px solid var(--border-soft); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.auth-card h1, .dashboard-card h1 { margin: 28px 0 5px; font-size: 34px; line-height: 1.2; letter-spacing: -.05em; }
.auth-card p, .dashboard-card > p { color: var(--text-muted); }
form { display: grid; gap: 16px; margin-top: 28px; }
label { display: grid; gap: 6px; color: #334155; font-size: 13px; font-weight: 700; }
input, select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border-soft); border-radius: 10px; background: #fff; color: var(--text-main); font: 14px "Plus Jakarta Sans", sans-serif; }
input:focus, select:focus { outline: 2px solid #c4b5fd; border-color: var(--primary-blue); }
.auth-foot { margin-bottom: 0; text-align: center; }
.auth-foot a { color: var(--primary-blue); font-weight: 700; }
.task-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 18px; border: 1px solid var(--border-soft); border-radius: 15px; }
.task-row strong, .task-row span { display: block; }
.task-row span { color: var(--text-muted); font-size: 13px; }
.balance-box { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 20px; border-radius: 15px; background: var(--primary-soft); }
.balance-box span { color: var(--text-muted); font-size: 13px; }
.balance-box strong { color: var(--primary-blue); font-size: 28px; }

.appBottomMenu { position: fixed; z-index: 900; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-around; height: 68px; min-height: 56px; padding: 0 4px; background: #fff; box-shadow: 0 -4px 20px rgba(15, 23, 42, .06); }
.appBottomMenu .item { display: flex; align-items: center; justify-content: center; flex: 1; height: 100%; color: var(--text-soft); }
.appBottomMenu .item:hover, .appBottomMenu .item.active { color: var(--primary-blue); }
.appBottomMenu .item strong { display: block; font-size: 11px; font-weight: 700; }
.appBottomMenu .bottom-icon { display: block; margin-right: 6px; font-size: 20px; line-height: 1; }

@media (max-width: 1399px) { .container { max-width: 1140px; } }
@media (max-width: 1199px) { .container { max-width: 960px; } .hero-grid { gap: 48px; } }
@media (max-width: 991px) { .container { max-width: 720px; } .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-copy { max-width: 640px; margin: 0 auto; } }
