/* ==========================================================================
   078 · DATACORE (نواة الضيافة) — 1:1 Cosmic-Violet (#2B2344) & Electric Purple (#7B39FC)
   Floating rounded-2xl .glass-panel dock · Fluted violet-beam hero · Mixed Sans + Italic Serif
   ========================================================================== */

:root {
  --dc-bg: #2B2344;
  --dc-sub-bg: #0E0B1A;
  --dc-purple: #7B39FC;
  --dc-ink: #FFFFFF;
  --dc-muted: rgba(255, 255, 255, 0.62);
  --dc-sans: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --dc-serif: 'Amiri', Georgia, serif;
  --dc-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--dc-bg);
  color: var(--dc-ink);
  font-family: var(--dc-sans);
  letter-spacing: 0;
}

body {
  background: var(--dc-bg);
  color: var(--dc-ink);
  font-family: var(--dc-sans);
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  letter-spacing: 0;
}

.glass-panel {
  background: rgba(43, 35, 68, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
}

.glass-pill {
  background: rgba(43, 35, 68, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
}

/* ======================== FLOATING GLASS TOP NAVBAR ======================== */
.dc-header-wrap {
  position: absolute;
  top: 20px;
  inset-inline: 0;
  z-index: 50;
  padding: 0 24px;
}

.dc-header {
  max-width: 1152px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.dc-monogram {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--dc-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(123, 57, 252, 0.45);
}

.dc-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
}

.dc-nav a:hover,
.dc-nav a.is-active {
  color: #FFFFFF;
}

.dc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.dc-btn-ghost {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}

.dc-btn-purple {
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  background: var(--dc-purple);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(123, 57, 252, 0.35);
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.dc-btn-purple:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

/* ======================== 1. HERO (#hero — 100DVH) ======================== */
.dc-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 124px 28px 80px;
  overflow: hidden;
  isolation: isolate;
}

.dc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.dc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#dc-flute-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.dc-hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(43, 35, 68, 0.18) 0%, rgba(43, 35, 68, 0.25) 68%, var(--dc-bg) 100%);
  pointer-events: none;
}

.dc-hero-inner {
  max-width: 1152px;
  width: 100%;
  margin: 0 auto;
}

.dc-hero-block {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.dc-announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 6px;
  font-size: 13px;
}

.dc-new-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--dc-purple);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
}

.dc-h1 {
  font-size: clamp(2.5rem, 5.3vw, 4.45rem);
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48), 0 1px 4px rgba(0, 0, 0, 0.35);
}

.dc-h1 em {
  font-family: var(--dc-serif);
  font-style: italic;
  font-weight: 400;
  padding-inline: 0.08em;
}

.dc-lead {
  max-width: 580px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.dc-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dc-cta-glass {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}

/* ======================== DOWNSTREAM SECTIONS ======================== */
.dc-sec {
  max-width: 1152px;
  margin: 0 auto;
  padding: 92px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dc-eyebrow {
  font-family: var(--dc-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 10px;
  display: block;
}

.dc-h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.45rem);
  font-weight: 600;
  line-height: 1.24;
  margin-bottom: 16px;
}

.dc-grid-3 {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dc-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dc-faq-stack {
  margin-top: 28px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dc-btn-white {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #140E24;
  font-size: 14px;
  font-weight: 600;
}

/* ======================== HASH SUB-ROUTES (#/services, #/reviews, #/contact) ======================== */
.dc-subview {
  display: none;
  min-height: 82dvh;
  max-width: 920px;
  margin: 0 auto;
  padding: 138px 28px 80px;
}

body.is-sub {
  background: #07050E;
}

body.is-sub .dc-home-flow {
  display: none;
}

body.is-sub .dc-subview {
  display: block;
}

.dc-showcase-bar {
  max-width: 1152px;
  margin: 0 auto;
  padding: 26px 28px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--dc-muted);
}

.dc-showcase-bar a:hover {
  color: #FFFFFF;
}

@media (max-width: 860px) {
  .dc-nav .dc-hide-md {
    display: none;
  }
}

@media (max-width: 720px) {
  .dc-nav {
    display: none;
  }
  .dc-grid-3 {
    grid-template-columns: 1fr;
  }
}
