/* ============================================
   YunQi IDC Theme - Custom Dark Tech Style
   Based on WHMCS Six Template
   ============================================ */

/* ========== 1. Font & Base ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #080c24;
  --bg-secondary: #0a0f2e;
  --bg-card: rgba(15, 22, 55, 0.85);
  --bg-card-hover: rgba(20, 30, 70, 0.95);
  --border-glow: rgba(0, 180, 255, 0.12);
  --border-glow-hover: rgba(0, 180, 255, 0.28);
  --accent: #007aff;
  --accent-light: #00d4ff;
  --accent-gradient: linear-gradient(135deg, #007aff 0%, #00d4ff 100%);
  --text-primary: #e8ecf4;
  --text-secondary: #9aa4bf;
  --text-muted: #6e7891;
  --danger: #ff4757;
  --warning: #ffa502;
  --success: #2ed573;
  --hot-tag: linear-gradient(135deg, #ff6b35 0%, #ffa502 100%);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(0, 122, 255, 0.15);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-light);
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ========== 2. Header / Navbar ========== */
.yq-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(8, 12, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  padding: 0;
  height: 64px;
}
.yq-navbar .container {
  display: flex;
  align-items: center;
  height: 64px;
}

.yq-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 40px;
}
.yq-logo img {
  height: 36px;
}
.yq-logo span {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px;
}
.yq-logo .yq-logo-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yq-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.yq-nav-links > li {
  position: relative;
  margin: 0 2px;
}
.yq-nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.yq-nav-links > li > a:hover,
.yq-nav-links > li.active > a {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.yq-nav-links > li > a i {
  margin-left: 4px;
  font-size: 10px;
  transition: transform 0.2s;
}
.yq-nav-links > li:hover > a i {
  transform: rotate(180deg);
}

.yq-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-nav-outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
  background: transparent;
}
.btn-nav-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}
.btn-nav-primary {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
}
.btn-nav-primary:hover {
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.yq-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}

/* ========== 2.5 Hero Wrapper (homepage: navbar + banner merged) ========== */
.yq-hero-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 750px;
  overflow: hidden;
  background: linear-gradient(175deg, #060e2e 0%, #0d3b66 25%, #0a6ebd 55%, #0b8ad8 75%, #0a5ca8 100%);
}
.yq-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("../img/hero-curves.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.yq-navbar-hero {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 2 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}

/* Nav decorative tech lines */
.yq-nav-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  z-index: 3;
}
.yq-nav-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.35) 15%, rgba(0, 229, 255, 0.5) 50%, rgba(0, 229, 255, 0.35) 85%, transparent 100%);
}
.yq-nav-line-top { top: 0; }
.yq-nav-line-bottom { bottom: 0; }

/* Hero content area below navbar */
.yq-hero-content-area {
  position: relative;
  z-index: 1;
  height: calc(100% - 64px);
}

/* ========== 3. Hero Section (legacy, kept for non-homepage) ========== */
.yq-hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 122, 255, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #060b20 0%, var(--bg-primary) 100%);
}
.yq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><defs><linearGradient id="g"><stop offset="0%" stop-color="rgba(0,122,255,0.03)"/><stop offset="100%" stop-color="transparent"/></linearGradient></defs><path fill="url(%23g)" d="M0,96L48,112C96,128,192,160,288,176C384,192,480,192,576,165.3C672,139,768,85,864,64C960,43,1056,53,1152,74.7C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}
.yq-hero .container {
  position: relative;
  z-index: 1;
}
.yq-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}
.yq-hero-content h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yq-hero-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.yq-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glow);
}
.yq-hero-stats .stat-item {
  text-align: center;
}
.yq-hero-stats .stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.yq-hero-stats .stat-num span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yq-hero-stats .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}
.yq-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== 3.5 Hero Banner Slider (inside hero-wrapper) ========== */
.yq-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.yq-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.yq-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  padding: 0;
}
.yq-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.yq-slide .container {
  position: relative;
  z-index: 1;
}
.yq-slide-content {
  animation: yqSlideInLeft 0.7s ease both;
}
.yq-slide.active .yq-slide-content {
  animation-delay: 0.1s;
}
.yq-slide-content h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: 0;
  position: relative;
}
.yq-slide-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00e5ff 0%, #29b6f6 100%);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.yq-slide-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 460px;
}
.yq-slide-content .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: all 0.3s ease;
}
.yq-slide-content .btn-hero:hover {
  background: #fff;
  color: #0a7ee9;
  border-color: #fff;
  text-decoration: none;
}
.yq-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: yqSlideInRight 0.7s ease 0.15s both;
}
.yq-slide-visual img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 20, 80, 0.25));
}
.yq-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.yq-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}
.yq-slider-prev { left: 24px; }
.yq-slider-next { right: 24px; }
.yq-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.yq-slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.yq-slider-dots button.active,
.yq-slider-dots button:hover {
  background: #fff;
  border-color: #fff;
}
@keyframes yqSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes yqSlideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-hero-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.35);
}
.btn-hero-primary:hover {
  color: #fff;
  box-shadow: 0 6px 30px rgba(0, 122, 255, 0.5);
  transform: translateY(-2px);
}
.btn-hero-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-hero-outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

