/* ============================================================
   Datanitial — Coming soon page
   Follows the Datanitial Visual Design System v3.2:
   white background, category pill top-left, one headline,
   one supporting sentence, one illustration, footer with the
   official logo (bottom-left) and datanitial.com (bottom-right).
   ============================================================ */

:root {
  --indigo: #2E2A8C;      /* Primary   — Deep Indigo */
  --royal: #3A4FB7;       /* Secondary — Royal Blue  */
  --light-blue: #4E7CCF;  /* Accent    — Light Blue  */
  --text: #4A4F6A;
  --muted: #5B6285;
  --line: #ECEFF7;
  --soft: #EEF2FB;
  --skel: #E8ECF8;
  --white: #ffffff;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html, body { margin: 0; background: var(--white); }

body {
  font-family: var(--font);
  color: var(--indigo);
  -webkit-font-smoothing: antialiased;
}

/* ── Page shell ───────────────────────────────────────────── */
.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px clamp(20px, 5vw, 88px) 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

/* Very subtle geometric texture + soft light-blue glow (right side) */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(46, 42, 140, .09) 1.2px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 78% 42%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 65% at 78% 42%, #000 0%, transparent 75%);
}
.page::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(78, 124, 207, .10), rgba(78, 124, 207, 0));
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── 1. Category pill ─────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--royal);
  color: var(--royal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── 2–4. Hero ────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.copy h1 {
  margin: 0;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.025em;
  color: var(--indigo);
}
.copy h1 span { color: var(--royal); }

.copy p {
  margin: 0;
  max-width: 520px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

/* ── Illustration: the new website being prepared ─────────── */
.art {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.browser {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #DDE2F2;
  box-shadow: 0 30px 70px rgba(46, 42, 140, .12), 0 4px 14px rgba(46, 42, 140, .05);
  overflow: hidden;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #EDF0F8;
  background: #FAFBFE;
}
.browser__dots { display: flex; gap: 7px; }
.browser__dots span { width: 10px; height: 10px; border-radius: 50%; background: #D9DEEF; }
.browser__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.browser__body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mock-nav { display: flex; align-items: center; justify-content: space-between; }
.mock-nav__brand, .mock-nav__links { display: flex; align-items: center; gap: 12px; }
.mock-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--indigo); }
.mock-btn { width: 64px; height: 24px; border-radius: 999px; background: var(--royal); }

.mock-title { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.bar { display: block; height: 18px; border-radius: 6px; }
.bar--indigo { background: var(--indigo); }
.bar--blue { background: var(--light-blue); }

.mock-image {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--soft) 0%, #DCE5FA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mock-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #EDF0F8;
}
.mock-icon { width: 18px; height: 18px; border-radius: 5px; background: var(--soft); border: 1.5px solid var(--light-blue); }

/* Placeholder lines with a soft shimmer */
.skel {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: var(--skel);
}
.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,0));
  animation: shimmer 3.2s ease-in-out infinite;
}

/* ── 5. Footer ────────────────────────────────────────────── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer__logo { height: 52px; width: auto; display: block; }
.footer__site {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--indigo);
  text-decoration: none;
}
.footer__site:hover { color: var(--royal); text-decoration: underline; }
.footer__site:focus-visible { outline: 2px solid var(--light-blue); outline-offset: 4px; border-radius: 4px; }

/* ── Motion (minimal) ─────────────────────────────────────── */
.rise {
  opacity: 0;
  animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; animation: none; }
  .skel::after { animation: none; display: none; }
}

/* ── Small screens ────────────────────────────────────────── */
@media (max-width: 720px) {
  .page { padding-top: 28px; gap: 32px; }
  .hero { gap: 40px; }
  .browser__body { padding: 20px; gap: 18px; }
  .mock-image { height: 90px; }
  .footer__logo { height: 44px; }
}
