/* ==========================================================================
   DISTRACTION FOUNDRY  - MODERN TERMINAL DESIGN SYSTEM
   Fonts (3 exact):
     1. Display/Headings: 'Plus Jakarta Sans', sans-serif
     2. Body/UI: 'Inter', sans-serif
     3. Monospace/Code/Badges: 'JetBrains Mono', monospace
   Colors (4 exact):
     1. Background: Deep Obsidian / Crisp Light
     2. Text Ink: Crisp White / Deep Charcoal
     3. Emerald Signal Accent: #10b981
     4. Slate Muted: #64748b
   ========================================================================== */

:root {
  /* Dark Theme (Default) */
  --c-bg: #090a0f;
  --c-card-bg: #0f111a;
  --c-card-hover: #141724;
  --c-ink: #f8fafc;
  --c-accent: #10b981;
  --c-muted: #64748b;
  --border: 1px solid rgba(100, 116, 139, 0.22);
  --border-accent: 1px solid var(--c-accent);
  --topbar-bg: rgba(9, 10, 15, 0.92);
  --footer-bg: #07080c;

  /* Exactly 3 Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  --c-bg: #f8fafc;
  --c-card-bg: #ffffff;
  --c-card-hover: #f1f5f9;
  --c-ink: #090a0f;
  --c-accent: #059669;
  --c-muted: #64748b;
  --border: 1px solid rgba(100, 116, 139, 0.25);
  --border-accent: 1px solid var(--c-accent);
  --topbar-bg: rgba(248, 250, 252, 0.92);
  --footer-bg: #f1f5f9;
}

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

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}

p, .section-desc, .hero-sub-lead, .hero-sub-body {
  text-wrap: pretty;
  word-break: normal;
}

body {
  background-color: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-640 { max-width: 640px; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
}

.nav-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-terminal-symbol {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-accent);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

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

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--c-ink);
}

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

/* Mobile Navigation Breakpoint */
@media (max-width: 768px) {
  .nav-shell {
    padding: 12px 16px;
    gap: 10px;
  }

  .nav-links {
    display: none; /* Hide cluttered desktop text links on mobile */
  }

  .brand-name {
    font-size: 15.5px;
  }

  .btn-nav {
    display: none; /* Keep header compact with just brand and toggles */
  }

  .btn-ctrl {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  border-bottom: var(--border);
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-accent);
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-accent);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(23px, 5.2vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.h-row {
  display: block;
  white-space: nowrap; /* Prevent ugly mid-word wrapping */
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 21.5px;
    gap: 4px;
  }
}

.hero-subheading-accent {
  color: var(--c-accent);
  font-weight: 700;
}

.hero-description {
  max-width: 720px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-sub-lead {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.hero-sub-body {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.68;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  background: var(--c-accent);
  color: #000000;
  border-radius: 6px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-hero-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  background: transparent;
  border: var(--border);
  color: var(--c-ink);
  border-radius: 6px;
  transition: background 0.15s ease;
}

.btn-hero-secondary:hover {
  background: rgba(100, 116, 139, 0.1);
}

/* ==========================================================================
   TERMINAL TICKER STRIP (Balanced, Mathematically Aligned 2x2 Grid)
   ========================================================================== */

.hero-spec-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 24px auto 0;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-muted);
}

[data-theme="light"] .hero-spec-strip {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.spec-node {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-led {
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-accent);
  flex-shrink: 0;
}

.spec-text {
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.spec-text strong {
  color: var(--c-ink);
  font-weight: 700;
}

.spec-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

[data-theme="light"] .spec-divider {
  color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 680px) {
  .hero-spec-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    padding: 16px 20px;
    gap: 14px 20px;
    width: 100%;
    max-width: 370px;
    box-sizing: border-box;
  }

  .spec-divider {
    display: none;
  }

  .spec-node {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
  }

  .spec-led {
    margin-top: 0;
  }

  .spec-text {
    white-space: nowrap;
  }
}

/* Common Section */
.section-common {
  padding: 80px 0;
  border-bottom: var(--border);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 46px;
}

.sub-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  text-wrap: balance;
  word-break: keep-all;
}

.section-subtitle {
  font-size: 15px;
  color: var(--c-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
  text-wrap: pretty;
  word-break: normal;
}

/* The Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 32px 26px;
}

.problem-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 12px;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--c-ink);
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.5;
}

.problem-list li em {
  color: var(--c-ink);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: rgba(239, 68, 68, 0.4);
}

/* Three Ways Section */
.three-ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .three-ways-grid { grid-template-columns: 1fr; }
}

.way-card {
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.way-card.highlighted {
  border: var(--border-accent);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.way-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--c-accent);
  color: #000000;
  border-radius: 4px;
}

.way-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.way-title {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 10px;
}

.way-desc {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
  margin-bottom: 22px;
  min-height: 44px;
}

.way-output-header {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-accent);
  border-top: var(--border);
  padding-top: 18px;
  margin-bottom: 14px;
}

