/* =====================================================
   Pricing — page styles
   Shared tokens, base, navbar and footer live in css/shared.css
   ===================================================== */

/* Page-local aliases mapped to the shared design tokens */

:root {
  --blue: var(--primary);
  --blue-dark: var(--primary-dark);
  --purple: var(--accent);
  --violet: var(--accent);
  --black: #15171d;
  --black-soft: #252832;
  --ink: var(--dark);
  --ink-soft: #383b48;
  --muted-light: var(--muted-2);
  --primary-2: var(--primary);
  --shadow: var(--shadow-md);
}

/* ---------------------------------
       Hero
    --------------------------------- */
.hero {
  padding: 85px 0 55px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(
          circle,
          rgba(22,139,244,.13),
          transparent 68%
  );
  left: -150px;
  top: -180px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
          circle,
          rgba(102,87,232,.10),
          transparent 68%
  );
  right: -130px;
  bottom: -200px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
  min-height: 510px;
}

.hero-content {
  max-width: 600px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  margin-bottom: 22px;
  border: 1px solid #dde6f1;
  border-radius: 50px;
  color: #5d6473;
  background: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pill-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(38,189,131,.11);
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -1.7px;
}

.hero h1 span {
  position: relative;
  background: linear-gradient(
          135deg,
          var(--blue),
          var(--violet)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -5px;
  height: 6px;
  border-radius: 20px;
  background: rgba(102,87,232,.13);
}

.hero p {
  max-width: 590px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-btn {
  min-height: 49px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 800;
  transition: .25s ease;
}

.hero-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #287ee2);
  box-shadow: 0 10px 25px rgba(22,139,244,.20);
}

.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(22,139,244,.25);
}

.hero-btn.secondary {
  color: #525866;
  background: rgba(255,255,255,.82);
  border: 1px solid #e1e6ee;
}

.hero-btn.secondary:hover {
  transform: translateY(-2px);
  border-color: #d6dde7;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777d89;
  font-size: 10px;
  font-weight: 600;
}

.hero-check {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #21aa76;
  background: #e9faf2;
  font-size: 10px;
  font-weight: 900;
}

/* ---------------------------------
       Hero Visual
    --------------------------------- */
.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background:
          radial-gradient(
                  circle,
                  rgba(22,139,244,.12),
                  rgba(102,87,232,.06) 40%,
                  transparent 70%
          );
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(22,139,244,.11);
  border-radius: 50%;
}

.hero-ring.r1 {
  width: 420px;
  height: 420px;
}

.hero-ring.r2 {
  width: 330px;
  height: 330px;
  border-color: rgba(102,87,232,.12);
}

.hero-ring.r3 {
  width: 250px;
  height: 250px;
  border-color: rgba(22,139,244,.09);
}

.pricing-dashboard {
  position: relative;
  z-index: 3;
  width: min(465px, 100%);
  padding: 23px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 25px;
  background: rgba(255,255,255,.93);
  box-shadow:
          0 35px 90px rgba(31,45,88,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: rotate(-2deg);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dashboard-title {
  color: #252833;
  font-size: 14px;
  font-weight: 900;
}

.dashboard-status {
  padding: 6px 10px;
  border-radius: 20px;
  color: #1fa874;
  background: #eafaf2;
  font-size: 8px;
  font-weight: 800;
}

.dashboard-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: #f2f5f8;
}

.dashboard-tab {
  flex: 1;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #9297a2;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-tab.active {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 5px 15px rgba(25,38,70,.07);
}

.dashboard-plans {
  display: grid;
  gap: 10px;
}

.dashboard-plan {
  padding: 14px;
  border: 1px solid #e9edf2;
  border-radius: 16px;
  background: #fff;
}

.dashboard-plan.active {
  border-color: rgba(22,139,244,.33);
  box-shadow: 0 12px 27px rgba(22,139,244,.08);
}

.dashboard-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.dashboard-plan-name {
  color: #292c36;
  font-size: 11px;
  font-weight: 900;
}

.dashboard-plan-price {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
}

.dashboard-plan-sub {
  color: #969aa5;
  font-size: 8px;
  margin-bottom: 9px;
}

.dashboard-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 20px;
  background: #edf1f5;
}

