:root {
  --bg: #071014;
  --panel: rgba(13, 28, 34, 0.86);
  --panel-strong: rgba(18, 39, 46, 0.94);
  --line: rgba(124, 239, 226, 0.18);
  --line-strong: rgba(124, 239, 226, 0.42);
  --text: #f4fbfb;
  --muted: #9fb2b8;
  --teal: #3ad8cf;
  --teal-dark: #052426;
  --green: #57c987;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(58, 216, 207, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(213, 144, 51, 0.12), transparent 28%),
    linear-gradient(135deg, #050a0d 0%, #0b181d 46%, #071014 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

.pricing {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: min(1280px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 72px 0;
  align-content: center;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--panel-strong), var(--panel)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.plan-card:hover {
  border-color: var(--line-strong);
}

.plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.plan-top h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: 0;
}

.plan-top span {
  color: var(--teal);
  font-weight: 950;
  white-space: nowrap;
}

.plan-speed {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.plan-price {
  margin: 28px 0 22px;
  font-size: clamp(32px, 2.6vw, 40px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.plan-price small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.plan-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
  white-space: nowrap;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: 100%;
  margin-top: auto;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--teal);
  font-weight: 950;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.buy-button:hover {
  transform: translateY(-1px);
  background: #57eee5;
  box-shadow: 0 12px 28px rgba(58, 216, 207, 0.24);
}

@media (max-width: 980px) {
  .pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    padding-top: 42px;
    padding-bottom: 42px;
  }
}

@media (max-width: 980px) and (orientation: landscape) {
  .pricing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(880px, calc(100vw - 32px));
    min-height: 100svh;
    padding-top: 12px;
    padding-bottom: 12px;
    align-content: center;
  }

  .plan-card {
    min-height: 300px;
    padding: 14px;
  }

  .plan-top h2 {
    font-size: 17px;
  }

  .plan-top span {
    font-size: 12px;
  }

  .plan-speed {
    margin-top: 10px;
    font-size: 11px;
  }

  .plan-price {
    margin: 16px 0 12px;
    font-size: 25px;
  }

  .plan-price small {
    font-size: 10px;
  }

  .plan-card ul {
    gap: 7px;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .plan-card li {
    padding-left: 14px;
    line-height: 1.35;
    white-space: normal;
  }

  .plan-card li::before {
    top: 7px;
    width: 6px;
    height: 6px;
  }

  .buy-button {
    min-height: 36px;
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(328px, calc(100vw - 28px));
    min-height: 100svh;
    margin-left: auto;
    margin-right: auto;
    padding-top: 16px;
    padding-bottom: 12px;
    align-content: center;
  }

  .plan-card {
    min-height: 286px;
    padding: 10px;
  }

  .plan-card li {
    white-space: normal;
  }

  .plan-top {
    display: grid;
    gap: 4px;
  }

  .plan-top h2 {
    font-size: 16px;
  }

  .plan-top span {
    font-size: 12px;
  }

  .plan-speed {
    margin-top: 9px;
    font-size: 10px;
    line-height: 1.3;
  }

  .plan-price {
    margin: 14px 0 10px;
    font-size: 22px;
  }

  .plan-price small {
    font-size: 10px;
  }

  .plan-card ul {
    gap: 7px;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .plan-card li {
    padding-left: 14px;
    line-height: 1.35;
  }

  .plan-card li::before {
    top: 7px;
    width: 6px;
    height: 6px;
  }

  .buy-button {
    min-height: 34px;
    font-size: 11px;
  }
}
