/* ==========================================================================
   Click Stream — Enterprise Video DRM Landing Stylesheet (Dark Cyber SaaS)
   Supports full native LTR (English) and RTL (Arabic) without external CDN.
   ========================================================================== */

:root {
  --bg-base: #050816;
  --bg-elevated: #0b1124;
  --bg-card: rgba(15, 23, 42, 0.62);
  --bg-card-hover: rgba(20, 30, 56, 0.85);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-bright: rgba(148, 163, 184, 0.28);

  --brand-blue: #3b82f6;
  --brand-sky: #60a5fa;
  --brand-purple: #a855f7;
  --brand-magenta: #d946ef;
  --brand-pink: #ec4899;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;

  --grad-brand: linear-gradient(135deg, #3b82f6 0%, #a855f7 52%, #ec4899 100%);
  --grad-text: linear-gradient(110deg, #60a5fa 0%, #c084fc 50%, #f472b6 100%);

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 16px 42px rgba(96, 165, 250, 0.24), 0 8px 26px rgba(217, 70, 239, 0.2);

  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  overflow-x: clip;
  max-width: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

html[dir="rtl"] body {
  font-family: 'Cairo', 'Dubai', 'Segoe UI', Tahoma, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Ambient Cosmos Backdrop & Grid */
.cs-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 48% at 50% -10%, rgba(59, 130, 246, 0.18), transparent 65%),
    radial-gradient(ellipse 55% 40% at 88% 18%, rgba(217, 70, 239, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 42% at 10% 70%, rgba(59, 130, 246, 0.12), transparent 65%),
    #050816;
}

.cs-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.065;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 35%, transparent 100%);
}

.cs-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.cs-text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.cs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 8, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cs-nav.scrolled {
  background: rgba(5, 8, 22, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

.cs-nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cs-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.cs-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cs-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.cs-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cs-nav-desktop-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cs-lang-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--border-bright);
  color: #ffffff;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.cs-btn-ghost {
  color: var(--text-body);
  padding: 10px 14px;
}

.cs-btn-ghost:hover {
  color: #ffffff;
}

.cs-btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cs-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 20px 46px rgba(96, 165, 250, 0.34), 0 10px 30px rgba(217, 70, 239, 0.3);
}

.cs-btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.cs-btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cs-btn-lg {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
}

.cs-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cs-mobile-drawer {
  display: none;
  background: rgba(7, 11, 28, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px 28px;
}

.cs-mobile-drawer.open {
  display: block;
}

.cs-mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.cs-mobile-drawer-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 0;
}

/* ==========================================================================
   Hero Section & Interactive Multi-Device Stage
   ========================================================================== */
.cs-hero {
  padding: 132px 0 88px;
  position: relative;
}

.cs-hero-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 56px;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.32);
  font-size: 13px;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 24px;
}

.cs-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: cs-pulse 1.8s infinite;
}

@keyframes cs-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.cs-hero-title {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

html[dir="rtl"] .cs-hero-title {
  letter-spacing: 0;
  line-height: 1.24;
  font-size: clamp(34px, 5.2vw, 62px);
}

.cs-hero-sub {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 760px;
  margin: 0 auto 32px;
}

.cs-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.cs-os-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.cs-os-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cs-os-strip i {
  color: var(--brand-sky);
  font-size: 14px;
}

/* Interactive Multi-Device Stage */
.cs-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.55fr);
  gap: 28px;
  align-items: center;
}

.cs-desktop-mockup {
  background: var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 80px rgba(59, 130, 246, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cs-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  background: rgba(11, 17, 36, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.cs-win-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cs-win-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cs-win-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}

.cs-win-title img {
  border-radius: 5px;
}

.cs-drm-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
}

.cs-player-viewport {
  position: relative;
  min-height: 290px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(circle at 82% 75%, rgba(217, 70, 239, 0.15), transparent 55%),
    #060a18;
  overflow: hidden;
}

.cs-vp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-vp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.cs-floating-wm {
  align-self: flex-end;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.68);
  border: 1px dashed rgba(96, 165, 250, 0.45);
  color: rgba(226, 232, 240, 0.85);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: cs-wm-float 7s ease-in-out infinite;
}

@keyframes cs-wm-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.88; }
  50% { transform: translate(-24px, 8px); opacity: 0.62; }
}

.cs-vp-slide {
  padding: 12px 0;
  text-align: center;
}

