/* ==========================================================================
   Podsumo Landing Page - QUIRKY & LOUD Edition
   Comic book inspired, bold colors, maximum fun
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables & Base
   -------------------------------------------------------------------------- */
:root {
  /* Primary Colors - BOLD */
  --orange: #FF6B35;
  --orange-light: #FF8F65;
  --orange-dark: #E55A25;

  --teal: #00CED1;
  --teal-light: #5FEFEF;
  --teal-dark: #00A5A8;

  --yellow: #FFD23F;
  --yellow-light: #FFE066;
  --yellow-dark: #E5B800;

  --pink: #FF69B4;
  --pink-light: #FF8AC4;
  --pink-dark: #E54D9A;

  --purple: #9B59B6;

  /* Neutrals */
  --cream: #FFF8E7;
  --cream-dark: #F5EDD8;
  --black: #1A1A2E;
  --white: #FFFFFF;

  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-700: #404040;
  --gray-900: #171717;

  /* Typography */
  --font-display: 'Bangers', cursive;
  --font-body: 'Comic Neue', 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-blob: 30% 70% 70% 30% / 30% 30% 70% 70%;

  /* Comic Shadows */
  --shadow-comic: 5px 5px 0 var(--black);
  --shadow-comic-lg: 8px 8px 0 var(--black);
  --shadow-comic-color: 5px 5px 0 var(--teal-dark);

  /* Transitions */
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  overflow-x: hidden;
}

/* Fun Background Pattern */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 10% 20%, var(--yellow-light) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, var(--teal-light) 0%, transparent 25%),
    radial-gradient(circle at 50% 50%, var(--pink-light) 0%, transparent 30%),
    radial-gradient(circle at 80% 10%, var(--orange-light) 0%, transparent 15%);
  opacity: 0.3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Buttons - Comic Style
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: 4px solid var(--black);
  text-transform: uppercase;
  position: relative;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-comic);
}

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
  background: var(--orange-light);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--black);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-comic);
}

.btn-secondary:hover {
  background: var(--yellow);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.5rem;
}

.telegram-icon {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  border: 4px solid var(--black);
  box-shadow: var(--shadow-comic);
  transition: transform var(--transition-bounce);
}

.logo-img:hover {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--black);
  text-shadow: 2px 2px 0 var(--orange);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--teal);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transition: all var(--transition-bounce);
}

.nav-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--black);
  background: var(--teal-light);
}

@media (min-width: 768px) {
  .nav-cta {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 0 var(--space-xl) var(--space-2xl);
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: var(--radius-xl);
  border: 3px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  margin-bottom: var(--space-lg);
  animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.badge-dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--black);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--black);
  text-shadow: 4px 4px 0 var(--teal);
  animation: slideIn 0.6s ease-out;
  margin-bottom: var(--space-md);
}

.title-accent {
  color: var(--orange);
  text-shadow: 4px 4px 0 var(--yellow);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
  animation: slideIn 0.6s ease-out 0.2s backwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Comic Section - 3 Panels + Mascot Entrance
   -------------------------------------------------------------------------- */
.comic-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 1100px) {
  .comic-section {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
}

.comic-strip {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .comic-strip {
    flex-direction: row;
  }
}

.comic-panel {
  border: 4px solid var(--black);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-comic);
  transition: transform var(--transition-bounce);
}

.comic-panel:hover {
  transform: rotate(-1deg) scale(1.02);
}

.comic-panel:nth-child(2):hover {
  transform: rotate(1deg) scale(1.02);
}

.comic-panel img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Mascot Hero Entrance */
.mascot-entrance {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.entrance-arrow {
  display: none;
  width: 80px;
  color: var(--orange);
  animation: bounce-right 1s ease-in-out infinite;
}

@keyframes bounce-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

@media (min-width: 1100px) {
  .entrance-arrow {
    display: block;
  }
}

.mascot-hero-wrapper {
  position: relative;
}

.mascot-hero-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border: 5px solid var(--black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic-lg);
  animation: hero-entrance 0.8s ease-out;
  transition: transform var(--transition-bounce);
}

.mascot-hero-img:hover {
  transform: scale(1.05) rotate(2deg);
}

