/* Manrope — variable-weight font served as local files (no base64 inline) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: #F4F4F7;
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

html, body { max-width: 100%; overflow-x: hidden; }

a { color: #2B6BF5; text-decoration: none; }
a:hover { color: #1B4FCC; text-decoration: underline; }
input::placeholder { color: #A8ADBA; }

@keyframes nk-spin { to { transform: rotate(360deg); } }

.nk-icon { display: block; }

.nk-shell { min-height: 100vh; background: #F4F4F7; padding: 40px 24px 64px; box-sizing: border-box; }
.nk-wrap { max-width: 1180px; margin: 0 auto; }
.nk-card { background: #FFFFFF; border-radius: 24px; box-shadow: 0 12px 40px rgba(20,20,45,0.08); overflow: hidden; }

.nk-header { display: flex; align-items: center; gap: 14px; padding: 22px 56px 0; }
.nk-back { width: 34px; height: 34px; border-radius: 999px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; }
.nk-brand { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #1B1B2B; }

.nk-steps { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 56px 24px; }
.nk-step-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 150px; }
.nk-step-circle { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.nk-step-circle--done { background: #2B6BF5; }
.nk-step-circle--current { background: #2B6BF5; color: #fff; }
.nk-step-circle--pending { background: #fff; border: 2px solid #DDE0E9; color: #9AA0B0; }
.nk-step-label { font-size: 13px; font-weight: 600; color: #6B7080; }
.nk-step-label--current { font-weight: 700; color: #1B1B2B; }
.nk-step-label--pending { color: #9AA0B0; }
.nk-step-line { flex: 1; height: 3px; border-radius: 999px; margin-bottom: 26px; }
.nk-step-line--done { background: #2B6BF5; }
.nk-step-line--pending { background: #E4E6EE; }

.nk-split { display: flex; align-items: stretch; }

.nk-form-col { flex: 1; min-width: 0; padding: 34px 44px 40px; box-sizing: border-box; }
.nk-title { font-size: 24px; font-weight: 700; color: #1B1B2B; letter-spacing: -0.02em; }
.nk-subtitle { font-size: 14px; color: #6B7080; margin-top: 6px; }

.nk-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.nk-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; cursor: pointer; box-sizing: border-box; transition: border-color 150ms, background 150ms; border: 2px solid #E2E5ED; background: #FFFFFF; }
.nk-option--active { border: 2px solid #2B6BF5; background: #F2F6FF; }
.nk-option--disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.nk-radio { flex: 0 0 auto; width: 19px; height: 19px; border-radius: 999px; margin-top: 2px; box-sizing: border-box; border: 2px solid #C6CAD6; background: #fff; }
.nk-radio--active { border: 6px solid #2B6BF5; background: #fff; }
.nk-option-name { font-size: 15px; font-weight: 700; color: #1B1B2B; }
.nk-option-price { font-size: 14px; font-weight: 600; color: #2B2B3B; margin-top: 5px; }
.nk-option-after { font-size: 12.5px; color: #6B7080; margin-top: 3px; }

.nk-band { display: flex; align-items: center; gap: 10px; background: #EEF3FF; border: 1px solid #DCE5FB; border-radius: 10px; padding: 12px 14px; margin-top: 16px; }
.nk-band svg, .nk-band img { flex: 0 0 auto; }
.nk-band-text { font-size: 13px; color: #33405C; }

.nk-field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; margin-top: 24px; }
.nk-field-full { grid-column: 1 / -1; }
.nk-label { font-size: 12.5px; color: #5C6172; margin-bottom: 6px; }
.nk-input, .nk-select {
  width: 100% !important; height: 42px !important; box-sizing: border-box !important; border: 1px solid #D9DCE5 !important; border-radius: 9px !important;
  padding: 0 12px !important; font-family: inherit !important; font-size: 14px !important; color: #1B1B2B !important; background: #fff !important; outline: none !important;
  box-shadow: none !important; margin: 0 !important;
}
.nk-select { color: #7E8496 !important; padding: 0 10px !important; appearance: none !important; -webkit-appearance: none !important; -moz-appearance: none !important; }
.nk-input--invalid, .nk-select--invalid { border-color: #E31C7C; background: #FFF5F9; }
.nk-field-error { font-size: 12px; color: #E31C7C; margin-top: 5px; display: none; }
.nk-field-error--visible { display: block; }
.nk-terms--invalid .nk-terms-box { border-color: #E31C7C; }

.nk-terms { display: flex; gap: 11px; align-items: flex-start; margin-top: 24px; cursor: pointer; }
.nk-terms-box { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; margin-top: 1px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; background: #fff; border: 1.5px solid #C6CAD6; }
.nk-terms-box--active { background: #2B6BF5; border: 1px solid #2B6BF5; }
.nk-terms-text { font-size: 13px; line-height: 1.5; color: #4A5061; max-width: 560px; }

.nk-cta {
  margin-top: 22px; width: 100%; height: 54px; border-radius: 999px; color: #fff; font-size: 16.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  box-shadow: 0 8px 22px rgba(227,28,124,0.28); border: none; background: #E31C7C;
}
.nk-cta--submitting { opacity: 0.75; pointer-events: none; }
.nk-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: nk-spin 0.7s linear infinite; }
.nk-error { margin-top: 10px; font-size: 13px; color: #E31C7C; text-align: center; }

.nk-summary-col {
  flex: 0 0 40%; color: #fff; padding: 34px 38px 26px; display: flex; flex-direction: column; box-sizing: border-box;
  background: linear-gradient(160deg, #8E36C8 0%, #7A34D6 32%, #3F4BE0 68%, #2B62EF 100%);
}
.nk-tabs { display: flex; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.nk-tabs--secondary { margin-bottom: 26px; }
.nk-tab { flex: 1; text-align: center; padding: 9px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 150ms cubic-bezier(0.2,0.7,0.2,1); background: transparent; color: rgba(255,255,255,0.88); }
.nk-tab--active { background: #FFFFFF; color: #5B2AD1; }
.nk-tab--disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.nk-plan-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.nk-price-row { display: flex; align-items: baseline; gap: 12px; }
.nk-price { font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -0.045em; }
.nk-price-today { font-size: 26px; font-weight: 600; }
.nk-trial-title { font-size: 22px; font-weight: 800; color: #F58EE0; margin-top: 10px; letter-spacing: -0.01em; }
.nk-price-after { font-size: 19px; font-weight: 700; margin-top: 14px; }
.nk-vat { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.78); margin-top: 4px; }
.nk-plan-description { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.9); margin-top: 22px; max-width: 330px; }
.nk-divider { height: 1px; background: rgba(255,255,255,0.24); margin: 24px 0 20px; }
.nk-features-title { font-size: 14.5px; font-weight: 700; margin-bottom: 16px; }
.nk-features { display: flex; flex-direction: column; gap: 14px; }
.nk-feature { display: flex; gap: 11px; align-items: flex-start; }
.nk-feature img { flex: 0 0 auto; margin-top: 3px; }
.nk-feature-text { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.95); max-width: 290px; }
.nk-spacer { flex: 1; min-height: 32px; }
.nk-trust { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.85); padding-top: 20px; }

@media (max-width: 860px) {
  .nk-shell { padding: 20px 12px 36px !important; }
  .nk-title { font-size: 22px !important; margin-bottom: 18px !important; }
  .nk-card { border-radius: 16px !important; }
  .nk-header { padding: 16px 20px 0 !important; }
  .nk-steps { padding: 14px 16px 18px !important; gap: 8px !important; }
  .nk-step-item { width: auto !important; gap: 6px !important; }
  .nk-step-label { font-size: 11px !important; text-align: center; }
  .nk-split { flex-direction: column !important; }
  .nk-form-col { padding: 24px 20px 28px !important; }
  .nk-summary-col { flex: 1 1 auto !important; padding: 28px 20px 24px !important; }
  .nk-plan-grid { grid-template-columns: 1fr !important; }
  .nk-field-grid { grid-template-columns: 1fr !important; }
  .nk-price { font-size: 52px !important; }
  input.nk-input, select.nk-select { font-size: 16px !important; }
}

@media (max-width: 480px) {
  .nk-shell { padding: 12px 8px 28px !important; }
  .nk-header { padding: 14px 16px 0 !important; }
  .nk-form-col { padding: 20px 14px 24px !important; }
  .nk-summary-col { padding: 22px 14px 20px !important; }
  .nk-steps { padding: 12px 12px 16px !important; gap: 6px !important; }
  .nk-price { font-size: 42px !important; }
}
