﻿/* ===========================
   SIM WEBSITE – REDESIGN v2
   Blue-Purple + simgiangson.vn style
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: #f0f2f7 !important;
  color: #1a1a2e;
  line-height: 1.6;
  font-size: 14px;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ======================== VARIABLES ======================== */
:root {
  --blue: #1a3fcf;
  --blue-dark: #1530a8;
  --purple: #7c3aed;
  --purple-light: #9b60f5;
  --gradient: linear-gradient(135deg, #1a3fcf 0%, #7c3aed 100%);
  --gradient-hover: linear-gradient(135deg, #1530a8 0%, #6a28d9 100%);
  --header-bg: #0e1535;
  --hero-bg: #0b1130;
  --gold: #d4a843;
  --gold-light: #f5c842;
  --card-bg: #ffffff;
  --page-bg: #f0f2f7;
  --white: #ffffff;
  --text: #1a1a2e;
  --text2: #4b5563;
  --muted: #9ca3af;
  --red: #e53e3e;
  --green: #10b981;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 16px rgba(26, 63, 207, 0.10);
  --shadow-lg: 0 8px 32px rgba(26, 63, 207, 0.14);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.22s ease;
  /* Network */
  --viettel: #d63031;
  --vinaphone: #0052cc;
  --mobifone: #0074d9;
  --vietnamobile: #f39c12;
  --itelecom: #00b894;
  --gmobile: #6c5ce7;
}

/* ======================== TOP BAR ======================== */
.top-bar {
  background: #07091c;
  padding: 5px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--gold-light);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ======================== HEADER ======================== */
.header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  height: 62px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
  margin-left: 8px;
}

.logo-text span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 0;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 7px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-hotline {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-hotline i {
  font-size: 12px;
}

.btn-login {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 7px 15px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-login:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
}

/* ======================== HERO ======================== */
.hero {
  background: var(--hero-bg);
  background-image: radial-gradient(ellipse 65% 80% at 70% 50%, rgba(90, 50, 200, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(26, 63, 207, 0.12) 0%, transparent 60%);
  padding: 44px 0 36px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hero-tag-line i {
  color: var(--gold-light);
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: white;
  line-height: 1.22;
}

.hero-title .gold {
  display: block;
  font-size: 2.55rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 45%, #c9a020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 12px 0 22px;
  line-height: 1.7;
  max-width: 460px;
}

/* ── Hero Search (simgiangson.vn style) ── */
.hero-search-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 16px;
  max-width: 530px;
}

.hero-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-search-row input {
  flex: 1;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text);
}

.hero-search-row input:focus {
  border-color: var(--blue);
}

.hero-search-row input::placeholder {
  color: #aaa;
}

.btn-search-hero {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-search-hero:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 63, 207, 0.4);
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.search-hint {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.search-hint:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.search-help {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Hero image side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7b5cff, #1a3fcf 50%, #0b1130 85%);
  box-shadow: 0 0 60px rgba(90, 50, 220, 0.5), 0 0 120px rgba(90, 50, 220, 0.2), inset 0 0 40px rgba(255, 255, 255, 0.08);
  animation: orbFloat 5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero-orb::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 30%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: 20%;
  left: 15%;
  transform: rotate(-30deg);
}

.hero-orb-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.hero-orb-number .num {
  font-size: 1.05rem;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-orb-number .lbl {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.orb-ring {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.3);
  animation: orbRing 12s linear infinite;
}

.orb-ring2 {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 1px dashed rgba(26, 63, 207, 0.2);
  animation: orbRing 20s linear infinite reverse;
}

.orb-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes orbRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ======================== FEATURES ======================== */
.features {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feat-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  align-items: center;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.feat-item:last-child {
  border-right: none;
}

.feat-item:hover {
  background: #f8f5ff;
}

.feat-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feat-ico.p1 {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

.feat-ico.p2 {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.feat-ico.p3 {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.feat-ico.p4 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.feat-name {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 2px;
  color: var(--text);
}

.feat-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ======================== SECTIONS ======================== */
.section {
  padding: 40px 0;
}

.section-white {
  background: white;
}

.section-gray {
  background: var(--page-bg);
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 900;
}

.section-head h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-head p {
  color: var(--text2);
  font-size: 13.5px;
  margin-top: 6px;
}

.section-bar {
  width: 44px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 8px auto 0;
}

/* ======================== SIM CATEGORY CARDS ======================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cat-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
}

.cat-card.dragon .cat-card-bg {
  background: linear-gradient(145deg, #0b1130 0%, #1a0f5e 45%, #2d1b8e 100%);
}

.cat-card.diamond .cat-card-bg {
  background: linear-gradient(145deg, #12122e 0%, #1e2a5e 45%, #2a3a6e 100%);
}

.cat-card.gold-cat .cat-card-bg {
  background: linear-gradient(145deg, #1a1000 0%, #4a2d00 45%, #7a5000 100%);
}

.cat-card.platinum .cat-card-bg {
  background: linear-gradient(145deg, #0a0a18 0%, #1e1e3a 45%, #2e2e4e 100%);
}

.cat-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}

.cat-card.dragon {
  box-shadow: 0 0 0 1px rgba(90, 50, 200, 0.3);
}

.cat-card:hover .cat-card-glow {
  opacity: 1;
  background: rgba(124, 58, 237, 0.12);
}

.cat-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -68%);
  font-size: 3.8rem;
  transition: var(--transition);
  filter: saturate(1.2);
}

.cat-card:hover .cat-emoji {
  transform: translate(-50%, -72%) scale(1.12);
}

.cat-info {
  position: relative;
  z-index: 2;
  padding: 14px;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.cat-info h3 {
  color: white;
  font-size: 1rem;
  font-weight: 800;
}

.cat-info small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
}

/* ======================== MAIN LAYOUT (simgiangson style) ======================== */
.sim-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: 24px 0 60px;
}

/* ── Sidebar ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sb-card-head {
  background: var(--gradient);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sb-card-head span {
  color: white;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sb-card-head i {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.sb-body {
  padding: 10px;
}

.sb-price-list {
  list-style: none;
}

.sb-price-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text2);
  transition: var(--transition);
}

.sb-price-list li a:hover,
.sb-price-list li a.active {
  background: rgba(26, 63, 207, 0.08);
  color: var(--blue);
  font-weight: 600;
}

.sb-price-list li a .count {
  font-size: 11px;
  background: #eef1ff;
  color: var(--blue);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

.sb-type-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sb-type-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  background: var(--page-bg);
}

.sb-type-btn:hover,
.sb-type-btn.active {
  background: rgba(26, 63, 207, 0.08);
  border-color: rgba(26, 63, 207, 0.2);
  color: var(--blue);
  font-weight: 700;
}

.sb-type-btn i {
  color: var(--purple);
  width: 16px;
  font-size: 12px;
}

.birth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.birth-btn {
  padding: 7px 4px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: var(--page-bg);
  border: 1px solid var(--border);
  color: var(--text2);
  text-align: center;
  transition: var(--transition);
  font-family: inherit;
}

.birth-btn:hover,
.birth-btn.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

/* ── Main Content ── */
.sim-main {}

/* Network tabs (simgiangson style) */
.net-tabs {
  display: flex;
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.net-tab {
  flex: 1;
  padding: 11px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text2);
}

.net-tab:last-child {
  border-right: none;
}

.net-tab:hover {
  background: var(--page-bg);
}

.net-tab.active {
  background: var(--gradient);
  color: white;
}

.net-tab.active .net-dot {
  background: white !important;
}

.net-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.net-dot.vt {
  background: var(--viettel);
}

.net-dot.vn {
  background: var(--vinaphone);
}

.net-dot.mb {
  background: var(--mobifone);
}

.net-dot.vm {
  background: var(--vietnamobile);
}

.net-dot.it {
  background: var(--itelecom);
}

.net-dot.gm {
  background: var(--gmobile);
}

/* Search bar for sim-list */
.search-bar {
  display: flex;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 14px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 6px 10px;
  background: transparent;
  font-family: inherit;
  color: var(--text);
}

.search-bar input::placeholder {
  color: var(--muted);
}

.btn-search {
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 7px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-search:hover {
  background: var(--gradient-hover);
}

/* Sort bar */
.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.result-count {
  font-size: 13.5px;
  color: var(--text2);
}

.result-count strong {
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
}

.sort-sel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--text);
}

/* ======================== SIM CARDS ======================== */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sim-grid.col3 {
  grid-template-columns: repeat(3, 1fr);
}

.sim-grid.col4 {
  grid-template-columns: repeat(4, 1fr);
}

.sim-card {
  background: white !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.sim-card:hover {
  border-color: rgba(26, 63, 207, 0.35);
  box-shadow: 0 6px 24px rgba(26, 63, 207, 0.12);
  transform: translateY(-2px);
}

/* Card top colored stripe */
.sim-card-stripe {
  height: 3px;
  width: 100%;
}

.sim-card-stripe.vt {
  background: var(--viettel);
}

.sim-card-stripe.vn {
  background: var(--vinaphone);
}

.sim-card-stripe.mb {
  background: var(--mobifone);
}

.sim-card-stripe.vm {
  background: var(--vietnamobile);
}

.sim-card-stripe.it {
  background: var(--itelecom);
}

.sim-card-stripe.gm {
  background: var(--gmobile);
}

.sim-card-body {
  padding: 10px 12px 0;
}

.sim-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sim-net-tag {
  font-size: 10.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sim-net-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.sim-net-tag.vt {
  color: var(--viettel);
}

.sim-net-tag.vn {
  color: var(--vinaphone);
}

.sim-net-tag.mb {
  color: var(--mobifone);
}

.sim-net-tag.vm {
  color: var(--vietnamobile);
}

.sim-net-tag.it {
  color: var(--itelecom);
}

.sim-net-tag.gm {
  color: var(--gmobile);
}

.sim-type-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.sim-type-tag.lux {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #5a3a00;
}

.sim-type-tag.premium {
  background: rgba(26, 63, 207, 0.1);
  color: var(--blue);
}

.sim-type-tag.normal {
  background: #f1f5f9;
  color: var(--text2);
}

.sim-number {
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  display: block;
  margin-bottom: 5px;
  line-height: 1;
}

.sim-number:hover {
  opacity: 0.85;
}

.sim-subtags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.sim-subtag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--text2);
}

.sim-subtag.special {
  background: #ede9fe;
  color: var(--purple);
}

.sim-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.sim-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--red);
}

.sim-price-orig {
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}

.sim-card-foot {
  padding: 0 10px 10px;
  margin-top: auto;
  display: flex;
  gap: 6px;
}

.btn-buy {
  flex: 1;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 7px;
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-buy:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 63, 207, 0.35);
}

.btn-fav {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: white;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-fav:hover,
.btn-fav.active {
  border-color: #fed7d7;
  background: #fff5f5;
  color: var(--red);
}

/* Hot badge */
.hot-badge {
  position: absolute;
  top: 3px;
  right: 0;
  background: linear-gradient(135deg, var(--red), #ff6b35);
  color: white;
  font-size: 8.5px;
  font-weight: 800;
  padding: 3px 9px 3px 7px;
  border-radius: 0 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================== HOMEPAGE FILTER SECTION ======================== */
.home-filter {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}

.filter-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-lbl {
  font-size: 11px;
  font-weight: 800;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 70px;
  flex-shrink: 0;
}

.f-net {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.f-net.vt {
  border-color: var(--viettel);
  color: var(--viettel);
}

.f-net.vt:hover,
.f-net.vt.active {
  background: var(--viettel);
  color: white;
}

.f-net.vn {
  border-color: var(--vinaphone);
  color: var(--vinaphone);
}

.f-net.vn:hover,
.f-net.vn.active {
  background: var(--vinaphone);
  color: white;
}

.f-net.mb {
  border-color: var(--mobifone);
  color: var(--mobifone);
}

.f-net.mb:hover,
.f-net.mb.active {
  background: var(--mobifone);
  color: white;
}

.f-net.vm {
  border-color: var(--vietnamobile);
  color: var(--vietnamobile);
}

.f-net.vm:hover,
.f-net.vm.active {
  background: var(--vietnamobile);
  color: white;
}

.f-net.it {
  border-color: var(--itelecom);
  color: var(--itelecom);
}

.f-net.it:hover,
.f-net.it.active {
  background: var(--itelecom);
  color: white;
}

.f-net.all {
  border-color: var(--blue);
  color: var(--blue);
}

.f-net.all:hover,
.f-net.all.active {
  background: var(--gradient);
  border-color: var(--blue);
  color: white;
}

.f-price {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  background: white;
  color: var(--text2);
  transition: var(--transition);
  font-family: inherit;
}

.f-price:hover,
.f-price.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.f-type {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(124, 58, 237, 0.06);
  color: var(--purple);
  transition: var(--transition);
  font-family: inherit;
}

.f-type:hover,
.f-type.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

/* Home sim grid 4-col */
.home-sim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* ======================== PAGINATION ======================== */
.pagination {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 28px;
}

.pg-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  transition: var(--transition);
  font-family: inherit;
}

.pg-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pg-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

#pagination .page-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  transition: var(--transition);
  font-family: inherit;
}

#pagination .page-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

#pagination .page-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

/* ======================== SHOW MORE BTN ======================== */
.btn-more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px auto 0;
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 10px 32px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.btn-more:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

/* ======================== TESTIMONIALS ======================== */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tc-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/2.5;
  cursor: pointer;
}

.tc-card:hover .tc-cover {
  opacity: 1;
}

.tc-bg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.tc-bg.b1 {
  background: linear-gradient(135deg, #0b1130, #1a3fcf);
}

.tc-bg.b2 {
  background: linear-gradient(135deg, #0a1520, #004a80);
}

.tc-bg.b3 {
  background: linear-gradient(135deg, #1a0b30, #6a28d9);
}

.tc-cover {
  position: absolute;
  inset: 0;
  background: rgba(26, 63, 207, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.tc-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue);
  padding-left: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tc-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 14px;
}

.tc-foot h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.tc-foot span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
}

/* ======================== PRESS ======================== */
.press {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.press-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.press-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.press-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.press-logo {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  transition: var(--transition);
}

.press-logo:hover {
  color: var(--blue);
}

/* ======================== BREADCRUMB ======================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 12px 0;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb i {
  font-size: 9px;
  opacity: 0.5;
}

.breadcrumb span {
  color: var(--text);
  font-weight: 600;
}

/* ======================== PAGE HERO ======================== */
.page-hero {
  background: var(--gradient);
  padding: 32px 0;
}

.page-hero h1 {
  font-size: 1.7rem;
  font-weight: 900;
  color: white;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  margin-top: 6px;
}

/* ======================== FOOTER ======================== */
footer {
  background: var(--header-bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-logo .logo-text {
  font-size: 1.35rem;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 10px 0 16px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 7px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

.footer-head {
  font-size: 12px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 9px;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 12px;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ======================== DETAIL PAGE ======================== */
.detail-2col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  padding: 20px 0 60px;
}

.detail-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.d-net-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.d-number {
  font-size: 2.6rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin: 8px 0 6px;
}

.d-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 14px;
}

.d-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}

.d-info-item {
  background: var(--page-bg);
  border-radius: 8px;
  padding: 10px 12px;
}

.d-info-lbl {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
  font-weight: 600;
}

.d-info-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.d-sticky {
  position: sticky;
  top: 74px;
}

.d-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #e8f4ff;
  color: #0052cc;
  border: 1px solid #0052cc;
  border-radius: 8px;
  padding: 11px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text2);
}

.check-list li i {
  color: var(--green);
  font-size: 12px;
  flex-shrink: 0;
}

/* ======================== FORMS ======================== */
.form-group {
  margin-bottom: 14px;
}

.form-lbl {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.form-inp {
  width: 100%;
  background: var(--page-bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text);
}

.form-inp:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 63, 207, 0.08);
}

.form-inp::placeholder {
  color: var(--muted);
}

.form-sel {
  width: 100%;
  appearance: none;
  background: var(--page-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 34px 10px 14px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: var(--transition);
}

.form-sel:focus {
  border-color: var(--blue);
}

textarea.form-inp {
  resize: vertical;
  min-height: 90px;
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 63, 207, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-sm {
  padding: 6px 13px;
  font-size: 12px;
}

/* ======================== MODAL ======================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 9, 28, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 16px;
  padding: 26px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  animation: mIn 0.28s ease;
}

@keyframes mIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--page-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.modal-num {
  font-size: 1.9rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 10px 0 4px;
}

.modal-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
  text-align: center;
  margin-bottom: 18px;
}

/* ======================== NEWS ======================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(26, 63, 207, 0.2);
}

.news-thumb {
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.news-thumb.t1 {
  background: linear-gradient(135deg, #0b1130, #1a3fcf);
}

.news-thumb.t2 {
  background: linear-gradient(135deg, #0a1020, #004a90);
}

.news-thumb.t3 {
  background: linear-gradient(135deg, #1a0b30, #6a28d9);
}

.news-thumb.t4 {
  background: linear-gradient(135deg, #1a1000, #7a5000);
}

.news-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.news-body {
  padding: 14px;
}

.news-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-title a:hover {
  color: var(--blue);
}

.news-excerpt {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ======================== CONTACT ======================== */
.contact-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 0 60px;
}

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.contact-item {
  display: flex;
  gap: 13px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-ico2 {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-ico2.blue {
  background: rgba(26, 63, 207, 0.1);
  color: var(--blue);
}

.contact-ico2.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.contact-ico2.gold {
  background: rgba(212, 168, 67, 0.1);
  color: #9a6f10;
}

.contact-ico2.red {
  background: rgba(229, 62, 62, 0.1);
  color: var(--red);
}

/* ======================== SIDEBAR (news, detail) ======================== */
.aside-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.aside-head {
  padding: 10px 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  gap: 7px;
}

.aside-head span {
  color: white;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.aside-body {
  padding: 12px;
}

/* ======================== TOAST ======================== */
#toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.toast {
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  min-width: 270px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  animation: toastIn 0.3s ease;
  border-left: 3px solid var(--blue);
}

.toast.success {
  border-left-color: var(--green);
}

.toast.error {
  border-left-color: var(--red);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ======================== RESPONSIVE ======================== */
@media(max-width: 1024px) {
  .home-sim-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .sidebar {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

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

  .d-sticky {
    position: static;
  }

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

@media(max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-title .gold {
    font-size: 2rem;
  }

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

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

  .home-sim-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .nav {
    display: none;
  }
}

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

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

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