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

:root {
  --ink: #102033;
  --muted: #5d6b7c;
  --soft: #f5fbff;
  --green: #29c15f;
  --green-dark: #138a43;
  --lime: #a7ff1f;
  --cyan: #18c9f5;
  --blue: #1667e8;
  --line: rgba(16, 32, 51, .09);
  --glass: rgba(255, 255, 255, .72);
  --shadow: 0 24px 70px rgba(16, 32, 51, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(41, 193, 95, .18), transparent 34%),
    radial-gradient(circle at 88% 5%, rgba(24, 201, 245, .18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 55%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,32,51,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16,32,51,.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(50px);
  opacity: .34;
  z-index: -2;
  animation: floatGlow 8s ease-in-out infinite;
}

.ambient-green {
  left: -120px;
  top: 90px;
  background: var(--green);
}

.ambient-blue {
  right: -120px;
  top: 30px;
  background: var(--cyan);
  animation-delay: -3s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(16,32,51,.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  display: block;
  width: 178px;
  filter: drop-shadow(0 0 12px rgba(41,193,95,.22));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #415066;
  font-size: 14px;
  font-weight: 900;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--green-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-link {
  color: #415066;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(16,32,51,.10);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn::before,
.product-window::before,
.screen-card::before,
.price-card::before,
.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 56%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.74), transparent);
  transform: skewX(-24deg);
  animation: sweep 5.4s infinite;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(41,193,95,.18);
}

.btn-primary {
  color: #052e16;
  background: linear-gradient(135deg, #8af35f, #34d6f7);
}

.btn-light {
  color: var(--ink);
  background: rgba(255,255,255,.78);
  border-color: rgba(16,32,51,.08);
}

.btn-warning {
  color: #4a2d04;
  background: linear-gradient(135deg, #ffc857, #ff9f1c);
  border-color: rgba(255,159,28,.28);
}

.btn-danger {
  color: #ffffff;
  background: linear-gradient(135deg, #ff5a5f, #dc2626);
  border-color: rgba(220,38,38,.28);
}

.approval-actions .btn-warning,
.delete-confirm-actions .btn-warning {
  color: #4a2d04;
  background: linear-gradient(135deg, #ffc857, #ff9f1c);
  border-color: rgba(255,159,28,.36);
  box-shadow: 0 16px 32px rgba(255,159,28,.18);
}

.approval-actions .btn-danger,
.delete-confirm-actions .btn-danger {
  color: #ffffff;
  background: linear-gradient(135deg, #ff5a5f, #dc2626);
  border-color: rgba(220,38,38,.36);
  box-shadow: 0 16px 32px rgba(220,38,38,.18);
}

.btn-large {
  min-height: 54px;
  padding: 0 28px;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 34px;
  padding: 58px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #116935;
  background: rgba(41,193,95,.12);
  border: 1px solid rgba(41,193,95,.22);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.module-copy h2,
.split-copy h2,
.info-copy h2,
.report-copy h2,
.cash-copy h2,
.premium-copy h2,
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(40px, 5.7vw, 74px);
  line-height: 1.01;
  letter-spacing: 0;
}

.hero p,
.module-copy p,
.split-copy p,
.info-copy p,
.report-copy p,
.cash-copy p,
.premium-copy p {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  display: block;
  margin-top: 18px;
  color: #728095;
  font-weight: 800;
}

.hero-product {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.product-window {
  position: relative;
  overflow: hidden;
  width: min(100%, 680px);
  padding: 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 18%, rgba(167,255,31,.24), transparent 32%),
    radial-gradient(circle at 74% 20%, rgba(24,201,245,.22), transparent 36%),
    rgba(255,255,255,.72);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  animation: softFloat 5.5s ease-in-out infinite;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,32,51,.07);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8af35f;
}

.window-bar span:nth-child(2) {
  background: #34d6f7;
}

.window-bar span:nth-child(3) {
  background: #f5b728;
}

.window-bar strong {
  margin-left: 8px;
  color: #415066;
  font-size: 13px;
  font-weight: 900;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 18px;
  margin-top: 18px;
}

.product-list,
.checkout-card {
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: 0 18px 44px rgba(16,32,51,.08);
}

.product-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  border-radius: 16px;
  background: #f7fbff;
  border: 1px solid rgba(16,32,51,.06);
  font-weight: 900;
}

.checkout-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
}

.checkout-card img {
  width: 76px;
  border-radius: 22px;
  filter: drop-shadow(0 0 16px rgba(41,193,95,.28));
}

.checkout-card span {
  color: var(--muted);
  font-weight: 900;
}

.checkout-card strong {
  font-size: 34px;
}

.checkout-card button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: #052e16;
  background: linear-gradient(135deg, #8af35f, #34d6f7);
  cursor: pointer;
  font-weight: 900;
}

.hero-floating {
  position: absolute;
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: 0 18px 42px rgba(16,32,51,.13);
  animation: softFloat 4.8s ease-in-out infinite;
}

.hero-floating strong {
  display: block;
  font-size: 28px;
}

.hero-floating span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.hero-floating.one {
  top: 56px;
  right: 14px;
}

.hero-floating.two {
  left: 8px;
  bottom: 72px;
  animation-delay: -2s;
}

.feature-strip,
.info-section,
.cash-section,
.premium-section {
  padding: 92px 0;
}

.module-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 28px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: 0 18px 45px rgba(16,32,51,.08);
}

.module-tab {
  min-height: 50px;
  border: 0;
  border-radius: 20px;
  color: #415066;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  transition: transform .22s ease, color .22s ease, background .22s ease, box-shadow .22s ease;
}

.module-tab:hover {
  transform: translateY(-1px);
  background: rgba(41,193,95,.08);
}

.module-tab.active {
  color: #052e16;
  background: linear-gradient(135deg, rgba(138,243,95,.92), rgba(52,214,247,.88));
  box-shadow: 0 14px 30px rgba(41,193,95,.16);
}

.module-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 30px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 12%, rgba(41,193,95,.16), transparent 36%),
    radial-gradient(circle at 82% 16%, rgba(24,201,245,.16), transparent 36%),
    rgba(255,255,255,.70);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.module-preview {
  display: grid;
  gap: 12px;
}

.preview-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,32,51,.07);
  font-weight: 900;
}