/* ========== 4. Section Common ========== */
.yq-section {
  padding: 80px 0;
}
.yq-section-header {
  text-align: center;
  margin-bottom: 50px;
}
.yq-section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.yq-section-header p {
  font-size: 15px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== 5. Product Tab Area ========== */
.yq-products {
  background: #f0f2f5;
}

.yq-product-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  background: #fff;
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  flex-wrap: wrap;
}
.yq-product-tab {
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  background: transparent;
  white-space: nowrap;
}
.yq-product-tab:hover {
  color: #1f2937;
  background: #f3f4f6;
}
.yq-product-tab.active {
  color: #fff;
  background: var(--accent-gradient);
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0, 122, 255, 0.3);
}

.yq-region-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.yq-region-tab {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: all 0.25s;
  white-space: nowrap;
}
.yq-region-tab:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}
.yq-region-tab.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  font-weight: 500;
}

.yq-product-panel {
  display: none;
}
.yq-product-panel.active {
  display: block;
}

/* Product Table Card */
.yq-product-table-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.yq-product-table {
  width: 100%;
  border-collapse: collapse;
}
.yq-product-table thead th {
  padding: 14px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.yq-product-table thead th:first-child {
  text-align: left;
  padding-left: 20px;
}
.yq-product-table tbody td {
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.yq-product-table tbody td:first-child {
  text-align: left;
  padding-left: 20px;
}
.yq-product-table tbody tr {
  transition: all 0.2s;
}
.yq-product-table tbody tr:hover {
  background: #f9fafb;
}
.yq-product-table tbody tr.row-hot {
  background: #fffbeb;
}
.yq-product-table .prod-name {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
}
.yq-product-table .hot-tag {
  display: inline-block;
  background: var(--hot-tag);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
}
.yq-product-table .price-current {
  font-size: 20px;
  font-weight: 800;
  color: #ff6b35;
  font-family: 'Inter', sans-serif;
  display: block;
  line-height: 1;
}
.yq-product-table .price-current small {
  font-size: 12px;
  font-weight: 400;
}
.yq-product-table .price-original {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
  display: block;
  margin-top: 2px;
}
.yq-product-table .price-unit {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 1px;
}

.btn-buy {
  display: inline-block;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-buy:hover {
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4);
  transform: translateY(-1px);
}

.yq-view-more {
  text-align: center;
  padding: 20px 0;
}
.yq-view-more a {
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
}
.yq-view-more a:hover {
  text-decoration: underline;
}

/* ========== 6. Advantages Section ========== */
.yq-advantages {
  background: #fff;
}
.yq-advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.yq-advantage-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.yq-advantage-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.yq-advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 16px;
  font-size: 26px;
}
.yq-advantage-icon i {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yq-advantage-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.yq-advantage-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ========== 7. Footer ========== */
.yq-footer {
  background: #060a1a;
  border-top: 1px solid var(--border-glow);
  padding: 50px 0 0;
}
.yq-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.yq-footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.yq-footer-col p,
.yq-footer-col li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2;
}
.yq-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.yq-footer-col ul li a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.yq-footer-col ul li a:hover {
  color: var(--accent-light);
}

.yq-footer-bottom {
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== 8. Product List Page (cart.php?gid=X) ========== */
.yq-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.yq-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.yq-product-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.yq-product-card .card-header {
  margin-bottom: 18px;
}
.yq-product-card .card-name {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.yq-product-card .card-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.yq-product-card .card-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
}
.yq-product-card .card-specs li {
  padding: 6px 0;
  font-size: 13px;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
}
.yq-product-card .card-specs li:last-child {
  border-bottom: none;
}
.yq-product-card .card-price {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 16px;
}
.yq-product-card .card-price .current {
  font-size: 28px;
  font-weight: 800;
  color: #ff6b35;
  font-family: 'Inter', sans-serif;
}
.yq-product-card .card-price .current small {
  font-size: 14px;
  font-weight: 400;
}
.yq-product-card .card-price .original {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 8px;
}
.yq-product-card .card-footer .btn-buy {
  width: 100%;
  text-align: center;
}

/* ========== 9. Product Configure Page ========== */
.yq-config-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.yq-config-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.yq-cycle-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.yq-cycle-option {
  flex: 1;
  min-width: 90px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: #f9fafb;
  color: #4b5563;
}
.yq-cycle-option:hover {
  border-color: #93c5fd;
}
.yq-cycle-option.active {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1e40af;
}
.yq-cycle-option .cycle-price {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  display: block;
}
.yq-cycle-option .cycle-label {
  font-size: 12px;
  color: #6b7280;
}
.yq-cycle-option .cycle-save {
  font-size: 11px;
  color: #ff6b35;
  font-weight: 600;
}

.yq-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.yq-location-card {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: #fff;
}
.yq-location-card:hover {
  border-color: #93c5fd;
}
.yq-location-card.active {
  border-color: #3b82f6;
  background: #eff6ff;
}
.yq-location-card .flag-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}
.yq-location-card .location-name {
  font-size: 13px;
  color: #1f2937;
  font-weight: 500;
}
.yq-location-card .location-latency {
  font-size: 11px;
  color: #9ca3af;
}

/* ========== 10. Cart / Checkout Page ========== */
.yq-cart-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px;
}
.yq-cart-wrap .item {
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}
.yq-cart-wrap .item:last-child {
  border-bottom: none;
}
.yq-order-summary {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px;
}
.yq-order-summary h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 20px;
}

