/* PIM landing v005 — dashboard-aligned */

:root {
  --bg: #060816;
  --bg-2: #0b1024;
  --panel: #0f1730;
  --text: #e7ecff;
  --muted: #97a3c6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --magenta: #ec4899;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(139, 92, 246, 0.14), transparent 50%),
    radial-gradient(800px 480px at 88% 8%, rgba(34, 211, 238, 0.1), transparent 45%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

img {
  display: block;
  max-width: 100%;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, black, transparent);
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
}

.bg__glow--violet {
  width: 380px;
  height: 380px;
  top: -6%;
  left: -6%;
  background: rgba(139, 92, 246, 0.3);
}

.bg__glow--cyan {
  width: 340px;
  height: 340px;
  top: 2%;
  right: -8%;
  background: rgba(34, 211, 238, 0.22);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 8, 22, 0.88);
  backdrop-filter: blur(14px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.08);
}

.nav__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.nav__wordmark {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__subtitle {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Pills & buttons */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.pill--soon {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: #ddd6fe;
}

.pill--accent {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.1);
  color: #a5f3fc;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.55rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  border-radius: 10px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 115%);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
  border: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(34, 211, 238, 0.4);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Main */
main {
  position: relative;
  z-index: 1;
}

/* Hero — two-column desktop */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.hero__title-accent {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: 0 0 1.6rem;
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__trust {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(151, 163, 198, 0.7);
}

/* Hero visual card */
.hero__visual {
  display: flex;
  justify-content: center;
}

.orb-card {
  position: relative;
  width: min(380px, 100%);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow), 0 0 48px rgba(139, 92, 246, 0.1);
}

.orb-card__line {
  position: absolute;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.45), transparent);
}

.orb-card__line--tl { top: 22%; left: 6%; transform: rotate(32deg); }
.orb-card__line--tr { top: 22%; right: 6%; transform: rotate(-32deg); background: linear-gradient(270deg, rgba(139, 92, 246, 0.45), transparent); }
.orb-card__line--bl { bottom: 28%; left: 6%; transform: rotate(-32deg); }
.orb-card__line--br { bottom: 28%; right: 6%; transform: rotate(32deg); background: linear-gradient(270deg, rgba(236, 72, 153, 0.4), transparent); }

.orb {
  position: relative;
  width: min(280px, 72vw);
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
}

.orb__ring--outer {
  inset: 0;
  border: 1px dashed rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}

.orb__ring--inner {
  inset: 14%;
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.12);
}

.orb__core {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 48px rgba(139, 92, 246, 0.22);
  overflow: hidden;
}

.orb__logo {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 18px;
}

.orb-card__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.orb-chip {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--border);
  background: rgba(6, 8, 22, 0.7);
}

.orb-chip--cyan { color: #a5f3fc; border-color: rgba(34, 211, 238, 0.28); }
.orb-chip--violet { color: #ddd6fe; border-color: rgba(139, 92, 246, 0.28); }
.orb-chip--magenta { color: #fbcfe8; border-color: rgba(236, 72, 153, 0.28); }

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Feature cards */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: var(--shadow), 0 0 28px rgba(34, 211, 238, 0.08);
}

.card__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 0.9rem;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__icon--eco { color: var(--cyan); background: rgba(34, 211, 238, 0.1); }
.card__icon--liq { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); }
.card__icon--pf { color: #f9a8d4; background: rgba(236, 72, 153, 0.1); }
.card__icon--bub { color: var(--cyan); background: rgba(34, 211, 238, 0.1); }

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Intelligence panel */
.section--intel {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.intel {
  text-align: center;
  max-width: 640px;
}

.intel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intel__copy {
  margin: 0 auto 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.intel__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  font-size: 0.82rem;
  font-weight: 600;
}

.chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.chip__dot--cyan { background: var(--cyan); box-shadow: 0 0 8px rgba(34, 211, 238, 0.7); }
.chip__dot--violet { background: var(--violet); box-shadow: 0 0 8px rgba(139, 92, 246, 0.7); }
.chip__dot--magenta { background: var(--magenta); box-shadow: 0 0 8px rgba(236, 72, 153, 0.7); }

/* CTA */
.cta-panel {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: linear-gradient(170deg, rgba(139, 92, 246, 0.09), rgba(34, 211, 238, 0.03));
  box-shadow: 0 0 48px rgba(139, 92, 246, 0.08), var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
}

.cta-panel p {
  margin: 0 auto 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 440px;
}

.cta-panel__email {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: rgba(6, 8, 22, 0.75);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.footer__brand img {
  border-radius: 8px;
}

.footer__legal {
  margin: 0 0 0.5rem;
  font-size: 0.74rem;
  color: rgba(151, 163, 198, 0.6);
}

.footer__build {
  margin: 0;
  font-size: 0.68rem;
  color: rgba(151, 163, 198, 0.4);
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav__subtitle {
    display: none;
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__copy {
    align-items: center;
    text-align: center;
    order: 2;
  }

  .hero__visual {
    order: 1;
  }

  .hero__cta {
    justify-content: center;
    width: 100%;
    max-width: 300px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .section {
    padding: 2.5rem 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .nav__actions .pill--soon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
