:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --surface-blue: #eef5ff;
  --ink: #0f172a;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e9f1;
  --line-strong: #d3dbea;
  --blue: #075dff;
  --blue-2: #1f83ff;
  --blue-dark: #0446c7;
  --pink: #ff176f;
  --pink-2: #ff3da1;
  --green: #12b76a;
  --orange: #f79009;
  --red: #f04438;
  --purple: #7a5af8;
  --navy: #0b1220;
  --navy-2: #111c31;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 55px rgba(24, 39, 75, .09);
  --shadow-sm: 0 8px 24px rgba(31, 49, 88, .08);
  --gradient: linear-gradient(135deg, var(--blue), var(--blue-2));
  --gradient-pink: linear-gradient(135deg, var(--pink), var(--pink-2));
  --gradient-brand: linear-gradient(110deg, var(--blue), #3978ff 58%, var(--pink));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { display: block; }
::selection { background: rgba(7, 93, 255, .18); }

.container { width: min(1220px, calc(100% - 42px)); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.text-blue { color: var(--blue); }
.text-pink { color: var(--pink); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-right { text-align: right; }
.w-100 { width: 100%; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.brand-logo { width: 280px; height: auto; }
.brand-logo.small { width: 210px; }
.brand-logo.sidebar-logo { width: 185px; }

.btn {
  border: 0;
  border-radius: 11px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 750;
  color: var(--ink);
  background: #edf1f7;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(7, 93, 255, .22); }
.btn-primary:hover { box-shadow: 0 13px 30px rgba(7, 93, 255, .30); }
.btn-pink { color: #fff; background: var(--gradient-pink); box-shadow: 0 10px 24px rgba(255, 23, 111, .20); }
.btn-outline { color: var(--blue); background: #fff; border: 1.5px solid rgba(7, 93, 255, .40); }
.btn-outline:hover { border-color: var(--blue); background: #f6f9ff; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-danger { background: #fff0ef; color: var(--red); border: 1px solid #ffd1cd; }
.btn-success { background: #eafbf3; color: #087a47; border: 1px solid #baf0d4; }
.btn-sm { padding: 8px 12px; border-radius: 9px; font-size: 13px; }
.btn-lg { padding: 14px 24px; min-height: 52px; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 12px; }
.btn svg { width: 19px; height: 19px; }

.notification-wrap { position: relative; }
.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  border: 2px solid #fff;
}
.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 28px));
  max-height: 430px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  z-index: 90;
}
.notification-panel.open { opacity: 1; transform: translateY(0); visibility: visible; }
.notification-head { padding: 16px 16px 11px; border-bottom: 1px solid var(--line); }
.notification-head strong { display: block; font-size: 15px; }
.notification-head small { color: var(--muted); }
.notification-list {
  max-height: 330px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.notification-item {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 13px 15px;
  text-align: left;
}
.notification-item:hover { background: #f7faff; }
.notification-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #edf3ff;
}
.notification-item strong { display: block; font-size: 13px; color: var(--ink); }
.notification-item small { display: block; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.notification-item em { display: block; color: var(--muted-2); font-size: 11px; font-style: normal; margin-top: 5px; }
.notification-empty { padding: 18px; color: var(--muted); font-size: 13px; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}
.badge.pink { background: #fff0f7; color: var(--pink); }
.badge.green { background: #eafbf3; color: #087a47; }
.badge.orange { background: #fff6e6; color: #a15c00; }
.badge.gray { background: #f0f2f5; color: #596273; }
.badge.purple { background: #f3f0ff; color: var(--purple); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-header {
  padding: 22px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.card-body { padding: 22px 24px 24px; }
.card-title { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.card-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

/* Public navigation */
.mobile-nav { display: none; }
.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 225, 238, .75);
}
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #2a3448; font-weight: 650; }
.nav-links a { position: relative; padding: 28px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 2px; border-radius: 2px; background: var(--gradient-brand); transition: right .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-actions { display: flex; gap: 10px; }
.mobile-menu-btn { display: none; }

/* Homepage */
.home-page { background: #fff; }
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(7, 93, 255, .13), transparent 31%),
    radial-gradient(circle at 9% 8%, rgba(255, 23, 111, .07), transparent 23%),
    linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background-image: radial-gradient(rgba(7, 93, 255, .18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .45;
  pointer-events: none;
}
.hero::before { right: -70px; top: 80px; mask-image: linear-gradient(to left, #000, transparent); }
.hero::after { left: -120px; bottom: -120px; mask-image: radial-gradient(circle, #000, transparent 68%); }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 46px; padding: 76px 0 54px; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 35px; height: 4px; border-radius: 99px; background: var(--gradient-brand); }
.hero h1 { margin: 16px 0 18px; font-size: clamp(42px, 5vw, 67px); line-height: 1.05; letter-spacing: -.055em; max-width: 700px; }
.hero h1 span { color: var(--blue); }
.hero-copy > p { max-width: 660px; font-size: 18px; color: #475467; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.hero-trust-item { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.hero-trust-item svg { color: var(--blue); width: 22px; min-width: 22px; }
.hero-trust-item strong { color: var(--ink); display: block; font-size: 12px; }
.hero-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before { content: ""; position: absolute; inset: 14% 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(7, 93, 255, .23), rgba(7, 93, 255, 0) 65%); filter: blur(18px); }
.hero-visual img { position: relative; width: 100%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 28px 22px rgba(7, 30, 67, .12)); }
.float-chip { position: absolute; z-index: 2; background: rgba(255,255,255,.91); border: 1px solid rgba(220,227,238,.88); box-shadow: var(--shadow-sm); border-radius: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; backdrop-filter: blur(12px); }
.float-chip .chip-icon { width: 33px; height: 33px; border-radius: 10px; color: #fff; display: grid; place-items: center; background: var(--gradient); }
.float-chip.one { left: 2%; bottom: 14%; }
.float-chip.two { right: 0; top: 18%; }

.section { padding: 92px 0; }
.section.alt { background: var(--surface-soft); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading.center { text-align: center; display: block; max-width: 760px; margin-inline: auto; margin-bottom: 40px; }
.section-kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 850; }
.section-title { margin: 8px 0 0; font-size: clamp(31px, 4vw, 47px); letter-spacing: -.045em; line-height: 1.1; }
.section-copy { margin: 9px 0 0; color: var(--muted); max-width: 640px; font-size: 16px; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { overflow: hidden; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-image { aspect-ratio: 1.18/1; background: linear-gradient(145deg, #eff4fb, #fff); overflow: hidden; display: grid; place-items: center; }
.project-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s ease; }
#projectsGrid .project-image img { object-fit: contain !important; padding: 14px !important; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-info { padding: 18px 20px 20px; }
.project-info h3 { margin: 0; font-size: 17px; }
.project-info p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.project-tag { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.91); color: var(--blue); border: 1px solid rgba(7,93,255,.17); padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; backdrop-filter: blur(9px); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: process; }
.process-card { padding: 25px; position: relative; overflow: hidden; }
.process-card::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -35px; bottom: -35px; background: rgba(7,93,255,.06); }
.process-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--blue); background: #edf4ff; margin-bottom: 18px; }
.process-card:nth-child(even) .process-icon { color: var(--pink); background: #fff0f7; }
.process-card h3 { margin: 0 0 7px; font-size: 17px; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; }
.process-num { position: absolute; right: 18px; top: 16px; font-size: 44px; color: #ecf1f8; font-weight: 900; line-height: 1; }

.partner-panel { background: linear-gradient(125deg, #0e1728 0%, #111d34 63%, #092a68 100%); border-radius: 28px; color: #fff; overflow: hidden; position: relative; min-height: 380px; box-shadow: 0 28px 70px rgba(13, 30, 62, .24); }
.partner-panel::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -160px; top: -210px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.partner-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: 56px 62px; position: relative; z-index: 2; }
.partner-panel .section-kicker { color: #72a7ff; }
.partner-panel h2 { margin: 10px 0 17px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.partner-panel p { margin: 0 0 24px; max-width: 630px; color: #c9d5e8; font-size: 16px; }
.partner-disclaimer { margin-top: 17px; font-size: 11.5px; color: #aebdd4; display: flex; gap: 8px; max-width: 650px; }
.partner-art { display: flex; justify-content: center; align-items: center; }
.partner-art img { width: min(100%, 390px); filter: drop-shadow(0 22px 22px rgba(0,0,0,.25)); }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { padding: 23px; display: flex; gap: 14px; }
.benefit-icon { width: 43px; min-width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; background: #edf4ff; color: var(--blue); }
.benefit h3 { margin: 0 0 5px; font-size: 15px; }
.benefit p { margin: 0; font-size: 12.5px; color: var(--muted); }

.public-footer { background: #0b1220; color: #dbe4f2; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr .7fr; gap: 45px; padding-bottom: 45px; }
.public-footer .brand-logo { filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 360px; color: #a9b6c9; margin: 14px 0 0; font-size: 13px; }
.footer-col h4 { color: #fff; margin: 0 0 14px; font-size: 14px; }
.footer-links { display: grid; gap: 10px; color: #a9b6c9; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; color: #a9b6c9; font-size: 13px; }
.footer-contact span { display: flex; gap: 9px; align-items: center; }
.socials { display: flex; gap: 8px; }
.social-link { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.social-link:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; color: #8795aa; font-size: 12px; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 85;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .34);
  border: 3px solid #fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); background: #1ebe5d; box-shadow: 0 22px 45px rgba(37, 211, 102, .42); }
.whatsapp-float svg { width: 31px; height: 31px; }

/* Auth pages */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, #f4f7fc, #fff 52%, #eef4ff); }
.auth-header { height: 82px; display: flex; align-items: center; justify-content: space-between; width: min(1440px, calc(100% - 54px)); margin-inline: auto; }
.auth-header .brand-logo { width: 230px; }
.auth-shell { width: min(1440px, calc(100% - 54px)); margin: 0 auto; min-height: calc(100vh - 82px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 54px; padding: 30px 0 54px; }
.auth-visual { min-height: 650px; border-radius: 28px; overflow: hidden; position: relative; padding: 54px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, #0b1220 0%, #11284f 64%, #075dff 140%); color: #fff; box-shadow: 0 30px 70px rgba(19, 41, 81, .24); }
.auth-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 30%, rgba(53, 135, 255, .28), transparent 35%), linear-gradient(transparent 65%, rgba(0,0,0,.23)); }
.auth-visual::after { content: ""; position: absolute; right: -90px; bottom: -70px; width: 420px; height: 420px; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 14px 14px; opacity: .25; mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.auth-copy { position: relative; z-index: 2; }
.auth-copy h1 { font-size: clamp(40px, 4vw, 60px); line-height: 1.05; letter-spacing: -.05em; margin: 0 0 20px; }
.auth-copy h1 span { color: #62a2ff; }
.auth-copy p { color: #c6d4e7; font-size: 16px; max-width: 550px; }
.auth-showcase { position: relative; z-index: 2; }
.auth-showcase img { width: 100%; max-height: 330px; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 22px 24px rgba(0,0,0,.35)); }
.auth-feature-list { display: grid; gap: 13px; margin-top: 24px; }
.auth-feature { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #d8e3f3; }
.auth-feature span:first-child { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #8ebaff; }
.auth-card { padding: 36px; background: rgba(255,255,255,.92); border: 1px solid rgba(221,228,240,.94); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.auth-card h2 { margin: 0; font-size: 32px; letter-spacing: -.035em; }
.auth-card > p { margin: 7px 0 25px; color: var(--muted); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-grid.one { grid-template-columns: 1fr; }
.auth-divider { margin: 24px 0; height: 1px; background: var(--line); }
.auth-note { padding: 13px 15px; border-radius: 12px; background: #f3f7ff; color: #3c4d68; border: 1px solid #dce8ff; font-size: 12px; }
.auth-note strong { color: var(--ink); }

.form-group { display: grid; gap: 7px; }
.form-group label { font-size: 12.5px; color: #344054; font-weight: 700; }
.form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,93,255,.09); }
.form-control::placeholder { color: #a3adbd; }
textarea.form-control { min-height: 112px; resize: vertical; }
.form-hint { color: var(--muted-2); font-size: 11px; }
.form-error { color: var(--red); font-size: 11px; min-height: 16px; }
.input-wrap { position: relative; }
.input-wrap .form-control { padding-right: 44px; }
.input-icon { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #98a2b3; background: transparent; border: 0; padding: 0; }
.input-icon svg { width: 20px; height: 20px; }
.form-check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.form-check input { margin-top: 3px; accent-color: var(--blue); }
.stepper { display: flex; align-items: center; margin-bottom: 28px; }
.step { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 700; }
.step .step-num { width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; background: #fff; }
.step.active { color: var(--blue); }
.step.active .step-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.step-line { height: 1px; background: var(--line-strong); flex: 1; margin: 0 16px; }

/* Dashboard shared */
.dashboard-body { background: #f4f6fa; }
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 60;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar.dark { background: linear-gradient(180deg, #0b1220, #0a1425); color: #fff; border-right: 0; }
.sidebar-brand { min-height: 60px; display: flex; align-items: center; padding: 0 8px 14px; }
.sidebar.dark .brand-logo { filter: brightness(0) invert(1); }
.sidebar-user { margin: 10px 2px 18px; padding: 13px; border-radius: 13px; background: #101a2d; color: #fff; display: flex; align-items: center; gap: 11px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 850; background: var(--gradient-brand); flex: 0 0 auto; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user strong { display: block; font-size: 13px; }
.sidebar-user small { display: block; color: #85b5ff; font-size: 11px; margin-top: 1px; }
.sidebar-label { color: #a4afbf; font-size: 10px; font-weight: 850; letter-spacing: .1em; padding: 0 11px; margin: 5px 0 8px; text-transform: uppercase; }
.side-nav { display: grid; gap: 4px; }
.side-link { min-height: 45px; border: 0; width: 100%; display: flex; align-items: center; gap: 12px; border-radius: 11px; padding: 0 13px; background: transparent; color: #344054; font-size: 13px; font-weight: 650; text-align: left; }
.side-link svg { width: 19px; height: 19px; color: #607088; }
.side-link:hover { background: #f4f7fb; }
.side-link.active { color: var(--blue); background: linear-gradient(90deg, #eef4ff, #f7faff); box-shadow: inset 3px 0 var(--blue); }
.side-link.active svg { color: var(--blue); }
.sidebar.dark .side-link { color: #c9d3e1; }
.sidebar.dark .side-link svg { color: #9eacc0; }
.sidebar.dark .side-link:hover { background: rgba(255,255,255,.06); }
.sidebar.dark .side-link.active { color: #fff; background: var(--gradient); box-shadow: none; }
.sidebar.dark .side-link.active svg { color: #fff; }
.sidebar-spacer { flex: 1; }
.sidebar-promo { margin: 18px 2px; padding: 16px; min-height: 165px; background: linear-gradient(145deg, #0f1a2e, #172844); border-radius: 15px; color: #fff; overflow: hidden; position: relative; }
.sidebar-promo img { width: 110px; position: absolute; right: -14px; bottom: -10px; opacity: .88; }
.sidebar-promo strong { display: block; width: 125px; font-size: 13px; line-height: 1.35; }
.sidebar-promo small { display: block; width: 110px; color: #a9b8cc; margin-top: 8px; font-size: 10.5px; }
.sidebar-footer { margin-top: 8px; }
.sidebar-logout { color: #667085; }
.sidebar.dark .sidebar-logout { color: #c5cfdd; }

.app-main { margin-left: 250px; min-height: 100vh; }
.topbar { height: 82px; position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.91); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-left h2 { margin: 0; font-size: 20px; }
.topbar-left p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: #44546c; position: relative; }
.icon-button .dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; }
.support-whatsapp-button { background: #25d366; color: #fff; border: 1px solid #1fb95a; box-shadow: 0 10px 22px rgba(37, 211, 102, .18); }
.support-whatsapp-button:hover { background: #1ebe5d; box-shadow: 0 13px 28px rgba(37, 211, 102, .24); }
.support-whatsapp-button svg { width: 17px; height: 17px; }
.topbar-profile { display: flex; align-items: center; gap: 9px; padding-left: 8px; }
.topbar-profile strong { font-size: 13px; display: block; }
.topbar-profile small { color: var(--muted); font-size: 11px; display: block; }
.mobile-sidebar-toggle { display: none; }
.content { padding: 26px 28px 42px; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-header h1 { margin: 0; font-size: 31px; letter-spacing: -.04em; }
.page-header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; max-width: 720px; }
.page-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.notice-banner { margin-bottom: 20px; padding: 13px 16px; border-radius: 12px; border: 1px solid #d8e5ff; background: #f3f7ff; color: #415372; display: flex; align-items: flex-start; gap: 10px; font-size: 12px; }
.notice-banner.warn { border-color: #ffe1a8; background: #fff9ed; color: #72500d; }
.notice-banner strong { color: var(--ink); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat-card { padding: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 127px; }
.stat-label { color: #475467; font-size: 12px; font-weight: 700; }
.stat-value { margin-top: 8px; font-size: 24px; line-height: 1.1; letter-spacing: -.035em; font-weight: 850; }
.stat-trend { margin-top: 8px; font-size: 11px; color: var(--green); }
.stat-trend.neutral { color: var(--muted); }
.stat-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--gradient); color: #fff; flex: 0 0 auto; }
.stat-icon.pink { background: var(--gradient-pink); }
.stat-icon.purple { background: linear-gradient(135deg, #6941c6, #9e77ed); }
.stat-icon.green { background: linear-gradient(135deg, #079455, #32d583); }

.dashboard-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 18px; margin-bottom: 18px; }
.dashboard-grid.equal { grid-template-columns: 1fr 1fr; }
.chart-card { min-height: 365px; }
.chart-wrap { position: relative; height: 275px; padding: 0 2px; }
.chart-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.chart-legend span { width: 22px; height: 3px; border-radius: 2px; background: var(--blue); }
.chart-legend.pink span { background: var(--pink); }

.sales-products-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 18px; }
.table-responsive { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.data-table th { color: #667085; font-size: 11px; text-align: left; font-weight: 750; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid #edf0f4; vertical-align: middle; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcff; }
.table-product { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.table-thumb { width: 34px; height: 34px; border-radius: 9px; background: #f0f3f8; overflow: hidden; border: 1px solid var(--line); }
.table-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.table-link { color: var(--blue); font-weight: 700; }
.empty-state { padding: 50px 20px; text-align: center; color: var(--muted); }
.empty-state .empty-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 14px; background: #edf4ff; color: var(--blue); }
.empty-state h3 { margin: 0 0 5px; color: var(--ink); }
.empty-state p { margin: 0; font-size: 12.5px; }

.mini-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-product { border: 1px solid var(--line); border-radius: 13px; padding: 10px; display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; background: #fff; }
.mini-product img { width: 58px; height: 58px; object-fit: contain; padding: 4px; border-radius: 10px; background: #f3f6fb; }
.mini-product strong { font-size: 12px; display: block; line-height: 1.25; }
.mini-product span { display: block; margin-top: 5px; color: var(--blue); font-size: 12px; font-weight: 800; }

.referral-card { background: linear-gradient(135deg, #fff 0%, #fff4f9 100%); border-color: #ffd9e9; }
.referral-link-box { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 15px 0; }
.referral-link-box .form-control { font-size: 11.5px; color: #596579; }
.referral-total { margin-top: 12px; padding-top: 14px; border-top: 1px solid #f2dce6; }
.referral-total small { color: var(--muted); }
.referral-total strong { display: block; font-size: 26px; margin-top: 4px; letter-spacing: -.03em; }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.plan-card { padding: 25px 20px 20px; position: relative; min-height: 470px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.featured { border: 1.5px solid var(--blue); box-shadow: 0 18px 45px rgba(7,93,255,.14); }
.plan-featured-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient-brand); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.plan-icon { width: 58px; height: 58px; border-radius: 17px; margin: 0 auto 16px; display: grid; place-items: center; background: #edf4ff; color: var(--blue); }
.plan-card h3 { text-align: center; margin: 0; font-size: 18px; }
.plan-price { text-align: center; margin: 17px 0 9px; color: var(--blue); font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.plan-price small { font-size: 15px; }
.plan-share { text-align: center; font-size: 13px; line-height: 1.45; min-height: 48px; }
.plan-share strong { color: var(--pink); font-size: 18px; }
.plan-discount { margin-top: 12px; padding: 9px 10px; border-radius: 10px; background: #eafbf3; color: #087a47; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 850; }
.plan-points { margin-top: 8px; padding: 9px 10px; border-radius: 10px; background: #fff6e6; color: #a15c00; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; font-weight: 850; text-align: center; }
.plan-list { margin: 17px 0 20px; padding: 17px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-list span { display: flex; align-items: flex-start; gap: 8px; color: #4c5a70; font-size: 11.5px; }
.plan-list svg { width: 16px; min-width: 16px; color: var(--blue); margin-top: 1px; }
.plan-card .btn { margin-top: auto; }
.plan-active { margin-top: 16px; text-align: center; color: var(--green); font-weight: 750; font-size: 12px; }

/* Shop */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.search-box { width: min(360px, 100%); position: relative; }
.search-box .form-control { padding-left: 42px; }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #98a2b3; }
.cart-button { position: relative; }
.cart-count { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; display: grid; place-items: center; position: absolute; top: -8px; right: -8px; font-size: 10px; font-weight: 850; border: 2px solid #fff; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shop-card { overflow: hidden; display: flex; flex-direction: column; }
.shop-image { aspect-ratio: 1/1; background: linear-gradient(145deg, #f0f4fa, #fff); overflow: hidden; }
.shop-image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s ease; }
.shop-card:hover .shop-image img { transform: scale(1.035); }
.shop-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.shop-info h3 { margin: 0; font-size: 15px; }
.shop-info p { margin: 6px 0 14px; color: var(--muted); font-size: 11.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.shop-price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-price { color: var(--blue); font-size: 18px; font-weight: 850; display: grid; line-height: 1.2; }
.shop-price small { color: var(--muted-2); font-size: 11px; font-weight: 700; text-decoration: line-through; }
.shop-price em { color: #087a47; font-size: 10px; font-style: normal; font-weight: 850; }

/* Salary */
.salary-hero { padding: 24px; display: grid; grid-template-columns: 76px 1fr auto; gap: 22px; align-items: center; border-color: #ffd4e4; background: linear-gradient(135deg, #fff 0%, #fff5fa 48%, #f4f8ff 100%); }
.salary-hero.unlocked { border-color: #baf0d4; background: linear-gradient(135deg, #f2fff8 0%, #fff 52%, #f4f8ff 100%); }
.salary-lock { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--gradient-pink); box-shadow: 0 16px 34px rgba(255, 23, 111, .18); }
.salary-hero.unlocked .salary-lock { background: linear-gradient(135deg, #079455, #32d583); box-shadow: 0 16px 34px rgba(18, 183, 106, .16); }
.salary-main h2 { margin: 10px 0 5px; font-size: 42px; line-height: 1; letter-spacing: -.04em; }
.salary-main p { margin: 0; color: var(--muted); }
.salary-countdown { min-width: 190px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.78); border: 1px solid var(--line); text-align: right; }
.salary-countdown small { display: block; color: var(--muted); font-size: 11px; font-weight: 750; }
.salary-countdown strong { display: block; margin-top: 5px; font-size: 25px; color: var(--blue); letter-spacing: -.03em; }
.salary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.salary-progress { height: 16px; border-radius: 999px; background: #edf1f7; overflow: hidden; border: 1px solid var(--line); }
.salary-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gradient-brand); transition: width .35s ease; }

/* Profile and misc */
.profile-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; }
.profile-summary { text-align: center; padding: 30px 24px; }
.profile-summary .avatar { width: 82px; height: 82px; font-size: 26px; margin: 0 auto 15px; }
.profile-summary h3 { margin: 0; font-size: 20px; }
.profile-summary p { margin: 4px 0 14px; color: var(--muted); }
.profile-list { display: grid; gap: 12px; margin-top: 20px; text-align: left; }
.profile-list div { padding: 12px; border-radius: 11px; background: #f7f9fc; }
.profile-list small { color: var(--muted); display: block; }
.profile-list strong { font-size: 12.5px; }
.form-section-title { margin: 2px 0 15px; font-size: 16px; }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.admin-right-stack { display: grid; gap: 18px; align-content: start; }
.upload-zone { min-height: 170px; border: 1.5px dashed #c8d2e2; border-radius: 13px; background: #fbfcfe; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); position: relative; overflow: hidden; }
.upload-zone.dragging { border-color: var(--blue); background: #f2f7ff; }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 4; }
.upload-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; z-index: 1; }
.upload-zone .upload-content { position: relative; z-index: 2; pointer-events: none; }
.upload-zone.has-image .upload-content { opacity: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.activity-list { display: grid; }
.activity-item { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--blue); background: #edf4ff; }
.activity-icon.pink { color: var(--pink); background: #fff0f7; }
.activity-text strong { display: block; font-size: 12px; }
.activity-text span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.activity-time { color: var(--muted-2); font-size: 10px; white-space: nowrap; }
.admin-section { display: none; }
.admin-section.active { display: block; animation: fadeIn .22s ease; }
.app-section { display: none; }
.app-section.active { display: block; animation: fadeIn .22s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

/* Modals, drawers, toasts */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(8, 15, 28, .58); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .2s ease; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 20px; box-shadow: 0 35px 90px rgba(0,0,0,.25); transform: translateY(12px) scale(.985); transition: .2s ease; }
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-header { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.modal-header h3 { margin: 0; font-size: 19px; }
.modal-body { padding: 22px; }
.modal-footer { padding: 16px 22px 22px; display: flex; justify-content: flex-end; gap: 10px; }
.close-button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #f1f4f8; color: #677386; display: grid; place-items: center; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(8,15,28,.42); opacity: 0; visibility: hidden; transition: .2s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 96; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: #fff; box-shadow: -18px 0 50px rgba(16,24,40,.18); transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer-backdrop.open .drawer { transform: translateX(0); }
.drawer-header { padding: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { padding: 20px; overflow-y: auto; flex: 1; }
.drawer-footer { padding: 16px 20px; border-top: 1px solid var(--line); }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 13px; }
.cart-item img { width: 66px; height: 66px; object-fit: contain; padding: 4px; border-radius: 10px; background: #f3f6fb; }
.cart-item strong { font-size: 12.5px; display: block; }
.cart-item span { color: var(--blue); font-size: 12px; font-weight: 750; }
.cart-item span small { color: #087a47; font-size: 10px; font-weight: 850; }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.qty-control button { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); background: #f8fafc; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.cart-total strong { font-size: 22px; }
.cart-breakdown { display: grid; gap: 6px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.cart-breakdown div { display: flex; justify-content: space-between; gap: 12px; }
.cart-breakdown strong { color: #087a47; }
.toast-container { position: fixed; z-index: 130; right: 20px; top: 20px; display: grid; gap: 10px; width: min(370px, calc(100% - 40px)); }
.toast { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: 0 18px 50px rgba(16,24,40,.18); padding: 13px 14px; display: grid; grid-template-columns: 28px 1fr auto; align-items: flex-start; gap: 10px; animation: toastIn .28s ease; }
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast.warn { border-left-color: var(--orange); }
.toast-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #edf4ff; color: var(--blue); }
.toast.success .toast-icon { background: #eafbf3; color: var(--green); }
.toast.error .toast-icon { background: #fff0ef; color: var(--red); }
.toast.warn .toast-icon { background: #fff6e6; color: var(--orange); }
.toast strong { display: block; font-size: 12.5px; }
.toast p { margin: 2px 0 0; color: var(--muted); font-size: 11.5px; }
.toast-close { border: 0; background: transparent; color: #98a2b3; padding: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.confirm-box { text-align: center; }
.confirm-icon { width: 62px; height: 62px; border-radius: 19px; display: grid; place-items: center; margin: 0 auto 15px; background: #fff6e6; color: var(--orange); }
.confirm-box h3 { margin: 0 0 8px; }
.confirm-box p { margin: 0; color: var(--muted); }

.loading-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.86); backdrop-filter: blur(4px); display: grid; place-items: center; }
.spinner { width: 44px; height: 44px; border: 4px solid #dfe8f8; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Legal note */
.legal-box { border: 1px solid #f0d79e; background: #fff9ec; color: #72510f; border-radius: 13px; padding: 14px 15px; font-size: 11.5px; }
.legal-box strong { color: #4d3407; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-links { gap: 17px; font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: .8fr 1.2fr; gap: 28px; }
  .auth-visual { padding: 35px; }
}

@media (max-width: 920px) {
  .navbar { min-height: 72px; }
  .brand-logo { width: 225px; }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: grid; }
  .mobile-nav { position: fixed; left: 16px; right: 16px; top: 78px; z-index: 70; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 3px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; }
  .mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 11px 12px; border-radius: 10px; font-weight: 650; }
  .mobile-nav a:hover { background: #f3f7ff; color: var(--blue); }
  .mobile-nav .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { max-width: 620px; margin-inline: auto; text-align: left; }
  .hero-visual { min-height: 360px; }
  .float-chip { display: none; }
  .partner-grid { grid-template-columns: 1fr; padding: 46px 36px; text-align: center; }
  .partner-panel p, .partner-disclaimer { margin-inline: auto; }
  .partner-art { display: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 2 / 4; }
  .auth-shell { grid-template-columns: 1fr; width: min(720px, calc(100% - 32px)); }
  .auth-visual { min-height: 470px; }
  .auth-header { width: min(720px, calc(100% - 32px)); }
  .sidebar { transform: translateX(-102%); transition: transform .25s ease; box-shadow: 18px 0 45px rgba(16,24,40,.15); }
  .sidebar.open { transform: translateX(0); }
  .app-main { margin-left: 0; }
  .mobile-sidebar-toggle { display: grid; }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(7,12,22,.45); opacity: 0; visibility: hidden; transition: .2s; }
  .sidebar-overlay.open { opacity: 1; visibility: visible; }
  .dashboard-grid, .dashboard-grid.equal, .sales-products-grid, .profile-grid, .salary-grid { grid-template-columns: 1fr; }
  .salary-hero { grid-template-columns: 1fr; text-align: center; }
  .salary-lock { margin-inline: auto; }
  .salary-countdown { width: 100%; text-align: center; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 690px) {
  .container { width: min(100% - 28px, 1220px); }
  .hero-grid { padding: 42px 0 38px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 270px; }
  .section { padding: 66px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .benefits-grid { grid-template-columns: 1fr; }
  .partner-grid { padding: 38px 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .auth-header { height: 70px; }
  .auth-header .brand-logo { width: 190px; }
  .auth-shell { padding-top: 15px; }
  .auth-visual { display: none; }
  .auth-card { padding: 24px 18px; border-radius: 18px; }
  .auth-grid, .form-row { grid-template-columns: 1fr; }
  .step { font-size: 11px; }
  .step-line { margin: 0 8px; }
  .topbar { height: 72px; padding: 0 15px; }
  .support-whatsapp-button { width: 40px; height: 40px; padding: 0; border-radius: 11px; font-size: 0; gap: 0; }
  .support-whatsapp-button svg { width: 20px; height: 20px; }
  .topbar-profile div:not(.avatar), .topbar-profile > small, .topbar-profile strong, .topbar-profile small { display: none; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .notification-panel { right: -58px; }
  .content { padding: 20px 14px 34px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .chart-card { min-height: 320px; }
  .chart-wrap { height: 230px; }
  .mini-products { grid-template-columns: 1fr; }
  .referral-link-box { grid-template-columns: 1fr; }
  .sidebar { width: 270px; }
}

@media (max-width: 450px) {
  .brand-logo { width: 205px; }
  .hero h1 { font-size: 36px; }
  .hero-trust { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .auth-card h2 { font-size: 27px; }
}

/* Small finishing touches */
.btn:disabled { cursor: not-allowed; opacity: .62; transform: none; box-shadow: none; }
.table-product small { display: block; margin-top: 2px; }
@media (max-width: 690px) {
  .stats-grid[style] { grid-template-columns: 1fr !important; }
}
