/* Base */
body.maya-body {
  background: radial-gradient(circle at top, #16281f 0, #0e1b14 55%, #050a07 100%);
  color: var(--fg);
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  direction: rtl;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Header (copy from plans/register style) */
.maya-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(6, 12, 9, 0.96), rgba(6, 12, 9, 0.88));
  border-bottom: 1px solid rgba(38, 66, 51, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ffffff22, #2e7d6a 35%, #16281f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #f7f7f5;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover {
  color: var(--fg);
  background: rgba(46, 125, 106, 0.12);
  transform: translateY(-1px);
}

.nav-links .nav-active {
  color: var(--fg);
  background: rgba(46, 125, 106, 0.2);
}

.nav-btn {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.nav-login {
  border-color: rgba(46, 125, 106, 0.6);
  color: var(--brand-light);
  background: transparent;
}

.nav-login:hover {
  background: rgba(46, 125, 106, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #050a07;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 999px;
}

/* Hero */
.register-hero {
  padding-block: 3.5rem 2.5rem;
  background: radial-gradient(circle at top, #1a2f24 0, #050b08 85%);
  border-bottom: 1px solid rgba(38, 66, 51, 0.9);
}

.register-hero-inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.register-hero-inner h1 {
  margin: 0 0 0.7rem;
  font-size: 1.8rem;
}

.register-hero-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Main section */
.register-section {
  padding-block: 3rem 4rem;
}

.register-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: flex-start;
}

/* Plan card */
.register-plan-card {
  background: rgba(9, 15, 11, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid rgba(46, 125, 106, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.plan-label {
  margin: 0 0 0.4rem;
  font-size: 0.90rem;
  color: var(--muted);
}

.plan-title {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.plan-price-box {
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  background: rgba(5, 10, 7, 0.9);
  border: 1px solid rgba(46, 125, 106, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.plan-price-line {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.plan-price-current {
  font-size: 1.7rem;
  font-weight: 700;
}

.plan-price-currency {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-price-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.plan-price-meta span strong {
  color: var(--brand-light);
}

.plan-points {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.plan-points li {
  position: relative;
  padding-inline-start: 0.9rem;
}

.plan-points li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: var(--brand-light);
}

/* Plan options chips */
.plan-options {
  margin-top: 0.7rem;
}

.plan-options-label {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.plan-options-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.plan-chip {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.85);
  background: transparent;
  color: var(--fg);
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.plan-chip:hover {
  background: rgba(15, 23, 42, 0.85);
}

.plan-chip.active {
  background: linear-gradient(135deg, #ec4899, #f97316);
  border-color: transparent;
  color: #111827;
  font-weight: 600;
  transform: translateY(-1px);
}

.plan-legal {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Register form card */
.register-form-card {
  background: rgba(9, 15, 11, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(75, 85, 99, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.form-title {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.form-subtitle {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group-row {
  flex-direction: row;
  gap: 0.75rem;
}

.form-field-half {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  color: var(--fg);
  padding: 0.55rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

input:focus,
select:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 1px rgba(46, 125, 106, 0.7);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Checkbox */
.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #ec4899, #f97316);
  color: #111827;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Form actions */
.form-actions {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-footer-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-footer-text a {
  color: var(--brand-light);
  text-decoration: none;
}

.form-footer-text a:hover {
  text-decoration: underline;
}

.form-legal-note {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */
.maya-footer {
  border-top: 1px solid rgba(38, 66, 51, 0.9);
  padding-block: 1.8rem;
  background: #050a07;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-title {
  margin: 0 0 0.15rem;
  font-weight: 600;
}

.footer-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-copy {
  width: 100%;
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* General anchors */
a {
  color: var(--brand-light);
}

/* Responsive */
@media (max-width: 960px) {
  .register-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset-inline: 0;
    inset-block-start: 64px;
    background: rgba(5, 10, 7, 0.98);
    border-top: 1px solid rgba(38, 66, 51, 0.9);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .register-hero {
    padding-block: 3rem 2.2rem;
  }

  .form-group-row {
    flex-direction: column;
  }
}