.cs-vp-eq {
  font-family: 'Outfit', monospace;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.cs-vp-cap {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}

.cs-vp-controls {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.cs-vp-scrub {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.cs-vp-scrub-fill {
  width: 64%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
}

.cs-vp-ctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
}

.cs-vp-ctrl-pills {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cs-vp-ctrl-pills span {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  font-size: 11.5px;
}

.cs-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-subtle);
  background: rgba(11, 17, 36, 0.82);
}

.cs-tele-item {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-inline-end: 1px solid var(--border-subtle);
}

.cs-tele-item:last-child {
  border-inline-end: none;
}

.cs-tele-item i {
  font-size: 18px;
  color: #f87171;
  flex-shrink: 0;
}

.cs-tele-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.cs-tele-item span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* Hero Floating Mobile Preview */
.cs-hero-phone-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.cs-hero-phone-col::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3), rgba(217, 70, 239, 0.22), transparent 70%);
  filter: blur(36px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cs-phone-bezel {
  width: 248px;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(145deg, #27344f 0%, #090e1c 50%, #1e293b 100%);
  border: 2px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
  position: relative;
  z-index: 2;
}

.cs-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 460 / 1000;
  position: relative;
  background: #ffffff;
}

.cs-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #050816;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Metrics Trust Strip
   ========================================================================== */
.cs-metrics {
  padding: 26px 0 64px;
}

.cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cs-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.cs-metric-val {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cs-metric-lbl {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Generic Sections & Section Headers
   ========================================================================== */
.cs-section {
  padding: 96px 0;
  position: relative;
}

.cs-section-alt {
  background: rgba(11, 17, 36, 0.52);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cs-sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.28);
  color: #e9d5ff;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cs-sec-title {
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--text-main);
}

.cs-sec-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ==========================================================================
   Bento Protection Cards Grid
   ========================================================================== */
.cs-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cs-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.cs-icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 20px;
}

.cs-ic-blue {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.34);
  color: #60a5fa;
}

.cs-ic-magenta {
  background: rgba(217, 70, 239, 0.16);
  border: 1px solid rgba(232, 121, 249, 0.34);
  color: #e879f9;
}

.cs-ic-purple {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.34);
  color: #c084fc;
}

.cs-ic-emerald {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: #34d399;
}

.cs-ic-sky {
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.34);
  color: #38bdf8;
}

.cs-ic-amber {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.34);
  color: #fbbf24;
}

.cs-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.cs-card p {
  font-size: 14.3px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.cs-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.cs-tag {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Real Mobile App Interactive Showcase
   ========================================================================== */
.cs-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.cs-tab-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-app-tab {
  width: 100%;
  text-align: start;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.cs-app-tab:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
}

.cs-app-tab.active {
  background: rgba(30, 41, 78, 0.85);
  border-color: rgba(96, 165, 250, 0.52);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.16);
}

.cs-app-tab-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--brand-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-app-tab.active .cs-app-tab-ic {
  background: var(--grad-brand);
  color: #ffffff;
}

.cs-app-tab h3,
.cs-app-tab h4 {
  font-size: 16.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
}

.cs-app-tab p {
  font-size: 13.8px;
  color: var(--text-muted);
  line-height: 1.55;
}

.cs-showcase-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cs-showcase-stage::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), rgba(217, 70, 239, 0.2), transparent 70%);
  filter: blur(42px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cs-showcase-phone {
  width: 312px;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #27344f 0%, #090e1c 50%, #1e293b 100%);
  border: 2px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.68);
  position: relative;
  z-index: 2;
}

.cs-showcase-screen {
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 460 / 1000;
  position: relative;
  background: #ffffff;
}

.cs-showcase-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.cs-showcase-screen img.active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Instructor Studio & Developer REST API Section
   ========================================================================== */
.cs-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.cs-studio-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cs-mini-feat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cs-mini-feat i {
  font-size: 19px;
  margin-bottom: 12px;
  display: inline-block;
}

.cs-mini-feat h3,
.cs-mini-feat h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cs-mini-feat p {
  font-size: 13.3px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cs-code-box {
  background: #080d1d;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  direction: ltr;
  text-align: left;
}

.cs-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}

