:root {
  --bg: #0d0d0f;
  --card: rgba(20, 20, 24, 0.94);
  --card2: rgba(28, 28, 34, 0.8);
  --input: rgba(44, 44, 52, 0.75);
  --sep: rgba(255, 255, 255, 0.065);
  --sep2: rgba(255, 255, 255, 0.12);
  --accent: #0a84ff;
  --green: #30d158;
  --red: #ff453a;
  --yellow: #ffd60a;
  --purple: #bf5af2;
  --orange: #ff9f0a;
  --teal: #5ac8fa;
  --t1: #f2f2f7;
  --t2: #8e8e93;
  --t3: #48484a;
  --r8: 8px;
  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
  --r26: 26px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--t1);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 40% at 15% 0%, rgba(10, 132, 255, .07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 38% at 85% 100%, rgba(48, 209, 88, .05) 0%, transparent 65%),
    radial-gradient(ellipse 35% 28% at 58% 42%, rgba(191, 90, 242, .04) 0%, transparent 60%);
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 80px;
}

/* HEADER & NAVIGATION */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--sep);
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--t1);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10, 132, 255, .35);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.brand h1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.4px;
}

.brand h1 span {
  font-weight: 300;
  color: var(--t2);
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--t2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .18s, background-color .18s;
}

nav a:hover {
  color: var(--t1);
  background: rgba(255, 255, 255, 0.04);
}

.hdr-right {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

/* HERO SECTION */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  padding: 50px 0 60px;
}

.hero-copy {
  min-width: 0;
}

.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(10, 132, 255, .1);
  border: 1px solid rgba(10, 132, 255, .2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 40%, rgba(255, 255, 255, 0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero-description {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r12);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 18px rgba(10, 132, 255, .32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--t1);
  outline: 1px solid var(--sep2);
  backdrop-filter: blur(20px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  outline-color: rgba(255, 255, 255, 0.22);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}

.step-list li {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, .02);
  outline: 1px solid var(--sep);
  border-radius: var(--r12);
  padding: 12px;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(10, 132, 255, .1);
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}

.step-list li strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 2px;
}

.step-list li span {
  display: block;
  font-size: 11px;
  color: var(--t2);
  line-height: 1.3;
}

.hero-media-wrapper {
  perspective: 1000px;
}

.visual-finance-preview {
  background: var(--card);
  border: 1px solid var(--sep);
  backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--r20);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--t3);
  margin-bottom: 16px;
}

.preview-card-header strong {
  color: var(--teal);
}

.preview-balance {
  margin-bottom: 24px;
}

.balance-label {
  font-size: 12px;
  color: var(--t2);
  margin-bottom: 4px;
  display: block;
}

.preview-balance h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -1px;
}

.preview-mini-graph {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-item::before {
  content: "";
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--color);
  width: var(--val);
  transition: width .8s ease;
}

.bar-item span {
  font-size: 11px;
  color: var(--t2);
}

/* SECTION STRUCTURE */
.section {
  padding: 40px 0 50px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-subtitle {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-heading h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.6px;
  margin-bottom: 6px;
}

.section-heading p {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.5;
}

/* DATE PICKER TRIGGER & PANEL */
.dp-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card2);
  outline: 1px solid var(--sep2);
  border: none;
  border-radius: var(--r12);
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--t1);
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(20px);
  font-family: inherit;
  transition: outline-color .2s, background .2s;
  will-change: transform;
}

.dp-trigger:hover {
  outline-color: rgba(255, 255, 255, .22);
}

.dp-caret {
  width: 13px;
  height: 13px;
  color: var(--t2);
  transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dp-trigger.open .dp-caret {
  transform: rotate(180deg);
}

.dp-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  z-index: 300;
  background: rgba(16, 16, 20, .97);
  outline: 1px solid var(--sep2);
  border-radius: var(--r20);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .75), 0 4px 16px rgba(0, 0, 0, .4);
  transform-origin: top right;
  opacity: 0;
  transform: scale(.9) translateY(-8px);
  pointer-events: none;
  transition: opacity .2s, transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.dp-panel.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.dp-seg {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, .045);
  margin: 11px 11px 0;
  border-radius: 10px;
  padding: 3px;
  height: 36px;
}

.dp-ind {
  position: absolute;
  top: 3px;
  bottom: 3px;
  background: rgba(255, 255, 255, .115);
  border-radius: 8px;
  outline: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
  will-change: left, width;
}

.dp-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--t2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  transition: color .18s;
  will-change: transform;
}

.dp-tab.sel {
  color: var(--t1);
}

.dp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 9px 11px 13px;
}

.dp-cell {
  padding: 9px 4px;
  border: none;
  background: transparent;
  color: var(--t2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 9px;
  cursor: pointer;
  text-align: center;
  transition: background .12s, color .12s;
  will-change: transform;
}

.dp-cell:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--t1);
}