/* ========== 11. Login / Register ========== */
.yq-auth-wrap {
  max-width: 440px;
  margin: 40px auto;
}
.yq-auth-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.yq-auth-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 8px;
}
.yq-auth-card .auth-subtitle {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 28px;
}

/* ========== 12. Form Elements ========== */
.yq-form-control,
.yq-form select,
.yq-form input[type="text"],
.yq-form input[type="email"],
.yq-form input[type="password"],
.yq-form input[type="number"],
.yq-form textarea {
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  color: #1f2937 !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}
.yq-form-control:focus,
.yq-form select:focus,
.yq-form input:focus,
.yq-form textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1) !important;
  outline: none !important;
  background: #f9fafb !important;
}

.yq-form-label {
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* ========== 13. Client Area Home ========== */
.yq-client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.yq-client-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.yq-client-stat .stat-num {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 8px;
}
.yq-client-stat .stat-label {
  font-size: 13px;
  color: #6b7280;
}

/* ========== 14. Override Bootstrap / WHMCS Defaults ========== */
.panel, .well, .modal-content {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  color: #1f2937 !important;
}
.panel-heading, .modal-header {
  background: #f9fafb !important;
  border-bottom: 1px solid #e5e7eb !important;
}
.panel-footer, .modal-footer {
  background: #f9fafb !important;
  border-top: 1px solid #e5e7eb !important;
}
.nav-tabs > li > a {
  color: #6b7280 !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover {
  background: #eef2ff !important;
  border-color: #e5e7eb #e5e7eb transparent !important;
  color: #1e40af !important;
}
.table {
  color: #1f2937 !important;
}
.table > tbody > tr > td,
.table > tbody > tr > th {
  border-color: #e5e7eb !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background: #f9fafb !important;
}
.alert {
  border-radius: var(--radius-sm);
  border: none;
}
.alert-info { background: rgba(0,122,255,0.12); color: var(--accent-light); }
.alert-success { background: rgba(46,213,115,0.12); color: var(--success); }
.alert-warning { background: rgba(255,165,2,0.12); color: var(--warning); }
.alert-danger { background: rgba(255,71,87,0.12); color: var(--danger); }

.header-lined h1,
.header-lined small {
  color: #1a1a2e !important;
}

/* Style form fields deep */
input.form-control, select.form-control, textarea.form-control {
  background: #fff !important;
  border: 1px solid #d1d5db !important;
  color: #1f2937 !important;
}
input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1) !important;
}
.btn-primary {
  background: var(--accent-gradient) !important;
  border: none !important;
  color: #fff !important;
}
.btn-success {
  background: linear-gradient(135deg, #2ed573, #1abc9c) !important;
  border: none !important;
}
.btn-default {
  background: #f9fafb !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
}
.btn-default:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
}

