:root {
  --ink: #f7fbff;
  --ink-dark: #06111e;
  --muted: rgba(239, 247, 255, 0.72);
  --muted-strong: rgba(239, 247, 255, 0.86);
  --panel: rgba(5, 18, 32, 0.82);
  --panel-strong: rgba(7, 24, 41, 0.94);
  --surface: #0a1d31;
  --surface-deep: #061322;
  --line: rgba(111, 194, 255, 0.25);
  --line-soft: rgba(255, 255, 255, 0.12);
  --cyan: #15a8ff;
  --cyan-soft: #74d7ff;
  --orange: #ff7a1a;
  --orange-soft: #ffb06b;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface-deep);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 0%, rgba(21, 168, 255, 0.16), transparent 32rem),
    linear-gradient(180deg, #02070d 0%, #061322 44%, #081b2f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  color: var(--ink-dark);
  background: var(--cyan-soft);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  color: var(--white);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(2, 8, 14, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
}

.brand img,
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.nav-links {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.nav-links a,
.header-link,
.footer-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.header-link:hover,
.footer-links a:hover {
  color: var(--white);
}

.header-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink-dark);
  background: var(--orange);
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-action:hover {
  transform: translateY(-1px);
  background: var(--orange-soft);
}

.hero {
  position: relative;
  padding: 112px clamp(18px, 4vw, 64px) 64px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 12, 0.94) 0%, rgba(3, 13, 22, 0.86) 43%, rgba(3, 13, 22, 0.44) 100%),
    linear-gradient(180deg, rgba(2, 7, 12, 0) 54%, #061322 100%),
    url("/assets/cloud-background.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  max-width: 1320px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.hero-copy {
  max-width: 780px;
  width: 100%;
  min-width: 0;
}

.hero-logo {
  width: min(190px, 52vw);
  height: auto;
  margin-bottom: clamp(18px, 3vw, 32px);
  object-fit: contain;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.85rem, 5.45vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(21, 168, 255, 0.5);
  outline-offset: 3px;
}

.button.primary {
  color: var(--ink-dark);
  background: var(--orange);
  box-shadow: 0 14px 34px rgba(255, 122, 26, 0.24);
}

.button.primary:hover {
  background: var(--orange-soft);
}

.button.secondary {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 46px 0 0;
}

.hero-stats div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(6, 20, 34, 0.7);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-weight: 950;
  color: var(--cyan-soft);
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.signup-panel {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(6, 22, 38, 0.96), rgba(4, 15, 27, 0.94));
  border: 1px solid rgba(21, 168, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 2.5vw, 30px);
  width: 100%;
  min-width: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head p,
.section-heading p,
.offer-copy p,
.about-copy p {
  margin: 0;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-head h2,
.section-heading h2,
.offer-copy h2,
.about-copy h2 {
  margin: 4px 0 0;
  letter-spacing: 0;
}

.panel-head h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-option {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.plan-option:hover,
.plan-option.is-selected {
  border-color: var(--cyan);
  background: rgba(21, 168, 255, 0.12);
}

.plan-option.is-selected {
  box-shadow: inset 0 0 0 1px rgba(21, 168, 255, 0.22);
}

.plan-option span {
  color: var(--white);
  font-weight: 900;
}

.plan-option strong {
  color: var(--cyan-soft);
  font-size: 1.3rem;
  line-height: 1;
}

.plan-option small {
  color: var(--muted);
  font-size: 0.76rem;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.users-field {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 18px 0 14px;
}

.stepper {
  display: grid;
  grid-template-columns: 42px 70px 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.stepper button,
.stepper input {
  min-width: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  text-align: center;
}

.stepper button {
  cursor: pointer;
  color: var(--cyan-soft);
  font-weight: 950;
}

.stepper input {
  border-right: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  font-weight: 950;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.summary span {
  color: var(--muted);
}

.summary strong {
  color: var(--white);
  font-size: 1.3rem;
}

.checkout-button {
  width: 100%;
}

.secure-note,
.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
}

.form-status {
  color: var(--orange-soft);
  font-weight: 800;
}

.services-section,
.plans-section,
.support-section {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.section-heading span,
.offer-copy span,
.about-copy span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.price-card,
.support-card,
.about-card,
.offer-list article {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(6, 21, 36, 0.78);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.service-card {
  min-height: 232px;
  padding: 22px;
}

.service-card.wide {
  grid-column: span 2;
}

.service-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 34px;
  color: var(--cyan-soft);
  border: 1px solid rgba(21, 168, 255, 0.36);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 950;
}

.service-card h3,
.price-card h3,
.support-card strong,
.offer-list h3,
.about-card h3 {
  margin: 18px 0 10px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.1;
}

.service-card p,
.price-card p,
.support-card,
.offer-list p,
.about-card p {
  margin: 0;
  color: var(--muted);
}

.offer-band,
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 112px) clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.offer-copy,
.about-copy {
  align-self: center;
}

.offer-copy h2,
.about-copy h2 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

.offer-list {
  display: grid;
  gap: 14px;
}

.offer-list article {
  padding: 24px;
}

.offer-list h3 {
  margin-top: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 490px;
  padding: 22px;
}

.price-card.featured {
  border-color: rgba(21, 168, 255, 0.6);
  background: linear-gradient(180deg, rgba(8, 42, 66, 0.94), rgba(6, 21, 36, 0.9));
}

.price-card.enterprise {
  border-color: rgba(255, 122, 26, 0.48);
}

.price {
  color: var(--white);
  font-size: clamp(2.2rem, 3.3vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.12);
}

.card-button {
  width: 100%;
  color: var(--ink-dark);
  background: var(--orange);
}

.price-card.is-active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(21, 168, 255, 0.18), 0 24px 64px rgba(0, 0, 0, 0.26);
}

.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 19, 34, 0.98), rgba(6, 19, 34, 0.66)),
    url("/assets/cloud-background.jpg") center / cover no-repeat;
}

.about-card {
  align-self: end;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(3, 13, 23, 0.76);
  backdrop-filter: blur(10px);
}

.about-card h3 {
  margin-top: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.about-card .button {
  margin-top: 24px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.support-card {
  display: grid;
  align-content: start;
  min-height: 168px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.support-card span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.support-card strong {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(21, 168, 255, 0.12);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: #030b13;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  color: var(--muted);
  font-size: 0.92rem;
}

.success-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(2, 7, 12, 0.96), rgba(4, 18, 32, 0.78)),
    url("/assets/cloud-background.jpg") center / cover no-repeat;
}

.success-shell {
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(100%, 760px);
  padding: clamp(28px, 7vw, 72px);
}

.success-brand {
  margin-bottom: 24px;
}

.success-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 21, 36, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.success-card > p:first-child {
  margin: 0;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.success-card h1 {
  margin: 8px 0 16px;
  color: var(--white);
  font-size: clamp(2.3rem, 6vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

.success-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.success-card .button {
  margin-top: 28px;
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 154px;
  }

  .hero-content,
  .offer-band,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: auto;
  }

  .signup-panel {
    max-width: 760px;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: stretch;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.86rem;
  }

  .header-actions {
    gap: 10px;
    min-width: 0;
    justify-self: end;
  }

  .header-link {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero h1 {
    max-width: min(100%, 340px);
    font-size: clamp(2.05rem, 9.2vw, 2.75rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-stats,
  .plan-picker,
  .field-grid,
  .services-grid,
  .pricing-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: auto;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .users-field {
    grid-template-columns: 1fr;
  }

  .stepper {
    grid-template-columns: 48px 1fr 48px;
  }

  .price-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
