/* ============================================================
   SMART POSTING — Bento Landing Page
   Design System & Styles
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.02);

  --text-primary: #f5f5f7;
  --text-secondary: rgba(245, 245, 247, 0.6);
  --text-muted: rgba(245, 245, 247, 0.35);

  --accent-violet: #8b5cf6;
  --accent-violet-glow: rgba(139, 92, 246, 0.25);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(139, 92, 246, 0.15);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-gap: 160px;
  --bento-gap: 24px;
  --card-radius: 24px;
  --card-padding: 32px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

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


/* ---------- Utility ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-violet);
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, rgba(245,245,247,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- Ambient Glow Blobs ---------- */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent-violet);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-violet-glow);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero .glow-blob.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-violet);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.15;
}

.hero .glow-blob.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  bottom: 0;
  right: -100px;
  opacity: 0.1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(32px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  word-wrap: break-word;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 50%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Hero Prose Typography */
.hero-prose {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prose-lead {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--text-primary);
}

.highlight-red {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  text-decoration: line-through;
  white-space: normal;
  display: inline-block;
}

.prose-card {
  padding: 40px;
  border-radius: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.01);
  background: var(--bg-card);
  text-align: center;
}

.inline-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
}

.prose-quote {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 4px solid var(--accent-violet);
  padding-left: 24px;
  margin: 8px 0;
}

.prose-text-large {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
}

.prose-text-fade {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.prose-insight {
  margin-top: 16px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
}

.prose-insight::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--accent-violet-glow) 0%, transparent 50%);
  opacity: 0.1;
  pointer-events: none;
}

.insight-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.insight-text {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.insight-text .gradient-text {
  font-size: clamp(32px, 5vw, 48px);
  display: block;
  margin-top: 8px;
}

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

.btn-primary {
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-violet), #7c3aed);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px var(--accent-violet-glow);
}

.btn-secondary {
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* Hero Stats Ticker */
.hero-ticker {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  flex-wrap: wrap;
  justify-content: center;
}

.ticker-item {
  text-align: center;
}

.ticker-value {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.ticker-value.violet { color: var(--accent-violet); }
.ticker-value.emerald { color: var(--accent-emerald); }
.ticker-value.amber { color: var(--accent-amber); }
.ticker-value.cyan { color: var(--accent-cyan); }

.ticker-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Divider */
.ticker-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ==========================================================
   MARQUEE — Wall of Love
   ========================================================== */
.marquee-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.marquee-section .section-label,
.marquee-section .section-title {
  text-align: center;
  display: flex;
  justify-content: center;
}

.marquee-section .section-label::before {
  display: none;
}

.marquee-section .section-subtitle {
  text-align: center;
  margin: 0 auto 48px;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 8px 0;
  overflow-x: auto;
  scroll-behavior: auto;
  cursor: grab;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
  user-select: none;
}

.marquee-track::-webkit-scrollbar {
  display: none;
}

.marquee-track:active {
  cursor: grabbing;
}

.marquee-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  user-select: none;
}

.marquee-card:hover {
  border-color: var(--border-glow);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.marquee-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(0.9);
  transition: var(--transition-smooth);
}

.marquee-card:hover img {
  filter: brightness(1);
}

.marquee-card-footer {
  padding: 16px;
}

.marquee-card-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.marquee-card-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marquee-gap {
  height: 24px;
}

/* ==========================================================
   THE BRIDGE SECTION
   ========================================================== */
.bridge-section {
  padding: 100px 0;
  position: relative;
}

.bridge-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(138, 43, 226, 0.15);
  border-radius: 40px;
  padding: 80px 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bridge-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--accent-violet-glow) 0%, transparent 40%);
  opacity: 0.1;
  pointer-events: none;
}