.preview-line.active {
  color: #052e16;
  background: linear-gradient(135deg, rgba(138,243,95,.58), rgba(52,214,247,.48));
}

.split-section,
.info-grid,
.cash-grid,
.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1fr);
  align-items: center;
  gap: 36px;
  padding: 92px 0;
}

.platforms,
.segment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.platforms span,
.segment-tags span {
  padding: 10px 15px;
  border-radius: 999px;
  color: #415066;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(16,32,51,.08);
  font-weight: 900;
}

.device-stack {
  position: relative;
  min-height: 380px;
}

.device {
  position: absolute;
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.desktop {
  inset: 20px 30px 60px 0;
  padding: 28px;
}

.desktop div {
  height: 170px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(41,193,95,.72), rgba(24,201,245,.68)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 12px, transparent 12px 24px);
  margin-bottom: 18px;
}

.device strong {
  display: block;
  font-size: 26px;
}

.device span {
  color: var(--muted);
  font-weight: 900;
}

.phone {
  right: 0;
  bottom: 0;
  width: 190px;
  padding: 28px 20px;
  text-align: center;
  animation: softFloat 4.8s ease-in-out infinite;
}

.info-section,
.cash-section,
.premium-section {
  background:
    radial-gradient(circle at 15% 10%, rgba(41,193,95,.13), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(24,201,245,.13), transparent 32%),
    #f8fcff;
}

.screen-card,
.cash-panel,
.price-card,
.metric-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.screen-card,
.cash-panel {
  padding: 26px;
}

.stock-row {
  display: grid;
  grid-template-columns: 110px 1fr 58px;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-weight: 900;
}

.stock-row + .stock-row {
  border-top: 1px solid rgba(16,32,51,.07);
}

.stock-row i,
.metric-card i {
  display: block;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8af35f, #34d6f7);
  width: var(--bar);
  box-shadow: 0 0 18px rgba(24,201,245,.22);
}

.stock-row.warning i {
  background: linear-gradient(90deg, #f5b728, #8af35f);
}

.stock-alert {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  color: #7c4a03;
  background: rgba(245,183,40,.15);
  border: 1px solid rgba(245,183,40,.24);
  font-weight: 900;
}

.info-copy ul {
  margin-top: 22px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.info-copy li {
  position: relative;
  padding-left: 28px;
  color: #415066;
  font-weight: 900;
}

.info-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.report-section {
  padding: 92px 0;
}

.report-copy {
  max-width: 780px;
}

.report-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.metric-card {
  min-height: 210px;
  padding: 24px;
}

.metric-card span {
  color: var(--muted);
  font-weight: 900;
}

.metric-card strong {
  display: block;
  margin-top: 16px;
  font-size: 34px;
}

.metric-card i {
  width: 76%;
  margin-top: 42px;
}

.metric-card:nth-child(2) i {
  width: 58%;
}

.metric-card:nth-child(3) i {
  width: 88%;
}

.cash-panel {
  display: grid;
  gap: 12px;
}

.cash-panel div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid rgba(16,32,51,.07);
  font-weight: 900;
}

.cash-panel .cash-total {
  color: #052e16;
  background: linear-gradient(135deg, rgba(138,243,95,.62), rgba(52,214,247,.56));
}

.segments {
  padding: 92px 0;
}

.center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.segment-tags {
  justify-content: center;
}

.premium-copy small {
  display: block;
  margin-top: 18px;
  color: #728095;
  font-weight: 900;
}

.price-card {
  padding: 34px;
  text-align: center;
}

.price-card span {
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(44px, 6vw, 68px);
}

.price-card small {
  display: block;
  margin: 4px 0 24px;
  color: var(--muted);
  font-weight: 900;
}

.footer {
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #728095;
  font-weight: 900;
}

.footer img {
  width: 146px;
  filter: drop-shadow(0 0 10px rgba(41,193,95,.18));
}

.modal-open {
  overflow: hidden;
}

.auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 18, 32, .48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-backdrop[hidden] {
  display: none;
}

.auth-modal {
  position: relative;
  width: min(100%, 460px);
  padding: 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 8%, rgba(41,193,95,.16), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(24,201,245,.16), transparent 34%),
    rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 30px 90px rgba(5, 18, 32, .28);
  animation: modalIn .24s ease both;
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #415066;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  font-weight: 900;
}

