/* ============================================
   CSS RESET + BASE STYLES
   ============================================
   Imported by components that need a clean baseline.
   Scoped to :host since components run in Shadow DOM.
   ============================================ */

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

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

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

a:not([class]):hover {
  color: var(--blue-primary);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   PLATFORM DEMO
   ============================================
   Migrated to Two-Container Rule (2026-04-28).
   - Section: Dark variant (charcoal + radial inner-glows)
   - Mock card: Frosted variant (translucent + backdrop-blur + dark elev)
*/

.PlatformDemo-module__platformSection--rYAdQ {
  background:
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(0, 156, 222, 0.22), transparent 65%),
    radial-gradient(ellipse 65% 60% at 15% 85%, rgba(0, 76, 151, 0.32), transparent 60%),
    var(--bg-charcoal);
  padding: var(--section-pad) 0;
  color: var(--text-inverse);
}

.PlatformDemo-module__container--RtQKT {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.PlatformDemo-module__platformGrid--x6L1y {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.PlatformDemo-module__platformText--Dn_Ka h2 {
  font-family: var(--font-body);
  font-size: var(--h2-size);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-inverse);
}

.PlatformDemo-module__platformText--Dn_Ka p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.PlatformDemo-module__platformLink--PqI1u {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-bright);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-hover),
              color var(--duration-fast) var(--ease-hover);
}

.PlatformDemo-module__platformLink--PqI1u:hover {
  gap: 10px;
  color: var(--blue-bright);
}

/* === Frosted card per Two-Container Rule === */
.PlatformDemo-module__dashboardMock--c_Pm2 {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
          backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--elev-2-dark), var(--elev-inset-dark);
}

/* Full-bleed image variant: when an <img> is rendered directly inside
   the mock wrapper (imageUrl prop set), drop the 24px padding so the
   screenshot fills the frame. Keep the Frosted chrome (border + shadow). */
.PlatformDemo-module__dashboardMock--c_Pm2:has(> img) {
  padding: 0;
  overflow: hidden;
}

.PlatformDemo-module__dashboardMock--c_Pm2 > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Mock interior — dark-themed since the wrapper is now a Frosted card
   sitting on a Dark section. Used only when the imageUrl prop isn't
   set; otherwise the mock is just an <img>. */
.PlatformDemo-module__dashboardHeader--s99ez {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.PlatformDemo-module__dashboardLogo--FdRkX {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-inverse);
  letter-spacing: 0.1em;
}

.PlatformDemo-module__dashboardNav--hUuVW {
  display: flex;
  gap: 12px;
}

.PlatformDemo-module__navItem--puPh5 {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
}

.PlatformDemo-module__dashboardContent--tLXu3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.PlatformDemo-module__alertBox--RIPC2 {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  border-left: 4px solid var(--cta-orange);
}

.PlatformDemo-module__alertSeverity--J3GRi {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cta-orange);
  margin-bottom: 8px;
}

.PlatformDemo-module__alertText--Nu0_e {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 4px;
  margin-bottom: 8px;
}

.PlatformDemo-module__alertStatus--Raa7j {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.PlatformDemo-module__metricsRow--iX5uS {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.PlatformDemo-module__metricCard--FuGXg {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.PlatformDemo-module__metricLabel--wajjt {
  width: 70%;
  height: 10px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  margin-bottom: 8px;
}

.PlatformDemo-module__metricValue--BcR4v {
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .PlatformDemo-module__platformGrid--x6L1y {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .PlatformDemo-module__platformSection--rYAdQ {
    padding: var(--section-pad-mobile) 0;
  }

  .PlatformDemo-module__platformText--Dn_Ka p {
    font-size: 15px;
  }
}