.bridge-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bridge-text {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bridge-text em {
  color: var(--accent-cyan);
  font-style: italic;
}

.bridge-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================
   BENTO GRIDS
   ========================================================== */
.bento-grid {
  display: grid;
  gap: var(--bento-gap);
}

/* Core Engine — 4-col layout */
.bento-grid.engine {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 280px;
}

.bento-grid.engine .bento-item:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
}

.bento-grid.engine .bento-item:nth-child(2) {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.bento-grid.engine .bento-item:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.bento-grid.engine .bento-item:nth-child(4) {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

/* Stats — 4-col masonry-like wall */
.bento-grid.stats {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
}
@media (max-width: 1024px) {
  .bento-grid.stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .bento-grid.stats { grid-template-columns: 1fr; }
}

/* ROI — 2x2 */
.bento-grid.roi {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 320px;
}

/* ---------- Bento Item (Card) ---------- */
.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  cursor: default;
  transition: var(--transition-smooth);
}

.bento-item:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
              0 0 0 1px var(--border-glow);
}

.bento-item-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bento-item-media img,
.bento-item-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: var(--transition-smooth);
}

.bento-item:hover .bento-item-media img,
.bento-item:hover .bento-item-media video {
  opacity: 0.8;
  transform: scale(1.03);
}

.bento-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.9) 100%);
  z-index: 1;
}

.bento-item.content-top .bento-item-overlay {
  background: linear-gradient(180deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 40%, transparent 100%);
}

.bento-item-content {
  position: relative;
  z-index: 2;
  padding: var(--card-padding);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-item.content-top .bento-item-content {
  justify-content: flex-start;
}

/* Span utilities for grid */
.bento-item.span-2 {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .bento-item.span-2 { grid-column: 1 / -1; }
}

.bento-item-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 8px;
}

.bento-item-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.bento-item-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

/* Stat card with big number */
.bento-item.stat-card .bento-item-content {
  justify-content: space-between;
}

.stat-big-number {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-big-number.violet { color: var(--accent-violet); }
.stat-big-number.emerald { color: var(--accent-emerald); }
.stat-big-number.amber { color: var(--accent-amber); }
.stat-big-number.rose { color: var(--accent-rose); }
.stat-big-number.cyan { color: var(--accent-cyan); }

/* Photo-only card (stats screenshots) */
.bento-item.photo-card .bento-item-media img {
  opacity: 0.85;
  object-fit: contain;
  background: #111;
  padding: 8px;
}

.bento-item.photo-card:hover .bento-item-media img {
  opacity: 1;
}

/* ==========================================================
   CTA SECTION
   ========================================================== */
.cta-section {
  padding: 120px 0 160px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .glow-blob {
  width: 500px;
  height: 500px;
  background: var(--accent-violet);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
}

/* CTA Section & Card Consolidated at the end */


/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.footer-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img,
.lightbox video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

/* ==========================================================
   NEW SECTIONS: Prose, Steps, Pricing, YouTube, Story
   ========================================================== */

/* Prose & Text content */
.prose-section {
  padding: 80px 0;
}
.prose-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}
.prose-text p {
  margin-bottom: 24px;
}
.prose-text strong {
  color: var(--text-primary);
  font-weight: 700;
}
.prose-text em {
  color: var(--accent-cyan);
  font-style: normal;
}
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

/* Custom List */
.custom-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}
.custom-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
}
.custom-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-violet);
  font-weight: bold;
}

/* Story Section */
.story-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.story-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.story-text strong {
  color: var(--text-primary);
}
.story-media {
  position: relative;
}
.story-media img {
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  width: 100%;
}
.story-media .caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Horizontal Scroll for Case Study */
.case-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0 32px 0;
  scroll-snap-type: x mandatory;
}
.case-scroll::-webkit-scrollbar {
  height: 8px;
}
.case-scroll::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 4px;
}
.case-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-violet);
  border-radius: 4px;
}
.case-scroll .bento-item {
  flex: 0 0 320px;
  height: 380px;
  scroll-snap-align: start;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 32px;
  position: relative;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent-violet-glow);
  color: var(--accent-violet);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 24px;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* YouTube Placeholder */