.dashboard-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
          90deg,
          var(--blue),
          var(--violet)
  );
}

.dashboard-bottom {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dashboard-stat {
  padding: 11px 9px;
  border-radius: 13px;
  background: #f8fafc;
}

.dashboard-stat-label {
  margin-bottom: 3px;
  color: #9a9eaa;
  font-size: 7px;
}

.dashboard-stat-value {
  color: #323641;
  font-size: 13px;
  font-weight: 900;
}

.floating-card {
  position: absolute;
  z-index: 5;
  padding: 14px 15px;
  border: 1px solid rgba(226,231,238,.95);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.floating-card.one {
  left: 0;
  bottom: 70px;
  width: 155px;
  animation: floatOne 4.5s ease-in-out infinite;
}

.floating-card.two {
  right: 0;
  top: 73px;
  width: 150px;
  animation: floatTwo 5s ease-in-out infinite;
}

.floating-label {
  margin-bottom: 5px;
  color: #979ba6;
  font-size: 7px;
  font-weight: 700;
}

.floating-value {
  color: #232630;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
}

.floating-value.blue {
  color: var(--blue-dark);
}

.floating-meta {
  margin-top: 4px;
  color: #21a874;
  font-size: 7px;
  font-weight: 800;
}

@keyframes floatOne {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes floatTwo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---------------------------------
       Deployment Switch
    --------------------------------- */
.switch-section {
  padding: 20px 0 42px;
}

.switch-box {
  width: fit-content;
  margin: 0 auto;
  padding: 7px;
  display: flex;
  gap: 5px;
  border: 1px solid #dde4ee;
  border-radius: 17px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}

.switch-btn {
  min-width: 185px;
  height: 49px;
  padding: 0 24px;
  border-radius: 12px;
  background: transparent;
  color: #767b88;
  font-size: 13px;
  font-weight: 800;
  transition: .3s ease;
}

.switch-btn.active {
  color: white;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--violet)
          );
  box-shadow:
          0 10px 25px rgba(71,94,225,.22);
}

/* ---------------------------------
       Pricing Wrapper
    --------------------------------- */
.pricing-area {
  padding: 24px 0 115px;
}

.pricing-group {
  display: none;
}

.pricing-group.active {
  display: block;
  animation: groupIn .45s ease;
}

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

.group-heading {
  margin-bottom: 42px;
  text-align: center;
}

.group-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: white;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--violet)
          );
  font-size: 25px;
  box-shadow:
          0 16px 35px rgba(70,91,226,.20);
}

.group-heading h2 {
  margin-bottom: 6px;
  color: #252733;
  font-size: 28px;
  font-weight: 900;
}

.group-heading p {
  color: var(--muted-light);
  font-size: 12px;
}