.auth-logo {
  display: block;
  width: 190px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 12px rgba(41,193,95,.18));
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(16,32,51,.05);
}

.auth-tab {
  min-height: 44px;
  border-radius: 16px;
  color: #415066;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.auth-tab.active {
  color: #052e16;
  background: linear-gradient(135deg, #8af35f, #34d6f7);
  box-shadow: 0 12px 28px rgba(41,193,95,.18);
}

.auth-form {
  display: none;
  margin-top: 20px;
}

.auth-form.active {
  display: grid;
  gap: 14px;
}

.auth-form h2 {
  font-size: 28px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #415066;
  font-size: 13px;
  font-weight: 900;
}

.auth-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(16,32,51,.10);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,.82);
}

.auth-form input:focus {
  border-color: rgba(41,193,95,.55);
  box-shadow: 0 0 0 4px rgba(41,193,95,.12);
}

.auth-form small,
.auth-message {
  color: #728095;
  font-weight: 800;
  line-height: 1.5;
}

.auth-message {
  min-height: 22px;
  margin-top: 14px;
}

.auth-message[data-type="success"] {
  color: #138a43;
}

.auth-message[data-type="error"] {
  color: #dc2626;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 18px;
}

.auth-card {
  width: min(100%, 980px);
  min-height: 640px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
  padding: 30px;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 24% 12%, rgba(41,193,95,.18), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(24,201,245,.18), transparent 36%),
    rgba(255,255,255,.48);
}

.auth-brand img {
  width: min(100%, 340px);
  margin-bottom: 22px;
}

.auth-brand h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
}

.auth-brand p,
.switch-text {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.switch-text span {
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 900;
}

.auth-card > .auth-tabs,
.auth-card > .auth-form {
  align-self: center;
}

.auth-card > .auth-tabs {
  grid-column: 2;
  align-self: end;
}

.auth-card > .auth-form {
  grid-column: 2;
  align-self: start;
}

.app-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(41,193,95,.18), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(24,201,245,.18), transparent 32%),
    #f5fbff;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 22px;
}

.panel-page {
  display: none;
  min-height: 100vh;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 22px;
}

.panel-page.active {
  display: grid;
}

.app-sidebar,
.app-content,
.app-card,
.security-card {
  border: 1px solid rgba(16,32,51,.08);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 30px;
  padding: 22px;
}

.app-sidebar img {
  width: 190px;
}

.app-sidebar h3 {
  font-size: 20px;
}

.app-sidebar nav {
  display: grid;
  gap: 8px;
}

.app-sidebar button {
  min-height: 46px;
  border-radius: 16px;
  color: #415066;
  background: transparent;
  cursor: pointer;
  text-align: left;
  padding: 0 14px;
  font-weight: 900;
}

.app-sidebar button.active {
  color: #052e16;
  background: linear-gradient(135deg, rgba(138,243,95,.78), rgba(52,214,247,.68));
}

.logout-btn {
  margin-top: auto;
}

.premium-link {
  display: none;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  color: #052e16;
  background: linear-gradient(135deg, rgba(138,243,95,.78), rgba(52,214,247,.68));
  font-weight: 900;
  align-items: center;
}

.app-content {
  border-radius: 30px;
  padding: 30px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.app-header h1 {
  margin-top: 14px;
  font-size: clamp(36px, 5vw, 62px);
}

.app-header p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.security-card {
  min-width: 220px;
  border-radius: 22px;
  padding: 18px;
}

.security-card strong,
.security-card span {
  display: block;
}

.security-card span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.app-card {
  min-height: 210px;
  border-radius: 24px;
  padding: 22px;
}

.app-card span {
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.app-card strong {
  display: block;
  margin-top: 18px;
  font-size: 28px;
}

.app-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 750;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.section-title-row p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.product-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: 0 18px 44px rgba(16,32,51,.08);
}

.product-form label {
  display: grid;
  gap: 8px;
  color: #415066;
  font-size: 13px;
  font-weight: 900;
}

.product-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(16,32,51,.10);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,.86);
}