.yt-placeholder {
  background: #000;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.yt-placeholder:hover {
  border-color: var(--accent-rose);
  transform: scale(1.02);
}
.yt-play {
  width: 48px;
  height: 48px;
  background: var(--accent-rose);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
}
.yt-placeholder span {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}
.pricing-card.highlighted {
  background: var(--bg-card-hover);
  border-color: var(--accent-violet);
  box-shadow: 0 0 40px var(--accent-violet-glow);
  transform: translateY(-8px);
}
.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.pricing-header .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 32px;
}
.pricing-header .price small,
.pricing-header .price .usd-price {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-header .price .usd-price {
  margin-left: 8px;
}

.pricing-body {
  flex-grow: 1;
  margin-bottom: 32px;
}
.pricing-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  padding: 0;
}
.pricing-features li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
}
.btn-primary.full-width, .btn-secondary.full-width {
  width: 100%;
  text-align: center;
}

/* Grain Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
    --bento-gap: 10px;
    --card-padding: 20px;
  }

  .bento-grid.engine {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px;
  }

  .bento-grid.engine .bento-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .bento-grid.engine .bento-item:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .bento-grid.engine .bento-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .bento-grid.engine .bento-item:nth-child(4) {
    display: none;
  }

  .bento-grid.stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-ticker {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
    --card-radius: 16px;
  }

  .bento-grid.engine,
  .bento-grid.stats,
  .bento-grid.roi {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-grid.engine .bento-item {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: auto !important;
    display: block !important;
  }

  .bento-grid.engine .bento-item,
  .bento-grid.stats .bento-item,
  .bento-grid.roi .bento-item {
    min-height: 240px;
  }

  .hero-ticker {
    flex-direction: column;
    gap: 12px;
  }

  .ticker-divider {
    width: 60px;
    height: 1px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  /* Horizontal Scroll for Steps on Mobile */
  .steps-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 24px 24px;
    margin: 32px -24px 0;
    -webkit-overflow-scrolling: touch;
  }
  .steps-grid::-webkit-scrollbar {
    display: none;
  }
  .step-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-height: auto !important;
  }

  .ticker-divider {
    width: 280px;
  }




  .prose-card {
    padding: 24px 16px;
  }

  /* Extra Small Devices (Smartphones) */
  @media (max-width: 480px) {
    .nav {
      padding: 12px 16px;
    }
    .nav-logo span {
      display: none; /* Hide 'Smart Posting' text, keep icon if it's there */
    }
    /* Since the text is not in a span in index.html, I'll update index.html to wrap it */
    
    .hero-title {
      font-size: 26px !important;
      letter-spacing: -0.01em; /* Less negative spacing on mobile */
      max-width: 100%;
    }
    .hero-badge {
      margin-left: auto;
      margin-right: auto;
    }
    .prose-insight {
      padding: 24px 16px;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
    }
    .hero-cta-group {
      width: 100%;
      gap: 12px;
    }
    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
      width: 100%;
      text-align: center;
    }
    
    /* Bridge Section Mobile Fix */
    .bridge-card {
      padding: 40px 20px;
      border-radius: 24px;
    }
    .bridge-text {
      font-size: 17px;
      line-height: 1.6;
      gap: 16px;
    }
    .bridge-section {
      padding: 60px 0;
    }

    /* Pricing Slider Fix */
    .pricing-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 16px;
      padding: 20px;
      margin: 0 -24px;
      scrollbar-width: none;
    }
    .pricing-grid::-webkit-scrollbar {
      display: none;
    }
    .pricing-card {
      flex: 0 0 90%; /* Show 90% of the card and a peek of the next */
      scroll-snap-align: center;
      margin-bottom: 0;
    }
    .pricing-card.highlighted {
      transform: none; /* Disable lift on mobile slider */
    }
  }
}

