/* ===== SERVERS PAGE CSS ===== */

/* ---- Hero ---- */
.servers-hero {
  background: linear-gradient(to right bottom, #2a3776, #4154a3);
  padding: 90px 0 60px;
  text-align: center;
}
.servers-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 14px;
}
.servers-hero .hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin: 0 0 32px;
}
.hero-btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btn-row .btn-orange {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.2s;
}
.hero-btn-row .btn-orange:hover { background: var(--accent-hover); color: #fff; }
.hero-btn-row .btn-white {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: background 0.2s;
}
.hero-btn-row .btn-white:hover { background: rgba(255,255,255,0.25); color: #fff; }
.hero-icons-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.hero-icons-row img { width: 48px; height: 48px; }

/* ---- Feature highlights (3-col below hero) ---- */
.feature-highlights {
  padding: 60px 0 40px;
  background: #fff;
  border-top: 1px solid #eee;
}
.feature-highlights .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.feat-hl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.feat-hl-item {}
.feat-hl-item .fh-icon { margin-bottom: 16px; }
.feat-hl-item .fh-icon img { width: 56px; height: 56px; margin: 0 auto; }
.feat-hl-item h3,
.feat-hl-item h2.feat-hl-h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 10px;
}
.feat-hl-item p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}
.feat-hl-cta {
  text-align: center;
  margin-top: 32px;
}

/* ---- Server table section ---- */
.server-table-section {
  background: #f7f8fc;
  padding: 60px 0;
}
.server-table-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.server-table-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 20px;
}
.server-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  max-width: 820px;
  margin: 0 auto 36px;
}
.server-bullets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.server-bullets ul li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.server-bullets ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: url('/assets/images/icon/check.svg') center/contain no-repeat;
}

/* Tab filters */
.server-tab-filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 2px solid #dee2e6;
}
.server-tab-filters button {
  background: none;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #6b7c93;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.server-tab-filters button:hover { color: var(--primary-dark); }
.server-tab-filters button.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
  font-weight: 600;
}

/* Table */
.server-table-wrap { overflow-x: auto; }
.server-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 540px;
}
.server-table thead tr {
  background: var(--primary-dark);
  color: #fff;
}
.server-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.server-table thead th:first-child { min-width: 180px; }
.server-table thead th:not(:first-child) { text-align: center; min-width: 100px; }
.server-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background 0.15s;
}
.server-table tbody tr:hover { background: #f0f4ff; }
.server-table tbody td {
  padding: 11px 16px;
  color: var(--text-body);
}
.server-table tbody td:not(:first-child) { text-align: center; }
.server-table tbody td img.check-icon { width: 20px; height: 20px; margin: 0 auto; }
.server-row-country td:first-child {
  font-weight: 600;
  color: var(--text-dark);
}
.server-row-country.has-cities { cursor: pointer; }
.server-row-country.has-cities td:first-child::after {
  content: ' ▸';
  font-size: 11px;
  color: #aaa;
  margin-left: 4px;
}
.server-row-country.has-cities.expanded td:first-child::after {
  content: ' ▾';
}
.server-row-city { background: #fbfcff; }
.server-row-city td:first-child { padding-left: 36px; color: var(--text-body); font-weight: 400; }
.server-row-city.hidden { display: none; }

.flag-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.flag-cell img.flag { width: 22px; height: 16px; border-radius: 2px; }
.flag-cell img.flag-city { width: 8px; height: 8px; border-radius: 50%; background: #c5cae9; }

/* ---- Why section ---- */
.why-section {
  padding: 60px 0 50px;
  background: #fff;
  border-top: 1px solid #eee;
}
.why-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.why-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 36px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-item .why-icon {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item .why-icon img { width: 40px; height: 40px; }
.why-item-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px;
}
.why-item-text p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}
.why-cta { text-align: center; margin-top: 36px; }

/* ---- Steps section ---- */
.steps-section {
  padding: 60px 0;
  background: #f7f8fc;
  border-top: 1px solid #eee;
}
.steps-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.steps-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 40px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.step-item {}
.step-item .step-img { margin-bottom: 16px; }
.step-item .step-img img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto; }
.step-item h3, .step-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.step-item p {
  font-size: 15px;
  color: var(--text-dark);
  margin: 0;
  font-weight: 500;
}

/* ---- Platforms section ---- */
.platforms-section {
  padding: 44px 0;
  background: linear-gradient(to right bottom, #2a3776, #4154a3);
  text-align: center;
}
.platforms-section .uk-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.platforms-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}
.platforms-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.platforms-list li a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.platforms-list li a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.platforms-list li a img { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* ---- VPN tools section ---- */
.vpn-tools-section {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid #eee;
}
.vpn-tools-section .uk-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.vpn-tools-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.vpn-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.vpn-tool-item {
  display: block;
  color: inherit;
  padding: 20px 16px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
}
.vpn-tool-item:hover {
  background: #f0f4ff;
  box-shadow: 0 2px 12px rgba(42,55,118,0.08);
  color: inherit;
}
.vpn-tool-item .tool-icon { margin-bottom: 12px; }
.vpn-tool-item .tool-icon img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto; }
.vpn-tool-item h3, .vpn-tool-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

/* ---- CTA section ---- */
.servers-cta-section {
  background: linear-gradient(to right bottom, #2a3776, #4154a3);
  padding: 60px 0;
  text-align: center;
}
.servers-cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.servers-cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin: 0 0 28px;
}
.servers-cta-section .btn-orange-lg {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 4px;
  transition: background 0.2s;
}
.servers-cta-section .btn-orange-lg:hover { background: var(--accent-hover); color: #fff; }

/* ---- FAQ section ---- */
.servers-faq-section {
  padding: 60px 0;
  background: #fff;
}
.servers-faq-section .uk-container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.servers-faq-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 36px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .feat-hl-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .vpn-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .server-bullets { grid-template-columns: 1fr; }
  .server-table-section h2 { font-size: 22px; }
  .servers-hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .feat-hl-grid { grid-template-columns: 1fr; }
  .vpn-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .servers-hero h1 { font-size: 26px; }
  .hero-btn-row { flex-direction: column; align-items: center; }
  .hero-btn-row a { width: 100%; max-width: 300px; text-align: center; }
  .server-tab-filters button { padding: 8px 12px; font-size: 13px; }
  .platforms-list li a { font-size: 13px; padding: 6px 12px; }
}
