/*
  Theme Name: blog9proxy
  Theme URI: https://example.com/
  Author: Lê Nguyễn Hoài Phúc
  Author URI: https://hoai-phuc.com/about
  Description: Theme WordPress được chuyển từ template HTML cá nhân.
  Version: 2.0
  License: GNU General Public License v2 or later
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
  Tags: personal, portfolio, responsive
  Text Domain: proxyflow_theme
  */

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #010101;
  font-family: "Inter Tight", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}

/* Header style - Sticky */
header {
  padding: 6px 0;
  position: sticky;
  top: 0;
  background-color: #010101;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Thêm shadow khi scroll */
header.scrolled {
  background-color: #121212;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

header:hover {
  background-color: #121212;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Header Left */
.header-left {
  display: flex;
  justify-content: flex-start;
}

/* Header Center - Luôn ở giữa */
.header-center {
  display: flex;
  justify-content: center;
}

/* Header Right */
.header-right {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  align-items: center;
}

header:hover {
  background-color: #121212;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* header left logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
    width: 140px;
        object-fit: cover;
    object-position: center;
}

/* Search section */
.search-box {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.search-box input {
  width: 80%;
  float: right;
  padding: 12px 45px 12px 12px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  color: #fff;
  background: none;
  outline: none;
  border: 1px solid #65646c;
  height: 30px;
}

.search-box input::placeholder {
  color: #999;
}

.search-box i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
}

.flag img {
  width: 20px;
  object-fit: contain;
  object-position: center;
}

.language-selector {
  position: relative;
  flex-shrink: 0;
}

.language-btn {
    font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s;
}

.language-btn:hover {
  opacity: 0.8;
}

.language-btn .flag {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.language-btn i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 25px);
  right: -5px;
  background: #1a1a1a;
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: white;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  width: 100%;
  background: none;
  text-align: left;
  font-size: 15px;
}

.language-option:first-child {
  border-radius: 12px 12px 0 0;
}

.language-option:last-child {
  border-radius: 0 0 12px 12px;
}

.language-option:hover {
  background: #2a2a2a;
}

.language-option .flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .search-box input {
    display: none;
  }
  .logo img {
    width: 80px;
}
.search-box.active {
    position: absolute;
        top: calc(100% + 10px);
        /* left: 20px; */
        right: 20px;
        width: 30%;
        /* max-width: calc(100% - 40px); */
        height: 30px;
        background: #1a1a1a;
        border: 1px solid #65646c;
        border-radius: 10px;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 1000;
  }
}

/* Mobile Search Styles */
@media (max-width: 768px) {
  .header-content {
    position: relative;
  }

  /* Header left - Logo */
  .header-left {
    flex: 1;
  }

  .header-left .logo svg {
    width: 100px;
    height: 40px;
  }

  /* Header right - Search + Language */
  .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Search box thu nhỏ thành icon */
  .search-box {
    position: static;
    max-width: 25px;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
  }

  .search-box input {
    display: none;
  }

  .search-box i {
    position: static;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s;
    transform: none;
  }

  .search-box i:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  /* Language selector */
  .language-selector {
    flex-shrink: 0;
  }

  .language-btn span {
    display: none; /* Ẩn text trên mobile */
  }

  /* Active state - search box expanded bên dưới header */
  .search-box.active {
    position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        height: 30px;
        background: #1a1a1a;
        border: 1px solid #65646c;
        border-radius: 10px;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 1000;
  }

  .search-box.active input {
    display: block;
    opacity: 1;
    width: 100%;
    padding: 12px 45px 12px 45px;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 5px;
  }

  .search-box.active input::placeholder {
    color: #999;
  }

  .search-box.active i {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #999;
    width: auto;
    height: auto;
    font-size: 16px;
    border-radius: 0;
  }

  /* Thêm padding cho header khi search active */
  header:has(.search-box.active) {
    padding-bottom: 65px;
  }

  /* Language dropdown điều chỉnh vị trí */
  .language-dropdown {
    right: -10px;
  }
}

/* Footer Styles */
footer {
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* top footer */
.top-footer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Cột 1 - Logo & Social */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  object-fit: contain;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 15px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: #1877f2;
  margin-right: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  transition: transform 0.3s, opacity 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.messenger {
  background: linear-gradient(45deg, #00b2ff, #006aff);
}

.social-icon.tiktok {
  background: #000000;
}

.social-icon.youtube {
  background: #ff0000;
}

/* Cột 2 - Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 0 0 20px 15px;
}

.footer-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
  display: inline-block;
}

.footer-links li a:hover {
  color: #3498db;
}

/* Cột 3 - Website thành viên */
.footer-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  line-height: 1.5;
}

.member-logo {
  display: inline-block;
  margin-bottom: 25px;
}

.member-logo img {
  height: 40px;
  object-fit: contain;
}

.member-logo:hover {
  opacity: 0.8;
}

/* Bottom Footer */
.bottom-footer {
  padding: 40px 0 10px;
  background-color: #000000;
}

.bottom-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.bottom-left {
  flex: 1;
  max-width: 600px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-description-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-description-text strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-support {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.footer-support a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-support a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: start;
  margin-bottom: 28px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .top-footer {
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
  }

  .bottom-footer-content {
    align-items: flex-start;
  }

  .bottom-left {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  footer {
    padding: 40px 0 0;
    margin-top: 50px;
  }

  .top-footer {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 30px;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-title {
    font-size: 14px;
  }

  .social-links {
    gap: 12px;
    margin-bottom: 15px;
  }

  .main-nav ul li a {
    font-size: 14px;
    font-weight: 500;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer-links li a {
    font-size: 14px;
  }

  .member-logo img {
    height: 35px;
  }

  .bottom-footer {
    padding: 30px 0;
  }

  .bottom-footer-content {
    flex-direction: column;
    gap: 25px;
  }

  .footer-description-text,
  .footer-support {
    font-size: 13px;
  }

  .footer-social-links {
    justify-content: start;
    gap: 10px;
  }

  .footer-social-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  footer {
    margin-top: 40px;
  }

  .top-footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .social-links {
    gap: 10px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .bottom-footer {
    padding: 25px 0;
  }

  .footer-logo-link svg {
    width: 100px;
    height: 35px;
  }

  .footer-social-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  ul#menu-footer-san-pham-en {
    margin-bottom: 30px;
}
}

.main-content > * {
  min-width: 0;
}

/* ===== MAIN NAVIGATION STYLES ===== */
.main-nav {
  position: relative;
  left: 45px;
}

/* Overlay background khi mega menu mở */
body.mega-menu-open::before {
  content: "";
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.mega-menu-open.overlay-active::before {
  opacity: 1;
  visibility: visible;
}

.main-nav .main-menu {
  list-style: none;
  display: flex;
  /*gap: 10px;*/
  margin: 0;
  padding: 0;
}

.main-nav .main-menu > li {
  position: relative;
}

.main-nav .main-menu > li > a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  text-transform: capitalize;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  position: relative;
}

/* Blue underline indicator */
.main-nav .main-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.3s ease;
}

.main-nav .main-menu > li.has-mega-menu:hover > a::after,
.main-nav .main-menu > li.has-mega-menu.active > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav .main-menu > li.has-mega-menu {
  position: static;
}

/* Dropdown Arrow */
.main-nav .main-menu > li.has-mega-menu > a .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s;
  margin-left: 4px;
}

.main-nav .main-menu > li.has-mega-menu:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

/* ===== MEGA MENU BASE STYLES ===== */
.mega-menu {
  position: fixed;
  top: 55px;
  left: 0;
  right: 0;
  width: 100vw;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-content {
  display: flex;
  gap: 40px;
  padding: 35px 50px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
}

/* ===== MENU SECTIONS ===== */
.menu-section {
  flex: 1;
  min-width: 0;
}

.menu-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
  text-transform: uppercase;
  padding-bottom: 0;
  border-bottom: none;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-items.vertical {
  gap: 4px;
}

/* ===== MENU ITEM STYLES ===== */
.menu-item-header {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.menu-item {
  display: flex;
  gap: 16px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.menu-item-header:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.menu-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.menu-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.menu-icon.ip-icon {
  background: rgba(59, 130, 246, 0.08);
  border: 1.5px solid rgba(59, 130, 246, 0.15);
}

.menu-icon.gb-icon {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.15);
}

.menu-icon.datacenter-icon {
  background: rgba(139, 92, 246, 0.08);
  border: 1.5px solid rgba(139, 92, 246, 0.15);
}

.menu-icon.datacenter-icon i {
  color: #8b5cf6;
  font-size: 22px;
}

.menu-icon.bundle-icon {
  background: rgba(59, 130, 246, 0.08);
  border: 1.5px solid rgba(59, 130, 246, 0.15);
}

.menu-icon.bundle-icon i {
  color: #3b82f6;
  font-size: 22px;
}

.menu-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.menu-item-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-item-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding-bottom: 0;
}

/* Badge Styles - Inline small badge */
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  background: linear-gradient(90deg, #3b82f640, #004bf0);
  color: white;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge.green {
  background: linear-gradient(90deg, #10b98152, #04e19d);
}

.badge.purple {
  background: linear-gradient(90deg, #ac8afd75, #7c3aed);
}

.badge.small {
  font-size: 9px;
  padding: 3px 8px;
}

/* Price Tag */
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.price {
  font-size: 26px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.unit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ===== SIMPLE MENU ITEMS (Resources) ===== */
.menu-item-simple {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  font-size: 14px;
}

.menu-item-simple:hover {
  background: rgba(255, 255, 255, 0.05);
  padding-left: 20px;
}

.menu-item-simple i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  width: 20px;
}

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.location-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: all 0.3s;
  background: transparent;
}

.location-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.location-item img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.location-item i {
  font-size: 18px;
  color: #3b82f6;
}

/* ===== SOLUTIONS GRID ===== */
.solutions-menu .mega-menu-content {
  padding: 30px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.solution-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: white;
  transition: all 0.3s;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1.5px solid rgba(59, 130, 246, 0.2);
  font-size: 22px;
  flex-shrink: 0;
}

.solution-icon i {
  color: #60a5fa;
}

.solution-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.solution-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: white;
  line-height: 1.3;
}

.solution-card {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

.solution-content-description {
  padding-bottom: 0 !important;
}

/* ===== DOWNLOAD MENU ===== */
.download-menu .mega-menu-content {
  gap: 24px;
  padding: 30px 40px;
}

.download-section {
  flex: 1;
}

.download-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  transition: all 0.3s;
}

.download-card:hover {
  background: rgba(35, 35, 35, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Left side: Icon + Content */
.download-card-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 40, 40, 0.8);
  font-size: 24px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

.download-content {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.download-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.download-content .download-content-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  padding-bottom: 0;
}

/* Right side: Download buttons */
.download-card-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.download-buttons {
  display: flex;
  gap: 8px;
}

.download-btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(45, 45, 45, 0.9);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-btn:hover {
  background: rgba(55, 55, 55, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

.download-btn i {
  font-size: 11px;
  opacity: 0.8;
}

.download-btn-large {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn-large:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* ===== PRICING MENU ===== */
.pricing-menu .mega-menu-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.pricing-menu .menu-section {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pricing-menu .menu-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Pricing Card Styles */
.pricing-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Left Column: Info */
.pricing-info {
  display: flex;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.pricing-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.pricing-icon.ip-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1.5px solid rgba(59, 130, 246, 0.2);
}

.pricing-icon.gb-icon {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
}

.pricing-icon.datacenter-icon {
  background: rgba(139, 92, 246, 0.1);
  border: 1.5px solid rgba(139, 92, 246, 0.2);
}

.pricing-icon.datacenter-icon i {
  color: #8b5cf6;
  font-size: 24px;
}

.pricing-icon.bundle-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1.5px solid rgba(59, 130, 246, 0.2);
}

.pricing-icon.bundle-icon i {
  color: #3b82f6;
  font-size: 24px;
}

.pricing-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pricing-details h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.pricing-details p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  padding-bottom: 0;
}

/* Right Column: Price */
.pricing-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  text-align: right;
}

.pricing-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.pricing-amount {
  font-size: 26px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.pricing-unit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Badge Styles */
.pricing-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-badge.blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.pricing-badge.green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pricing-badge.purple {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

/* No price for coming soon items */
.pricing-card.coming-soon .pricing-right {
  justify-content: flex-start;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1400px) {
  .mega-menu-content {
    padding: 35px 40px;
  }

  .solutions-menu .mega-menu-content,
  .download-menu .mega-menu-content,
  .pricing-menu .mega-menu-content {
    padding: 30px 35px;
  }

  .pricing-menu .mega-menu-content {
    gap: 14px;
  }
}

@media (max-width: 1200px) {
  .mega-menu-content {
    padding: 30px;
    gap: 30px;
  }

  .solutions-menu .mega-menu-content {
    padding: 25px 30px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .download-menu .mega-menu-content,
  .pricing-menu .mega-menu-content {
    padding: 25px 30px;
    gap: 12px;
  }

  .pricing-card {
    padding: 18px;
  }

  .pricing-icon {
    width: 56px;
    height: 56px;
  }

  .pricing-icon img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .pricing-menu .mega-menu-content,
  .solutions-menu .mega-menu-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 768px) {
  .mega-menu-content {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .solutions-menu .mega-menu-content,
  .pricing-menu .mega-menu-content {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 12px;
  }

  .pricing-card {
    flex-direction: column;
    padding: 20px;
  }

  .pricing-info {
    flex-direction: column;
  }

  .pricing-icon {
    width: 64px;
    height: 64px;
  }

  .pricing-icon img {
    width: 36px;
    height: 36px;
  }

  .pricing-right {
    align-items: flex-start;
    text-align: left;
  }

  .pricing-details h4 {
    font-size: 16px;
  }

  .pricing-amount {
    font-size: 28px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
.menu-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .solution-card {
    padding: 16px;
  }

  .download-card {
    padding: 16px;
  }
}

/* Sidebar menu */

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 15px;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-btn i {
  font-size: 18px;
}

/* ===== MOBILE SIDEBAR ===== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #0a0a0a;
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-sidebar.active {
  left: 0;
}

/* Sidebar Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-header .logo img {
  width: 120px;
  height: auto;
}

.close-sidebar {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-sidebar:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.close-sidebar i {
  font-size: 20px;
}

/* ===== MOBILE MENU ITEMS ===== */
.mobile-menu {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.mobile-item {
  margin-bottom: 8px;
}

/* Mobile Link Styles */
.mobile-item > a,
.mobile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s;
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.mobile-item > a:hover,
.mobile-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.mobile-link {
  background: rgba(255, 255, 255, 0.03);
}

.mobile-link i {
  font-size: 12px;
  transition: transform 0.3s;
  color: rgba(255, 255, 255, 0.6);
}

/* Active state for items with submenu */
.mobile-item.active .mobile-link {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.mobile-item.active .mobile-link i {
  transform: rotate(180deg);
  color: #60a5fa;
}

/* ===== MOBILE SUBMENU ===== */
.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-item.active .mobile-submenu {
  max-height: 500px;
  margin-top: 8px;
}

.mobile-submenu li {
  margin-bottom: 4px;
}

.mobile-submenu a {
  display: block;
  padding: 14px 18px 14px 36px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  border-radius: 10px;
  transition: all 0.3s;
  position: relative;
}

.mobile-submenu a::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s;
}

.mobile-submenu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding-left: 40px;
}

.mobile-submenu a:hover::before {
  background: #60a5fa;
  width: 8px;
  height: 8px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet và nhỏ hơn */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ẩn main navigation */
  .main-nav {
    display: none;
  }

  /* Căn giữa logo trên header */
  .header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-left .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-right {
    justify-content: flex-end;
  }
}

/* Mobile lớn */
@media (max-width: 768px) {
  .mobile-sidebar {
    width: 100%;
  }

  .sidebar-header {
    padding: 16px;
  }

  .sidebar-header .logo img {
    width: 100px;
  }

  .mobile-menu {
    padding: 16px;
  }

  .mobile-item > a,
  .mobile-link {
    padding: 14px 16px;
    font-size: 14px;
  }

  .mobile-submenu a {
    padding: 12px 16px 12px 32px;
    font-size: 13px;
  }
}

/* Mobile nhỏ */
@media (max-width: 480px) {
  .mobile-sidebar {
    width: 100%;
  }

  .sidebar-header {
    padding: 14px;
  }

  .sidebar-header .logo img {
    width: 90px;
  }

  .close-sidebar {
    width: 36px;
    height: 36px;
  }

  .mobile-menu {
    padding: 12px;
  }

  .mobile-item {
    margin-bottom: 6px;
  }

  .mobile-item > a,
  .mobile-link {
    padding: 12px 14px;
    font-size: 14px;
  }

  .mobile-submenu a {
    padding: 10px 14px 10px 28px;
    font-size: 13px;
  }
}

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}

/* Smooth scrollbar for sidebar */
.mobile-sidebar::-webkit-scrollbar {
  width: 6px;
}

.mobile-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Animation cho menu items */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-sidebar.active .mobile-item {
  animation: slideInLeft 0.3s ease forwards;
}

.mobile-sidebar.active .mobile-item:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-sidebar.active .mobile-item:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-sidebar.active .mobile-item:nth-child(3) {
  animation-delay: 0.15s;
}

.mobile-sidebar.active .mobile-item:nth-child(4) {
  animation-delay: 0.2s;
}

.mobile-sidebar.active .mobile-item:nth-child(5) {
  animation-delay: 0.25s;
}

.mobile-sidebar.active .mobile-item:nth-child(6) {
  animation-delay: 0.3s;
}

/* ===== MEGA MENU POSITION FIX ===== */

/* Header sticky positioning */
header {
  padding: 6px 0;
  position: sticky;
  top: 0;
  background-color: #010101;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Adjust header position when WP admin bar is present */
.admin-bar header {
  top: 32px; /* WP admin bar height on desktop */
}

@media screen and (max-width: 782px) {
  .admin-bar header {
    top: 46px; /* WP admin bar height on mobile */
  }
}

/* Mega menu positioning - always below header */
.mega-menu {
  position: fixed;
  /* top sẽ được JS tính toán động, không set giá trị mặc định ở đây */
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Parent li phải static để mega menu full width */
.main-nav .main-menu > li.has-mega-menu {
  position: static !important;
}

/* Alternative: Nếu muốn mega menu centered */
.main-nav .main-menu > li.has-mega-menu.centered {
  position: relative;
}

.main-nav .main-menu > li.has-mega-menu.centered .mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  width: auto;
}

.main-nav .main-menu > li.has-mega-menu.centered:hover .mega-menu,
.main-nav .main-menu > li.has-mega-menu.centered.active .mega-menu {
  transform: translateX(-50%) translateY(0);
}

/* Show mega menu on hover */
.has-mega-menu:hover .mega-menu,
.has-mega-menu.active .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Overlay background */
body.mega-menu-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

body.mega-menu-open.overlay-active::before {
  opacity: 1;
  visibility: visible;
}

/* Adjust overlay position for admin bar */
.admin-bar body.mega-menu-open::before {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar body.mega-menu-open::before {
    top: 46px;
  }
}


/* Breadcrumb */
.rank-math-breadcrumb {
 margin: 15px 0;
}

.rank-math-breadcrumb a {
  text-decoration: none;
  color: #bebebe;
}
span.separator {
  color: #fff;
}

.rank-math-breadcrumb span {
  color: #fff;
}
