:root {
  --ink: #0b1026;
  --ink-soft: #3b4c74;
  --paper: #f7f9ff;
  --card: #ffffff;
  --line: #dbe4fa;
  --brand: #3d67ff;
  --brand-dark: #2645ba;
  --accent: #18c1a3;
  --danger: #c8384a;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(12, 22, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(61, 103, 255, 0.22), transparent 65%),
    radial-gradient(700px 400px at 100% 0, rgba(24, 193, 163, 0.12), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: "Cairo", sans-serif;
  line-height: 1.58;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.25rem auto 2.4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0.5rem;
  z-index: 20;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.topnav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  padding: 0.28rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.topnav a:hover {
  color: var(--brand);
  background: #eef3ff;
  border-color: var(--line);
}

.topnav a[aria-current="page"] {
  color: var(--brand-dark);
  background: #e8efff;
  border-color: var(--line);
}

.hero {
  margin-top: 1.4rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(132deg, rgba(61, 103, 255, 0.09), rgba(24, 193, 163, 0.08) 60%, rgba(61, 103, 255, 0.03));
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.3rem;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.09em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.hero p {
  margin: 0.8rem 0 1.2rem;
  color: var(--ink-soft);
}

.hero-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.hero-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.cta,
.ghost {
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.2s ease;
}

.cta {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  display: inline-block;
}

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

.ghost {
  color: var(--brand-dark);
  background: #ebf0ff;
}

.ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wide {
  width: 100%;
}

.proof-strip {
  margin: 1.2rem 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-strip article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.8rem;
  text-align: center;
}

.proof-strip strong {
  display: block;
  font-size: 1.12rem;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.workflow-section {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem;
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0.45rem 0 0;
}

.stepper {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.stepper li {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faff;
  color: #5c698f;
  padding: 0.52rem 0.65rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.stepper li.active {
  border-color: var(--brand);
  background: #e9efff;
  color: var(--brand-dark);
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.step-panel h3 {
  margin-top: 0;
}

.help {
  margin-top: -0.4rem;
  color: var(--ink-soft);
}

.choice-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.choice-card:hover {
  transform: translateY(-2px);
}

.choice-card.selected {
  border: 2px solid var(--brand);
  background: #eef3ff;
}

.choice-card h4 {
  margin: 0 0 0.4rem;
}

.choice-card p {
  margin: 0;
  color: var(--ink-soft);
}

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

.plan-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.plan-card.selected {
  border: 2px solid var(--accent);
  background: #ebfffb;
}

.plan-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: baseline;
  margin-bottom: 0.45rem;
}

.plan-head h4 {
  margin: 0;
}

.price-stack {
  text-align: right;
}

.price-stack strong {
  display: block;
  font-size: 1.02rem;
}

.price-stack span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.plan-desc {
  margin: 0.4rem 0;
  color: var(--ink-soft);
}

.inline-chip {
  display: inline-block;
  margin-top: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f7f9ff;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.tech-list,
.benefit-list {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.domain-checker {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  padding: 1.1rem;
}

.domain-checker h4 {
  margin: 0;
}

.domain-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.domain-search-row input {
  min-width: 0;
}

.domain-order-wrap {
  margin-top: 0.5rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(61, 103, 255, 0.2);
  border-color: var(--brand);
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.review-card,
.customer-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.review-card h4 {
  margin-top: 0;
}

.summary-grid {
  display: grid;
  gap: 0.5rem;
}

.summary-row {
  display: grid;
  gap: 0.15rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.45rem;
}

.summary-row strong {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.summary-row span {
  font-weight: 700;
}

.meta-note {
  margin: 0.6rem 0 0;
  color: #627098;
  font-size: 0.82rem;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem;
}

.checkbox-line input {
  margin-top: 0.22rem;
}

.form-feedback {
  margin: 0.7rem 0 0;
  min-height: 1.2rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.form-feedback.error {
  color: var(--danger);
}

.form-feedback.success {
  color: #167f2f;
}

.workflow-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.catalog-note,
.contact-band {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  padding: 1.35rem;
}

.catalog-note h2,
.contact-band h2 {
  margin-top: 0;
}

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

.reasons-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  background: #fbfcff;
}

.reasons-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.reasons-grid p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.contact-band a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-band span {
  margin: 0 0.45rem;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@keyframes bkFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.proof-strip,
.workflow-section,
.catalog-note,
.contact-band,
.site-footer {
  animation: bkFadeUp 0.55s ease both;
}

.workflow-section {
  animation-delay: 0.05s;
}

.catalog-note,
.contact-band {
  animation-delay: 0.09s;
}

.site-footer {
  animation-delay: 0.12s;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0.2rem 0;
  color: var(--ink-soft);
  text-decoration: none;
}

@media (max-width: 1040px) {
  .hero,
  .review-layout {
    grid-template-columns: 1fr;
  }

  .choice-grid,
  .plan-grid,
  .options-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: calc(100% - 1rem);
    margin: 0.5rem auto 1rem;
  }

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

  .topnav {
    width: 100%;
    justify-content: space-between;
  }

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

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .domain-search-row {
    grid-template-columns: 1fr;
  }
}

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