/* ========================================================== 
   LIGHTBOX 
   ========================================================== */ 
.lightbox { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0, 0, 0, 0.95); 
  backdrop-filter: blur(10px); 
  z-index: 10000; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  opacity: 0; 
  pointer-events: none; 
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  padding: 20px; 
} 
 
.lightbox.active { 
  opacity: 1; 
  pointer-events: auto; 
} 
 
.lightbox-close { 
  position: absolute; 
  top: 30px; 
  right: 30px; 
  background: rgba(255, 255, 255, 0.1); 
  border: none; 
  color: white; 
  font-size: 40px; 
  width: 60px; 
  height: 60px; 
  border-radius: 50%; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: all 0.3s ease; 
  z-index: 10001; 
} 
 
.lightbox-close:hover { 
  background: rgba(255, 255, 255, 0.2); 
  transform: rotate(90deg); 
} 
 
#lightbox-content { 
  max-width: 90%; 
  max-height: 90vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
} 
 
#lightbox-content img, 
#lightbox-content video { 
  max-width: 100%; 
  max-height: 90vh; 
  object-fit: contain; 
  border-radius: 12px; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
  animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
} 
 
@keyframes zoomIn { 
  from { transform: scale(0.9); opacity: 0; } 
  to { transform: scale(1); opacity: 1; } 
}

/* ========================================================== 
   STORY MEDIA GRID 
   ========================================================== */ 
.story-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
  align-items: center;
}

.story-screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1 / 1;
}

.story-screen-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  cursor: zoom-in;
  transition: transform 0.3s ease;
  height: 100%;
}

.story-main-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  cursor: zoom-in;
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
}

.story-screen-item:hover, .story-main-photo:hover {
  transform: translateY(-5px);
}

.story-screen-item img, .story-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* ========================================================== 
   ASSET FOCUS SECTION 
   ========================================================== */ 
.asset-section { 
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  border-radius: 40px; 
  padding: 64px; 
  margin-top: 80px; 
} 
 
.asset-grid { 
  display: grid; 
  grid-template-columns: 1fr 1.2fr; 
  gap: 64px; 
  align-items: center; 
} 
 
.asset-title { 
  font-size: 32px; 
  font-weight: 800; 
  line-height: 1.2; 
  margin-bottom: 24px; 
} 
 
.asset-text { 
  font-size: 18px; 
  color: var(--text-secondary); 
  line-height: 1.6; 
  margin-bottom: 32px; 
} 
 
.asset-insight { 
  padding: 24px; 
  background: rgba(139, 92, 246, 0.05); 
  border: 1px solid rgba(139, 92, 246, 0.1); 
} 
 
.asset-media { 
  position: relative; 
  border-radius: 24px; 
  overflow: hidden; 
  box-shadow: 0 40px 80px rgba(0,0,0,0.5); 
  cursor: zoom-in; 
} 
 
.asset-media video { 
  width: 100%; 
  display: block; 
} 
 
.media-label { 
  position: absolute; 
  bottom: 20px; 
  left: 20px; 
  background: rgba(0,0,0,0.6); 
  backdrop-filter: blur(10px); 
  padding: 8px 16px; 
  border-radius: 100px; 
  font-size: 12px; 
  font-weight: 600; 
  color: white; 
  border: 1px solid rgba(255,255,255,0.1); 
} 
 
@media (max-width: 1024px) { 
  .asset-grid { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  } 
  .asset-section { 
    padding: 40px 24px; 
  } 
}

/* ========================================================== 
   MARQUEE ENHANCEMENTS 
   ========================================================== */ 
.marquee-card { 
  position: relative; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
} 
 
.marquee-card-footer { 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  width: 100%; 
  padding: 12px 16px; 
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); 
  color: white; 
  font-size: 13px; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  pointer-events: none; 
  opacity: 0.8; 
} 
 
.marquee-track { 
  cursor: grab; 
  overflow-x: hidden; 
  user-select: none; 
} 
 
