/* ── BSD ONE SECURITY — Packages Page CSS ───────────────────── */

/* ──────────────────────────────────────────────────────────── */
/* PAGE HERO                                                     */
/* ──────────────────────────────────────────────────────────── */
.packages-hero {
  position: relative;
  padding: 150px 0 80px;
  background: var(--black);
  overflow: hidden;
}

.packages-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.packages-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 80%);
}

.packages-hero-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(192,32,42,0.13) 0%, transparent 65%);
}

.packages-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  text-align: center;
  color: var(--white);
}

.packages-hero h1 span { color: var(--red); }

.packages-hero-sub {
  text-align: center;
  font-size: 1.05rem;
  color: var(--grey-300);
  max-width: 560px;
  margin: 20px auto 0;
  font-weight: 300;
  line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────── */
/* COMPARISON PRICING BAR                                        */
/* ──────────────────────────────────────────────────────────── */
.pricing-bar {
  background: var(--black-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  backdrop-filter: blur(16px);
}

.pricing-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.pb-item:hover,
.pb-item.active {
  background: rgba(192,32,42,0.1);
  border-color: var(--red);
}

.pb-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-300);
}

.pb-price {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--red);
}

.pb-sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.08);
}

/* ──────────────────────────────────────────────────────────── */
/* PACKAGE SECTIONS                                              */
/* ──────────────────────────────────────────────────────────── */
.pkg-section {
  padding: 80px 0;
  position: relative;
  scroll-margin-top: 130px;
}

.pkg-section:nth-child(odd) {
  background: var(--black);
}

.pkg-section:nth-child(even) {
  background: var(--black-soft);
}

.pkg-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,32,42,0.3), transparent);
}

/* Full-width package detail card */
.pkg-detail-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.pkg-detail-card.featured-pkg {
  border-color: var(--red);
  box-shadow: 0 0 60px rgba(192,32,42,0.15);
}

.pkg-detail-header {
  padding: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.pkg-detail-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(192,32,42,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.pkg-detail-watermark {
  position: absolute;
  bottom: -20px; right: 20px;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pkg-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(192,32,42,0.12);
  border: 1px solid rgba(192,32,42,0.25);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.pkg-detail-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.9;
  color: var(--white);
}

.pkg-detail-tagline {
  font-size: 1rem;
  color: var(--grey-300);
  margin-top: 10px;
  font-weight: 300;
  font-style: italic;
}

.pkg-detail-price {
  margin-top: 28px;
}

.pkg-detail-price .from {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500);
  display: block;
  margin-bottom: 2px;
}

.pkg-detail-price .amount {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  color: var(--red);
  line-height: 1;
}

.pkg-detail-body {
  padding: 48px;
}

/* Feature columns */
.pkg-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

@media (max-width: 575px) {
  .pkg-features-grid { grid-template-columns: 1fr; }
}

.pkg-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
  color: var(--grey-300);
  line-height: 1.4;
  transition: var(--transition);
}

.pkg-feat-item:hover {
  background: rgba(192,32,42,0.06);
  border-color: rgba(192,32,42,0.15);
}

.pkg-feat-item i {
  color: var(--red);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Addons box */
.pkg-addons-box {
  background: rgba(192,32,42,0.06);
  border: 1px solid rgba(192,32,42,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.pkg-addons-box-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pkg-addons-box p {
  font-size: 0.875rem;
  color: var(--grey-300);
  margin: 0;
  line-height: 1.6;
}

/* Guarantee strip inside card */
.pkg-guarantee-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.pkg-guarantee-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-300);
}

.pkg-guarantee-item i { color: var(--red); }

/* Visual cam display */
.pkg-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.pkg-cam-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.pkg-cam-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192,32,42,0.15);
  animation: float 6s ease-in-out infinite;
}

.pkg-cam-ring-1 { width: 240px; height: 240px; }
.pkg-cam-ring-2 { width: 320px; height: 320px; border-color: rgba(192,32,42,0.08); animation-duration: 8s; animation-direction: reverse; }

.pkg-cam-icon {
  position: relative;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.pkg-cam-icon i {
  font-size: 6rem;
  color: rgba(192,32,42,0.4);
}

/* Spec chips */
.pkg-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pkg-spec-chip {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-300);
}

.pkg-spec-chip i { color: var(--red); font-size: 0.8rem; }

/* ──────────────────────────────────────────────────────────── */
/* COMPARISON TABLE                                              */
/* ──────────────────────────────────────────────────────────── */
.comparison-section {
  background: var(--black-mid);
  padding: 80px 0;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th {
  background: var(--black-card);
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 2px solid var(--red);
}

.compare-table th:first-child { color: var(--grey-500); }

.compare-table th.featured-col {
  background: rgba(192,32,42,0.12);
  color: var(--red);
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
  color: var(--grey-300);
  vertical-align: middle;
}

.compare-table td:first-child {
  color: var(--grey-500);
  font-weight: 500;
}

.compare-table td.featured-col {
  background: rgba(192,32,42,0.04);
}

.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table tr:hover td.featured-col { background: rgba(192,32,42,0.07); }

.compare-table .check { color: var(--red); font-size: 1rem; }
.compare-table .cross { color: var(--grey-700); font-size: 0.8rem; }

.compare-table tfoot td {
  background: var(--black-card);
  padding: 20px 24px;
  border: none;
}

/* ──────────────────────────────────────────────────────────── */
/* FAQ SECTION                                                   */
/* ──────────────────────────────────────────────────────────── */
.faq-section {
  background: var(--black);
  padding: 80px 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-q-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}

.faq-question:hover .faq-q-text { color: var(--red); }

.faq-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-300);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 0.9rem;
  color: var(--grey-500);
  line-height: 1.8;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ──────────────────────────────────────────────────────────── */
/* PACKAGES CTA                                                  */
/* ──────────────────────────────────────────────────────────── */
.packages-cta {
  background: var(--black-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0;
  text-align: center;
}

.packages-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
}

.packages-cta h2 span { color: var(--red); }

@media (max-width: 991px) {
  .pkg-detail-header { padding: 32px; }
  .pkg-detail-body   { padding: 32px; }
  .pricing-bar { position: static; }
}

@media (max-width: 767px) {
  .pkg-detail-header { padding: 24px; }
  .pkg-detail-body   { padding: 24px; }
}
