*{margin:0;padding:0;box-sizing:border-box}
:root{
  --primary:#6366f1;--primary-dark:#4f46e5;--secondary:#ec4899;
  --dark:#0f172a;--gray:#64748b;--light:#f1f5f9;--bg:#f8fafc;
  --white:#fff;--radius:16px;
  --shadow:0 4px 20px rgba(15,23,42,.08);
  --shadow-lg:0 20px 60px rgba(15,23,42,.15);
  --gradient:linear-gradient(135deg,#6366f1 0%,#ec4899 100%);
}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--dark);line-height:1.6;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1240px;margin:0 auto;padding:0 20px}
.gradient-text{background:var(--gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.center{text-align:center}

/* Header */
.header{background:rgba(255,255,255,.85);backdrop-filter:blur(20px);border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;gap:24px;padding:16px 20px}
.logo{font-size:1.4rem;font-weight:800;display:flex;align-items:center;gap:8px}
.logo-icon{font-size:1.6rem}
.nav{display:flex;gap:28px;flex:1}
.nav a{font-weight:600;color:var(--gray);transition:color .2s}
.nav a:hover{color:var(--primary)}
.header-actions{display:flex;gap:12px;align-items:center}
.search-form{display:flex;background:var(--light);border-radius:100px;overflow:hidden}
.search-form input{border:none;background:transparent;padding:10px 16px;font-size:14px;width:200px;outline:none}
.search-form button{background:var(--primary);border:none;color:#fff;padding:0 16px;cursor:pointer}
.btn-admin{background:var(--gradient);color:#fff;padding:10px 18px;border-radius:100px;font-weight:600;font-size:14px;transition:transform .2s}
.btn-admin:hover{transform:translateY(-2px)}
.menu-toggle{display:none;background:none;border:none;font-size:1.4rem;cursor:pointer}

/* Hero */
.hero{background:linear-gradient(180deg,#eef2ff 0%,#f8fafc 100%);padding:80px 0;overflow:hidden;position:relative}
.hero-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;align-items:center;position:relative}
.badge{display:inline-block;background:#fff;padding:8px 16px;border-radius:100px;font-weight:600;font-size:14px;color:var(--primary);box-shadow:var(--shadow);margin-bottom:20px}
.hero h1{font-size:clamp(2rem,5vw,3.5rem);font-weight:800;line-height:1.15;margin-bottom:20px}
.hero p{color:var(--gray);font-size:1.15rem;margin-bottom:32px}
.hero-search{display:flex;background:#fff;border-radius:100px;padding:6px;box-shadow:var(--shadow-lg);max-width:520px}
.hero-search input{flex:1;border:none;padding:14px 20px;font-size:15px;outline:none;background:transparent}
.hero-search button{background:var(--gradient);color:#fff;border:none;padding:14px 24px;border-radius:100px;font-weight:600;cursor:pointer;white-space:nowrap}
.hero-stats{display:flex;gap:40px;margin-top:40px}
.hero-stats div{display:flex;flex-direction:column}
.hero-stats strong{font-size:1.8rem;font-weight:800;color:var(--primary)}
.hero-stats span{color:var(--gray);font-size:14px}
.hero-art{position:relative;height:400px}
.blob{position:absolute;inset:0;background:var(--gradient);border-radius:50%;filter:blur(60px);opacity:.35;animation:pulse 4s ease-in-out infinite}
.float-card{position:absolute;background:#fff;padding:20px 28px;border-radius:20px;box-shadow:var(--shadow-lg);font-weight:700;font-size:1.1rem;animation:float 3s ease-in-out infinite}
.fc1{top:20%;left:10%}
.fc2{top:50%;right:5%;animation-delay:1s}
.fc3{bottom:10%;left:20%;animation-delay:2s}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-20px)}}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}

/* Sections */
.section{padding:80px 0}
.section-alt{background:#fff}
.section-title{text-align:center;font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;margin-bottom:50px}

/* Category grid */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}
.cat-card{background:#fff;border-radius:var(--radius);padding:32px 24px;text-align:center;box-shadow:var(--shadow);transition:all .3s;border:2px solid transparent}
.cat-card:hover{transform:translateY(-6px);border-color:var(--primary);box-shadow:var(--shadow-lg)}
.cat-icon{font-size:2.5rem;margin-bottom:12px}
.cat-card h3{font-size:1.05rem;margin-bottom:6px}
.cat-card span{color:var(--gray);font-size:13px}

/* Software cards */
.software-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:24px}
.sw-card{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:all .3s;display:flex;flex-direction:column}
.sw-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.sw-thumb{aspect-ratio:16/10;background:linear-gradient(135deg,#eef2ff,#fce7f3);position:relative;overflow:hidden}
.sw-thumb img{width:100%;height:100%;object-fit:cover}
.sw-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:4rem}
.badge-hot{position:absolute;top:12px;left:12px;background:linear-gradient(135deg,#ef4444,#f59e0b);color:#fff;padding:4px 12px;border-radius:100px;font-size:11px;font-weight:800}
.sw-body{padding:20px;flex:1;display:flex;flex-direction:column}
.sw-cat{font-size:11px;color:var(--primary);font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.sw-body h3{font-size:1.05rem;margin-bottom:8px;line-height:1.3}
.sw-body p{color:var(--gray);font-size:13px;flex:1;margin-bottom:12px}
.sw-meta{display:flex;gap:16px;color:var(--gray);font-size:13px;border-top:1px solid var(--light);padding-top:12px}
.sw-meta i{color:var(--primary);margin-right:4px}

/* Page header */
.page-header{background:linear-gradient(135deg,#eef2ff,#fce7f3);padding:60px 0;text-align:center}
.page-header h1{font-size:clamp(1.8rem,4vw,3rem);font-weight:800;margin-bottom:8px}
.page-header p{color:var(--gray)}

/* Layout */
.layout-2col{display:grid;grid-template-columns:260px 1fr;gap:40px;align-items:start}
.sidebar h3{font-size:1.1rem;margin-bottom:16px}
.cat-list{list-style:none;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.cat-list li a{display:block;padding:14px 20px;border-bottom:1px solid var(--light);font-weight:500;transition:background .2s}
.cat-list li a:hover,.cat-list li a.active{background:var(--light);color:var(--primary)}
.search-info{margin-bottom:20px;padding:12px 16px;background:#fff;border-radius:12px}

/* Detail */
.breadcrumb{font-size:14px;color:var(--gray);margin-bottom:24px}
.breadcrumb a{color:var(--primary)}
.detail-grid{display:grid;grid-template-columns:1fr 320px;gap:32px}
.detail-head{background:#fff;border-radius:var(--radius);padding:32px;display:flex;gap:28px;box-shadow:var(--shadow);margin-bottom:24px}
.detail-thumb{width:180px;height:180px;border-radius:var(--radius);overflow:hidden;flex-shrink:0;background:linear-gradient(135deg,#eef2ff,#fce7f3)}
.detail-thumb img{width:100%;height:100%;object-fit:cover}
.detail-thumb .sw-placeholder{font-size:5rem}
.detail-info h1{font-size:2rem;margin:8px 0 12px}
.detail-short{color:var(--gray);margin-bottom:20px}
.btn-primary{background:var(--gradient);color:#fff;padding:12px 24px;border-radius:100px;font-weight:700;display:inline-block;transition:transform .2s;border:none;cursor:pointer;font-size:15px}
.btn-primary:hover{transform:translateY(-2px)}
.btn-lg{padding:16px 32px;font-size:16px}
.detail-body{background:#fff;border-radius:var(--radius);padding:32px;box-shadow:var(--shadow)}
.detail-body h2{font-size:1.4rem;margin-bottom:20px}
.detail-body .content{color:#334155;line-height:1.8}
.info-box{background:#fff;border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}
.info-box h3{font-size:1.1rem;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--light)}
.info-list{list-style:none}
.info-list li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--light);font-size:14px}
.info-list li span{color:var(--gray)}
.info-list li:last-child{border:none}

/* Form */
.form{background:#fff;padding:32px;border-radius:var(--radius);box-shadow:var(--shadow)}
.field{margin-bottom:20px}
.field label{display:block;font-weight:600;margin-bottom:8px;font-size:14px}
.field input,.field textarea,.field select{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:12px;font-size:15px;font-family:inherit;transition:border .2s;outline:none}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--primary)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:20px}

/* Alert */
.alert{padding:14px 20px;border-radius:12px;margin-bottom:20px;font-weight:500}
.alert-success{background:#dcfce7;color:#166534;border:1px solid #86efac}
.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}

/* Empty */
.empty{text-align:center;padding:80px 20px;background:#fff;border-radius:var(--radius);color:var(--gray);font-size:1.1rem}

/* Pagination */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:40px;flex-wrap:wrap}
.pagination a,.pagination span{min-width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;box-shadow:var(--shadow);font-weight:600;padding:0 14px;transition:all .2s}
.pagination a:hover{color:var(--primary);transform:translateY(-2px)}
.pagination a.active{background:var(--gradient);color:#fff}

/* Footer */
.footer{background:var(--dark);color:#cbd5e1;padding:60px 0 0;margin-top:auto}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding-bottom:40px}
.footer h3{color:#fff;margin-bottom:16px}
.footer h4{color:#fff;margin-bottom:16px;font-size:1rem}
.footer a{display:block;padding:4px 0;color:#cbd5e1;transition:color .2s}
.footer a:hover{color:var(--primary)}
.footer p{margin-bottom:8px}
.footer-bottom{border-top:1px solid #1e293b;padding:24px 0;text-align:center;color:var(--gray);font-size:14px}

/* Responsive */
@media(max-width:900px){
  .hero-inner,.detail-grid,.layout-2col,.footer-grid{grid-template-columns:1fr}
  .hero-art{height:260px}
  .detail-head{flex-direction:column}
  .detail-thumb{width:100%;height:200px}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:20px;box-shadow:var(--shadow-lg)}
  .nav.open{display:flex}
  .menu-toggle{display:block}
  .search-form input{width:120px}
  .header-inner{position:relative}
  .row{grid-template-columns:1fr}
  .hero-stats{gap:24px}
}
@media(max-width:600px){
  .header-actions .search-form{display:none}
  .section{padding:50px 0}
  .hero{padding:50px 0}
}
/* ============================================
   EYEBROW LABEL (nhãn nhỏ trên tiêu đề)
   ============================================ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.eyebrow.light {
  color: #93c5fd;
}

.text-accent {
  color: var(--primary);
}

/* ============================================
   HERO V2 — Split layout
   ============================================ */
.hero-v2 {
  background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-v2-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-v2-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-v2-text > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.65;
}

.hero-search-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 6px 6px 6px 16px;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-v2:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.12);
}

.hero-search-v2 > i {
  color: var(--text-light);
  font-size: 14px;
}

.hero-search-v2 input {
  flex: 1;
  padding: 10px 6px;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  min-width: 0;
  background: transparent;
}

.hero-search-v2 button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.hero-search-v2 button:hover {
  background: var(--primary-hover);
}

.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust i {
  color: #10b981;
  font-size: 12px;
}

/* Hero visual — cụm icon nổi */
.hero-v2-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-bg {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #ecfeff 100%);
}

.visual-center {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.35);
  z-index: 2;
}

.visual-card {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 1;
  animation: gentle-float 4s ease-in-out infinite;
}

.vc1 { top: 20%; left: 18%; color: #4f46e5; animation-delay: 0s; }
.vc2 { top: 15%; right: 20%; color: #10b981; animation-delay: 0.8s; }
.vc3 { bottom: 22%; left: 22%; color: #f59e0b; animation-delay: 1.6s; }
.vc4 { bottom: 18%; right: 18%; color: #ec4899; animation-delay: 2.4s; }

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.stat-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stat-item-icon.blue { background: #eff6ff; color: #3b82f6; }
.stat-item-icon.green { background: #f0fdf4; color: #10b981; }
.stat-item-icon.amber { background: #fffbeb; color: #f59e0b; }
.stat-item-icon.purple { background: #faf5ff; color: #a855f7; }

.stat-item strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.stat-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   SECTION HEADER — nâng cấp
   ============================================ */
.section-header h2 {
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin-bottom: 0;
}

/* ============================================
   FEATURED LAYOUT — bất đối xứng
   ============================================ */
.featured-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

/* Card lớn */
.featured-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.featured-main:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.1);
}

.featured-main-thumb {
  position: relative;
  padding-bottom: 48%;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.featured-main-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-main-thumb .sw-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-light);
}

.badge-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.featured-main-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cat-tag.small {
  font-size: 10px;
}

.featured-main-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.featured-main-body > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-specs span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-specs i {
  color: var(--text-light);
  font-size: 11px;
}

.featured-main-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.featured-main-footer i {
  color: var(--text-light);
  margin-right: 4px;
}

.link-arrow {
  color: var(--primary);
  font-weight: 600;
}

.featured-main:hover .link-arrow {
  text-decoration: underline;
}

/* Card nhỏ bên phải */
.featured-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.featured-small {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.featured-small:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

.featured-small-thumb {
  width: 140px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff);
  position: relative;
  overflow: hidden;
}

.featured-small-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.featured-small-thumb .sw-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
}

.featured-small-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.featured-small-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.featured-small-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.featured-small-meta i {
  color: var(--text-light);
  margin-right: 3px;
}

/* ============================================
   WHY US — Dark section
   ============================================ */
.section-dark {
  background: #0f172a;
  color: #e2e8f0;
}

.section-dark .section-header h2 {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: #1e293b;
  border: 1px solid #1e293b;
  border-radius: var(--radius);
  overflow: hidden;
}

.why-item {
  background: #0f172a;
  padding: 32px 28px;
  transition: background 0.2s;
}

.why-item:hover {
  background: #111c33;
}

.why-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.65;
}

/* ============================================
   CTA V2 — có decoration gradient
   ============================================ */
.cta-v2 {
  padding: 64px 0;
  background: #fff;
}

.cta-v2-box {
  position: relative;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  flex-wrap: wrap;
}

.cta-v2-decoration {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cta-v2-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.cta-v2-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.cta-v2-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.btn-cta-v2 {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-v2 { padding: 60px 0 70px; }
  .hero-v2-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-v2-text h1 { font-size: 2rem; }
  .hero-v2-visual { height: 300px; }
  .visual-bg { width: 240px; height: 240px; }
  
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px; }
  
  .featured-layout { grid-template-columns: 1fr; }
  .featured-side { grid-template-rows: 1fr 1fr; }
  
  .cta-v2-box { padding: 32px 28px; }
  .cta-v2-content h2 { font-size: 1.3rem; }
  
  .section-header h2 { font-size: 1.3rem; }
}

@media (max-width: 600px) {
  .hero-v2-text h1 { font-size: 1.6rem; }
  .hero-v2-text > p { font-size: 1rem; }
  .hero-search-v2 { flex-direction: column; padding: 10px; }
  .hero-search-v2 > i { display: none; }
  .hero-search-v2 input { width: 100%; text-align: center; }
  .hero-search-v2 button { width: 100%; padding: 12px; }
  .hero-trust { gap: 14px; }
  .hero-trust span { font-size: 12px; }
  
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .stat-item strong { font-size: 1.1rem; }
  .stat-item-icon { width: 38px; height: 38px; font-size: 1rem; }
  
  .featured-main-body { padding: 20px; }
  .featured-main-body h3 { font-size: 1.2rem; }
  .featured-small-thumb { width: 100px; }
  .featured-small-body { padding: 14px; }
  .featured-small-body h4 { font-size: 0.95rem; }
  
  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 24px 20px; }
  .why-num { font-size: 1.8rem; margin-bottom: 12px; }
  
  .cta-v2-box { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .btn-cta-v2 { width: 100%; justify-content: center; }
}
/* ═══ TỐI ƯU MOBILE CHO TRANG CHỦ ═══ */
@media (max-width: 600px) {
  /* Ép lưới sản phẩm thành 2 cột đều nhau trên điện thoại */
  .software-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .sw-body {
    padding: 10px !important;
  }
  
  .sw-body h3 {
    font-size: 13px !important;
    margin-bottom: 4px !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .sw-body p {
    display: none; /* Ẩn mô tả ngắn trên mobile để thẻ gọn hơn */
  }
  
  .sw-meta {
    padding-top: 8px !important;
    font-size: 11px !important;
    justify-content: space-between;
  }
  
  .section-header h2 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 380px) {
  /* Máy quá nhỏ thì chuyển về 1 cột */
  .software-grid {
    grid-template-columns: 1fr !important;
  }
}