/* ========================================
   SecurePickr - security.org Inspired Design
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&display=swap');

:root {
  --sp-primary: #222eed;
  --sp-primary-dark: #1a24c4;
  --sp-hero-bg: #070b48;
  --sp-hero-gradient: linear-gradient(135deg, #070b48 0%, #0f1480 50%, #1a24c4 100%);
  --sp-dark: #0e1824;
  --sp-body: #f5f6fa;
  --sp-card-bg: #ffffff;
  --sp-text: #2d3748;
  --sp-text-light: #718096;
  --sp-border: #e2e8f0;
  --sp-green: #00f5b0;
  --sp-green-dark: #00c992;
  --sp-accent: #9191f8;
  --sp-star: #f59e0b;
  --sp-pro: #38a169;
  --sp-con: #e53e3e;
  --sp-radius: 12px;
  --sp-shadow: 0 4px 24px rgba(7, 11, 72, 0.08);
  --sp-shadow-hover: 0 8px 40px rgba(7, 11, 72, 0.15);
  --font-primary: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Base --- */
.single-post .entry-content {
  font-family: var(--font-primary);
  color: var(--sp-text);
  line-height: 1.7;
  font-size: 16px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.sp-hero {
  background: var(--sp-hero-gradient);
  padding: 60px 24px;
  margin: -32px -24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(145, 145, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.sp-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 245, 176, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.sp-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sp-hero h1 {
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.sp-hero .sp-subtitle {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.sp-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.sp-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-hero-meta .sp-updated {
  color: var(--sp-green);
  font-weight: 600;
}

/* ========================================
   HUMANS WRITTEN BAR
   ======================================== */
.sp-humans {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 20px;
  margin: -16px 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #166534;
}
.sp-humans::before {
  content: '\270F';
  font-size: 16px;
}
.sp-humans a {
  color: var(--sp-primary);
  text-decoration: underline;
  font-weight: 600;
}

/* ========================================
   TRUST METRICS
   ======================================== */
.sp-trust {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--sp-shadow);
}
.sp-trust-header {
  font-weight: 700;
  font-size: 16px;
  color: var(--sp-dark);
  margin-bottom: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-trust-header::after {
  content: '\25BC';
  font-size: 12px;
  color: var(--sp-text-light);
  transition: transform 0.2s;
}
.sp-trust-header.active::after {
  transform: rotate(180deg);
}
.sp-trust-text {
  font-size: 14px;
  color: var(--sp-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.sp-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.sp-trust-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--sp-body);
  border-radius: 8px;
}
.sp-trust-stat .sp-stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-primary);
  line-height: 1.1;
}
.sp-trust-stat .sp-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--sp-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ========================================
   PRODUCT PICK CARDS
   ======================================== */
.sp-picks-section {
  margin-bottom: 40px;
}
.sp-picks-section h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 24px;
  text-align: center;
}
.sp-pick-card {
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.sp-pick-card:hover {
  box-shadow: var(--sp-shadow-hover);
}
.sp-pick-card.featured {
  border-color: var(--sp-primary);
  border-width: 2px;
  position: relative;
}
.sp-pick-card.featured::before {
  content: 'TOP PICK';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sp-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}
.sp-pick-label {
  background: var(--sp-hero-bg);
  color: #ffffff;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-pick-label .sp-pick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--sp-green);
  color: var(--sp-dark);
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  margin-right: 10px;
}
.sp-pick-label .sp-pick-name {
  font-weight: 400;
  opacity: 0.8;
  font-size: 13px;
}
.sp-pick-body {
  padding: 24px;
}
.sp-pick-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.sp-pick-logo {
  flex: 0 0 160px;
  max-width: 160px;
}
.sp-pick-logo img {
  max-width: 100%;
  height: auto;
}
.sp-pick-rating {
  text-align: center;
}
.sp-pick-rating .sp-rating-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-text-light);
  margin-bottom: 4px;
}
.sp-pick-rating .sp-rating-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sp-hero-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.sp-pick-rating .sp-rating-circle .sp-score {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.sp-pick-rating .sp-rating-circle .sp-out-of {
  font-size: 10px;
  opacity: 0.8;
}
.sp-pick-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text);
  margin-bottom: 20px;
}
.sp-pick-desc strong {
  color: var(--sp-dark);
}
.sp-pick-features {
  margin-bottom: 20px;
}
.sp-pick-features h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-pick-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sp-pick-features ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 14px;
  color: var(--sp-text);
  line-height: 1.5;
}
.sp-pick-features ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--sp-green-dark);
  font-weight: 700;
  font-size: 14px;
}

/* --- Pricing Table --- */
.sp-pricing {
  margin-bottom: 20px;
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  overflow: hidden;
}
.sp-pricing table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sp-pricing th {
  background: var(--sp-hero-bg);
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-pricing td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--sp-border);
  color: var(--sp-text);
}
.sp-pricing tr:nth-child(even) td {
  background: #f8f9fb;
}
.sp-pricing tr:last-child td {
  border-bottom: none;
}