.product-form input:focus {
  border-color: rgba(41,193,95,.55);
  box-shadow: 0 0 0 4px rgba(41,193,95,.12);
}

.product-file,
.product-form button {
  grid-column: span 1;
}

.products-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.product-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 20px;
  background: #f7fbff;
  border: 1px solid rgba(16,32,51,.07);
}

.product-thumb {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: #728095;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(16,32,51,.07);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info strong,
.product-info span,
.product-prices span,
.product-prices strong {
  display: block;
}

.product-info strong {
  font-size: 17px;
}

.product-info span,
.product-prices span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.product-prices {
  text-align: right;
  font-weight: 900;
}

.product-prices strong {
  color: var(--green-dark);
}

.wide-card {
  grid-column: 1 / -1;
}

.approval-panel {
  margin-top: 28px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,32,51,.08);
  box-shadow: var(--shadow);
}

.approval-panel[hidden] {
  display: none;
}

.approval-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.approval-head h2 {
  margin-top: 12px;
  font-size: 30px;
}

.approval-list {
  display: grid;
  gap: 12px;
}

.approval-item,
.approval-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: #f7fbff;
  border: 1px solid rgba(16,32,51,.07);
}

.approval-item strong,
.approval-item span {
  display: block;
}

.approval-item span,
.approval-empty {
  color: var(--muted);
  font-weight: 800;
}

.approval-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.delete-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 18, 32, .48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.delete-confirm-card {
  width: min(100%, 430px);
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,90,95,.14), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(24,201,245,.14), transparent 34%),
    rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 30px 90px rgba(5, 18, 32, .28);
  animation: modalIn .24s ease both;
}

.delete-confirm-card h3 {
  font-size: 26px;
}

.delete-confirm-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}

.delete-confirm-card input {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid rgba(16,32,51,.10);
  border-radius: 16px;
  padding: 0 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,.86);
}

.delete-confirm-card input:focus {
  border-color: rgba(220,38,38,.48);
  box-shadow: 0 0 0 4px rgba(220,38,38,.10);
}

.delete-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.premium-placeholder {
  width: min(900px, calc(100% - 36px));
  margin: 60px auto;
  min-height: auto;
}

.premium-placeholder img {
  width: min(100%, 280px);
  margin-bottom: 20px;
}

.premium-placeholder h1 {
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 72px);
}

.premium-placeholder p {
  max-width: 680px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .62s ease, transform .62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-one {
  transition-delay: .12s;
}

.delay-two {
  transition-delay: .22s;
}

.module-panel.is-switching {
  animation: panelSwitch .34s ease both;
}

@keyframes sweep {
  0% { left: -80%; }
  42% { left: 132%; }
  100% { left: 132%; }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -18px, 0) scale(1.04); }
}

@keyframes panelSwitch {
  0% { opacity: .52; transform: translateY(12px) scale(.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modalIn {
  0% { opacity: 0; transform: translateY(14px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .nav-links,
  .login-link {
    display: none;
  }

  .hero,
  .module-panel,
  .split-section,
  .info-grid,
  .cash-grid,
  .premium-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .module-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .report-cards {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .panel-page {
    grid-template-columns: 1fr;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-card > .auth-tabs,
  .auth-card > .auth-form {
    grid-column: 1;
  }

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

  .app-header {
    display: grid;
  }

  .product-form,
  .product-item {
    grid-template-columns: 1fr;
  }

  .product-prices {
    text-align: left;
  }

  .approval-head,
  .approval-item {
    display: grid;
  }

  .approval-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 76px;
  }

  .brand img {
    width: 142px;
  }

  .nav-actions .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero h1,
  .module-copy h2,
  .split-copy h2,
  .info-copy h2,
  .report-copy h2,
  .cash-copy h2,
  .premium-copy h2,
  .section-head h2 {
    font-size: 38px;
  }

  .hero p,
  .module-copy p,
  .split-copy p,
  .info-copy p,
  .report-copy p,
  .cash-copy p,
  .premium-copy p {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-product {
    min-height: auto;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero-floating {
    position: static;
    margin-top: 12px;
    width: 100%;
  }

  .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-panel,
  .product-window,
  .screen-card,
  .cash-panel,
  .price-card {
    border-radius: 24px;
  }

  .feature-strip,
  .info-section,
  .cash-section,
  .premium-section,
  .split-section,
  .report-section,
  .segments {
    padding: 64px 0;
  }

  .stock-row {
    grid-template-columns: 1fr;
  }
}
