/* ===== FEATURES PAGE CSS ===== */

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  background: var(--primary-dark);
  padding: 10px 20px;
}
.breadcrumbs .uk-container { max-width: 1200px; margin: 0 auto; }
.breadcrumbs a, .breadcrumbs span {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { margin: 0 6px; }

/* ---- Hero (page-banner) ---- */
.feat-hero {
  background: var(--gradient);
  padding: 70px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.feat-hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 18px;
}
.feat-hero .hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 32px;
}
.feat-hero .btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.2s;
}
.feat-hero .btn-cta:hover { background: var(--accent-hover); }
.feat-hero-deco {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: 0.15;
}

/* ---- Section shared ---- */
.feat-section {
  padding: 70px 0;
}
.feat-section.grey {
  background: var(--bg-section-light);
}
.feat-section.dark-gradient {
  background: var(--gradient);
}
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
}
.section-heading .subtitle {
  display: block;
  color: var(--text-muted);
  font-size: 15px;
}
.section-heading.white h2, .section-heading.white .subtitle { color: #fff; }
.section-heading.white .subtitle { color: rgba(255,255,255,0.75); }

/* ---- App features carousel ---- */
.app-feat-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.app-feat-grid.reversed { flex-direction: row-reverse; }
.app-feat-list { flex: 1; }
.app-feat-preview {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.app-feat-preview img {
  max-width: 220px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: block;
}
.feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 8px;
}
.feat-item:hover, .feat-item.active {
  background: #fff;
  box-shadow: 0 2px 16px rgba(65,84,163,0.12);
}
.feat-item-icon {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-item-icon img { width: 40px; height: 40px; object-fit: contain; }
.feat-item-text h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text-dark);
}
.feat-item-text p { margin: 0; font-size: 14px; color: var(--text-body); }
.feat-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary-mid);
  font-size: 13px;
  font-weight: 500;
}
.feat-link:hover { text-decoration: underline; }

/* Platform icons */
.platform-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.platform-row span { font-size: 14px; color: var(--text-muted); margin-right: 4px; }
.platform-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.platform-row a:hover { border-color: var(--primary-mid); }
.platform-row img { width: 18px; height: 18px; object-fit: contain; }

/* ---- Router section ---- */
.router-section {
  padding: 70px 0;
  background: var(--bg-section-light);
  border-top: 1px solid var(--border);
}
.split-row {
  display: flex;
  gap: 60px;
  align-items: center;
}
.split-row.reversed { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-text h2 { font-size: 28px; font-weight: 700; margin: 0 0 16px; }
.split-text p { font-size: 15px; color: var(--text-body); margin: 0 0 20px; }
.split-image { flex: 0 0 420px; }
.split-image img { width: 100%; border-radius: 8px; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-link {
  display: inline-block;
  color: var(--primary-mid);
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
}
.btn-link:hover { text-decoration: underline; }

/* ---- Server features ---- */
.server-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.server-feat-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.server-feat-icon {
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.server-feat-icon img { width: 48px; height: 48px; object-fit: contain; }
.server-feat-text h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.server-feat-text p { font-size: 14px; color: var(--text-body); margin: 0; }

/* ---- World map section (same as index but slightly smaller) ---- */
.feat-map {
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--border);
}

/* ---- Best choice icons ---- */
.best-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}
.best-choice-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  text-align: center;
}
.best-choice-item img { width: 48px; height: 48px; object-fit: contain; }
.best-choice-item span { font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 500; line-height: 1.3; }

/* ---- Protocols ---- */
.protocols-section { padding: 70px 0 50px; }
.protocols-section .section-heading p {
  font-size: 15px;
  color: var(--text-body);
  max-width: 700px;
  margin: 12px auto 0;
}
.proto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}
.proto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100px;
  text-align: center;
}
.proto-item img { width: 60px; height: 60px; object-fit: contain; }
.proto-item span { font-size: 13px; color: var(--text-dark); font-weight: 500; }

/* ---- VIP / Private IP sections ---- */
.addon-section {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

/* ---- Why VPN (3 cards) ---- */
.why-vpn-section { padding: 70px 0; }
.why-vpn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.why-vpn-card {
  text-align: center;
  padding: 0 20px;
}
.why-vpn-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.why-vpn-card h3 { font-size: 17px; margin: 0 0 12px; }
.why-vpn-card p { font-size: 14px; color: var(--text-body); }

/* ---- Reviews ---- */
.reviews-section {
  padding: 70px 0;
  background: var(--gradient);
}
.reviews-section .section-heading h2 { color: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 24px;
  color: #fff;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.review-name { font-weight: 700; font-size: 16px; }
.review-stars { color: #FFB800; font-size: 14px; }
.review-text { font-size: 14px; color: rgba(255,255,255,0.9); line-height: 1.6; margin: 0 0 12px; }
.review-country { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ---- Pricing ---- */
.pricing-section { padding: 70px 0 80px; }
.pricing-subtitle {
  text-align: center;
  display: block;
  color: var(--text-muted);
  font-size: 15px;
  margin-top: -20px;
  margin-bottom: 40px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.pricing-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.pricing-card:hover, .pricing-card.best {
  border-color: var(--primary-mid);
  box-shadow: 0 8px 32px rgba(65,84,163,0.15);
}
.pricing-card.best { border-color: var(--accent); }
.best-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.pricing-header {
  background: var(--bg-section-light);
  padding: 24px 20px;
  text-align: center;
}
.pricing-type { font-size: 16px; font-weight: 600; color: var(--text-dark); display: block; margin-bottom: 8px; }
.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
}
.pricing-price sup { font-size: 18px; vertical-align: super; }
.pricing-price sub { font-size: 13px; color: var(--text-muted); }
.pricing-body { padding: 20px; text-align: center; color: var(--text-body); font-size: 14px; }
.pricing-body strong { color: var(--accent); font-size: 20px; }
.pricing-footer { padding: 0 20px 24px; text-align: center; }
.btn-pricing {
  display: block;
  background: var(--accent);
  color: #fff;
  padding: 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-pricing:hover { background: var(--accent-hover); }
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}
.payment-row img { height: 24px; width: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .app-feat-grid, .app-feat-grid.reversed { flex-direction: column; }
  .app-feat-preview { min-height: auto; }
  .split-row, .split-row.reversed { flex-direction: column; }
  .split-image { flex: none; width: 100%; }
  .server-feat-grid { grid-template-columns: 1fr; }
  .why-vpn-grid, .reviews-grid, .pricing-grid { grid-template-columns: 1fr; }
  .best-choice-grid { gap: 20px; }
  .feat-hero h1 { font-size: 30px; }
}
@media (max-width: 600px) {
  .proto-grid { gap: 12px; }
  .proto-item { width: 80px; }
  .best-choice-item { width: 90px; }
}