.marquee-track:active { 
  cursor: grabbing; 
}

/* ========================================================== 
   MARQUEE NARRATIVE 
   ========================================================== */ 
.marquee-subtitle { 
  font-size: 24px; 
  font-weight: 700; 
  color: white; 
  margin-bottom: 8px; 
  letter-spacing: -0.5px; 
} 
 
.prose-text-fade { 
  opacity: 0.6; 
  font-size: 16px; 
}
/* ---------- Asset Card (Guide) ---------- */
.asset-card {
  margin-top: 64px;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.asset-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.asset-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.asset-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-violet);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.asset-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.asset-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.2;
}
.asset-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.asset-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.btn-asset {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-violet) 0%, #7c3aed 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-asset:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
}
.btn-asset svg {
  transition: transform 0.4s ease;
}
.btn-asset:hover svg {
  transform: translateY(2px);
}
.asset-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.asset-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}
.asset-image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.asset-card:hover .asset-image-wrapper img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .asset-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .asset-card {
    padding: 32px;
    padding-top: 64px;
  }
  .asset-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .asset-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
/* ========================================================== 
   CTA SECTION & TELEGRAM QR 
   ========================================================== */ 
.cta-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.cta-card {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48px;
  padding: 64px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: center;
  text-align: left;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 850;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

.qr-wrapper {
  background: #fff;
  padding: 16px;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transition: var(--transition-spring);
  width: 100%;
}

.qr-wrapper:hover {
  transform: scale(1.05) rotate(2deg);
}

.qr-wrapper img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

@media (max-width: 992px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .cta-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .cta-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .cta-card {
    padding: 48px 24px;
  }
}


/* --- Mobile Centering Fix --- */
@media (max-width: 768px) {
  .hero {
    padding-top: 80px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero-title {
    font-size: 32px !important;
    text-align: center !important;
  }
  .hero-prose, .hero-prose p, .hero-prose div, .prose-text-fade, .prose-text-large {
    text-align: center !important;
  }
  .prose-quote {
    border-left: none !important;
    border-top: 1px solid var(--accent-violet);
    border-bottom: 1px solid var(--accent-violet);
    padding: 24px 0 !important;
    text-align: center !important;
    margin: 20px 0 !important;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .hero-ticker {
    gap: 16px !important;
    padding: 16px !important;
  }
  .ticker-divider {
    display: none;
  }
}


/* --- Case Scroll Snap Effect --- */
.case-scroll {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important; /* Включаем примагничивание */
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 30px !important;
}

.case-scroll .bento-item {
  flex: 0 0 85vw !important; /* Карточка на 85% ширины экрана */
  scroll-snap-align: center !important; /* Центрируем при переключении */
  height: auto !important;
}

@media (min-width: 769px) {
  .case-scroll .bento-item {
    flex: 0 0 400px !important;
    scroll-snap-align: start !important;
  }
}


/* --- Fixed Case Scroll --- */
.case-scroll {
  display: flex !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  padding: 10px 0 30px !important;
  width: 100% !important;
}
.case-scroll .bento-item {
  flex: 0 0 90% !important;
  min-height: 450px !important; /* Увеличили высоту */
  scroll-snap-align: center !important;
  border-radius: 24px !important;
}
.case-scroll .bento-item img, .case-scroll .bento-item video {
  height: 450px !important;
  width: 100% !important;
  object-fit: cover !important;
}


/* --- Desktop Case Scroll Fix --- */
@media (min-width: 769px) {
  .case-scroll {
    gap: 32px !important;
    padding: 40px 0 !important;
  }
  .case-scroll .bento-item {
    flex: 0 0 380px !important; /* Делаем карточки компактнее на десктопе */
    min-height: 500px !important;
    scroll-snap-align: start !important;
  }
  .case-scroll .bento-item img, .case-scroll .bento-item video {
    height: 500px !important;
  }
}

