:root {
  --bg: #041428;
  --bg-elevated: #0a1f3d;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(208, 240, 237, 0.12);
  --text: #f4f8fc;
  --text-muted: rgba(208, 240, 237, 0.72);
  --brand: #176f9f;
  --brand-bright: #34c0d3;
  --brand-deep: #004181;
  --silver: #d0f0ed;
  --success: #3dd68c;
  --font: "Outfit", system-ui, sans-serif;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pricing-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(23, 111, 159, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(52, 192, 211, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.pricing-page a {
  color: inherit;
}

.pricing-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.pricing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(4, 20, 40, 0.7);
  border-bottom: 1px solid transparent;
}

.pricing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.pricing-logo img {
  height: 42px;
  display: block;
}

.pricing-nav-cta {
  color: var(--silver);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.pricing-nav-cta:hover {
  opacity: 1;
}

.pricing-hero {
  padding: 72px 0 36px;
  text-align: center;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(52, 192, 211, 0.12);
  border: 1px solid rgba(52, 192, 211, 0.28);
  color: var(--brand-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pricing-hero h1 {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

.pricing-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.2fr;
  gap: 0;
  margin: 40px auto 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.pricing-card-cta {
  position: relative;
  padding: 40px 36px;
  background:
    linear-gradient(160deg, rgba(0, 65, 129, 0.95), rgba(23, 111, 159, 0.85) 55%, rgba(52, 192, 211, 0.55)),
    url("../images/icons/Circel-BG.svg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.pricing-card-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 40, 0.25));
  pointer-events: none;
}

.pricing-card-cta > * {
  position: relative;
  z-index: 1;
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  margin: 28px 0 8px;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

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

.plan-price .now {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-price .period {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.plan-price-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-price-note s {
  opacity: 0.7;
}

.buy-button {
  appearance: none;
  border: 0;
  margin-top: 28px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  color: var(--brand-deep);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.buy-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--silver);
}

.buy-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.buy-footnote {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.pricing-card-details {
  padding: 36px 40px;
  background: rgba(10, 31, 61, 0.65);
}

.details-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.plan-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  gap: 2px;
}

.plan-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.plan-tab.is-active {
  background: rgba(52, 192, 211, 0.18);
  color: #fff;
}

.plan-tab:hover:not(.is-active) {
  color: #fff;
}

.popular-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(52, 192, 211, 0.16);
  color: var(--brand-bright);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.popular-pill[hidden] {
  display: none;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(52, 192, 211, 0.16);
  color: var(--brand-bright);
  flex-shrink: 0;
}

.feature-list strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  margin-bottom: 2px;
}

.feature-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.section-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.compare {
  margin-bottom: 88px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.compare-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 650;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3),
.compare-table th:nth-child(2),
.compare-table th:nth-child(3) {
  text-align: center;
  width: 120px;
}

.yes {
  color: var(--success);
  font-weight: 700;
}

.no {
  color: rgba(208, 240, 237, 0.35);
}

.faq {
  margin-bottom: 96px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.pricing-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pricing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.pricing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.pricing-footer a {
  text-decoration: none;
  opacity: 0.85;
}

.pricing-footer a:hover {
  opacity: 1;
  color: #fff;
}

.legal-note {
  margin-top: 18px;
  max-width: 820px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(208, 240, 237, 0.55);
}

@media (max-width: 860px) {
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-card-cta {
    min-height: auto;
  }

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

  .compare-table th,
  .compare-table td {
    padding: 14px 12px;
    font-size: 0.9rem;
  }

  .compare-table td:nth-child(2),
  .compare-table td:nth-child(3),
  .compare-table th:nth-child(2),
  .compare-table th:nth-child(3) {
    width: 72px;
  }
}

@media (max-width: 560px) {
  .pricing-shell {
    width: calc(100% - 28px);
  }

  .pricing-hero {
    padding-top: 48px;
  }

  .plan-name {
    font-size: 2.4rem;
  }

  .plan-price .now {
    font-size: 2rem;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade-up {
  animation: fade-up 0.7s ease both;
}

.anim-delay-1 {
  animation-delay: 0.08s;
}

.anim-delay-2 {
  animation-delay: 0.16s;
}
