/* Best10VPNs.com - Main Stylesheet */
/* Color Scheme: Blue/Teal Professional Theme */

:root {
  /* Primary Colors */
  --primary-navy: #1e3a5f;
  --primary-teal: #00a8a8;
  --accent-orange: #f47521;

  /* Score Colors */
  --score-excellent: #00a8a8;
  --score-great: #6366f1;
  --score-good: #8b5cf6;

  /* Text Colors */
  --text-dark: #1a1a2e;
  --text-medium: #4b5563;
  --text-light: #6b7280;

  /* Background Colors */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #1e3a5f;

  /* Border Colors */
  --border-light: #e5e7eb;
  --border-highlight: #00a8a8;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* Top Disclosure Bar */
.disclosure-bar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.disclosure-bar a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
}

.disclosure-bar a:hover {
  text-decoration: underline;
}

/* Header / Navbar */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.nav-link {
  color: var(--primary-navy) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-teal) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  padding: 3rem 0;
}

.hero-title {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.hero-updated {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-updated svg {
  color: var(--primary-teal);
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.hero-benefits li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-benefits .check-icon {
  color: var(--primary-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-benefits strong {
  color: var(--primary-navy);
}

.platform-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.platform-icons span {
  color: var(--text-light);
  font-size: 0.875rem;
}

.platform-icons img {
  height: 24px;
  width: auto;
  opacity: 0.7;
}

/* VPN Comparison Table */
.comparison-section {
  padding: 2rem 0 4rem;
}

.table-header {
  background: var(--primary-navy);
  color: white;
  border-radius: 12px 12px 0 0;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr 100px;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .table-header {
    display: none;
  }
}

/* VPN Card */
.vpn-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.vpn-card:hover {
  box-shadow: var(--shadow-lg);
}

.vpn-card.featured {
  border-color: var(--border-highlight);
  position: relative;
}

.vpn-card.featured::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-teal);
}

.vpn-card-inner {
  padding: 1.5rem;
}

.vpn-rank {
  background: var(--bg-light);
  color: var(--text-medium);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
}

.vpn-rank.top {
  background: linear-gradient(135deg, var(--primary-teal), #00d4d4);
  color: white;
}

.vpn-logo {
  text-align: center;
  margin-bottom: 1rem;
}

.vpn-logo img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
}

.vpn-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.vpn-rating .star {
  color: #fbbf24;
  font-size: 1rem;
}

.vpn-rating-text {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

.vpn-promo {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #065f46;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.vpn-description {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.vpn-description strong {
  color: var(--text-dark);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.feature-list li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.feature-list .check {
  color: var(--primary-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Score Badge */
.score-badge {
  width: 65px;
  height: 65px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.score-badge.excellent {
  background: var(--score-excellent);
}

.score-badge.great {
  background: var(--score-great);
}

.score-badge.good {
  background: var(--score-good);
}

/* CTA Button */
.btn-cta {
  background: var(--accent-orange);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.btn-cta:hover {
  background: #e5651a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 117, 33, 0.4);
}

.cta-subtext {
  font-size: 0.8rem;
  color: var(--primary-teal);
  text-align: center;
  margin-top: 0.5rem;
}

.cta-subtext a {
  color: var(--primary-teal);
  text-decoration: none;
}

.cta-subtext a:hover {
  text-decoration: underline;
}

/* Urgency Badge */
.urgency-badge {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-dark);
  display: inline-block;
  margin-bottom: 0.75rem;
  position: relative;
}

.urgency-badge::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--border-light);
}

/* Pros/Cons Tabs */
.pros-cons-tabs {
  border-top: 1px solid var(--border-light);
  margin-top: 1rem;
}

.pros-cons-tabs .nav-tabs {
  border: none;
}

.pros-cons-tabs .nav-link {
  border: none !important;
  border-radius: 0 !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.875rem;
  color: var(--text-medium) !important;
  background: var(--bg-light);
}

.pros-cons-tabs .nav-link.active {
  color: var(--primary-navy) !important;
  background: var(--bg-white);
  font-weight: 600;
}

.pros-cons-tabs .nav-link[data-bs-target*="cons"].active {
  color: #dc2626 !important;
}

.pros-cons-content {
  padding: 1rem;
}

.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li, .cons-list li {
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.pros-list .icon { color: var(--primary-teal); }
.cons-list .icon { color: #dc2626; }

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

.faq-section h2 {
  margin-bottom: 2rem;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 8px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--primary-navy);
  background: var(--bg-white);
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--primary-navy);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-light);
}

.accordion-body {
  padding: 1.25rem;
  color: var(--text-medium);
}

.accordion-body ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.accordion-body li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
}

.footer-description {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-teal);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--primary-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: white;
}

.footer-copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-navy);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-teal);
  transform: translateY(-3px);
}

/* Advertiser Disclosure Modal */
.disclosure-modal {
  position: fixed;
  top: 60px;
  right: 1rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  max-width: 400px;
  z-index: 1050;
  display: none;
}

.disclosure-modal.show {
  display: block;
}

.disclosure-modal::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--bg-white);
}

.disclosure-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-light);
  cursor: pointer;
}

.disclosure-modal h5 {
  margin-bottom: 0.75rem;
}

.disclosure-modal p {
  font-size: 0.875rem;
  color: var(--text-medium);
  margin-bottom: 0.75rem;
}

.disclosure-modal a {
  color: var(--primary-teal);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
  .hero-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .vpn-card-inner {
    text-align: center;
  }

  .feature-list li {
    justify-content: flex-start;
    text-align: left;
  }

  .disclosure-modal {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* Review Page Styles */
.review-hero {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  padding: 3rem 0;
}

.review-vpn-logo {
  max-height: 100px;
  margin-bottom: 1rem;
}

.review-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.review-verdict {
  background: var(--bg-white);
  border-left: 4px solid var(--primary-teal);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.review-section {
  padding: 3rem 0;
}

.review-section:nth-child(even) {
  background: var(--bg-white);
}

.spec-table {
  width: 100%;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-light);
}

.spec-table th {
  padding: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
  background: var(--bg-light);
}

.spec-table td {
  padding: 0.75rem;
  color: var(--text-medium);
}

/* Utility Classes */
.text-teal { color: var(--primary-teal) !important; }
.text-navy { color: var(--primary-navy) !important; }
.bg-light-custom { background: var(--bg-light); }
.bg-teal { background-color: var(--primary-teal) !important; }

/* Progress Bar Custom */
.progress-bar.bg-teal {
  background-color: var(--primary-teal) !important;
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item a {
  color: var(--primary-teal);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-light);
}