/* ---------------------------------
       Plan Cards
    --------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 680px;
  padding: 31px;
  border: 1px solid #e3e8ef;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
  transition:
          transform .3s ease,
          box-shadow .3s ease,
          border-color .3s ease;
}

.plan:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: #d6dfea;
}

.plan.featured {
  border: 2px solid #4b8ff2;
  box-shadow:
          0 25px 80px rgba(36,121,234,.13),
          0 0 0 6px rgba(36,121,234,.025);
}

.featured-label {
  position: absolute;
  top: -15px;
  right: 28px;
  padding: 7px 13px;
  border-radius: 50px;
  color: white;
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  var(--violet)
          );
  font-size: 8px;
  font-weight: 900;
  box-shadow:
          0 9px 22px rgba(65,87,220,.22);
}

.plan-head {
  padding-bottom: 23px;
  border-bottom: 1px solid #edf0f4;
}

.plan-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.plan-title h3 {
  color: #242630;
  font-size: 21px;
  font-weight: 900;
}

.plan-tag {
  padding: 5px 8px;
  border-radius: 20px;
  color: #5e58ce;
  background: #f0efff;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-desc {
  min-height: 54px;
  font-size: 12px;
  line-height: 2;
  font-weight: 500;
}

.price-box {
  min-height: 86px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-box strong {
  color: #191c26;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.6px;
}

.price-box span {
  color: #9da1ab;
  font-size: 9px;
}

.price-box.contact strong {
  font-size: 28px;
}

.plan-action {
  width: 100%;
  height: 49px;
  margin-top: 2px;
  border-radius: 13px;
  color: white;
  background: #252833;
  font-size: 11px;
  font-weight: 800;
  transition: .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.featured .plan-action {
  background:
          linear-gradient(
                  135deg,
                  var(--blue),
                  #2f7de1
          );
  box-shadow:
          0 12px 25px rgba(22,139,244,.18);
}

.plan-action:hover {
  transform: translateY(-2px);
}

/* ---------------------------------
       Feature Rows
    --------------------------------- */
.feature-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: #403d49;
  font-size: 11px;
  font-weight: 900;
}

.feature-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #edf0f4;
}

.feature-list {
  display: grid;
  gap: 12px;
  flex: 1;
}

.feature-row {
  color: red;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 29px;
}

.check {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1fa874;
  background: #e9faf2;
  font-size: 11px;
  font-weight: 900;
}

.check.disabled {
  color: #b02241;
  background: #f0f1f4;
}

.feature-name {
  color: #666a77;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 600;
}

.feature-badge {
  padding: 4px 7px;
  border-radius: 7px;
  color: #5f56ce;
  background: #f1efff;
  font-size: 6px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------------------------------
       Info Cards
    --------------------------------- */
.deployment-grid {
  max-width: 950px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.deployment-card {
  min-height: 132px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #e3e8ef;
  border-radius: 20px;
  background: rgba(255,255,255,.73);
}

.deployment-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--blue);
  background: #eef7ff;
  font-size: 18px;
}

.deployment-card h3 {
  margin-bottom: 5px;
  color: #393c47;
  font-size: 11px;
  font-weight: 900;
}

.deployment-card p {
  color: #8e929e;
  font-size: 9px;
  line-height: 2;
}

/* ---------------------------------
       Comparison
    --------------------------------- */
.comparison {
  padding: 110px 0;
  background:
          linear-gradient(
                  180deg,
                  #fff,
                  #f9fbfe
          );
}

.section-title {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 900;
}

.section-title h2 {
  color: #272934;
  font-size: clamp(32px,4vw,46px);
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 11px;
}

.section-title p {
  color: #878b97;
  font-size: 13px;
  line-height: 2;
}

.table-wrap {
  overflow: hidden;
  border: 1px solid #e2e7ee;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.table-top {
  padding: 23px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f4;
}

.table-top h3 {
  color: #2d303a;
  font-size: 17px;
  font-weight: 900;
}

.table-top span {
  color: #9ba0aa;
  font-size: 9px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
    td {
  padding: 17px 20px;
  border-bottom: 1px solid #f0f2f5;
  text-align: center;
  font-size: 10px;
}

th {
  color: #656a76;
  background: #fafbfd;
  font-weight: 900;
}

td {
  color: #8b8f99;
}

th:first-child,
    td:first-child {
  width: 45%;
  text-align: right;
}

td:first-child {
  color: #5e626e;
  font-weight: 700;
}

.yes {
  color: #21a875;
  font-size: 17px;
  font-weight: 900;
}

.no {
  color: #afb3bc;
  font-size: 16px;
}

/* ---------------------------------
       FAQ
    --------------------------------- */
.faq-section {
  padding: 110px 0;
}

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

.faq {
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 17px;
  background: white;
}

.faq-button {
  width: 100%;
  min-height: 68px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #353842;
  background: white;
  text-align: right;
  font-size: 11px;
  font-weight: 800;
}

.faq-symbol {
  width: 31px;
  height: 31px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: #eef7ff;
  font-size: 18px;
  transition: .25s ease;
}

.faq.open .faq-symbol {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #888d99;
  font-size: 10px;
  line-height: 2;
  transition:
          max-height .35s ease,
          padding .35s ease;
}

.faq.open .faq-answer {
  max-height: 190px;
  padding: 0 20px 20px;
}

/* ---------------------------------
       CTA
    --------------------------------- */
.cta-section {
  padding: 10px 0 100px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 85px 30px;
  text-align: center;
  border-radius: 35px;
  color: white;
  background:
          radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 25%),
          linear-gradient(135deg,#168bf4,#5147d9);
  box-shadow: var(--shadow-lg);
}

.cta::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -360px;
  right: -120px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

.cta::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  bottom: -290px;
  left: -100px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: 14px;
  font-size: clamp(34px,4vw,51px);
  line-height: 1.4;
  font-weight: 900;
}

