html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 128px 24px 96px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 55%, rgba(184,147,63,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 25%, rgba(184,147,63,0.05) 0%, transparent 60%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23B8933F' stroke-width='0.35' opacity='0.18'%3E%3Cpolygon points='36,3 69,19.5 69,52.5 36,69 3,52.5 3,19.5'/%3E%3Cpolygon points='36,13 59,24.5 59,47.5 36,59 13,47.5 13,24.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  position: relative;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--dark);
  max-width: 700px;
  margin-bottom: 26px;
  position: relative;
}

h1.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 48px;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(184,147,63,0.28);
}
.btn-primary:hover {
  background: #a07c32;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,147,63,0.32);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  font-size: 14px;
  font-weight: 400;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(184,147,63,0.04);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.9); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── TOOLS ───────────────────────────────────────────────────────── */
.tools {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: var(--mid);
  max-width: 460px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.tool-card:hover {
  box-shadow: 0 16px 48px rgba(28,26,22,0.08);
  transform: translateY(-4px);
}
.tool-card.dim { opacity: 0.68; }
.tool-card.dim:hover { transform: none; box-shadow: none; }

.tool-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(184,147,63,0.14), rgba(184,147,63,0.05));
  border: 1px solid rgba(184,147,63,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  width: fit-content;
}
.badge-live { background: rgba(34,139,34,0.1); color: #22762A; }
.badge-soon { background: rgba(156,144,128,0.12); color: var(--muted); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; }
.badge-live .badge-dot { background: #22762A; }
.badge-soon .badge-dot { background: var(--muted); }

.tool-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.18;
}

.tool-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.72;
}

.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tool-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}
.tool-features li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(184,147,63,0.13) url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-5' stroke='%23B8933F' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(184,147,63,0.3);
}

.tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  width: fit-content;
}
.tool-cta:hover { background: #a07c32; transform: translateY(-1px); }

.tool-cta-disabled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--beige);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: not-allowed;
  width: fit-content;
}

/* ── HOW IT WORKS ────────────────────────────────────────────────── */
.how {
  background: var(--beige);
  padding: 100px 24px;
}

.how-inner {
  max-width: 760px;
  margin: 0 auto;
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 56px;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px; top: 30px; bottom: 30px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(184,147,63,0.4), transparent);
}

.step {
  display: flex;
  gap: 24px;
  padding: 20px 0;
}

.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--gold);
}

.step-body { padding-top: 10px; }

.step-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.68;
}

/* ── HADITH QUOTE ────────────────────────────────────────────────── */
.quote-section {
  padding: 88px 24px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 24px;
  display: block;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.55;
  margin-bottom: 22px;
}

.quote-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
}

.quote-source::before,
.quote-source::after {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ── UAE URGENCY ─────────────────────────────────────────────────── */
.urgency-section {
  background: linear-gradient(135deg, #1C1A16 0%, #2A2820 100%);
  padding: 72px 24px;
}

.urgency-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.urgency-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(184,147,63,0.15);
  border: 1px solid rgba(184,147,63,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 26px;
}

.urgency-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.25;
}

.urgency-text p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
}

.urgency-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.urgency-cta:hover { background: #a07c32; }

@media (max-width: 760px) {
  .urgency-inner { grid-template-columns: 1fr; text-align: center; }
  .urgency-icon-wrap { margin: 0 auto; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 108px 20px 88px; }
  .tools { padding: 72px 20px; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 30px 24px; }
  .how { padding: 72px 20px; }
}
