/* Incognito / Privacy theme overrides */

:root {
  --incognito-bg: #ffffff;
  --incognito-surface: #f8fafc;
  --incognito-surface-raised: #f1f5f9;
  --incognito-text: #1e293b;
  --incognito-text-muted: #64748b;
  --incognito-accent: #2563eb;
  --incognito-accent-hover: #1d4ed8;
  --incognito-accent-soft: rgba(37, 99, 235, 0.08);
  --incognito-border: #e2e8f0;
  --incognito-section-bg: #f8fafc;
  --incognito-heading: #0f172a;
}

body {
  background-color: #ffffff;
  color: #2d3748;
}

/* Header */
header.main {
  background-color: var(--incognito-bg) !important;
  border-bottom: 1px solid var(--incognito-border);
}

header .menu a,
header .menu li a,
.mobile-menu .menu a {
  color: var(--incognito-text) !important;
}

header .menu li:before {
  background-color: var(--incognito-accent) !important;
}

header .button-header .custom-btn {
  background: var(--incognito-accent) !important;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25) !important;
  border-radius: 8px !important;
  color: #fff !important;
}

header .button-header .custom-btn.login {
  background: transparent !important;
  color: var(--incognito-text) !important;
  box-shadow: none !important;
  border: 1px solid var(--incognito-border) !important;
}

header .button-header .custom-btn.login:hover {
  background: var(--incognito-accent-soft) !important;
  border-color: var(--incognito-accent) !important;
}

header .button-header .custom-btn:hover {
  background: var(--incognito-accent-hover) !important;
}

.logo-brand-text {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--incognito-text) !important;
  letter-spacing: 0.06em;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .logo-brand-text,
  .logo-mobile-text {
    overflow: visible !important;
    text-overflow: clip !important;
    flex-shrink: 0 !important;
    min-width: auto !important;
  }

  .logo-mobile,
  .logo-mobile-link {
    overflow: visible !important;
  }
}

header .logo img,
.logo-icon {
  height: 48px !important;
  width: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
}

@media (min-width: 992px) {
  .logo-mobile-img {
    height: 48px !important;
    width: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }
}

header .logo-icon,
.logo-mobile-img.logo-icon {
  filter: none;
}

/* Mobile */
.mobile-block {
  background: var(--incognito-bg) !important;
}

.mobile-menu-btn span,
.mobile-menu-btn span:before,
.mobile-menu-btn span:after {
  background-color: var(--incognito-text) !important;
}

.login-page header {
  background: var(--incognito-bg) !important;
  border-color: var(--incognito-accent) transparent var(--incognito-border) transparent !important;
}

.has-protect-bar header {
  border-top-color: var(--incognito-accent) !important;
}

/* Protect bar */
.protect-bar {
  background-color: var(--incognito-accent) !important;
}

/* Sections */
.bg-gray {
  background: var(--incognito-section-bg) !important;
}

.feature-grid-section {
  padding-bottom: 80px;
}

.feature-grid-section .why-choose {
  margin-bottom: 0;
}

.title-head {
  color: var(--incognito-heading) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  font-size: 28px !important;
}

.why-choose .inside p {
  color: #4a5568;
  font-weight: 500;
}

/* Built for privacy — equal-height feature cards */
#WhyChooseUs .row,
#Platforms .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 32px;
  padding-bottom: 16px;
}

#WhyChooseUs .row > [class*="col-"],
#Platforms .row > [class*="col-"] {
  display: flex;
  float: none !important;
}

#WhyChooseUs .privacy-feature-col,
#Platforms .platform-feature-col {
  margin-bottom: 0;
}

#WhyChooseUs .inside,
#Platforms .inside {
  margin-bottom: 0 !important;
  box-sizing: border-box;
}

#WhyChooseUs .inside {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  height: 100%;
}

#WhyChooseUs .inside > img {
  flex-shrink: 0;
}

#WhyChooseUs .inside p {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  margin-bottom: 0;
}