.cta p {
  margin-bottom: 27px;
  color: #e0e3ff;
  font-size: 13px;
}

.cta-btn {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  color: #4f45d1;
  background: white;
  font-size: 11px;
  font-weight: 900;
  transition: .25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

@media (max-width: 1050px) {

  .hero-grid {
    gap: 45px;
}

  .hero h1 {
    font-size: 50px;
}

  .plans {
    grid-template-columns: repeat(2, 1fr);
}

  .plan:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 9px);
    width: 100%;
    margin: 0 auto;
}

}

@media (max-width: 850px) {

  .hero {
    padding-top: 70px;
}

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
}

  .hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

  .hero p {
    margin-left: auto;
    margin-right: auto;
}

  .hero-actions,
      .hero-points,
      .hero-pill {
    justify-content: center;
}

  .hero-visual {
    min-height: 440px;
}

}

@media (max-width: 700px) {

  .hero {
    padding-top: 65px;
}

  .hero h1 {
    font-size: 40px;
}

  .hero p {
    font-size: 13px;
}

  .hero-visual {
    min-height: 390px;
}

  .hero-ring.r1 {
    width: 340px;
    height: 340px;
}

  .hero-ring.r2 {
    width: 270px;
    height: 270px;
}

  .hero-ring.r3 {
    width: 205px;
    height: 205px;
}

  .pricing-dashboard {
    width: 94%;
}

  .floating-card.one {
    left: 0;
    bottom: 36px;
    width: 135px;
}

  .floating-card.two {
    right: 0;
    top: 42px;
    width: 130px;
}

  .floating-value {
    font-size: 19px;
}

  .switch-box {
    width: 100%;
}

  .switch-btn {
    min-width: 0;
    width: 50%;
    padding: 0 8px;
    font-size: 11px;
}

  .plans {
    grid-template-columns: 1fr;
}

  .plan:last-child {
    grid-column: auto;
    max-width: none;
}

  .deployment-grid {
    grid-template-columns: 1fr;
}

  .comparison,
      .faq-section {
    padding: 75px 0;
}

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

  table {
    min-width: 720px;
}

  .cta {
    padding: 62px 20px;
    border-radius: 27px;
}

}

@media (max-width: 450px) {

  .hero h1 {
    font-size: 34px;
}

  .hero-pill {
    font-size: 10px;
}

  .hero-actions {
    flex-direction: column;
}

  .hero-btn {
    width: 100%;
}

  .hero-points {
    flex-direction: column;
    align-items: center;
}

  .hero-visual {
    min-height: 350px;
}

  .pricing-dashboard {
    padding: 17px;
}

  .floating-card.one {
    left: -2px;
}

  .floating-card.two {
    right: -2px;
}

  .plan {
    padding: 24px 20px;
}

  .plan-title {
    align-items: flex-start;
    flex-direction: column;
}

  .plan-price strong {
    font-size: 33px;
}

  .feature-name {
    font-size: 9px;
}

}

@media (prefers-reduced-motion: reduce) {

  *,
      *::before,
      *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
}

}