@keyframes hero-entrance {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* --------------------------------------------------------------------------
   Value Proposition
   -------------------------------------------------------------------------- */
.value-prop {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--teal);
  border: 4px solid var(--black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic-lg);
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.value-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.value-subtitle {
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: var(--space-xl);
}

.value-subtitle strong {
  background: var(--yellow);
  padding: 0 var(--space-sm);
  border-radius: var(--radius-sm);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 500px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-xl);
  background: var(--yellow);
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--black);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 var(--black);
}

.trust-icon {
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Demo Section
   -------------------------------------------------------------------------- */
.demo-section {
  display: grid;
  gap: var(--space-3xl);
  padding: var(--space-4xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 900px) {
  .demo-section {
    grid-template-columns: 1fr 1fr;
  }
}

.section-label {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  border: 3px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--black);
  margin-bottom: var(--space-lg);
}

.section-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}

.section-title em::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--yellow);
  z-index: -1;
  transform: skew(-5deg);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: var(--space-xl);
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--black);
  transition: all var(--transition-bounce);
}

.demo-feature:hover {
  transform: translateX(5px) rotate(-1deg);
  box-shadow: 6px 6px 0 var(--teal);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--black);
}

.feature-text span {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* Phone Mockup / iPhone Animation */
.demo-visual {
  display: flex;
  justify-content: center;
}

/* iPhone Frame */
.iphone-frame {
  width: 280px;
  height: 580px;
  background: #000;
  border-radius: 45px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #333,
    0 20px 50px rgba(0,0,0,0.3),
    inset 0 0 0 1px #222;
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
}

/* Dynamic Island / Notch */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
}

/* Telegram UI */
.telegram-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #d4e7d4 0%, #c8dcc8 100%);
}

