/* ═══════════════════════════════════════════════════════
   ARKENSTONE — آرکنستون  — Sub-brand page styles
   Crystal white · Indigo/Purple · Gold accent
   ═══════════════════════════════════════════════════════ */

/* ── Page root ── */
.arkenstone-page {
  background: #07051a;
  color: #e0e7ff;
  font-family: 'PeydaFaNumWeb', sans-serif;
  direction: rtl;
  overflow-x: hidden;
}

.arkenstone-page * { box-sizing: border-box; }

/* ── Star field bg ── */
.ark-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 5rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #1e0a3c 0%, #0d0720 55%, #07051a 100%);
  overflow: hidden;
}

/* particle stars */
.ark-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 42% 8%, rgba(200,180,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 91% 55%, rgba(255,255,255,.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 6% 70%, rgba(255,255,255,.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 62% 90%, rgba(167,139,250,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 29% 82%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 78%, rgba(196,181,253,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 35% 60%, rgba(255,255,255,.3) 0%, transparent 100%);
  animation: ark-stars-drift 60s linear infinite alternate;
}

@keyframes ark-stars-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-12px, -8px); }
}

/* ── Gem wrapper ── */
.ark-gem-wrap {
  position: relative;
  width: 220px;
  height: 240px;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 0 40px rgba(124,58,237,.6)) drop-shadow(0 0 80px rgba(109,40,217,.3));
  animation: ark-gem-float 5s ease-in-out infinite;
}

@keyframes ark-gem-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.ark-gem-halo {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(124,58,237,.55) 0%, transparent 70%);
  border-radius: 50%;
  animation: ark-halo-pulse 5s ease-in-out infinite;
}

@keyframes ark-halo-pulse {
  0%,100% { opacity: 1;   width: 160px; }
  50%      { opacity: .5; width: 120px; }
}

/* ── Hero text ── */
.ark-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 999px;
  padding: .35rem 1rem;
  margin-bottom: 1.25rem;
}

.ark-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  animation: ark-dot-pulse 2s ease-in-out infinite;
}

@keyframes ark-dot-pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.4;transform:scale(.7)}
}

.ark-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 30%, #a78bfa 65%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ark-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #c4b5fd;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.ark-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ark-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(124,58,237,.45);
  transition: transform .2s, box-shadow .2s;
}

.ark-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,.6);
}

.ark-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  background: rgba(255,255,255,.06);
  color: #e0e7ff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(196,181,253,.3);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.ark-btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(196,181,253,.5);
}

/* ── Section wrapper ── */
.ark-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ark-section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.4), transparent);
  margin: 0 auto;
}

.ark-section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: .75rem;
  display: block;
}

.ark-section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #f0f4ff;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.ark-section-desc {
  font-size: 1.05rem;
  color: #a78bfa;
  max-width: 560px;
  line-height: 1.85;
}

/* ── Why section — stat strip ── */
.ark-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.ark-stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color .25s, background .25s;
}

.ark-stat-card:hover {
  border-color: rgba(167,139,250,.5);
  background: rgba(124,58,237,.08);
}

.ark-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fde68a, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.1;
  margin-bottom: .4rem;
}

.ark-stat-label {
  font-size: .85rem;
  color: #c4b5fd;
  line-height: 1.5;
}

/* ── Features grid ── */
.ark-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.ark-feature-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.ark-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.6), transparent);
  opacity: 0;
  transition: opacity .25s;
}

.ark-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 12px 40px rgba(124,58,237,.15);
}

.ark-feature-card:hover::before { opacity: 1; }

.ark-feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.ark-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0e7ff;
  margin: 0 0 .6rem;
}

.ark-feature-desc {
  font-size: .9rem;
  color: #8b7ec8;
  line-height: 1.75;
  margin: 0;
}

/* ── Pabagan modules ── */
.ark-modules-bg {
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(124,58,237,.18);
  border-bottom: 1px solid rgba(124,58,237,.18);
}

.ark-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.ark-module-pill {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(196,181,253,.15);
  border-radius: 14px;
  transition: border-color .2s, background .2s;
}

.ark-module-pill:hover {
  border-color: rgba(196,181,253,.35);
  background: rgba(124,58,237,.07);
}

.ark-module-num {
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: .03em;
}

.ark-module-info { flex: 1; }

.ark-module-name {
  font-size: .95rem;
  font-weight: 700;
  color: #e0e7ff;
  display: block;
  margin-bottom: .25rem;
}

.ark-module-desc {
  font-size: .8rem;
  color: #7c6db8;
  line-height: 1.6;
}

/* ── Human images strip ── */
.ark-human-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.ark-human-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(124,58,237,.2);
  display: flex;
  align-items: flex-end;
}

.ark-human-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(180deg, #120930 0%, #0d0720 100%);
}

.ark-human-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid rgba(196,181,253,.3);
}

.ark-human-quote {
  font-size: .82rem;
  color: #a78bfa;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: .75rem;
}

.ark-human-name {
  font-size: .8rem;
  font-weight: 700;
  color: #e0e7ff;
}

.ark-human-role {
  font-size: .72rem;
  color: #6d28d9;
  display: block;
  margin-top: .15rem;
}

/* ── CTA section ── */
.ark-cta {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, #1a0a40 0%, #07051a 70%);
}

.ark-cta-gem {
  display: inline-block;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 24px rgba(124,58,237,.7));
  animation: ark-gem-float 5s ease-in-out infinite;
}

.ark-cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #f0f4ff;
  margin: 0 0 1rem;
}

.ark-cta-subtitle {
  font-size: 1.05rem;
  color: #a78bfa;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.ark-badge-pbg {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: #fde68a;
  background: rgba(253,230,138,.08);
  border: 1px solid rgba(253,230,138,.25);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: 2rem;
}

.ark-badge-pbg svg { width: 14px; height: 14px; }

/* ── responsive ── */
@media (max-width: 768px) {
  .ark-hero { padding: 6rem 1.5rem 4rem; }
  .ark-gem-wrap { width: 170px; height: 190px; }
  .ark-human-strip { grid-template-columns: 1fr; }
  .ark-section { padding: 3.5rem 1.25rem; }
  .ark-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .ark-hero-actions { flex-direction: column; align-items: center; }
  .ark-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ark-human-strip { grid-template-columns: 1fr; }
}