.dp-cell.cur {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

/* ADD BUTTON */
.btn-add {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--r12);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -.2px;
  box-shadow: 0 4px 18px rgba(10, 132, 255, .32);
  will-change: transform;
}

/* SUMMARY CARDS */
.sum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.s-card {
  background: var(--card);
  backdrop-filter: blur(24px) saturate(160%);
  outline: 1px solid var(--sep);
  border-radius: var(--r20);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: outline-color .35s ease, box-shadow .35s ease;
}

.s-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .055), transparent);
}

.s-card.ci:hover {
  outline-color: rgba(48, 209, 88, .45);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, .07), 0 0 28px rgba(48, 209, 88, .12);
}

.s-card.co:hover {
  outline-color: rgba(255, 69, 58, .45);
  box-shadow: 0 0 0 3px rgba(255, 69, 58, .07), 0 0 28px rgba(255, 69, 58, .12);
}

.s-card.cb:hover {
  outline-color: rgba(10, 132, 255, .45);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .07), 0 0 28px rgba(10, 132, 255, .12);
}

.s-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.s-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.s-val {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.1px;
  line-height: 1;
}

.s-sub {
  font-size: 12px;
  color: var(--t3);
  margin-top: 7px;
}

.s-bg {
  position: absolute;
  right: 14px;
  top: 14px;
  opacity: .07;
}

.s-bg svg {
  width: 42px;
  height: 42px;
}

.ci .s-dot {
  background: var(--green);
}

.ci .s-val {
  color: var(--green);
}

.co .s-dot {
  background: var(--red);
}

.co .s-val {
  color: var(--red);
}

.cb .s-dot {
  background: var(--accent);
}

/* MAIN LAYOUT GRID */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 13px;
  align-items: start;
}

/* PANEL */
.panel {
  background: var(--card);
  backdrop-filter: blur(24px) saturate(160%);
  outline: 1px solid var(--sep);
  border-radius: var(--r20);
  overflow: hidden;
}

.p-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 13px;
  border-bottom: 1px solid var(--sep);
}

.p-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.3px;
}

/* FILTER TABS with sliding pill */
.f-tabs {
  display: flex;
  gap: 0;
  background: var(--input);
  border-radius: 8px;
  padding: 3px;
  position: relative;
}

.f-pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  background: rgba(255, 255, 255, .1);
  border-radius: 6px;
  pointer-events: none;
  will-change: left, width;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}

.f-tab {
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--t2);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: color .18s;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.f-tab.on {
  color: var(--t1);
}

/* TRANSACTION LIST */
.tx-list {
  list-style: none;
}

.tx-sep {
  padding: 8px 20px 3px;
  font-size: 11px;
  color: var(--t3);
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.tx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--sep);
  animation: rise .26s ease both;
}

.tx-row:last-child {
  border-bottom: none;
}

