:root {
  --bg: #0b1118;
  --panel: #111a24;
  --panel-2: #f6f8fb;
  --text: #f8fbff;
  --ink: #101820;
  --muted: #9caaba;
  --muted-dark: #667484;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: #dce3ea;
  --accent: #28d37f;
  --accent-dark: #0d6f43;
  --warn: #ffd166;
  --error: #ffb4ab;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 17, 24, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.top-nav,
.hero-actions,
.tabs {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: #06130c;
  font-weight: 900;
}

.top-nav {
  gap: 8px;
}

.top-nav a {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  min-height: min(560px, calc(100svh - 59px));
  display: grid;
  align-items: center;
  padding: 58px 18px 46px;
  background:
    linear-gradient(135deg, rgba(40, 211, 127, 0.14), transparent 32%),
    linear-gradient(160deg, #0b1118 0%, #111a24 58%, #090d12 100%);
}

.hero-inner,
.section,
.order-layout {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #06130c;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.section {
  padding: 42px 18px;
}

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

.section-head h2,
.form-head h2,
.order-summary h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0;
}

.tabs {
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-weight: 900;
}

.tab.is-active {
  border-color: rgba(40, 211, 127, 0.8);
  background: var(--accent);
  color: #06130c;
}

.language-panel {
  display: none;
}

.language-panel.is-active {
  display: block;
}

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

.product-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.product-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.product-title h3 {
  margin: 0;
  font-size: 22px;
}

.product-title span {
  color: var(--warn);
  font-weight: 900;
  white-space: nowrap;
}

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

.package-card {
  width: 100%;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.package-card strong,
.package-card span {
  display: block;
}

.package-card strong {
  font-size: 24px;
  line-height: 1;
}

.package-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.package-card em {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

.package-card.is-selected {
  border-color: var(--accent);
  background: rgba(40, 211, 127, 0.12);
  box-shadow: inset 0 0 0 1px rgba(40, 211, 127, 0.5);
}

.order-section {
  width: 100%;
  max-width: none;
  background: var(--panel-2);
  color: var(--ink);
  padding-top: 46px;
  padding-bottom: 46px;
}

.order-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
}

.order-summary,
.order-form {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(16, 24, 32, 0.08);
}

.order-summary {
  align-self: start;
  padding: 20px;
}

.order-summary .eyebrow,
.form-head .eyebrow {
  color: var(--accent-dark);
}

.order-summary dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.order-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf1f5;
  padding-bottom: 9px;
}

.order-summary dt {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 800;
}

.order-summary dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: var(--radius);
  padding: 14px;
  background: #0b1118;
  color: var(--text);
}

.total-row span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.total-row strong {
  color: var(--accent);
  font-size: 26px;
}

.small-note,
.form-note {
  color: var(--muted-dark);
  font-size: 13px;
}

.order-form {
  padding: 20px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #253240;
  font-size: 13px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(40, 211, 127, 0.14);
}

textarea {
  resize: vertical;
  min-height: 98px;
  margin-top: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #394858;
  line-height: 1.4;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.submit-button {
  width: 100%;
  margin-top: 16px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.form-status.error {
  color: #b42318;
}

.form-status.notice {
  color: #8a5a00;
}

.site-footer {
  padding: 22px 18px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 860px) {
  h1 {
    font-size: 34px;
  }

  .product-grid,
  .order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-actions,
  .hero-actions .button,
  .tabs,
  .tab {
    width: 100%;
  }

  .tabs,
  .package-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    display: grid;
  }

  .package-grid {
    display: grid;
  }

  .product-title {
    display: block;
  }

  .product-title span {
    display: block;
    margin-top: 8px;
  }
}