.way-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 30px;
  flex: 1;
}

.way-list li {
  display: flex;
  gap: 10px;
  color: var(--c-ink);
  opacity: 0.9;
}

.check {
  color: var(--c-accent);
  font-weight: 700;
}

.btn-way-outline {
  display: block;
  text-align: center;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border: var(--border);
  border-radius: 6px;
  color: var(--c-ink);
  transition: all 0.15s ease;
}

.btn-way-outline:hover {
  background: rgba(100, 116, 139, 0.1);
}

.btn-way-solid {
  display: block;
  text-align: center;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  background: var(--c-accent);
  color: #000000;
  border-radius: 6px;
  transition: filter 0.15s ease;
}

.btn-way-solid:hover {
  filter: brightness(1.1);
}

/* Engine Architecture Steps */
.engine-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .engine-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .engine-steps-grid { grid-template-columns: 1fr; }
}

.engine-step-card {
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.engine-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.step-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--c-ink);
}

.step-summary {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.step-summary code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-accent);
  background: rgba(16, 185, 129, 0.08);
  padding: 2px 4px;
  border-radius: 3px;
}

.step-meta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-muted);
  border-top: var(--border);
  padding-top: 12px;
}

/* Demo Category Switcher Tabs */
.demo-tabs-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.demo-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.demo-tab-btn .tab-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-muted);
}

.demo-tab-btn:hover {
  color: var(--c-ink);
  border-color: rgba(100, 116, 139, 0.4);
}

.demo-tab-btn.active {
  background: var(--c-card-hover);
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.demo-tab-btn.active .tab-idx {
  color: var(--c-accent);
}

/* Telegram Showcase Section */
.telegram-box {
  max-width: 920px;
  margin: 0 auto;
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.box-top-bar {
  background: var(--c-card-hover);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border);
}

.circle-group span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-muted);
  margin-right: 6px;
}

.chat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
}

.status-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-accent);
  font-weight: 700;
}

.box-inner {
  padding: 24px;
}

.message-info {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 16px;
}

.sender-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-ink);
}

.model-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--c-accent);
  padding: 2px 6px;
  border-radius: 3px;
}

.msg-time {
  color: var(--c-muted);
}

.post-artifact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 820px) {
  .post-artifact { grid-template-columns: 1fr; }
}