/* Built for privacy — 3 columns on tablet/medium, 6 only on xl+ */
@media (min-width: 1200px) {
  #WhyChooseUs .row,
  #Platforms .row {
    row-gap: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #WhyChooseUs .row,
  #Platforms .row {
    row-gap: 36px;
  }

  #WhyChooseUs .privacy-feature-col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  #WhyChooseUs .inside {
    padding: 36px 20px 28px;
  }

  #WhyChooseUs .inside > img {
    height: 64px;
    margin-bottom: 20px;
  }

  #WhyChooseUs .inside p {
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
  }
}

@media (max-width: 767px) {
  #WhyChooseUs .row,
  #Platforms .row {
    row-gap: 20px;
  }

  #WhyChooseUs .inside {
    padding: 28px 12px 20px;
  }

  #WhyChooseUs .inside > img {
    height: 48px;
    margin-bottom: 14px;
  }

  #WhyChooseUs .inside p {
    font-size: 12px;
    line-height: 1.35;
    min-height: 36px;
  }
}

/* Available on Platforms — same responsive grid as Built for privacy */
#Platforms .inside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  height: 100%;
}

#Platforms .inside > img {
  flex-shrink: 0;
  height: 56px;
  width: auto;
  max-width: 100%;
  margin-bottom: 16px;
  object-fit: contain;
}

#Platforms .inside p {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 24px;
  margin-bottom: 0;
  color: #4a5568;
  font-weight: 500;
}

@media (min-width: 768px) and (max-width: 1199px) {
  #Platforms .platform-feature-col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  #Platforms .inside {
    padding: 36px 20px 28px;
  }

  #Platforms .inside > img {
    height: 52px;
    margin-bottom: 14px;
  }

  #Platforms .inside p {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  #Platforms .inside {
    padding: 28px 12px 20px;
  }

  #Platforms .inside > img {
    height: 40px;
    margin-bottom: 10px;
  }

  #Platforms .inside p {
    font-size: 12px;
  }
}

/* Features page — feature card grid */
#Features .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 32px;
  padding-bottom: 16px;
}

#Features .row > [class*="col-"] {
  display: flex;
  float: none !important;
}

#Features .feature-item-col {
  margin-bottom: 0;
}

#Features .inside {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  height: 100%;
  margin-bottom: 0 !important;
  box-sizing: border-box;
}

#Features .inside > img,
#Features .feature-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  object-fit: contain;
}

#Features .inside > a {
  display: block;
  text-align: center;
  margin-bottom: 12px;
  color: var(--incognito-heading) !important;
  font-size: 16px;
  letter-spacing: 0.08em;
}

#Features .inside p {
  flex: 1;
  margin-bottom: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 768px) {
  #Features .row {
    row-gap: 36px;
  }

  #Features .inside {
    padding: 40px 28px 32px;
  }
}

@media (max-width: 767px) {
  #Features .row {
    row-gap: 24px;
  }

  #Features .inside {
    padding: 32px 20px 24px;
  }

  #Features .inside > img,
  #Features .feature-icon {
    height: 52px;
    width: 52px;
    margin-bottom: 16px;
  }
}

/* Buttons */
.custom-btn {
  background-color: var(--incognito-accent) !important;
  border-radius: 8px !important;
}

.custom-btn:hover {
  background-color: var(--incognito-accent-hover) !important;
}

.custom-btn.green {
  background: var(--incognito-accent) !important;
}

.custom-btn.green:hover {
  background: var(--incognito-accent-hover) !important;
}

.custom-btn.blue {
  color: var(--incognito-accent) !important;
}

/* Footer */
footer {
  background-color: var(--incognito-surface) !important;
  border-top: 1px solid var(--incognito-border);
}

.widget-footer ul li a,
.widget-footer p {
  color: var(--incognito-text-muted) !important;
}

.widget-footer ul li a:hover {
  color: var(--incognito-text) !important;
}

.widget-footer h4 {
  color: var(--incognito-text) !important;
}

.copyright p {
  color: var(--incognito-text-muted) !important;
}