.cs-code-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cs-code-tab {
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.cs-code-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.cs-code-tab.active {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.cs-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.cs-copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.cs-code-pre {
  display: none;
  margin: 0;
  padding: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #e2e8f0;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}

.cs-code-pre.active {
  display: block;
}

.tok-c { color: #64748b; font-style: italic; }
.tok-k { color: #c084fc; font-weight: 600; }
.tok-s { color: #34d399; }

.cs-code-resp {
  margin: 0 18px 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.24);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
  direction: ltr;
  text-align: left;
}

/* ==========================================================================
   3-Step Onboarding Grid
   ========================================================================== */
.cs-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cs-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.cs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}

.cs-step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cs-step-card p {
  font-size: 14.3px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Dynamic Pricing Plans
   ========================================================================== */
.cs-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.cs-plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cs-plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}

.cs-plan-card.popular {
  background: linear-gradient(180deg, rgba(30, 41, 82, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 28px 70px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(168, 85, 247, 0.25);
}

.cs-pop-pill {
  position: absolute;
  top: -13px;
  inset-inline-end: 24px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.cs-plan-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cs-plan-price {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 6px;
}

.cs-plan-price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.cs-plan-meta {
  font-size: 13.5px;
  color: var(--brand-sky);
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cs-plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.cs-plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.cs-plan-feats li i {
  color: #34d399;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Multi-Platform Official Download Hub
   ========================================================================== */
.cs-dl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cs-dl-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cs-dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}

.cs-dl-card.os-match {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: 0 24px 60px rgba(59, 130, 246, 0.22);
}

.cs-os-match-badge {
  display: none;
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 700;
}

.cs-dl-card.os-match .cs-os-match-badge {
  display: inline-block;
}

.cs-dl-os-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.cs-dl-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cs-dl-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cs-dl-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  flex: 1;
}

.cs-dl-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
}

.cs-dl-bullets li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.cs-dl-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.cs-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cs-dl-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.cs-dl-win { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.cs-dl-mac { background: linear-gradient(135deg, #a855f7, #ec4899); }
.cs-dl-and { background: linear-gradient(135deg, #059669, #10b981); }
.cs-dl-ios { background: linear-gradient(135deg, #0284c7, #6366f1); }

.cs-dl-sublink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  transition: color 0.2s ease;
}

.cs-dl-sublink:hover {
  color: #ffffff;
}

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */
.cs-faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cs-faq-item.open {
  border-color: rgba(96, 165, 250, 0.42);
  background: var(--bg-card-hover);
}

.cs-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: start;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.cs-faq-q i {
  font-size: 14px;
  color: var(--brand-sky);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.cs-faq-item.open .cs-faq-q i {
  transform: rotate(180deg);
}

.cs-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cs-faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.75;
}

/* ==========================================================================
   Final Conversion CTA Banner
   ========================================================================== */
.cs-cta-box {
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(59, 130, 246, 0.22), transparent 65%),
    radial-gradient(ellipse 70% 80% at 85% 100%, rgba(217, 70, 239, 0.18), transparent 65%),
    var(--bg-card);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: 58px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cs-cta-box h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cs-cta-box p {
  font-size: 16.5px;
  color: var(--text-body);
  max-width: 660px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cs-footer {
  background: rgba(5, 8, 22, 0.92);
  padding: 64px 0 36px;
}

.cs-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.cs-footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.7;
}

.cs-footer-col h3,
.cs-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html[dir="rtl"] .cs-footer-col h3,
html[dir="rtl"] .cs-footer-col h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

.cs-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.cs-footer-col a:hover { color: #ffffff; }

.cs-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
.cs-hero-stage > *,
.cs-showcase-grid > *,
.cs-studio-grid > *,
.cs-bento-grid > *,
.cs-dl-grid > *,
.cs-pricing-grid > *,
.cs-steps-grid > * {
  min-width: 0;
}

@media (max-width: 1100px) {
  .cs-hero-stage { grid-template-columns: minmax(0, 1fr); }
  .cs-hero-phone-col { display: none; }
  .cs-dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-studio-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .cs-nav-links, .cs-nav-desktop-auth { display: none; }
  .cs-mobile-toggle { display: inline-flex; }
  .cs-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-showcase-stage { order: -1; }
  .cs-steps-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-pricing-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .cs-container { padding: 0 16px; }
  .cs-brand img { height: 28px; }
  .cs-badge { font-size: 11.5px; padding: 6px 13px; max-width: 100%; flex-wrap: wrap; justify-content: center; }
  .cs-hero { padding: 106px 0 56px; }
  .cs-section { padding: 64px 0; }
  .cs-win-bar { flex-wrap: wrap; }
  .cs-pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-bento-grid, .cs-dl-grid, .cs-studio-list, .cs-footer-grid, .cs-telemetry-bar {
    grid-template-columns: minmax(0, 1fr);
  }
  .cs-showcase-phone { width: 268px; }
  .cs-cta-box { padding: 40px 22px; }
}

/* ==========================================================================
   Feature Comparison Matrix (Traditional Players vs Click Stream)
   ========================================================================== */
.cs-compare-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.cs-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 680px;
}

html[dir="ltr"] .cs-compare-table {
  text-align: left;
}

.cs-compare-table th, .cs-compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14.5px;
}

.cs-compare-table th {
  background: rgba(15, 23, 42, 0.85);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 13.5px;
}

.cs-compare-table th.highlight {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-sky);
  border-left: 1px solid rgba(96, 165, 250, 0.2);
  border-right: 1px solid rgba(96, 165, 250, 0.2);
}

.cs-compare-table td.highlight {
  background: rgba(59, 130, 246, 0.05);
  border-left: 1px solid rgba(96, 165, 250, 0.15);
  border-right: 1px solid rgba(96, 165, 250, 0.15);
  font-weight: 600;
  color: #ffffff;
}

.cs-compare-table tr:last-child td {
  border-bottom: none;
}

.cs-badge-neg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f87171;
  font-size: 13.5px;
}

.cs-badge-pos {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #34d399;
  font-size: 13.5px;
  font-weight: 600;
}

.cs-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}


/* ==========================================================================
   SEO / GEO / IEO Knowledge Hub (Blog Index & Article Reader)
   ========================================================================== */
.cs-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.cs-breadcrumb a {
  color: var(--brand-sky);
  font-weight: 600;
}

.cs-breadcrumb a:hover {
  text-decoration: underline;
}

.cs-breadcrumb i {
  font-size: 11px;
  opacity: 0.65;
}

.cs-blog-hero {
  padding: 126px 0 36px;
  text-align: center;
}

.cs-blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.cs-blog-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cs-filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-bright);
  color: #ffffff;
}

.cs-filter-pill.active {
  background: var(--grad-brand);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.cs-blog-search {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.cs-blog-search i {
  position: absolute;
  top: 50%;
  inset-inline-start: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.cs-blog-search input {
  width: 100%;
  padding: 10px 14px;
  padding-inline-start: 38px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 13.5px;
}

.cs-blog-search input:focus {
  outline: none;
  border-color: var(--brand-sky);
}

.cs-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cs-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.cs-blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.cs-blog-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cs-blog-intent {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-sky);
}

.cs-blog-card h2,
.cs-blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
}

.cs-blog-card h2 a:hover,
.cs-blog-card h3 a:hover {
  color: var(--brand-sky);
}

.cs-blog-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: auto;
}

.cs-blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.cs-blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cs-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-sky);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.cs-blog-readmore:hover {
  color: #ffffff;
}

/* Article Reader Shell */
.cs-article-shell {
  padding: 118px 0 40px;
}

.cs-article-header {
  max-width: 880px;
  margin-bottom: 34px;
}

.cs-article-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
}

.cs-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  align-items: start;
}

.cs-article-sidebar {
  position: sticky;
  top: 98px;
}

.cs-toc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.cs-toc-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.cs-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-toc-list a {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.cs-toc-list a:hover {
  color: var(--brand-sky);
}

.cs-tldr-box {
  background: linear-gradient(145deg, rgba(30, 41, 82, 0.85) 0%, rgba(15, 23, 42, 0.82) 100%);
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-card);
}

.cs-tldr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cs-tldr-text {
  font-size: 15.8px;
  line-height: 1.8;
  color: #f1f5f9;
  margin-bottom: 18px;
}

.cs-takeaways strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cs-takeaways ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cs-takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

.cs-takeaways li i {
  color: #34d399;
  margin-top: 4px;
  flex-shrink: 0;
}

.cs-article-sec {
  margin-bottom: 34px;
  scroll-margin-top: 96px;
}

.cs-article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.35;
}

.cs-article-body p {
  font-size: 15.8px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 14px;
}

.cs-article-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.cs-article-ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

.cs-article-ul li i {
  color: var(--brand-sky);
  margin-top: 5px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .cs-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-article-layout { grid-template-columns: minmax(0, 1fr); }
  .cs-article-sidebar { position: static; }
}

@media (max-width: 600px) {
  .cs-blog-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-tldr-box { padding: 20px; }
}
