/* ===== CSS Custom Properties ===== */
:root {
  --primary: #d32f2f;
  --primary-dark: #b71c1c;
  --accent: #ff6b35;
  --text: #333;
  --light: #fff;
  --gray: #f5f5f5;
  --border: #eee;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  position: relative;
}
img {
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}

/* ===== Layout ===== */
.container {
  width: min(100% - 2rem, 1230px);
  margin-inline: auto;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.4rem;
}
p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.highlight {
  color: var(--accent);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  padding: 0.2rem 1.2rem;
  background: transparent;
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  /* transform: translateY(-2px); */
  color: white;
}

/* ===== Header ===== */
.header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 70%),
    rgb(255 255 255 / 60%)
  );
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  height: 65px;
  display: flex;
  align-items: center;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.logo img {
  height: 100%;
  display: block;
}
.nav ul {
  display: flex;
  gap: 2rem;
}
.nav a {
  font-weight: 600;
  transition: var(--transition);
}
.nav a:hover {
  color: var(--primary);
}
.support-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ec1c24;
  font-size: 18px;
  font-weight: 500;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}
/* ===== Hero ===== */
.hero {
  background: linear-gradient(rgba(211, 47, 47, 0.9), rgba(183, 28, 28, 0.8)),
    url("../images/banner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}
#hero img {
  max-width: 100%;
}
.hero h1 {
  margin-bottom: 1rem;
}

.marqueDiv {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  background: #ec1c24;
  width: 100%;
  max-width: 1230px;
  border-radius: 90px;
  color: #fff;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 5px 10px;
}

#hero .pc-banner {
  width: 100%;
}
.badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.badges img {
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===== Tables ===== */
.table-wrapper {
  overflow-x: auto;
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
th,
td {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  border: 2px solid #ec1c24;
}
th {
  background: #ec1c24;
  color: white;
  font-weight: 600;
}
tbody tr:hover {
  background: #fff5f5;
}
.note {
  padding: 0px 0px;
}
.note p {
  margin-bottom: 0px;
  font-weight: 500;
  font-size: 14px;
  color: #000;
}
/* ===== Steps ===== */
.steps-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.step {
  padding: 1rem;
  text-align: center;
  box-shadow: 0px 5.1px 10.19px 0px #00000040 inset;
  transition: var(--transition);
  background: linear-gradient(180deg, #ff0000 0%, #ff0000 100%);
  border-radius: 16px;
  border: 2px solid #ffffff;
  position: relative;
}

.steps .steps-items {
  width: 100%;
  text-align: center;
}

.steps img {
  margin: 0 auto;
}

.step:hover {
  transform: translateY(-2px);
}

.step h3 {
  background: #ffffff;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0px 0px 10.19px 0px #ffffff;
  color: #ec1c24;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 0 !important;
  min-height: 120px;
}
.steps-ico {
  position: absolute;
  right: -38px;
  top: 40%;
}

/* ===== Features ===== */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}
.feature {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.feature h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

/* ===== Footer ===== */
.footer {
  background: #f5f7fa;
  padding: 0px;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}
.footer h4 {
  color: white;
  margin-bottom: 1rem;
}
.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* ===== LỢI ÍCH KHI HỢP TÁC SECTION ===== */
.benefits {
  padding: 2rem 0rem;
}
.section-btn {
  text-align: center;
  margin-bottom: 0;
}
.section-btn img {
  cursor: pointer;
}
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ec1c24;
  margin-bottom: 2rem;
  position: relative;
  text-transform: uppercase;
}

.simple-para {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 19px 0px;
}
.simple-para p {
  margin-bottom: 0rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.benefit-item {
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.text-item {
  display: grid;
  justify-content: flex-start;
}

.benefit-item h3 {
  background: linear-gradient(90deg, #ff0000 0%, #ffffff 100%);
  color: white;
  padding: 0.4rem 0.6rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: inline-block;
  text-align: left;
}

.benefit-item p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
  text-align: left;
  font-weight: 500;
}

.benefit-item p strong {
  color: #ec1c24;
  font-weight: 600;
}

/* video section  */
.video-item {
  display: flex;
  align-items: center;
}

.vid-item {
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.agent {
  padding: 2rem 0rem;
}

.agent-title-bg {
  position: relative;
}

.star-bg {
  position: relative;
}

.star-bg span {
  position: absolute;
  top: 6px;
  left: 70px;
  font-size: 20px;
  font-weight: 700;
  color: #ec1c24;
}

.agent-title-bg h4 {
  position: absolute;
  top: 10px;
  left: 70px;
  font-size: 20px;
  font-weight: 700;
  color: #ec1c24;
}
.agent .agent-para {
  border: 2px solid #ec1c24;
  border-radius: 10px;
  padding: 10px;
}

.agent-para p {
  font-size: 16px;
  color: #000;
  font-weight: 500;
  margin-bottom: 0;
  line-height: normal;
  padding-top: 10px;
}
.bonus-table .bonus-border {
  border: 2px solid #ec1c24;
  padding: 10px;
  border-radius: 10px;
}
.bonus-table .agent-para {
  padding-bottom: 10px;
}
.bonus-table {
  padding: 1rem 0rem;
}

.commissionBonus {
  padding: 1rem 0rem;
}
.commis-bons {
  border: 2px solid #ec1c24;
  border-radius: 10px;
  padding: 5px;
}
.commision-border {
  border: 2px solid #ec1c24;
  padding: 10px;
  border-radius: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.commis-calculator {
  background: linear-gradient(99.86deg, #d9ecff 0%, #e9f2ff 100%);
  border-radius: 10px;
  text-align: center;
  padding: 20px 10px;
}
.commis-calculator h3 {
  font-weight: 700;
  font-size: 25px;
  text-align: center;
  color: #34344b;
  padding-bottom: 10px;
}
.commis-calculator p {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #4b5563;
  margin-bottom: 4px;
}
.commis-calculator button {
  background: #ec1c24;
  box-shadow: 0px 10.53px 15.79px -3.16px #0000001a;
  border: 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 6px;
  color: #fff;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.video-placeholder {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover .placeholder-image {
  opacity: 0.9;
}

#videoPlayer {
  border-radius: 10px;
  display: none;
}

/* footer css  */

.footer-banner {
  padding: 40px 0;
  border-bottom: 1px solid #333;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin: 0 auto;
}

.banner-left {
  display: flex;
}
.compadderss {
  display: flex;
}

.banner-right {
  display: flex;
  gap: 10px;
}
.players-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.banner-center {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.badge {
  width: 389px;
  height: 68px;
  margin-bottom: 10px;
}
.title {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 0;
  color: #343434;
}

.subtitle {
  font-weight: 400;
  font-size: 14px;
  text-transform: capitalize;
  color: #343434;
}

.kjclogo {
  width: 175px;
  height: 59px;
}

.lefimg {
  width: 230px;
  height: 153px;
}

.partnership-title {
  font-weight: 900;
  font-size: 22px;
  color: #343434;
}

.partnership-desc {
  font-size: 14px;
  color: #343434;
  font-weight: 400;
}

.partnership-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.footer-nav {
  background: #1a1a1a;
  padding: 20px 0;
  border-bottom: 1px solid #333;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.nav-link {
  color: #343434;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ec1c24;
}

.nav-separator {
  color: #666666;
  font-size: 14px;
  line-height: 1;
}

.footer-certificates {
  background: #1a1a1a;
  padding: 30px 0;
}

.certs-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.certs-grid {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.cert-item {
  width: 40px;
  height: 40px;
}

.cert-item img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

.mb-deco-right,
.mb-deco-left {
  display: none;
}

.mbfoooter {
  display: none;
}
.agent-title-bg .numbring {
  display: none;
}

.mb-banner {
  display: none;
}

.tele-bot-div {
  position: fixed;
  right: 15px;
  bottom: 10%;
  z-index: 9;
}
.tele-bot-div .tele-bot {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.tele-bot-div .bot-content {
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 7.2px 0px #00000040;
  padding: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  display: none;
}

.tele-bot-div .bot-img {
  position: absolute;
  right: 0;
  bottom: -70px;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #f2fbff;
  z-index: 1001;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px 20px 20px;
  overflow-y: auto;
}

.side-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.open {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 1002;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sidebar-nav li {
  margin-bottom: 15px;
}

.sidebar-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.sidebar-nav a:hover {
  background: var(--gray);
}

.sidebar-support {
  margin: 10px 0;
  padding: 10px 0px;
  border-top: 1px solid var(--border);
}

.sidebar-support .item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
}

.sidebar-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.sidebar-auth .btn-primary {
  margin: 0;
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.mobileshow {
  display: none;
}

.header.mb {
  display: none;
}
.header.pc {
  display: block;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: var(--radius);
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}
.close-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Promo Modal Specific */
.promo-content {
  background: transparent;
  border-radius: 20px;
  width: auto;
  height: auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.promo-main {
  position: relative;
  height: 80%;
}

.promo-main img {
  display: flex;
}

.promo-footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  display: block;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.no-show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

#closePromo {
  color: white;
  background: linear-gradient(180deg, #ec1c24 0%, #d20008 100%);
  border: none;
  padding: 10px 40px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* Calculator Modal Specific */
.calc-content {
  width: 750px;
  padding: 0px;
  text-align: center;
}

.calc-content h2 {
  color: #fff;
  margin-bottom: 0;
  font-size: 16px;
}
.model-header {
  background: linear-gradient(180deg, #ec1c24 0%, #d20008 100%);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
}

.inputs-section {
  margin-bottom: 20px;
}

.input-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.input-group {
  flex: 1;
  text-align: left;
}

.section-heading h3 {
  color: #ec1c24;
  font-size: 16px;
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 5px;
}

.input-group label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  background: transparent;
}

.ket-qua {
  text-align: left;
  margin-bottom: 20px;
}

.ket-qua h3 {
  color: #ec1c24;
  text-align: lèt;
  margin-bottom: 15px;
}

.result-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.result-item {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-item.item1 {
  background: #f0f6ff;
  border: 1.02px solid #c2daff;
}
.result-item.item2 {
  background: #f1fdf4;
  border: 1.02px solid #a7ffbd;
}
.result-item.item3 {
  background: #faf5ff;
  border: 1.02px solid #e1c3ff;
}
.result-item.item4 {
  background: #f9fafb;
  border: 1.02px solid #f0f0f0;
}

.result-item.item1:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.result-item.item2:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.result-item.item3:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.result-item.item4:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.result-item.full-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: unset;
}

.result-item label {
  font-size: 12px;
  color: #999;
  margin-bottom: 0px;
  display: block;
}

.result-item span {
  font-size: 16px;
  font-weight: bold;
  color: #ec1c24;
  display: block;
}

.trang-thai {
  text-align: left;
  margin-bottom: 20px;
}

.trang-thai p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.condition-btn {
  background: #ec1c24;
  border: 1px solid #ec1c24;
  color: #fff;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}

.tong-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ec1c24;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 18px;
}

.close-modal-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

/* slider ranger  */

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ec1c24 0%, #d20008 100%);
  cursor: pointer;
  border: 1px solid #fff;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ec1c24 0%, #d20008 100%);
  cursor: pointer;
}

.input-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.input-layout {
  width: 100%;
}

.result-item .aa {
  width: 8px;
  height: 8px;
  background: #5081f3;
  border-radius: 50px;
}
.result-item .bb {
  width: 8px;
  height: 8px;
  background: #00c72b;
  border-radius: 50px;
}
.result-item .cc {
  width: 8px;
  height: 8px;
  background: #a758f5;
  border-radius: 50px;
}

/* expend more details for calender  */
/* ------------------ Toggle Button ------------------ */
.calc-toggle-wrapper {
  text-align: center;
  margin-top: 12px;
}

.calc-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.calc-toggle-btn:hover {
  background-color: #e0e0e0;
}

.calc-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #f7931e50;
}

.calc-toggle-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* ------------------ Calculation Details Section ------------------ */
.calc-details-section {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 12px;
}

.calc-details-header {
  background: linear-gradient(to right, #f9f9f9, #f0f0f0);
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
}

.calc-details-title {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #ec1c24;
}

.calc-details-title-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: #f7931e;
}

/* ------------------ Boxes ------------------ */
.calc-details-content {
  padding: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.calc-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.calc-box-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot.red {
  background: #ec1c24;
}
.dot.blue {
  background-color: #3b82f6;
}
.dot.green {
  background-color: #10b981;
}
.dot.purple {
  background-color: #8b5cf6;
}
.dot.black {
  background-color: #000;
}

/* Highlight text */
.highlight-blue {
  font-weight: bold;
  color: #2563eb;
}

.font-medium {
  font-weight: 700;
}

/* ------------------ Mono Calculation Box ------------------ */
.calc-mono-box {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 8px;
  font-family: monospace;
  font-size: 13px;
}

.calc-mono-box .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.calc-mono-box .row.red {
  color: #dc2626;
  font-weight: 800;
}

.calc-mono-box .row.result-green {
  font-weight: bold;
  font-size: 16px;
  color: #16a34a;
}

.bold {
  font-weight: bold;
}

.divider {
  margin: 6px 0;
  border-color: #dbdbdb2e;
}

/* ------------------ Commission Table ------------------ */
.commission-table {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 12px;
}

.table-title {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  margin-bottom: 6px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 3fr));
  gap: 6px;
}

.grid-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px;
  font-size: 14px;
}

.grid-item .label {
  font-weight: 500;
  margin-bottom: 2px;
}

.grid-item .desc {
  color: #555;
  font-size: 14px;
}

/* ------------------ Stats Grid ------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 2fr));
  gap: 6px;
  margin-bottom: 12px;
}

.stats-item {
  background-color: #fce9ff;
  border-radius: 6px;
  padding: 8px;
}

.stats-item .label {
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}

.stats-item .value {
  font-size: 16px;
  font-weight: bold;
  color: #7c3aed;
}

/* ------------------ Commission Level ------------------ */
.commission-level-box {
  background: #fce9ff;
  border-radius: 6px;
  padding: 8px;
  border: 1px solid #ffccf9;
  margin-bottom: 12px;
}

.commission-level-box .label {
  font-size: 12px;
  color: #555;
  margin-bottom: 2px;
}

.commission-level-box .value {
  font-size: 14px;
  font-weight: bold;
  color: #7c3aed;
}

/* ------------------ Warning Box ------------------ */
.warning-box {
  background-color: #ffeded;
  border: 1px solid #ff8888;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 12px;
}

.warning-title {
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
}

.warning-text {
  font-size: 11px;
  color: #dc2626;
  margin-top: 2px;
}

/* ------------------ Total Commission Box ------------------ */
.total-commission-box {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  color: #000;
}

.total-commission-box.white .calc-box-title {
  color: #fff;
}

.total-inner {
  background-color: #ec1c24;
  border-radius: 6px;
  padding: 8px;
}

.total-inner .text-center {
  text-align: center;
  color: #fff;
}

.total-inner .small {
  font-size: 12px;
  opacity: 0.9;
}

.total-inner .formula {
  font-family: monospace;
  font-size: 16px;
  font-weight: 500;
}

.total-inner .sub {
  font-size: 10px;
  opacity: 0.75;
  margin-top: 2px;
}

.total-inner .total {
  font-size: 20px;
  font-weight: bold;
  margin-top: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header.mb {
    display: block;
    height: auto;
  }
  .header.pc {
    display: none;
  }
  .input-flex {
    display: block;
  }

  .mb .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .header a.logo img {
    height: 26px !important;
  }
  .mobileshow {
    display: block !important;
  }
  .tele-bot-div {
    display: none;
  }

  .pc-banner {
    display: none;
  }
  .mb-banner {
    display: block;
    width: 100%;
  }
  .section-btn {
    scale: 0.7;
  }

  .deco-right,
  .deco-left {
    display: none;
  }

  .mb-deco-right,
  .mb-deco-left {
    display: none;
  }
  .agent-title-bg .numbring {
    display: inline;
  }
  .auth-btn {
    display: flex;
    align-items: center;
  }

  .benefits {
    padding: 1rem 0rem;
  }

  .benefits .section-title {
    font-size: 22px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .videos .section-title {
    text-align: center;
    font-size: 22px;
  }

  .videos .simple-para {
    padding-top: 0;
  }
  .vid-item .icon {
    display: none;
  }
  .step p {
    font-size: 13px;
    /* min-height: 90px; */
  }
  .step h3 {
    font-size: 13px;
    min-height: normal;
  }

  .agent-title-bg img {
    display: none;
  }
  .star-bg img {
    width: 100%;
  }
  .star-bg span {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    left: 50px;
  }

  .agent-title-bg h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    position: static;
  }

  th,
  td {
    padding: 0.2rem;
    font-weight: 400;
    text-transform: lowercase;
    line-height: normal;
  }

  .commissionBonus {
    padding: 0rem;
  }

  .btn-primary {
    padding: 6px 3px;
    font-size: 11px;
    line-height: normal;
  }
  .marqueDiv {
    position: static;
    width: 95%;
    margin-top: 6px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 1rem;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
    row-gap: 1rem;
    gap: 0.5rem;
  }

  .benefit-item .icon {
    top: -25px;
  }

  .benefit-item .icon img {
    width: 100px;
    height: auto;
  }
  .text-item {
    padding-top: 5px;
  }

  .benefit-item h3 {
    font-size: 16px;
  }

  .benefit-item p {
    font-size: 10px;
  }
  .videos {
    padding: 1rem 0rem;
  }
  .vid-grid {
    display: grid;
    grid-template-columns: auto;
    row-gap: 1rem;
  }
  .vid-item {
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
  }

  .vid-item .icon img {
    width: 140px;
    height: auto;
  }

  .steps-grid {
    display: grid;
    gap: 1rem;
  }
  .steps-ico {
    /* position: absolute;
    right: 0;
    top: 98%;
    left: 0;
    transform: rotate(90deg); */
    display: none;
  }

  .footer {
    display: none;
  }
  .mbfoooter {
    display: block;
  }
  .commissionBonus .imgbig img {
    width: 100%;
  }

  .mbfoooter .mb-img {
    position: relative;
  }

  /* .footer_grid {
    position: absolute;
    top: 65px;
  } */

  .footer_item {
    display: flex;
    gap: 10px;
    width: 92%;
    margin: 0 auto;
    margin-bottom: 5px;
  }

  .footer_values {
    width: 60%;
  }
  .footer_values .footer_title h5 {
    font-weight: 700;
    line-height: normal;
    font-size: 12px;
    background: linear-gradient(90deg, #a30008 0%, #ec1c24 60%, #ff4b4b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .footer_values .footer_desc .truncate {
    font-weight: 400;
    color: #666666;
    font-size: 12px;
    text-align: justify;
    line-height: normal;
    margin-bottom: 2px;
  }

  .footer_image {
    width: 40%;
  }
  .footer_image img {
    max-width: 100%;
  }
  .social-icons {
    background: #ffffff03;
    border-style: solid;
    border-color: #ffffff;
    box-shadow: 0px 2px 5.1px 0px #2b8dfe5c;
    border-radius: 15px;
    padding: 10px 10px;
    margin: 10px 0px;
  }
  .social-icons .allicons {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .social-icons .socia {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
  }

  .social-icons .socia img {
    width: 26px;
    height: 26px;
  }

  .social-icons .san-choi {
    display: flex;
    align-items: center;
  }
  .links {
    padding: 10px 0px;
  }
  .innerlink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .innerlink p {
    margin-bottom: 0;
    font-size: 12px;
    color: #666666;
  }
  footer.mbfoooter {
    margin-bottom: 30px;
  }

  .comp-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px;
  }
  .comp-logo img {
    width: 30px;
  }
  .hamburger {
    display: flex;
  }

  .hamburger img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(80%) saturate(4998%)
      hue-rotate(347deg) brightness(93%) contrast(98%);
  }

  /* Adjust sidebar width for smaller screens */
  .sidebar {
    width: 80%;
    max-width: 300px;
  }
  .benefit-item {
    display: block;
  }
  .commis-bons {
    margin-bottom: 20px;
  }
  .san-choi img {
    width: 190px;
  }

  /* Modal Responsive */
  .promo-content {
    width: 100%;
    height: auto;
    padding: 0px;
    padding-bottom: 50px;
  }
  .promo-main img {
    width: 100%;
  }
  .no-show {
    font-size: 14px;
  }
  #closePromo {
    padding: 4px 20px;
    font-size: 12px;
  }

  .calc-content {
    width: 100%;
  }

  .input-row {
    flex-direction: column;
    gap: 10px;
  }

  .result-row {
    flex-direction: column;
  }
}

/* Medium devices / mobile landscape (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .steps-grid {
    gap: 3rem;
  }
  .footer_grid {
    position: absolute;
    top: 110px;
  }
  .footer_values .footer_title h5 {
    font-size: 18px;
  }
  .footer_values .footer_desc .truncate {
    font-size: 16px;
  }
  .footer_image img {
    width: 100%;
  }
  footer.mbfoooter {
    margin-bottom: 100px;
  }
  .social-icons .socia img {
    width: 40px;
    height: 40px;
  }

  .social-icons .socia {
    gap: 20px;
  }

  /* Mobile Header Adjustments */
  .header-right .support-item,
  .header-right .auth-btn {
    display: none;
  }
}
.roMan {
  display: inline-block;
}
.frame1{
  display: block;
}
@media (max-width: 768px){
.frame1{
  display: none;
}
.star-bg span{
   position: initial;
   text-align: center;
   font-weight: bold;
   margin-bottom: 5px;
}
}
/* Từ tablet/desktop trở lên -> ẨN */
@media (min-width: 768px) { /* 768px chỉ là ví dụ, muốn desktop lớn hơn thì đổi */
  .roMan {
    display: none;

}
/* Large mobile / small tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

  .benefits .section-title {
    justify-content: center;
  }
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
    gap: 0.5rem;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 3fr));
    gap: 1rem;
  }
  .vid-item .icon img {
    width: 260px;
    height: auto;
  }
  .steps-ico {
    display: none;
  }

  .step p {
    font-size: 14px;
    min-height: 160px;
  }

  .star-bg img {
    width: auto;
  }
  .footer_grid {
    position: absolute;
    top: 140px;
  }
  .footer_values .footer_title h5 {
    font-size: 20px;
  }
  .footer_values .footer_desc .truncate {
    font-size: 18px;
  }
  .footer_image img {
    width: 100%;
  }
  footer.mbfoooter {
    margin-bottom: 150px;
  }
  .social-icons .socia img {
    width: 40px;
    height: 40px;
  }

  .social-icons .socia {
    gap: 20px;
  }
}
}
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide img {
  width: 100%;
  display: block;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
}

.hero-prev {
  left: 16px;
}

.hero-next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  display: none;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
}
table.styled-table tr th {
    text-transform: uppercase;
}