:root {
  --bg: #020617;
  --panel: #0b1220;
  --panel-soft: rgba(15, 23, 42, 0.95);
  --border-soft: rgba(148, 163, 184, 0.3);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.2);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --danger: #fb7185;
  --success: #4ade80;
  --neutral: #64748b;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
  --shadow-subtle: 0 14px 40px rgba(15, 23, 42, 0.8);
  --border-width: 1px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(
    circle at top,
    #020617 0,
    #020617 40%,
    #020617 100%
  );
  color: var(--text);
}

body {
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 48px;
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: linear-gradient(
      120deg,
      rgba(148, 163, 184, 0.08),
      rgba(37, 99, 235, 0.15)
    ),
    rgba(15, 23, 42, 0.96);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 16px;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0%, #22d3ee, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #f9fafb;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.5),
    0 10px 25px rgba(8, 47, 73, 0.9);
}

.logo-mark.small {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #38bdf8);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: #f9fafb;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease,
    transform 0.05s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.btn-lg {
  padding: 10px 20px;
  font-size: 14px;
}

.btn.primary {
  background: radial-gradient(circle at 0% 0%, #22d3ee, #0ea5e9);
  border-color: rgba(56, 189, 248, 0.8);
  color: #0f172a;
  box-shadow: 0 20px 40px rgba(8, 47, 73, 0.8);
}

.btn.primary:hover {
  background: radial-gradient(circle at 0% 0%, #7dd3fc, #0ea5e9);
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(8, 47, 73, 0.9);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
}

.btn.full-width {
  width: 100%;
}

/* HERO */

.main {
  margin-top: 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.hero-left {
  padding: 24px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), #020617);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: -120px;
  opacity: 0.22;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(56, 189, 248, 0.2),
    transparent 55%
  );
  pointer-events: none;
}

.hero-left > * {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.8);
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero h1 {
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.accent-gradient {
  background: linear-gradient(120deg, #22d3ee, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--text-soft);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}

.meta-label {
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.meta-value {
  color: #e5e7eb;
}

/* HERO RIGHT PREVIEW */

.hero-right {
  display: flex;
  align-items: stretch;
}

.glass-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.12),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  padding: 16px;
  width: 100%;
}

.session-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
}

.preview-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-weight: 500;
}

.preview-time {
  opacity: 0.9;
}

.preview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px;
  margin-top: 4px;
}

.stream-video-skeleton {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at 10% 0%,
    #020617,
    #020617 40%,
    #0b1120 100%
  );
  padding: 12px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.stream-video-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0,
    rgba(148, 163, 184, 0.06) 30%,
    transparent 60%
  );
  mix-blend-mode: screen;
}

.stream-status {
  font-size: 11px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97373;
  box-shadow: 0 0 0 5px rgba(248, 113, 113, 0.18);
}

.stream-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.stream-meta {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: auto;
}

.preview-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-panel {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  padding: 10px;
}

.mini-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.mini-text {
  margin: 0;
  font-size: 12px;
  color: var(--text);
}

.mini-tag {
  color: var(--accent-strong);
  font-weight: 500;
}

.mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.chip {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.chip.green {
  background: var(--success);
}

.chip.red {
  background: var(--danger);
}

.chip.neutral {
  background: var(--neutral);
}

.preview-footer {
  margin-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

/* SECTIONS */

.section {
  margin-top: 40px;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.grid {
  display: grid;
  gap: 14px;
}

.tools-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.tool-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.tool-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.tool-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #e5e7eb;
}

/* Steps */

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), #020617);
  position: relative;
  overflow: hidden;
}

.step-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-soft);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* Values */

.section-split .section-header {
  max-width: 520px;
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.value-card {
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.92);
}

.value-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.value-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* CTA */

.cta-section {
  margin-top: 44px;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle at 0% 0%, rgba(8, 47, 73, 0.9), #020617);
  box-shadow: 0 30px 70px rgba(8, 47, 73, 0.85);
}

.cta-main h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.cta-main p {
  margin: 0;
  font-size: 13px;
  color: #e5e7eb;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-caption {
  margin: 0;
  font-size: 11px;
  color: var(--text-soft);
  text-align: center;
}

/* FOOTER */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  font-size: 11px;
  color: var(--text-soft);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: #f9fafb;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .preview-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .page {
    padding: 14px 14px 32px;
  }

  .nav {
    border-radius: 16px;
  }

  .hero-left {
    padding: 18px;
  }

  .tools-grid,
  .steps-grid,
  .values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
