/* PracticeOS — Platinum command center layer */
:root {
  --os-cyan: #00d4ff;
  --os-cyan-dim: rgba(0, 212, 255, 0.12);
  --os-cyan-glow: rgba(0, 212, 255, 0.35);
  --os-platinum: #e2e8f0;
  --os-platinum-dim: rgba(226, 232, 240, 0.08);
  --os-void: #060a14;
  --os-shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --os-shadow-glow: 0 0 60px rgba(0, 212, 255, 0.08);
}

.os-body--platinum {
  background: var(--os-void);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(0, 212, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 162, 39, 0.06), transparent),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

.os-platinum-bar {
  position: fixed; top: var(--os-top); left: 0; right: 0; z-index: 195;
  height: 28px; display: flex; align-items: center; justify-content: center; gap: 20px;
  font-family: var(--os-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--os-muted); background: rgba(6, 10, 20, 0.92);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}
body.os-body--platinum.has-tabs { --os-platinum-bar: 28px; }
body.os-body--platinum.has-tabs .os-platinum-bar { top: calc(var(--os-top) + var(--os-tab)); }
body.os-body--platinum.has-tabs .os-main { padding-top: calc(var(--os-top) + var(--os-tab) + var(--os-platinum-bar, 0px) + 28px); }
body.os-body--platinum:not(.has-tabs) .os-main { padding-top: calc(var(--os-top) + 28px); }
body.os-body--platinum.has-tabs .os-main--landing { padding-top: calc(var(--os-top) + 24px); }

.os-topbar--platinum {
  height: 60px; border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.98), rgba(12, 18, 34, 0.88));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.os-topbar--platinum .os-brand strong {
  background: linear-gradient(135deg, var(--os-off), var(--os-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 16px;
}
.os-topbar--platinum .os-badge--live {
  border-color: var(--os-cyan-glow); color: var(--os-cyan);
  background: var(--os-cyan-dim); animation: os-pulse 3s ease-in-out infinite;
}
@keyframes os-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.os-glass--platinum {
  background: linear-gradient(145deg, rgba(20, 27, 45, 0.85), rgba(12, 18, 34, 0.75));
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--os-shadow-lg), var(--os-shadow-glow);
}
.os-card--platinum {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(28, 36, 56, 0.9), rgba(20, 27, 45, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--os-shadow-lg);
}
.os-card--platinum::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.os-btn--platinum {
  background: linear-gradient(135deg, #00d4ff, #3d7ab8);
  color: #060a14; font-weight: 700;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}
.os-btn--platinum:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.os-hero-platinum { padding: 56px 24px 40px; max-width: 1180px; margin: 0 auto; }
.os-hero-platinum__h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 0%, var(--os-platinum) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.os-tagline-band {
  padding: 20px 24px; margin: 32px 0; border-radius: 14px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), rgba(201, 162, 39, 0.06));
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-family: var(--os-display); font-size: clamp(14px, 2.5vw, 18px); font-weight: 600;
  line-height: 1.5; color: var(--os-off); text-align: center;
}
.os-tagline-band em { font-style: normal; color: var(--os-cyan); }

.os-dash-preview {
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.25);
  box-shadow: var(--os-shadow-lg), 0 0 80px rgba(0, 212, 255, 0.1);
}
.os-dash-preview__chrome {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(0, 0, 0, 0.35); border-bottom: 1px solid var(--os-border);
}
.os-dash-preview__dot { width: 10px; height: 10px; border-radius: 50%; }
.os-dash-preview__dot--r { background: #ff5f57; }
.os-dash-preview__dot--y { background: #febc2e; }
.os-dash-preview__dot--g { background: #28c840; }
.os-module-health {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px;
  background: rgba(0, 0, 0, 0.2);
}
.os-module-health__tile {
  text-align: center; padding: 12px 8px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--os-border);
}
.os-module-health__ring {
  width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--os-mono); font-size: 10px; color: var(--os-cyan);
}
.os-module-health__lbl { font-size: 9px; color: var(--os-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.os-module-engine--platinum .os-module-engine__card {
  padding: 22px; border-radius: 14px;
  background: linear-gradient(165deg, rgba(28, 36, 56, 0.95), rgba(20, 27, 45, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.os-module-engine--platinum .os-module-engine__card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.12);
  transform: translateY(-4px);
}
.os-module-engine__accent {
  height: 3px; border-radius: 3px; margin-bottom: 14px;
}

.os-journey--platinum .os-journey__step {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.06), transparent);
  border-left-color: var(--os-cyan);
  padding: 18px;
}

.os-dash-metric--platinum {
  background: linear-gradient(180deg, rgba(28, 36, 56, 0.9), rgba(20, 27, 45, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, transform 0.2s;
}
.os-dash-metric--platinum:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-2px); }
.os-dash-metric--platinum .os-dash-metric__val {
  background: linear-gradient(135deg, var(--os-off), var(--os-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.os-claim-flow {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0;
  padding: 16px; border-radius: 12px; background: var(--os-graphite); border: 1px solid var(--os-border);
}
.os-claim-flow__node {
  flex: 1 1 100px; text-align: center; padding: 12px; border-radius: 10px;
  border: 1px solid var(--os-border); font-size: 11px;
}
.os-claim-flow__node strong { display: block; font-size: 12px; color: var(--os-cyan); margin-bottom: 4px; }
.os-claim-flow__arrow { color: var(--os-muted); font-size: 18px; flex: 0 0 auto; }

.os-section-platinum { margin: 56px 0; }
.os-section-platinum__title {
  font-size: clamp(22px, 3vw, 28px); margin: 0 0 10px;
}
.os-pricing-hero {
  padding: 28px; border-radius: 16px; margin-bottom: 28px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(201, 162, 39, 0.08));
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.os-module-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
@media (max-width: 900px) { .os-module-page-grid { grid-template-columns: 1fr; } }

.os-sidebar-panel {
  padding: 18px; border-radius: 14px;
  background: var(--os-graphite); border: 1px solid var(--os-border);
  position: sticky; top: calc(var(--os-top) + var(--os-tab) + 40px);
}
.os-kpi-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.os-kpi {
  flex: 1 1 140px; padding: 14px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--os-border);
}
.os-kpi__val { font-family: var(--os-display); font-size: 20px; font-weight: 700; }

.os-footer--platinum {
  margin-top: 64px; padding: 40px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  border-top: 1px solid rgba(0, 212, 255, 0.15);
}
.os-footer--platinum .os-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1100px; margin: 0 auto 24px;
}
@media (max-width: 700px) { .os-footer--platinum .os-footer__grid { grid-template-columns: 1fr; } }

.os-maintenance {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.os-maintenance__card {
  max-width: 480px; padding: 40px; border-radius: 20px;
  background: var(--os-card--platinum, var(--os-charcoal));
}

@media (max-width: 768px) {
  .os-nav--platinum { display: flex !important; }
  .os-module-health { grid-template-columns: repeat(3, 1fr); }
}