/* Telegram Header */
.tg-header {
  background: #517da2;
  padding: 45px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tg-back {
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-back svg {
  width: 20px;
  height: 20px;
}

.tg-header-info {
  flex: 1;
  text-align: center;
}

.tg-header-name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-header-status {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

/* Chat Area */
.tg-chat {
  flex: 1;
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b5c9b5' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #d4e7d4 0%, #c8dcc8 100%);
}

/* Message Bubbles */
.tg-message {
  max-width: 85%;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.35;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation: tgMessageIn 0.3s ease forwards;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

@keyframes tgMessageIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tg-message.bot {
  align-self: flex-start;
  background: #fff;
  color: #000;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.tg-message.user {
  align-self: flex-end;
  background: #e1ffc7;
  color: #000;
  border-bottom-right-radius: 4px;
}

.tg-message .command {
  color: #168acd;
  font-weight: 500;
}

.tg-message .timestamp {
  font-size: 10px;
  color: #7eb37e;
  float: right;
  margin-left: 8px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.tg-message.bot .timestamp {
  color: #a0a0a0;
}

.tg-message .checkmarks {
  color: #5cb85c;
}

/* Podcast list styling */
.podcast-title {
  font-weight: 600;
}

.podcast-author {
  font-style: italic;
  color: #666;
  font-size: 12px;
}

/* Inline Keyboard */
.tg-keyboard {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.tg-keyboard button {
  flex: 1;
  min-width: 40px;
  padding: 8px 12px;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #168acd;
  cursor: pointer;
  transition: background 0.15s;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-keyboard button:hover {
  background: #e0e0e0;
}

.tg-keyboard button.cancel {
  color: #e53935;
  flex: 0;
  padding: 8px 14px;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #90a090;
  border-radius: 50%;
  animation: tgTyping 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes tgTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Bottom Input Bar */
.tg-input-bar {
  background: #fff;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.tg-menu-btn {
  background: #168acd;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-menu-btn svg {
  width: 14px;
  height: 14px;
}

.tg-attach {
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.tg-input {
  flex: 1;
  background: #f0f0f0;
  border: none;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 13px;
  color: #666;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.tg-input::placeholder {
  color: #999;
}

.tg-mic {
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

/* Command Suggestion Popup */
.command-suggestion {
  position: absolute;
  bottom: 60px;
  left: 10px;
  right: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 50;
}

.command-suggestion.visible {
  opacity: 1;
  transform: translateY(0);
}

.command-suggestion .cmd-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.command-suggestion .cmd-text {
  flex: 1;
}

.command-suggestion .cmd-name {
  color: #168acd;
  font-weight: 600;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.command-suggestion .cmd-desc {
  color: #666;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Home indicator */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #000;
  border-radius: 2px;
  z-index: 100;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* --------------------------------------------------------------------------
   How It Works - Dark Section
   -------------------------------------------------------------------------- */
.how-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 0% 0%, var(--purple) 0%, transparent 30%),
    radial-gradient(circle at 100% 100%, var(--orange) 0%, transparent 30%);
  opacity: 0.2;
}

.how-section .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  z-index: 1;
}

.how-section .section-label {
  background: var(--teal);
  color: var(--black);
}

.how-section .section-title {
  color: var(--white);
  text-shadow: 3px 3px 0 var(--orange);
}

.steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .steps-container {
    flex-direction: row;
    align-items: flex-start;
  }
}

.step {
  flex: 1;
  text-align: center;
  max-width: 320px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 2rem;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 4px 4px 0 var(--orange);
  margin-bottom: var(--space-md);
}

.step-content {
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-comic);
  transition: transform var(--transition-bounce);
}

.step-content:hover {
  transform: translateY(-5px) rotate(-1deg);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.step h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 1rem;
  color: var(--gray-700);
}

.step-connector {
  display: none;
  font-size: 3rem;
  color: var(--teal);
  padding-top: 80px;
  animation: bounce-right 1s ease-in-out infinite;
}

@media (min-width: 900px) {
  .step-connector {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Benefits Section - SYMMETRIC 4-card grid
   -------------------------------------------------------------------------- */
.benefits-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--cream-dark);
}

.benefits-section .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 4px solid var(--black);
  box-shadow: var(--shadow-comic);
  transition: all var(--transition-bounce);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 8px 8px 0 var(--teal);
}

.benefit-card:nth-child(2):hover {
  box-shadow: 8px 8px 0 var(--orange);
}

.benefit-card:nth-child(3):hover {
  box-shadow: 8px 8px 0 var(--pink);
}

.benefit-card:nth-child(4):hover {
  box-shadow: 8px 8px 0 var(--yellow);
}

.benefit-emoji {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.benefit-card p {
  color: var(--gray-700);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Use Cases Section
   -------------------------------------------------------------------------- */
.usecases-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--teal);
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}

.usecases-section .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.usecases-section .section-label {
  background: var(--yellow);
  color: var(--black);
}

.usecases-section .section-title {
  color: var(--black);
  text-shadow: 3px 3px 0 var(--white);
}

.usecases-grid {
  display: grid;
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .usecases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usecase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 4px solid var(--black);
  box-shadow: var(--shadow-comic);
  text-align: center;
  transition: all var(--transition-bounce);
}

.usecase-card:hover {
  transform: translateY(-8px) rotate(1deg);
}

.usecase-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.usecase-card h3 {
  font-size: 1.4rem;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.usecase-card p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: var(--space-md);
}

.usecase-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-size: 0.9rem;
  border: 2px solid var(--black);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: var(--space-4xl) var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transition: all var(--transition-bounce);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--teal);
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.faq-item p {
  font-size: 1rem;
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  padding: var(--space-4xl) var(--space-xl);
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  text-align: center;
  border-top: 4px solid var(--black);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.1) 20px,
    rgba(255,255,255,0.1) 40px
  );
  animation: stripe-move 20s linear infinite;
}

@keyframes stripe-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-mascot {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-xl);
  border-radius: 50%;
  border: 5px solid var(--black);
  box-shadow: var(--shadow-comic-lg);
  object-fit: cover;
  animation: bounce 2s ease-in-out infinite;
  background: var(--white);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  text-shadow: 3px 3px 0 var(--black);
  margin-bottom: var(--space-md);
}

.final-cta p {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.final-cta .btn-primary {
  background: var(--white);
  color: var(--orange);
}

.final-cta .btn-primary:hover {
  background: var(--yellow);
  color: var(--black);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--white);
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}

.footer-tagline {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: 1rem;
}

.footer-links a {
  color: var(--teal);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-divider {
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   Utility & Responsive
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: var(--space-2xl);
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .comic-panel img {
    width: 180px;
    height: 180px;
  }

  .mascot-hero-img {
    width: 220px;
    height: 220px;
  }
}

/* --------------------------------------------------------------------------
   Episode Summary Styles - Telegram Demo Extended
   -------------------------------------------------------------------------- */

/* Chat scrolling */
.tg-chat {
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Episode Cover Image */
.episode-image {
  margin-bottom: 4px;
}

.episode-cover {
  width: 100%;
  height: 160px;
  background: linear-gradient(145deg, #87ceeb 0%, #4a90a4 100%);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.episode-cover::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.cover-logo {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #1a1a2e;
  text-transform: lowercase;
  letter-spacing: -1px;
  z-index: 1;
}

.cover-logo span {
  font-weight: 800;
  color: #1a1a2e;
}

.cover-host {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  z-index: 1;
  margin-top: 8px;
}

/* Long Message Styling */
.tg-message.long-message {
  max-width: 92%;
  padding: 10px 12px;
}

/* Summary Reply Quote */
.summary-reply {
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(239, 134, 130, 0.15);
  border-radius: 8px;
  margin-bottom: 10px;
}

.reply-bar {
  width: 3px;
  background: #ef8682;
  border-radius: 2px;
  flex-shrink: 0;
}

.reply-content {
  min-width: 0;
  overflow: hidden;
}

.reply-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #ef8682;
}

.reply-text {
  display: block;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Summary Header */
.summary-header {
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Summary Sections */
.summary-section {
  margin-bottom: 12px;
}

.summary-label {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.summary-section p {
  font-size: 12px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* Key Takeaways List */
.takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #333;
}

.takeaways-list li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

.takeaways-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #666;
}

/* Quotes */
.quote {
  font-size: 12px;
  font-style: italic;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.5;
}

/* Discuss Button */
.discuss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #168acd;
  color: #fff;
  padding: 8px 20px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background 0.2s, transform 0.1s;
}

.discuss-btn.clicked {
  background: #1272ab;
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   Mini App Overlay Styles
   -------------------------------------------------------------------------- */
.mini-app {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f5f5f5;
  z-index: 200;
  display: flex;
  flex-direction: column;
  border-radius: 35px;
  overflow: hidden;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
}

.mini-app.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Progress bar at top */
.mini-app-progress {
  height: 3px;
  background: linear-gradient(90deg, #00ced1 0%, #00ced1 70%, #e0e0e0 70%);
  flex-shrink: 0;
}

/* Mini app header */
.mini-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
  margin-top: 38px; /* Space for dynamic island */
}

.mini-app-close {
  color: #168acd;
  font-size: 15px;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
}

.mini-app-title {
  text-align: center;
}

.mini-app-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.mini-app-subtitle {
  display: block;
  font-size: 11px;
  color: #8e8e93;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.mini-app-menu {
  width: 28px;
  height: 28px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

/* Episode info card */
.mini-app-episode {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.episode-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.episode-podcast {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.episode-title {
  font-size: 13px;
  color: #666;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.3;
}

.episode-status {
  display: inline-flex;
  align-items: center;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: #333;
  margin-top: 6px;
  width: fit-content;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mini app chat area */
.mini-app-chat {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-app-prompt {
  text-align: center;
  color: #168acd;
  font-size: 14px;
  font-style: italic;
  padding: 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mini app messages */
.mini-app-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  opacity: 0;
  transform: translateY(8px);
  animation: miniMsgIn 0.3s ease forwards;
}

@keyframes miniMsgIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-app-message.user {
  align-self: flex-end;
  background: #168acd;
  color: #fff;
  border-bottom-right-radius: 6px;
}

.mini-app-message.bot {
  align-self: flex-start;
  background: #fff;
  color: #000;
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Mini app typing indicator */
.mini-app-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mini-app-typing span {
  width: 6px;
  height: 6px;
  background: #a0a0a0;
  border-radius: 50%;
  animation: miniTyping 1.4s infinite;
}

.mini-app-typing span:nth-child(2) { animation-delay: 0.2s; }
.mini-app-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes miniTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Mini app input bar */
.mini-app-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 24px;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.mini-app-input {
  flex: 1;
  background: #f0f0f0;
  border: none;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.mini-app-input::placeholder {
  color: #999;
}

.mini-app-send {
  background: #168acd;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background 0.2s;
}

.mini-app-send:hover {
  background: #1272ab;
}