.carousel-container {
  background: var(--c-bg);
  border: var(--border);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carousel-deck {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: var(--border);
  background: #000;
}

.real-slide-img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-slide-img.active {
  display: block;
}

.carousel-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.nav-arrow {
  background: transparent;
  border: var(--border);
  color: var(--c-ink);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.nav-arrow:hover { border-color: var(--c-accent); }

.slide-dots {
  display: flex;
  gap: 6px;
}

.s-dot {
  width: 6px;
  height: 6px;
  background: var(--c-muted);
  border-radius: 50%;
  cursor: pointer;
}

.s-dot.active {
  background: var(--c-accent);
  width: 14px;
  border-radius: 3px;
}

/* Platform Preview Shell (Native Multi-Platform Mockup) */
.platform-preview-shell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.platform-selector-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: thin;
}

.plat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--c-bg);
  border: var(--border);
  border-radius: 6px;
  color: var(--c-muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.plat-btn:hover {
  color: var(--c-ink);
  border-color: rgba(100, 116, 139, 0.4);
}

.plat-btn.active {
  background: var(--c-card-hover);
  color: var(--c-ink);
  border-color: var(--c-accent);
}

.plat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.plat-dot.tg { background: #229ed9; }
.plat-dot.in { background: #0a66c2; }
.plat-dot.fb { background: #1877f2; }
.plat-dot.ig { background: #e4405f; }
.plat-dot.th { background: #ffffff; }
.plat-dot.x  { background: #ffffff; }
.plat-dot.tt { background: #00f2fe; }

/* ==========================================================================
   HORIZONTAL SHOWCASE RAIL (Clean, Smooth, Zero Friction Scroll)
   User effortlessly scrolls left-to-right to see native platform feeds.
   ========================================================================== */

.carousel-rail-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 0 24px;
  margin: 10px 0 24px;
  cursor: grab;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.carousel-rail-wrapper:active {
  cursor: grabbing;
}

.carousel-rail-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 4px;
}

/* ==========================================================================
   AUTHENTIC MOBILE DEVICE MOCKUPS (Matches User Mobile Workflow Screenshot)
   Horizontal scrolling row of realistic iOS / Android phone screens:
   Instagram, TikTok, Facebook, LinkedIn, Telegram, Threads.
   ========================================================================== */

.mobile-phone-device {
  width: 280px;
  flex-shrink: 0;
  background: #000000;
  border: 7px solid #1a1e29;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mobile-phone-device:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #090a0f;
  color: #fff;
  font-family: var(--font-body);
}

/* Phone Status Bar */
.phone-status-bar {
  padding: 6px 16px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
}

.phone-camera-lens {
  width: 50px;
  height: 10px;
  background: #1a1e29;
  border-radius: 8px;
}

.status-icons {
  font-size: 9px;
  letter-spacing: 1px;
}

/* App Header Chromes */
.app-chrome {
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.ig-header-icons { display: flex; gap: 10px; font-size: 13px; }

.tt-chrome { justify-content: center; gap: 14px; }
.tt-tab { font-size: 12px; color: #64748b; font-weight: 600; }
.tt-tab.active { color: #fff; border-bottom: 2px solid #fff; }

.fb-logo-text { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #1877f2; }
.fb-header-icons { display: flex; gap: 10px; font-size: 12px; }
.fb-post-caption { padding: 4px 12px 6px; font-size: 10.5px; color: #cbd5e1; line-height: 1.35; }

.in-chrome { gap: 8px; }
.in-search-pill { background: #1e293b; padding: 4px 10px; border-radius: 4px; font-size: 10px; color: #94a3b8; flex: 1; }

.tg-chrome { gap: 8px; }
.tg-channel-meta { display: flex; flex-direction: column; flex: 1; }
.tg-channel-name { font-weight: 700; font-size: 11px; }
.tg-channel-sub { font-size: 9px; color: #64748b; }

.th-chrome { justify-content: center; }
.th-logo { font-size: 18px; font-weight: 800; }

/* Feed Author Row */
.author-row {
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.ig-avatar {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.fb-avatar {
  background: #1877f2;
}

.in-avatar {
  background: #0a66c2;
}

.tg-avatar {
  background: #229ed9;
}

.th-avatar {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tt-author-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.tt-author-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.author-name {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-geo {
  font-size: 9px;
  color: #64748b;
}

.verified-badge {
  color: #00f2fe;
  font-size: 10px;
}

.author-dots {
  font-size: 11px;
  color: #64748b;
}

/* Feed Media Frame */
.feed-media-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
}

.feed-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TikTok Real Full-Screen Photo Mode Mockup */
.tt-immersive-phone {
  background: #000000;
}

.tt-full-screen {
  position: relative;
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #000000;
  overflow: hidden;
}

.tt-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.tt-top-overlay {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  z-index: 15;
  font-size: 13px;
  color: #fff;
}

.tt-live-btn, .tt-search-btn {
  font-size: 13px;
  cursor: pointer;
}

.tt-nav-tabs {
  display: flex;
  gap: 16px;
}

.tt-tab {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.tt-tab.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 2px;
}

.tt-immersive-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.tt-main-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-page-pill {
  position: absolute;
  top: 68px;
  right: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 12;
}

/* Floating Vertical Actions on Right Edge */
.tt-edge-actions {
  position: absolute;
  right: 10px;
  bottom: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 15;
}

.tt-avatar-action {
  position: relative;
  margin-bottom: 4px;
}

.tt-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tt-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-plus-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #fe2c55;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tt-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tt-btn-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.tt-btn-count {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.tt-vinyl-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.tt-vinyl-center {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fe2c55;
}

/* Bottom Overlay Info */
.tt-bottom-info-block {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 60px;
  padding: 0 12px 10px;
  z-index: 15;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.tt-creator-tag {
  font-weight: 800;
  font-size: 12.5px;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tt-caption-text {
  font-size: 11px;
  line-height: 1.35;
  color: #f1f5f9;
  margin-bottom: 6px;
}

.tt-see-more {
  color: #94a3b8;
  font-weight: 600;
}

.tt-audio-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #e2e8f0;
}

/* Bottom Native TikTok Navigation */
.tt-bottom-nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 20;
}

.tt-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 8.5px;
  color: #64748b;
}

.tt-nav-item.active {
  color: #ffffff;
}

.tt-nav-item .nav-ic {
  font-size: 13px;
}

.tt-nav-create {
  width: 32px;
  height: 22px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tt-nav-create::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #00f2fe;
  border-radius: 6px 0 0 6px;
  z-index: -1;
}

.tt-nav-create::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #fe2c55;
  border-radius: 0 6px 6px 0;
  z-index: -1;
}

.tt-nav-create .nav-plus {
  color: #000;
  font-weight: 900;
  font-size: 14px;
}

/* Telegram Specific Message Bubble */
.tg-bubble-container {
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.tg-media {
  border-radius: 8px 8px 0 0;
}

.tg-message-caption {
  background: #1e293b;
  padding: 6px 10px;
  border-radius: 0 0 8px 8px;
  font-size: 10px;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.tg-msg-time { font-size: 8px; color: #64748b; margin-left: 6px; }

/* App Footer Actions */
.app-footer-actions {
  padding: 6px 12px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.actions-left { display: flex; gap: 10px; }
.carousel-pill-indicator {
  font-size: 9px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 10px;
}

.feed-likes-count {
  padding: 0 12px;
  font-weight: 700;
  font-size: 10px;
}

.feed-caption-snippet {
  padding: 2px 12px 10px;
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.35;
}

.more-link { color: #64748b; }

.fb-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  font-size: 10px;
  color: #94a3b8;
}

.in-doc-strip {
  background: #1e293b;
  padding: 3px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #cbd5e1;
}

.in-actions {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 8px;
  font-size: 9.5px;
  color: #94a3b8;
}

.th-actions {
  padding: 6px 12px 12px;
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: #cbd5e1;
}

.stage-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.mt-16 { margin-top: 16px; }

.approval-buttons {
  display: flex;
  gap: 10px;
}

.btn-approve {
  flex: 2;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  background: var(--c-accent);
  color: #000000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-revise {
  flex: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  background: transparent;
  border: var(--border);
  color: var(--c-ink);
  border-radius: 6px;
  cursor: pointer;
}

.toast-approved {
  padding: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--c-accent);
  border-radius: 6px;
  font-size: 13px;
  color: var(--c-ink);
}

/* ==========================================================================
   PRICING SECTION REDESIGN (Clean, Elegant, Architectural)
   Eliminates cheap cramped card look. Uses generous breathing room,
   solid hierarchy, and cohesive typography.
   ========================================================================== */

.pricing-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pricing-deck {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.price-col {
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 12px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.price-col:hover {
  border-color: rgba(100, 116, 139, 0.4);
}

.price-col.featured {
  border: 1px solid var(--c-accent);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, var(--c-card-bg) 35%);
  box-shadow: 0 16px 40px -12px rgba(16, 185, 129, 0.18);
}

.price-featured-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  background: var(--c-accent);
  color: #000000;
  border-radius: 100px;
}

.price-tier-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-muted);
  margin-bottom: 8px;
}

.price-tier-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.price-tier-desc {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.5;
  min-height: 44px;
  margin-bottom: 24px;
}

/* Redesigned Price Figure: Compact, readable, perfectly aligned */
.price-figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  border-top: var(--border);
  border-bottom: var(--border);
  margin-bottom: 24px;
}

.amount {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1.1;
}

.cycle {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--c-muted);
  font-weight: 500;
}

.price-output-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.price-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 13.5px;
  margin-bottom: 32px;
  flex: 1;
}

.price-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-ink);
  opacity: 0.9;
  line-height: 1.5;
}

.tick {
  color: var(--c-accent);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  flex-shrink: 0;
}

.platform-list {
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--c-muted) !important;
  line-height: 1.5;
}

.btn-price-outline {
  display: block;
  text-align: center;
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  border: var(--border);
  border-radius: 8px;
  color: var(--c-ink);
  transition: all 0.15s ease;
  background: transparent;
}

.btn-price-outline:hover {
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.4);
}

.btn-price-primary {
  display: block;
  text-align: center;
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  background: var(--c-accent);
  color: #000000;
  border-radius: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.btn-price-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* FAQ Cards */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 24px;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
}

.faq-a code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-accent);
  background: rgba(16, 185, 129, 0.08);
  padding: 2px 4px;
  border-radius: 3px;
}

/* Sample Form */
.form-card {
  background: var(--c-card-bg);
  border: var(--border);
  border-radius: 8px;
  padding: 40px 36px;
}

.form-header {
  margin-bottom: 28px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin: 6px 0 10px;
}

.form-desc {
  font-size: 14px;
  color: var(--c-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
}

.form-field input {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--c-bg);
  border: var(--border);
  border-radius: 6px;
  color: var(--c-ink);
  outline: none;
}

.form-field input:focus {
  border-color: var(--c-accent);
}

.btn-submit {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  background: var(--c-accent);
  color: #000000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: filter 0.15s ease;
}

.btn-submit:hover {
  filter: brightness(1.1);
}

.form-success-box {
  text-align: center;
  padding: 24px;
}

.succ-badge {
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 14px;
}

.form-success-box h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
}

.form-success-box p {
  font-size: 13.5px;
  color: var(--c-muted);
}

/* Footer */
.footer {
  padding: 50px 0 30px;
  border-top: var(--border);
  background: var(--footer-bg);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
}

.footer-symbol {
  color: var(--c-accent);
  font-family: var(--font-mono);
}

.footer-tagline {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 4px;
}

.footer-right {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--c-accent);
}

.footer-sub {
  border-top: var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--c-muted);
}