/* Remove default WHMCS top header */
.navbar-main {
  display: none !important;
}
.top-bar .hidden-xs {
  color: #6b7280;
}
body > section#header {
  display: none !important;
}
body > section#main-body {
  margin-top: 64px !important;
  padding-top: 0 !important;
  background: #f5f7fa;
}
.yq-hero-wrapper + section#main-body {
  margin-top: 0 !important;
}
section#main-body {
  min-height: calc(100vh - 300px);
  overflow-x: hidden;
}

/* Sidebar */
.sidebar .panel-sidebar {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
}
.sidebar .panel-sidebar .panel-heading {
  background: #f9fafb !important;
}
.sidebar .list-group-item {
  background: transparent !important;
  border-color: #e5e7eb !important;
  color: #4b5563 !important;
}
.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
  background: #eef2ff !important;
  color: #1e40af !important;
}

/* ========== 15. Empty state / misc ========== */
.view-cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ========== 16. Responsive ========== */
@media (max-width: 1199px) {
  .yq-product-grid { grid-template-columns: repeat(2, 1fr); }
  .yq-advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .yq-footer-grid { grid-template-columns: 1fr 1fr; }
  .yq-client-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .yq-nav-links { display: none; }
  .yq-nav-toggle { display: block; }
  .yq-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 12, 36, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border-glow);
    z-index: 1040;
  }
  .yq-nav-links.open > li > a { padding: 12px 16px; }
  .yq-hero-wrapper { height: 650px; }
  .yq-hero-content-area { height: calc(100% - 64px); }
  .yq-slide-visual img { max-height: 320px; }
  .yq-section { padding: 50px 0; }
}

@media (max-width: 767px) {
  .yq-product-grid { grid-template-columns: 1fr; }
  .yq-advantage-grid { grid-template-columns: 1fr; }
  .yq-footer-grid { grid-template-columns: 1fr; }
  .yq-client-grid { grid-template-columns: 1fr; }
  .yq-hero-wrapper { height: auto; min-height: 560px; }
  .yq-hero-content-area { height: auto; min-height: calc(560px - 56px); }
  .yq-slide-content h1 { font-size: 26px; margin-bottom: 22px; }
  .yq-slide-content p { font-size: 14px; margin-bottom: 20px; }
  .yq-slide-content .btn-hero { padding: 9px 20px; font-size: 14px; }
  .yq-slide-visual { display: none; }
  .yq-slider-arrow { width: 38px; height: 38px; font-size: 14px; }
  .yq-slider-prev { left: 10px; }
  .yq-slider-next { right: 10px; }
  .yq-slider-dots { bottom: 18px; }
  .yq-section-header h2 { font-size: 24px; }
  .yq-product-tabs, .yq-region-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 8px; }
  .yq-product-table { font-size: 11px; }
  .yq-product-table thead th { padding: 8px 6px; font-size: 10px; }
  .yq-product-table tbody td { padding: 10px 6px; font-size: 11px; }
  .yq-product-table .price-current { font-size: 16px; }
  .yq-nav-right .btn-nav { font-size: 12px; padding: 6px 12px; }
  .yq-logo span { font-size: 16px; }
  .yq-config-section { padding: 16px; }
  .yq-cycle-switcher { flex-direction: column; }
  .yq-location-grid { grid-template-columns: repeat(2, 1fr); }
  .yq-product-table-wrap { overflow-x: auto; }
}