/* --- Pros & Cons --- */
.sp-proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.sp-pros, .sp-cons {
  padding: 16px;
  border-radius: 8px;
}
.sp-pros {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.sp-cons {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.sp-pros h4, .sp-cons h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-pros h4 { color: var(--sp-pro); }
.sp-cons h4 { color: var(--sp-con); }
.sp-pros ul, .sp-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-pros ul li, .sp-cons ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}
.sp-pros ul li::before {
  content: '+';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--sp-pro);
}
.sp-cons ul li::before {
  content: '\2212';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--sp-con);
}

/* --- CTA Button --- */
.sp-cta {
  display: inline-flex;
  align-items: center;
  background: var(--sp-primary);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(34, 46, 237, 0.3);
  letter-spacing: 0.01em;
}
.sp-cta:hover {
  background: var(--sp-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 46, 237, 0.4);
}
.sp-cta:visited {
  color: #fff;
}
.sp-cta-wrap {
  text-align: center;
  margin: 20px 0 8px;
}
.sp-cta-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--sp-text-light);
  margin-bottom: 8px;
}

/* ========================================
   COMPARISON TABLE (Full Width)
   ======================================== */
.sp-compare {
  margin-bottom: 40px;
  overflow-x: auto;
}
.sp-compare h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 20px;
  text-align: center;
}
.sp-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  overflow: hidden;
}
.sp-compare th {
  background: var(--sp-hero-bg);
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}
.sp-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sp-border);
  color: var(--sp-text);
  vertical-align: top;
}
.sp-compare tr:nth-child(even) td {
  background: #f8f9fb;
}
.sp-compare tr:last-child td {
  border-bottom: none;
}
.sp-compare .sp-yes {
  color: var(--sp-pro);
  font-weight: 700;
}
.sp-compare .sp-no {
  color: var(--sp-con);
}

/* ========================================
   SECTION HEADINGS
   ======================================== */
.sp-section {
  margin-bottom: 40px;
}
.sp-section h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--sp-primary);
}
.sp-section h3 {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: var(--sp-dark);
  margin-bottom: 12px;
}
.sp-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--sp-text);
  margin-bottom: 16px;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.sp-faq {
  margin-bottom: 40px;
}
.sp-faq h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 24px;
  text-align: center;
}
.sp-faq-item {
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.sp-faq-q {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--sp-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fb;
  transition: background 0.2s;
}
.sp-faq-q:hover {
  background: #eef0f5;
}
.sp-faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--sp-primary);
  font-weight: 700;
  transition: transform 0.2s;
}
.sp-faq-q.active::after {
  content: '\2212';
}
.sp-faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text-light);
}
.sp-faq-a.open {
  padding: 16px 20px;
  max-height: 500px;
}

/* ========================================
   FINAL VERDICT
   ======================================== */
.sp-verdict {
  background: var(--sp-hero-gradient);
  border-radius: var(--sp-radius);
  padding: 40px;
  color: #ffffff;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-verdict::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 245, 176, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.sp-verdict h2 {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.sp-verdict p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

/* ========================================
   HOW TO CHOOSE / GUIDE SECTIONS
   ======================================== */
.sp-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.sp-guide-card {
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--sp-shadow);
}
.sp-guide-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-dark);
  margin-bottom: 8px;
}
.sp-guide-card h4 .sp-guide-icon {
  color: var(--sp-primary);
  margin-right: 6px;
}
.sp-guide-card p {
  font-size: 14px;
  color: var(--sp-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   CALLOUT BOX
   ======================================== */
.sp-callout {
  background: #eef2ff;
  border-left: 4px solid var(--sp-primary);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.sp-callout p {
  font-size: 15px;
  color: var(--sp-dark);
  margin: 0;
  line-height: 1.7;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .sp-hero {
    padding: 40px 16px;
    margin: -24px -16px 32px;
  }
  .sp-hero h1 {
    font-size: 26px;
  }
  .sp-hero .sp-subtitle {
    font-size: 16px;
  }
  .sp-pick-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sp-pick-logo {
    flex: none;
    max-width: 120px;
  }
  .sp-pick-features ul {
    grid-template-columns: 1fr;
  }
  .sp-proscons {
    grid-template-columns: 1fr;
  }
  .sp-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-guide-grid {
    grid-template-columns: 1fr;
  }
  .sp-pick-label {
    flex-direction: column;
    align-items: flex-start;
  }
  .sp-verdict {
    padding: 24px 16px;
  }
  .sp-pick-card.featured::before {
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 3px 10px;
  }
}

@media (max-width: 480px) {
  .sp-pick-rating .sp-rating-circle {
    width: 60px;
    height: 60px;
  }
  .sp-pick-rating .sp-rating-circle .sp-score {
    font-size: 20px;
  }
  .sp-trust-stat .sp-stat-number {
    font-size: 22px;
  }
  .sp-pricing table,
  .sp-compare table {
    font-size: 12px;
  }
  .sp-pricing th,
  .sp-pricing td,
  .sp-compare th,
  .sp-compare td {
    padding: 8px 10px;
  }
}
