:root {
  --red-50: #fff2f3;
  --red-100: #ffe1e4;
  --red-500: #ef233c;
  --red-700: #b90825;
  --red-900: #4c000d;
  --ink: #171112;
  --muted: #766a6d;
  --line: rgba(23, 17, 18, 0.09);
  --cream: #fff8ef;
  --gold: #ffd37a;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(92, 0, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #1d1114;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 211, 122, 0.18), transparent 32rem),
    linear-gradient(135deg, #26070d, #0f0b0c);
}

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

button,
input {
  font: inherit;
}

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

.phone {
  width: min(100%, 430px);
  min-height: 100svh;
  margin: 0 auto;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}

.screen {
  min-height: 100svh;
  padding: 18px 18px 94px;
  position: relative;
}

.hero-screen {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 36%, var(--cream) 36% 100%),
    radial-gradient(circle at 22% 8%, rgba(255, 211, 122, 0.24), transparent 10rem),
    linear-gradient(145deg, #ff4848 0%, #c80d29 50%, #57000f 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  background: #991b1b;
    border-radius: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.brand-name {
  font-size: 18px;
}

.topbar.on-red,
.on-red {
  color: var(--white);
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-button,
.mini-action {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: currentColor;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.icon-button.dark {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(83, 0, 16, 0.08);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-menu {
  position: fixed;
  inset: 0;
  left: 50%;
  width: min(100%, 430px);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}

.side-menu:target {
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 17, 18, 0.5);
  backdrop-filter: blur(8px);
}

.menu-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(84%, 330px);
  padding: 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(255, 211, 122, 0.24), transparent 11rem),
    linear-gradient(180deg, #fff9f1, #fff2f3);
  box-shadow: 24px 0 58px rgba(54, 0, 11, 0.32);
  transform: translateX(-105%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.side-menu:target .menu-panel {
  transform: translateX(0);
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-profile {
  margin: 22px 0;
  padding: 18px;
  border-radius: 26px;
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(17, 0, 5, 0.08), rgba(0, 0, 0, 0.06)),
    url("/assets/themes/lightneon/red/card-pattern.svg");
  background-size: cover;
}

.menu-profile strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.menu-links {
  display: grid;
  gap: 8px;
}

.menu-link {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #392b2e;
  font-weight: 800;
}

.menu-link.active,
.menu-link:hover {
  color: var(--red-700);
  background: var(--red-50);
}

.menu-link .icon {
  color: var(--red-700);
}

.menu-support {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-support p {
  margin: 6px 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero {
  padding: 34px 0 0;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.page-title h1 {
  margin: 18px 0 10px;
  font-size: 35px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 15px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, #ff4a4a, #b80724 58%, #650013);
  box-shadow: 0 16px 32px rgba(185, 8, 37, 0.28);
}

.btn.light {
  color: var(--red-700);
  background: var(--white);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.btn.full {
  width: 100%;
}

.hero-card {
  margin-top: 28px;
  padding: 10px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.section {
  padding-top: 22px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 20px;
}

.section-link {
  color: var(--red-700);
  font-size: 13px;
  font-weight: 800;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  min-height: 92px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(92, 0, 17, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.stat span,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-row,
.activity-row,
.field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  padding: 13px;
}

.feature-row,
.activity-row {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-row strong,
.activity-row strong {
  display: block;
  font-size: 14px;
}

.badge-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #ff4a4a, #a5001e);
  box-shadow: 0 12px 22px rgba(185, 8, 37, 0.24);
}

.page-gradient {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 30%, var(--cream) 30% 100%),
    radial-gradient(circle at 88% 7%, rgba(255, 211, 122, 0.24), transparent 9rem),
    linear-gradient(145deg, #ff4848 0%, #c80d29 50%, #57000f 100%);
}

.page-title {
  padding: 26px 0 18px;
  color: var(--white);
}

.plan-stack {
  display: grid;
  gap: 14px;
}

.plan-card {
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
}

.plan-top {
  min-height: 112px;
  padding: 18px;
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.06)),
    url("/assets/themes/lightneon/red/card-pattern.svg");
  background-size: cover;
}

.plan-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-label h2 {
  margin: 0;
  font-size: 23px;
}

.pill {
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.plan-top p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.plan-body {
  padding: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric {
  padding: 12px;
  border-radius: 18px;
  background: var(--red-50);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

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

.check-list {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #38292c;
  font-size: 14px;
}

.check-item .icon {
  color: var(--red-700);
  width: 18px;
  height: 18px;
}

.form-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.form-card {
  padding: 18px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  min-height: 54px;
  border-radius: 18px;
  background: #fff;
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.field .icon {
  color: var(--red-700);
  flex: 0 0 20px;
}

.terms {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.terms input {
  width: 18px;
  height: 18px;
  accent-color: var(--red-700);
}

.secure-note,
.signin-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px;
}

.signin-note a {
  color: var(--red-700);
  font-weight: 800;
}

.dashboard-screen {
  background:
    radial-gradient(circle at 84% 4%, rgba(255, 211, 122, 0.24), transparent 9rem),
    linear-gradient(180deg, #fff3f4 0, #fff8ef 38%, #fff8ef 100%);
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.dash-head h1 {
  margin: 4px 0 0;
  font-size: 27px;
}

.summary-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 30px;
  color: var(--white);
  background-image:
    linear-gradient(135deg, rgba(17, 0, 5, 0.08), rgba(0, 0, 0, 0.06)),
    url("/assets/themes/lightneon/red/card-pattern.svg");
  background-size: cover;
  box-shadow: var(--shadow);
}

.summary-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.summary-card h2 {
  margin: 8px 0 4px;
  font-size: 34px;
}

.summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.quick-action {
  min-height: 76px;
  padding: 10px 6px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  gap: 7px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(92, 0, 17, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quick-action .icon {
  color: var(--red-700);
}

.quick-action span {
  font-size: 12px;
  font-weight: 800;
}

.panel {
  padding: 16px;
}

.active-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.progress {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--red-100);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4a4a, #b80724);
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-row {
  justify-content: space-between;
  background: var(--white);
}

.activity-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amount {
  color: var(--red-700);
  font-size: 13px;
  font-weight: 800;
}

.refer-card,
.download-card {
  padding: 16px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(92, 0, 17, 0.08);
}

.refer-card {
  display: grid;
  gap: 14px;
}

.refer-head,
.download-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.refer-head h2,
.download-head h2 {
  margin: 0;
  font-size: 18px;
}

.refer-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  /*padding: 7px 7px 7px 13px;*/
  border-radius: 18px;
  background: var(--red-50);
  border: 1px solid var(--red-100);
}

.refer-link {
  min-width: 0;
  flex: 1;
  color: #4d3439;
  font-size: 8px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-status {
  min-height: 16px;
  color: var(--red-700);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.contact-action {
  min-height: 78px;
  padding: 12px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: linear-gradient(135deg, #ff4a4a, #a90020);
  box-shadow: 0 16px 32px rgba(185, 8, 37, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-action.whatsapp {
  background: linear-gradient(135deg, #27d366, #128c4a);
}

.contact-action strong {
  display: block;
  font-size: 13px;
}

.contact-action span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
}

.download-card {
  margin-top: 14px;
}

.download-card p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.install-status {
  display: block;
  min-height: 17px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  padding: 10px 14px 14px;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  z-index: 10;
}

.nav-item {
  min-height: 55px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #8a797d;
  font-size: 11px;
  font-weight: 800;
}

.nav-item.active {
  color: var(--red-700);
  background: var(--red-50);
}

@media (hover: hover) {
  .btn:hover,
  .icon-button:hover,
  .quick-action:hover,
  .stat:hover,
  .feature-row:hover,
  .activity-row:hover,
  .contact-action:hover {
    transform: translateY(-3px);
  }

  .btn.primary:hover,
  .quick-action:hover,
  .contact-action:hover {
    box-shadow: 0 20px 38px rgba(185, 8, 37, 0.24);
  }

  .quick-action:hover {
    border-color: rgba(185, 8, 37, 0.22);
    background: var(--red-50);
  }

  .nav-item:hover {
    color: var(--red-700);
    background: var(--red-50);
  }
}

.btn:active,
.icon-button:active,
.quick-action:active,
.contact-action:active {
  transform: scale(0.97);
}

@media (min-width: 431px) {
  .phone {
    min-height: 920px;
    margin: 24px auto;
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  }

  .screen {
    min-height: 920px;
  }
}
