.pack-hero {
  background-color: #4b2456;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pack-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.pack-hero-inner h1 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.pack-hero-inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto 32px;
}

.pack-hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.pack-hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 14px;
  color: #fff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pack-hero-badge i {
  color: #fdd700;
}

.pack-cta-primary {
  display: inline-block;
  background: #fdd700;
  color: #2d0035;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0 8px 8px;
  transition:
    background 0.2s,
    transform 0.15s;
}

.pack-cta-primary:hover {
  background: #ffe840;
  color: #2d0035;
  transform: translateY(-2px);
  text-decoration: none;
}

[dir="rtl"] .pack-hero-inner,
[dir="rtl"] .pack-hero-inner h1,
[dir="rtl"] .pack-hero-inner p {
  text-align: center;
}

.pack-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px;
}

.pack-section-alt {
  max-width: none;
  background: #faf7fb;
}

.pack-section-alt > .pack-section-head,
.pack-section-alt > .pack-feature-grid,
.pack-section-alt > .pack-apps-strip,
.pack-section-alt > .pack-soon-card,
.pack-section-alt > .pack-form {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.pack-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.pack-section-head h2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #2a0033;
  margin: 0 0 12px;
}

.pack-section-head p {
  font-size: 16px;
  color: #6b6272;
  margin: 0 auto;
  max-width: 640px;
}

.pack-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pack-service-card {
  background: #fff;
  border: 1px solid #ece6ef;
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.pack-service-card:hover {
  transform: translateY(-4px);
  border-color: #d9c7e0;
  box-shadow: 0 12px 28px rgba(63, 0, 74, 0.1);
}

.pack-service-logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pack-service-logo img {
  max-height: 56px;
  max-width: 170px;
  object-fit: contain;
}

.pack-service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #2a0033;
  margin: 0 0 10px;
}

.pack-service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #6b6272;
  margin: 0;
}

.pack-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pack-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pack-feature > i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #3f004a;
  color: #ffd166;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.pack-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: #2a0033;
  margin: 4px 0 6px;
}

.pack-feature p {
  font-size: 14px;
  line-height: 1.6;
  color: #6b6272;
  margin: 0;
}

.pack-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
}

.pack-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 8px;
  border: 1px solid #3f004a;
  color: #3f004a;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.pack-cta-secondary:hover {
  background: #3f004a;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .pack-section {
    padding: 44px 18px;
  }

  .pack-section-head h2 {
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  .pack-hero {
    padding: 110px 0 60px;
  }

  .pack-hero-inner h1 {
    font-size: 1.8rem;
  }
}

.pack-form,
.pack-form *,
.pack-form *::before,
.pack-form *::after {
  box-sizing: border-box;
}

.pack-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.pack-form-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.pack-field-group {
  border: 1px solid #ece6ef;
  border-radius: 14px;
  background: #fff;
  padding: 22px 24px 24px;
  margin: 0;
}

.pack-field-group legend {
  float: none;
  width: auto;
  border: 0;
  margin: 0 0 18px -6px;
  padding: 0 8px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: #2a0033;
  line-height: 1;
}

.pack-group-note {
  font-size: 13px;
  line-height: 1.6;
  color: #6b6272;
  margin: -8px 0 18px;
}

.pack-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.pack-plan-card,
.pack-period-pill {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.pack-plan-card input,
.pack-period-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pack-plan-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 2px solid #ece6ef;
  border-radius: 12px;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.pack-plan-card:hover .pack-plan-body {
  border-color: #d9c7e0;
}

.pack-plan-card input:checked + .pack-plan-body {
  border-color: #3f004a;
  background: #faf5fb;
}

.pack-plan-card input:focus-visible + .pack-plan-body {
  outline: 2px solid #3f004a;
  outline-offset: 2px;
}

.pack-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: #2a0033;
}

.pack-plan-users {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #3f004a;
}

.pack-plan-users i {
  font-size: 11px;
  color: #a58bb0;
}

.pack-plan-specs {
  font-size: 12px;
  color: #7b7385;
}

.pack-plan-price {
  font-size: 14px;
  font-weight: 700;
  color: #3f004a;
}

.pack-period-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pack-period-pill > span {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 10px 16px;
  border: 2px solid #ece6ef;
  border-radius: 10px;
  font-size: 13px;
  color: #6b6272;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.pack-period-pill input:checked + span {
  border-color: #3f004a;
  background: #faf5fb;
  color: #2a0033;
}

.pack-period-pill strong {
  font-size: 15px;
  color: #2a0033;
}

.pack-period-pill em {
  font-style: normal;
  font-weight: 700;
  color: #1c7a48;
}

.pack-input-row,
.pack-domain-grid {
  display: grid !important;
  column-gap: 28px !important;
  row-gap: 20px !important;
}

.pack-input-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pack-input-row > .pack-input {
  min-width: 0;
}

.pack-input-row > .pack-input:only-child {
  grid-column: 1 / -1;
}

.pack-domain-grid {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 14px !important;
}

.pack-domain-grid .pack-input {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}

.pack-domain-grid .pack-input label {
  margin: 0;
}

.pack-domain-grid .pack-domain-preview,
.pack-domain-grid .pack-error {
  grid-column: 2;
}