.footer-tagline {
  color: var(--incognito-text-muted) !important;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Pricing */
.pricing-table {
  background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 100%) !important;
}

.pricing-table.animatedParent {
  overflow: visible;
}

.pricing-table .vpn-pricing__note,
.pricing-table .vpn-pricing__subtitle {
  margin-bottom: 0 !important;
}

.pricing-card-featured {
  border-color: var(--incognito-accent) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15) !important;
}

.popular-badge {
  background: linear-gradient(135deg, var(--incognito-accent) 0%, #1e40af 100%) !important;
}

.pricing-cta,
.info-pricing ul .custom-btn {
  background: var(--incognito-accent) !important;
}

/* Privacy content blocks */
.privacy-block-dark {
  background-color: var(--incognito-surface-raised) !important;
  border: 1px solid var(--incognito-border);
  border-radius: 12px;
  overflow: hidden;
}

.privacy-block-accent {
  background: linear-gradient(135deg, var(--incognito-accent) 0%, #1e40af 100%) !important;
  border-radius: 12px;
  overflow: hidden;
}

.privacy-block-dark .privacy-block-text strong,
.privacy-block-dark .privacy-block-text p {
  color: var(--incognito-heading) !important;
}

.privacy-block-accent .privacy-block-text strong,
.privacy-block-accent .privacy-block-text p {
  color: #fff !important;
}

.privacy-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f1f5f9 100%);
  padding: 60px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--incognito-border);
}

.privacy-hero h1 {
  color: var(--incognito-heading);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.privacy-hero p {
  color: var(--incognito-text-muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.privacy-hero .custom-btn {
  font-size: 16px;
  padding: 14px 36px;
}

.privacy-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

/* Info pricing */
.info-pricing h4 {
  color: var(--incognito-heading);
}

.hosting-software ul li {
  color: var(--incognito-heading) !important;
}

/* Signup accent overrides */
.signup-footer {
  --accent: var(--incognito-accent);
}

/* Testimonials */
.testimonials-section.user-slider {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 80px 0 100px;
  margin-bottom: 0;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header .title-head {
  margin-bottom: 12px;
}

.testimonials-subtitle {
  margin: 0;
  font-size: 17px;
  color: #64748b;
  letter-spacing: 0.02em;
}

.testimonials-carousel .owl-stage-outer {
  padding: 8px 0 24px;
}

.testimonial-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 44px 32px;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(37, 99, 235, 0.06);
  text-align: left;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 28px;
  font-size: 72px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #f59e0b;
}

.testimonial-quote {
  margin: 0 0 28px;
  padding: 0;
  border: none;
}

.testimonial-quote p {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: #334155;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid #e8ecf1;
  background: transparent;
}

.testimonial-author strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--incognito-heading);
  letter-spacing: 0.02em;
}

.testimonial-author span {
  font-size: 14px;
  color: #64748b;
  letter-spacing: 0.03em;
}

.testimonials-section .owl-dots {
  margin-top: 12px;
  text-align: center;
}

.testimonials-section .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 4px 6px;
  background: rgba(37, 99, 235, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-section .owl-dots .owl-dot.active span,
.testimonials-section .owl-dots .owl-dot:hover span {
  background: var(--incognito-accent);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .testimonials-section.user-slider {
    padding: 56px 0 72px;
  }

  .testimonials-header {
    margin-bottom: 32px;
  }

  .testimonial-card {
    padding: 32px 28px 24px;
  }

  .testimonial-card::before {
    font-size: 56px;
    left: 20px;
  }

  .testimonial-quote p {
    font-size: 17px;
    line-height: 1.65;
  }
}

/* Neutral light header on all breakpoints (override legacy blue mobile styles) */
header.main,
header.active,
header.transparent,
header.transparent.active {
  background-color: var(--incognito-bg) !important;
}

@media (max-width: 991px) {
  header.main,
  header,
  header.transparent {
    background-color: var(--incognito-bg) !important;
    min-height: auto;
  }

  header .button-header .custom-btn.login {
    color: var(--incognito-text) !important;
  }
}
