/* ================================
   VYXXEL TECH SHIELD — shield.css
   ================================ */

/* HERO */
.shield-hero {
  padding: 72px 20px 56px;
  background: var(--card);
  text-align: center;
}

.shield-hero h1 {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.shield-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* STATS BAR */
.shield-stats {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 8px 40px;
}

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--purple);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* PLANS SECTION */
.shield-plans {
  padding-top: 72px;
  padding-bottom: 72px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* PLAN CARD */
.plan-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.plan-card:hover {
  border-color: var(--purple);
  box-shadow: 0 20px 48px rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
}

/* FEATURED PLAN */
.plan-featured {
  background: linear-gradient(145deg, var(--purple), #5b21b6);
  border-color: transparent !important;
  color: white;
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(124, 58, 237, 0.35);
}

.plan-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(124, 58, 237, 0.45);
}

.plan-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* PLAN HEADER */
.plan-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-featured .plan-header {
  border-bottom-color: rgba(255,255,255,0.2);
}

.plan-tier {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.plan-period {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.plan-featured .plan-period {
  color: rgba(255,255,255,0.7);
}

.plan-annual {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.plan-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* FEATURES LIST */
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.plan-features-white li {
  color: rgba(255, 255, 255, 0.92);
}

.feat-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.feat-check-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* CTA BUTTONS */
.shield-cta-outline {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--purple);
  border-radius: 999px;
  color: var(--purple);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.shield-cta-outline:hover {
  background: var(--purple);
  color: white;
}

.shield-cta-white {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 2px solid white;
  border-radius: 999px;
  color: var(--purple);
  background: white;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.shield-cta-white:hover {
  background: rgba(255,255,255,0.85);
}

/* VS TABLE */
.shield-vs {
  padding: 72px 20px;
  background: var(--card);
}

/* COMPETITOR TABS */
.vs-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.vs-tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vs-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.vs-tab.active {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.vs-neutral {
  color: #d97706;
  font-weight: 500;
}

/* TESTIMONIALS */
.shield-testimonials {
  padding: 72px 20px;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.testimonial-card:hover {
  border-color: var(--purple);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
  transform: translateY(-3px);
}

.testimonial-featured {
  background: linear-gradient(145deg, var(--purple), #5b21b6);
  border-color: transparent !important;
  color: white;
}

.testimonial-featured:hover {
  box-shadow: 0 24px 56px rgba(124, 58, 237, 0.35);
}

.testi-stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.testimonial-featured .testi-stars {
  color: #fde68a;
}

.testi-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
  font-style: italic;
}

.testimonial-featured .testi-quote {
  color: rgba(255, 255, 255, 0.88);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-featured .testi-author {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testi-avatar-white {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.testi-author span {
  font-size: 12px;
  color: var(--muted);
}

.testimonial-featured .testi-author strong { color: white; }
.testimonial-featured .testi-author span { color: rgba(255,255,255,0.65); }

/* TRUST BAR */
.testi-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px 40px;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
}

.trust-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.trust-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.trust-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: 40px;
  }
  .testi-trust-bar {
    gap: 24px;
    padding: 24px 20px;
  }
  .trust-item { padding: 0 24px; }
  .trust-divider { display: none; }
}

.vs-table-wrap {
  overflow-x: auto;
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vs-table th {
  padding: 14px 20px;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vs-vyxxel-col {
  color: var(--purple) !important;
}

.vs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.vs-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.vs-table tr:last-child td {
  border-bottom: none;
}

.vs-table tr:hover td {
  background: color-mix(in srgb, var(--purple) 4%, transparent);
}

.vs-check {
  color: #16a34a;
  font-weight: 600;
}

.vs-cross {
  color: #dc2626;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .plan-featured {
    transform: none;
  }

  .plan-featured:hover {
    transform: translateY(-4px);
  }

  .stats-row {
    gap: 0;
  }

  .stat-item {
    padding: 12px 20px;
  }

  .stat-divider {
    display: none;
  }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .shield-hero h1 {
    font-size: 32px;
  }
}

/* Dark mode tweaks */
:root[data-theme="dark"] .plan-popular-tag {
  background: #1a1a2e;
  color: #a855f7;
}

:root[data-theme="dark"] .vs-check {
  color: #4ade80;
}

:root[data-theme="dark"] .vs-cross {
  color: #f87171;
}
