/* ===== TOKENS ===== */
:root {
  --ink:       #1a1a2e;
  --gold:      #c9a84c;
  --gold-lt:   #e8c97a;
  --saffron:   #e8740c;
  --cream:     #faf7f2;
  --card:      #ffffff;
  --border:    #e2d9cc;
  --muted:     #7a6e62;
  --success:   #2d7a4f;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(26,26,46,0.08);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  direction: rtl;
  min-height: 100vh;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  padding: 60px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.18) 0%, transparent 70%);
}

.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  border-radius: 50%;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
}

.hero-title {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: #fff;
  line-height: 1.8;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.hero-sub {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.1rem;
  color: var(--gold-lt);
  margin-bottom: 20px;
}

.hero-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto;
}

.hero-en {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  direction: ltr;
}

/* ===== FORM WRAP ===== */
.form-wrap {
  max-width: 860px;
  margin: -32px auto 0;
  padding: 0 20px 60px;
  position: relative;
  z-index: 2;
}

/* ===== FORM SECTIONS ===== */
.form-section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 36px 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  background: rgba(201,168,76,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.3);
  flex-shrink: 0;
  direction: ltr;
}

.section-label h2 {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
}

/* ===== FIELD GRID ===== */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full-width { grid-column: 1 / -1; }

label {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.en-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  direction: ltr;
}

.req { color: var(--saffron); font-weight: 700; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fdfcfa;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: #fff;
}

select { cursor: pointer; }

textarea {
  resize: vertical;
  line-height: 1.7;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1rem;
}

.char-hint {
  font-size: 0.75rem;
  color: var(--muted);
  direction: rtl;
}

/* ===== SOCIAL FIELDS ===== */
.social-field label { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  direction: ltr;
}
.yt  { background: #ff0000; }
.ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.tt  { background: #010101; }
.fb  { background: #1877f2; }
.li  { background: #0077b5; }
.tw  { background: #000; }

/* ===== UPLOAD FIELDS ===== */
.upload-box {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fdfcfa;
}

.upload-box:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}

.upload-icon { font-size: 2rem; margin-bottom: 10px; }

.upload-box p {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.photo-preview {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 12px;
}

.file-name {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 8px;
  direction: ltr;
  text-align: center;
}

.hidden { display: none; }

/* ===== SUBMIT ===== */
.submit-area {
  text-align: center;
  padding: 12px 0 24px;
}

.privacy-note {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.btn-submit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: white;
  border: none;
  padding: 18px 56px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(232,116,12,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232,116,12,0.45);
}

.btn-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.15rem;
}

.btn-en {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  direction: ltr;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 24px;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .form-section { padding: 24px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .section-label { flex-wrap: wrap; }
  .hero { padding: 40px 16px 56px; }
}