.tx-row:hover {
  background: rgba(255, 255, 255, .022);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LIQUID GLASS ICON */
.lgi {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,
      color-mix(in srgb, var(--ic, #fff) 22%, rgba(255, 255, 255, .14)) 0%,
      color-mix(in srgb, var(--ic, #fff) 9%, rgba(0, 0, 0, .08)) 100%);
  outline: 1px solid color-mix(in srgb, var(--ic, #fff) 28%, rgba(255, 255, 255, .16));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 3px 12px rgba(0, 0, 0, .28);
  color: var(--ic, #fff);
}

.lgi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(255, 255, 255, .13) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.lgi svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
}

.tx-info {
  flex: 1;
  min-width: 0;
}

.tx-desc {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-meta {
  font-size: 12px;
  color: var(--t2);
  margin-top: 2px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.tx-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 20px;
}

.tx-r {
  text-align: right;
  flex-shrink: 0;
}

.tx-amt {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.3px;
}

.tx-amt.inc {
  color: var(--green);
}

.tx-amt.exp {
  color: var(--red);
}

.tx-d2 {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
}

.tx-del {
  opacity: 0;
  color: var(--red);
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  border-radius: 7px;
  transition: opacity .14s;
  will-change: transform;
}

.tx-row:hover .tx-del {
  opacity: .5;
}

.tx-del:hover {
  opacity: 1 !important;
}

.empty-st {
  padding: 56px 20px;
  text-align: center;
  color: var(--t3);
}

.empty-st svg {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  display: block;
  opacity: .35;
}

.empty-st p {
  font-size: 14px;
}

/* SIDE */
.side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.side-card {
  background: var(--card);
  backdrop-filter: blur(24px) saturate(160%);
  outline: 1px solid var(--sep);
  border-radius: var(--r20);
  padding: 18px 20px;
}

.side-card h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .65px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 14px;
}

.b-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--sep);
}

.b-row:last-child {
  border-bottom: none;
}

.b-lbl {
  color: var(--t2);
}

.b-val {
  font-weight: 600;
}

.b-div {
  height: 1px;
  background: var(--sep2);
  margin: 4px 0;
}

.chart-wrap {
  position: relative;
  height: 175px;
}

.cat-list {
  list-style: none;
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sep);
}

.cat-row:last-child {
  border-bottom: none;
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cat-body {
  flex: 1;
  min-width: 0;
}

.cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.cat-nm {
  font-size: 13px;
}

.cat-v {
  font-size: 13px;
  font-weight: 600;
}

.cat-bar {
  height: 3px;
  background: rgba(255, 255, 255, .055);
  border-radius: 2px;
}

.cat-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cat-pct {
  font-size: 11px;
  color: var(--t3);
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

/* DICAS / FEATURES */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--card);
  backdrop-filter: blur(24px) saturate(160%);
  outline: 1px solid var(--sep);
  border-radius: var(--r20);
  padding: 24px;
  transition: outline-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.feature-card:hover {
  outline-color: rgba(10, 132, 255, .45);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .07), 0 0 28px rgba(10, 132, 255, .12);
  transform: translateY(-4px);
}

.feature-index {
  font-size: 11px;
  font-weight: 700;
  background: rgba(10, 132, 255, .1);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--t1);
}

.feature-card p {
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
}

/* EQUIPE / MEMBERS */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.member-card {
  background: var(--card);
  backdrop-filter: blur(24px) saturate(160%);
  outline: 1px solid var(--sep);
  border-radius: var(--r20);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: outline-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-card:hover {
  outline-color: rgba(191, 90, 242, .45);
  box-shadow: 0 0 0 3px rgba(191, 90, 242, .07), 0 0 28px rgba(191, 90, 242, .12);
  transform: translateY(-4px);
}

.member-card:hover::before {
  opacity: 1;
}

.member-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sep2);
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform .35s ease, border-color .35s ease;
}

.member-card:hover .member-img {
  border-color: var(--purple);
  transform: scale(1.08) rotate(3deg);
}

.member-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.member-card strong {
  color: var(--t1);
  font-size: 14px;
  font-weight: 600;
}

/* FOOTER */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--sep);
  padding: 24px 0 0;
  margin-top: 40px;
  color: var(--t3);
  font-size: 13px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--t1);
}

/* OVERLAYS & MODALS */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: rgba(16, 16, 20, .98);
  outline: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r26);
  padding: 26px;
  width: 400px;
  max-width: calc(100vw - 28px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .7);
  transform: scale(.92) translateY(20px);
  transition: transform .36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.overlay.open .modal {
  transform: scale(1) translateY(0);
}

.m-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.m-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.4px;
}

.m-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: none;
  color: var(--t2);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s, color .14s;
  will-change: transform;
  font-family: inherit;
}

.m-close:hover {
  background: rgba(255, 255, 255, .13);
  color: var(--t1);
}

/* TYPE TOGGLE with sliding pill */
.type-row {
  display: flex;
  background: rgba(255, 255, 255, .05);
  border-radius: 11px;
  padding: 3px;
  margin-bottom: 16px;
  position: relative;
}

.type-pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 9px;
  pointer-events: none;
  will-change: left, width;
  transition: background-color .24s ease, outline-color .24s ease;
  outline: 1px solid transparent;
}

.type-btn {
  flex: 1;
  padding: 9px;
  border: none;
  background: transparent;
  color: var(--t2);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color .2s;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.type-btn svg {
  width: 14px;
  height: 14px;
}

.tin {
  color: var(--green);
}

.tout {
  color: var(--red);
}

/* FORM FIELDS */
.fg {
  margin-bottom: 13px;
}

.fg label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 6px;
}

.fg input, .fg select {
  width: 100%;
  padding: 11px 13px;
  background: rgba(40, 40, 48, .85);
  outline: 1px solid var(--sep2);
  border: none;
  border-radius: var(--r8);
  color: var(--t1);
  font-size: 14px;
  font-family: inherit;
  transition: outline-color .14s, box-shadow .14s;
  -webkit-appearance: none;
}

.fg input:focus, .fg select:focus {
  outline: none;
  outline-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, .18);
}

.fg select option {
  background: #1c1c22;
}

.fg-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-sub {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--r8);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -.2px;
  box-shadow: 0 4px 16px rgba(10, 132, 255, .25);
  will-change: transform;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(68px);
  background: rgba(36, 36, 42, .97);
  backdrop-filter: blur(20px);
  outline: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 500;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
  transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .22s;
}

.toast.on {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* RESPONSIVE STYLES */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .step-list {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  header {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sum-grid {
    grid-template-columns: 1fr;
  }

  .main-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .goals-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .goals-container div:first-child {
    border-right: none !important;
    border-bottom: 1px solid var(--sep);
    padding-right: 0 !important;
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .fg-2 {
    grid-template-columns: 1fr;
  }
}