.pack-input {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.pack-input label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #2a0033;
  margin: 0;
}

.pack-input label img {
  height: 16px;
  width: auto;
}

.pack-input input[type="text"],
.pack-input input[type="password"],
.pack-input input[type="number"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d6cbdc;
  border-radius: 10px;
  font-size: 14px;
  color: #2a0033;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pack-input input::placeholder {
  color: #b3a9ba;
}

.pack-input input:hover {
  border-color: #c2b3ca;
}

.pack-input input:focus {
  outline: none;
  border-color: #3f004a;
  box-shadow: 0 0 0 3px rgba(63, 0, 74, 0.12);
}

.pack-hint {
  font-size: 12px;
  color: #8b8394;
  line-height: 1.5;
}

.pack-volume-control {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pack-volume-control input[type="range"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 6px;
  accent-color: #3f004a;
  cursor: pointer;
}

.pack-volume-value {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pack-volume-value input {
  width: 88px;
}

.pack-volume-value span {
  font-size: 13px;
  color: #7b7385;
}

.pack-password-control {
  position: relative;
  display: flex;
}

.pack-password-control input {
  padding-right: 46px;
}

.pack-password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: none;
  color: #8b8394;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.pack-password-toggle:hover {
  background: #f4eef6;
}

.pack-password-toggle:hover {
  color: #3f004a;
}

.pack-summary {
  position: sticky;
  top: 24px;
  border: 1px solid #ece6ef;
  border-radius: 14px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pack-summary h3 {
  font-size: 15px;
  font-weight: 700;
  color: #2a0033;
  margin: 0;
}

.pack-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
}

.pack-summary-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.pack-summary-lines dt {
  color: #7b7385;
  font-weight: 500;
  margin: 0;
}

.pack-summary-lines dd {
  color: #2a0033;
  font-weight: 600;
  margin: 0;
  text-align: right;
}

.pack-summary-discount dd {
  color: #1c7a48;
}

.pack-summary-total {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid #ece6ef;
}

.pack-summary-mo {
  font-size: 24px;
  font-weight: 800;
  color: #3f004a;
  line-height: 1.15;
}

.pack-summary-tot {
  font-size: 12.5px;
  color: #7b7385;
}

.pack-submit {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  margin: 0;
}

.pack-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pack-summary-note {
  font-size: 11.5px;
  color: #8b8394;
  line-height: 1.5;
  margin: 0;
}

.pack-form-error {
  border: 1px solid #f3c9c6;
  background: #fdeaea;
  color: #b3261e;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .pack-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .pack-summary {
    position: static;
  }
}

.pack-error {
  font-size: 11.5px;
  line-height: 1.5;
  color: #b3261e;
}

.pack-error[hidden] {
  display: none;
}

.pack-input input.is-invalid {
  border-color: #d9534f;
}

.pack-input input.is-invalid:focus {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}

.pack-domain-control {
  display: flex;
  align-items: stretch;
  height: 44px;
  border: 1px solid #d6cbdc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.pack-domain-control:hover {
  border-color: #c2b3ca;
}

.pack-domain-control:focus-within {
  border-color: #3f004a;
  box-shadow: 0 0 0 3px rgba(63, 0, 74, 0.12);
}

.pack-input .pack-domain-control input[type="text"] {
  border: none;
  border-radius: 0;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.pack-input .pack-domain-control input[type="text"]:focus {
  box-shadow: none;
}

.pack-domain-suffix {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #f4eef6;
  border-left: 1px solid #e4dae8;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #5e5468;
  white-space: nowrap;
}

.pack-domain-prefix {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #f4eef6;
  border-right: 1px solid #e4dae8;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #5e5468;
  white-space: nowrap;
}

.pack-domain-control:has(input.is-invalid) {
  border-color: #d9534f;
}

.pack-domain-preview {
  font-size: 11.5px;
  color: #3f004a;
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .pack-domain-grid .pack-input {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 6px;
  }

  .pack-domain-grid .pack-domain-preview,
  .pack-domain-grid .pack-error {
    grid-column: 1;
  }

  .pack-domain-suffix {
    font-size: 11.5px;
    padding: 0 10px;
  }
}

@media (max-width: 640px) {
  .pack-input-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pack-hero-soon {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.pack-hero-soon i {
  color: #fdd700;
}

.pack-soon-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: #fff4dc;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-soon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #fff;
  border: 1.5px solid #e8dff2;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(77, 32, 96, 0.07);
}

.pack-soon-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 6px 0 4px;
}

.pack-soon-logos img {
  height: 40px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
}

.pack-soon-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #2a0033;
  margin: 0;
}

.pack-soon-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #6b6272;
  max-width: 440px;
  margin: 0 0 8px;
}

.pack-apps-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.pack-app {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #ece6ef;
  border-radius: 12px;
  min-width: 0;
}

.pack-app img {
  flex: 0 0 auto;
  height: 34px;
  width: 64px;
  object-fit: contain;
}

.pack-app > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pack-app strong {
  font-size: 14px;
  font-weight: 700;
  color: #2a0033;
}

.pack-app span {
  font-size: 12px;
  line-height: 1.5;
  color: #7b7385;
}

@media (max-width: 991px) {
  .pack-apps-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}
