/* IuVeAI Digital Human — public landing (brand section) */

:root {
  --dh-ink: #f4efe6;
  --dh-muted: #b8a99a;
  --dh-bg: #0b1020;
  --dh-panel: rgba(18, 22, 34, 0.72);
  --dh-line: rgba(255, 196, 160, 0.22);
  --dh-accent: #e8a87c;
  --dh-accent-2: #c45c7a;
  --dh-glow: rgba(232, 168, 124, 0.35);
}

* { box-sizing: border-box; }

body.dh-public {
  margin: 0;
  min-height: 100vh;
  color: var(--dh-ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: var(--dh-bg);
  position: relative;
  overflow-x: hidden;
}

.dh-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(920px 520px at 78% 18%, rgba(196, 92, 122, 0.38), transparent 60%),
    radial-gradient(780px 480px at 12% 80%, rgba(232, 168, 124, 0.22), transparent 55%),
    linear-gradient(165deg, #0b1020 0%, #14101c 48%, #0d1528 100%);
}

.dh-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 22px 64px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dh-ink);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img { width: 34px; height: 34px; }

.dh-top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.dh-top-nav a {
  color: var(--dh-muted);
  text-decoration: none;
  font-size: 14px;
}

.dh-top-nav a:hover { color: var(--dh-ink); }

.lang-box {
  border: 1px solid var(--dh-line);
  border-radius: 10px;
  padding: 7px 10px;
  background: var(--dh-panel);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.lang-box label { font-size: 13px; color: var(--dh-muted); }
.lang-box select {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 5px 8px;
  background: #121622;
  color: var(--dh-ink);
}

.dh-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: end;
  min-height: min(78vh, 720px);
  margin-bottom: 72px;
}

.dh-kicker {
  margin: 0 0 10px;
  color: var(--dh-accent);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.dh-hero h1 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--dh-ink);
}

.dh-tagline {
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  color: #f0d7c4;
  font-weight: 500;
}

.lead {
  margin: 0 0 22px;
  color: var(--dh-muted);
  line-height: 1.65;
  max-width: 34rem;
  font-size: 16px;
}

.dh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.dh-btn:hover { transform: translateY(-1px); }

.dh-btn-primary {
  background: linear-gradient(135deg, var(--dh-accent), var(--dh-accent-2));
  color: #1a1014;
}

.dh-btn-ghost {
  background: transparent;
  color: var(--dh-ink);
  border-color: var(--dh-line);
}

.dh-hero-visual {
  margin: 0;
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}

.dh-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  filter: saturate(1.05) contrast(1.04);
  animation: dh-breathe 6.5s ease-in-out infinite;
}

.dh-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -8% -10% -8%;
  background: radial-gradient(circle at 50% 40%, var(--dh-glow), transparent 65%);
  z-index: -1;
  animation: dh-glow 5.5s ease-in-out infinite;
}

.dh-hero-visual figcaption {
  margin-top: 8px;
  color: var(--dh-muted);
  font-size: 13px;
}

.dh-section {
  margin-bottom: 56px;
}

.dh-section h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  color: var(--dh-ink);
}

.dh-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.dh-layers article {
  padding: 20px 18px;
  border: 1px solid var(--dh-line);
  background: var(--dh-panel);
  backdrop-filter: blur(12px);
  border-radius: 16px;
}

.dh-layers h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  color: var(--dh-ink);
}

.dh-layers p {
  margin: 0;
  color: var(--dh-muted);
  line-height: 1.55;
  font-size: 14px;
}

.dh-roadmap {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  color: var(--dh-muted);
  line-height: 1.7;
}

.dh-roadmap strong { color: var(--dh-ink); }

.dh-footer {
  padding-top: 28px;
  border-top: 1px solid var(--dh-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--dh-muted);
  font-size: 14px;
}

.dh-footer a { color: var(--dh-accent); text-decoration: none; }

@keyframes dh-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.01); }
}

@keyframes dh-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 900px) {
  .dh-shell { padding: 16px 16px 48px; }

  .top {
    gap: 10px;
    margin-bottom: 22px;
  }

  .dh-top-nav {
    order: 3;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .dh-top-nav a {
    white-space: nowrap;
    font-size: 13px;
  }

  .dh-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 22px;
    margin-bottom: 48px;
    align-items: start;
  }

  .dh-hero-copy { order: 1; }
  .dh-hero-visual {
    order: 0;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .dh-hero h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .dh-cta-row {
    width: 100%;
  }

  .dh-btn {
    flex: 1 1 auto;
    min-width: min(100%, 148px);
  }

  .dh-layers { grid-template-columns: 1fr; }

  .dh-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .lang-box {
    width: 100%;
    justify-content: space-between;
  }

  .dh-presence-frame,
  .dh-hero-visual img {
    max-height: 52vh;
    object-fit: cover;
  }
}
