/* Standalone Pricing Page Component Styles */

.hero {
  position: relative;
  overflow: hidden;
  background: #07142B;
  color: #fff;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/pricing-hero-network.svg') center/cover no-repeat;
  opacity: 0.9;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(180deg, rgba(7,20,43,0), #fff);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 116px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(34,211,238,.35);
  background: rgba(34,211,238,.08);
  color: #A5F3FC;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #ffffff;
}
.hero p {
  margin: 0;
  color: #D6E8FF;
  font-size: clamp(18px, 2vw, 22px);
  max-width: 680px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 32px;
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mini-metric {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 18px;
}
.mini-metric span {
  display: block;
  color: #A5F3FC;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mini-metric strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-top: 8px;
}
.hero-card .wide {
  grid-column: 1 / -1;
}

/* Billing Strip */
.billing-strip {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}
.billing-box {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(8, 33, 71, .16);
  border-radius: 26px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.billing-title strong {
  display: block;
  font-size: 20px;
  color: #09224A;
}
.billing-title span {
  color: var(--muted);
  font-size: 14px;
}
.toggle {
  display: flex;
  align-items: center;
  background: #EEF5FC;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
}
.toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  color: #45617E;
  cursor: pointer;
  transition: 0.2s ease;
}
.toggle button.active {
  background: #07142B;
  color: #fff;
  box-shadow: 0 8px 22px rgba(7,20,43,.18);
}
.save-pill {
  background: #E9FBEF;
  color: #08793F;
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}

/* Plans Grid */
.section {
  padding: 78px 0;
}
.section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 42px;
}
.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #09224A;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(8, 33, 71, .10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 33, 71, .16);
}
.plan.featured {
  border: 2px solid #19B9E6;
  box-shadow: 0 28px 80px rgba(15,131,216,.20);
  transform: translateY(-10px);
}
.plan.featured:hover {
  transform: translateY(-14px);
}
.plan-header {
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line);
  min-height: 186px;
}
.plan-top {
  margin: -26px -26px 22px;
  padding: 15px 26px;
  background: linear-gradient(135deg, #0FB5E5, #0877CC);
  color: #fff;
  font-weight: 950;
  text-align: center;
  font-size: 18px;
}
.plan-basic .plan-top {
  background: #CFE0F1;
  color: #0A355F;
}
.plan-plus .plan-top {
  background: linear-gradient(135deg, #0877CC, #0755B4);
  color: #fff;
}
.includes {
  font-style: italic;
  color: #5C7088;
  font-size: 14px;
  text-align: center;
  margin-bottom: 16px;
}
.plan .badge {
  position: absolute;
  right: 20px;
  top: 18px;
  background: #E9FBEF;
  color: #08793F;
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  padding: 7px 10px;
}
.plan h3 {
  margin: 0;
  font-size: 25px;
  color: #09224A;
}
.plan-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.features {
  list-style: none;
  margin: 0;
  padding: 22px 26px 8px;
  display: grid;
  gap: 11px;
}
.features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #23364D;
  font-size: 14px;
}
.check {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #064F2C;
  background: #DCFCE7;
  font-size: 12px;
  font-weight: 950;
  margin-top: 2px;
}
.plan-plus .check, .featured .check {
  background: #E0F2FE;
  color: #075985;
}
.retention {
  margin: 16px 26px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #BCD6EF;
  background: #F8FBFF;
  color: #24547C;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}
.controls {
  padding: 14px 26px 0;
  display: grid;
  gap: 16px;
}
.control label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0A355F;
  font-weight: 850;
  font-size: 14px;
  margin-bottom: 8px;
}
.info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #9FC4E7;
  color: #0F83D8;
  font-size: 11px;
}
.select {
  width: 100%;
  border: 1px solid #AFCBE8;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: #07142B;
  font-weight: 750;
  font-family: inherit;
  font-size: 14px;
}
.select:disabled {
  background: #F3F8FC;
  color: #64748B;
}
.price-wrap {
  margin-top: auto;
  padding: 22px 26px 28px;
  text-align: center;
}
.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  color: #074B87;
  font-weight: 950;
  letter-spacing: -0.04em;
}
.currency {
  font-size: 26px;
  margin-top: 13px;
}
.amount {
  font-size: 58px;
  line-height: 1;
}
.period {
  margin-top: 8px;
  color: #587089;
  font-size: 14px;
}
.annual-note {
  min-height: 22px;
  color: #08793F;
  font-style: italic;
  font-size: 13px;
  margin: 8px 0 18px;
}
.plan .btn {
  width: 100%;
}
.below-note {
  text-align: center;
  color: #516A84;
  margin: 30px auto 0;
  max-width: 760px;
  font-size: 15px;
}
.below-note strong {
  color: #07142B;
}

/* Comparison Table */
.comparison {
  background: linear-gradient(180deg, #F5F9FD, #FFFFFF);
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(8, 33, 71, .10);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
th, td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
th {
  background: #F1F7FD;
  color: #0A355F;
  font-size: 14px;
}
td {
  color: #30475F;
  font-size: 14px;
}
.yes {
  color: #059669;
  font-weight: 950;
}
.no {
  color: #94A3B8;
}
.table-section td {
  font-weight: 950;
  color: #09224A;
  background: #FAFCFF;
}

/* Proof Section */
.proof {
  padding: 76px 0;
  background: #07142B;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.proof:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/pricing-hero-network.svg') center/cover no-repeat;
  opacity: 0.42;
}
.proof .container {
  position: relative;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.proof-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  padding: 24px;
}
.proof-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}
.proof-card p {
  margin: 0;
  color: #D6E8FF;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(8,33,71,.06);
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #09224A;
}
.faq-item p {
  margin: 0;
  color: #5B7188;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, #0A2C5C, #07142B);
  color: #fff;
  border-radius: 34px;
  padding: 54px 28px;
  box-shadow: 0 24px 70px rgba(8, 33, 71, .16);
}
.final-cta h2 {
  margin: 0 0 12px;
  font-size: 42px;
  letter-spacing: -0.04em;
}
.final-cta p {
  margin: 0 auto 26px;
  max-width: 690px;
  color: #D6E8FF;
}

/* Responsive Styles */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 66px 0 100px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .plan.featured {
    transform: none;
  }
  .billing-box {
    align-items: flex-start;
    flex-direction: column;
  }
  .proof-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero-card-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .billing-box {
    padding: 18px;
  }
  .toggle {
    width: 100%;
    justify-content: space-between;
  }
  .toggle button {
    flex: 1;
  }
  .section {
    padding: 56px 0;
  }
  .plan-header, .features, .controls, .price-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .retention {
    margin-left: 20px;
    margin-right: 20px;
  }
  .final-cta h2 {
    font-size: 32px;
  }
}
