/* =========================================
   KIN , Design System
   Canvas:  #FAFAF8  warm off-white
   Ink:     #2D2D2D  warm charcoal
   Accent:  #E8674A  warm coral
   Muted:   #7A7A72
   Surface: #F2F1EE
   Border:  #E5E4E0
   Health tint:   #F0F7F0
   Mindset tint:  #F3F0F7
   Business tint: #FBF6ED
   Telegram blue: #2AABEE
   ========================================= */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #FAFAF8;
  color: #2D2D2D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- WORDMARK ---- */
.wordmark {
  font-size: 1.5rem; font-weight: 800; color: #2D2D2D;
  letter-spacing: -0.04em; text-decoration: none;
}

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E5E4E0;
  padding: 16px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #7A7A72; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: #2D2D2D; }
.nav-step-label { font-size: 0.85rem; color: #7A7A72; font-weight: 600; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600;
  border-radius: 10px; cursor: pointer; text-decoration: none;
  transition: all 0.2s; border: none; text-align: center; white-space: nowrap;
}
.btn-primary { background: #E8674A; color: #fff; padding: 12px 24px; }
.btn-primary:hover { background: #d45a3f; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,103,74,0.28); }
.btn-outline { background: transparent; color: #2D2D2D; border: 1.5px solid #E5E4E0; padding: 12px 24px; }
.btn-outline:hover { border-color: #2D2D2D; background: #F2F1EE; }
.btn-ghost { background: transparent; color: #2D2D2D; padding: 12px 24px; }
.btn-ghost:hover { background: #F2F1EE; }
.btn-telegram { background: #2AABEE; color: #fff; padding: 12px 20px; }
.btn-telegram:hover { background: #1e98d4; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,171,238,0.28); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-text { background: none; border: none; color: #7A7A72; font-family: 'Plus Jakarta Sans',sans-serif; font-size: 0.875rem; font-weight: 600; cursor: pointer; padding: 8px 0; text-decoration: underline; }
.btn-text:hover { color: #2D2D2D; }

/* ---- HERO ---- */
.hero { padding: 80px 0 64px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block; background: #FFF0EC; color: #E8674A;
  font-size: 0.8rem; font-weight: 700; padding: 5px 14px;
  border-radius: 20px; margin-bottom: 24px; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-sub { font-size: 1.1rem; color: #7A7A72; margin-bottom: 32px; line-height: 1.7; max-width: 440px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 0.82rem; color: #B0AFA9; }

/* ---- PHONE MOCKUP ---- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 400px; }

.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.35; z-index: 0;
}
.hero-blob-1 { width: 280px; height: 280px; background: #E8674A; top: -30px; right: -20px; }
.hero-blob-2 { width: 200px; height: 200px; background: #F5B89A; bottom: -20px; left: 10px; }

.phone-frame {
  position: relative; z-index: 1;
  width: 240px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(45,45,45,0.18), 0 0 0 1px rgba(45,45,45,0.06);
  overflow: hidden;
}
.phone-screen { padding: 0; }
.phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px 12px;
  background: #FAFAF8;
  border-bottom: 1px solid #F2F1EE;
}
.phone-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #F0F7F0; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.phone-name { font-size: 0.78rem; font-weight: 700; color: #2D2D2D; flex: 1; }
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CAF82; }
.phone-messages { padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 8px; background: #FAFAF8; min-height: 200px; }
.phone-msg {
  max-width: 85%; font-size: 0.75rem; line-height: 1.5;
  padding: 8px 12px; border-radius: 14px;
}
.phone-msg-in { background: #fff; border: 1px solid #E5E4E0; border-radius: 14px 14px 14px 4px; align-self: flex-start; color: #2D2D2D; }
.phone-msg-out { background: #E8674A; color: #fff; border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.phone-typing {
  align-self: flex-start; background: #fff; border: 1px solid #E5E4E0;
  border-radius: 14px 14px 14px 4px; padding: 10px 14px;
  display: flex; gap: 4px; align-items: center;
}
.phone-typing span {
  width: 5px; height: 5px; border-radius: 50%; background: #B0AFA9;
  animation: typingDot 1.2s infinite;
}
.phone-typing span:nth-child(2) { animation-delay: 0.2s; }
.phone-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%,60%,100% { opacity:0.3; transform:scale(0.8); } 30% { opacity:1; transform:scale(1); } }

/* Hero message animations */
.animate-hero { opacity: 0; animation: fadeSlideUp 0.4s ease forwards; }
.animate-hero.delay-1 { animation-delay: 0.6s; }
.animate-hero.delay-2 { animation-delay: 1.2s; }
.animate-hero.delay-3 { animation-delay: 1.8s; }
.animate-hero.delay-4 { animation-delay: 2.4s; }
.animate-hero.delay-5 { animation-delay: 3.0s; }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; scroll-margin-top: 80px; }
.section-alt { background: #F2F1EE; }
.section-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; text-align: center; }
.section-title-left { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 16px; }
.section-sub { color: #7A7A72; text-align: center; margin-bottom: 48px; font-size: 1rem; }
.section-eyebrow { font-size: 0.78rem; font-weight: 700; color: #E8674A; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }

/* ---- SPECIALISATION CARDS ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.card {
  background: #fff; border: 1.5px solid #E5E4E0; border-radius: 20px;
  padding: 32px 28px; text-decoration: none; color: #2D2D2D;
  transition: all 0.25s; display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(45,45,45,0.1); }
.card-health  { background: #F0F7F0; border-color: #D4ECD4; }
.card-health:hover  { border-color: #4CAF82; box-shadow: 0 12px 32px rgba(76,175,130,0.12); }
.card-mindset { background: #F3F0F7; border-color: #DDD4ED; }
.card-mindset:hover { border-color: #9B7EC8; box-shadow: 0 12px 32px rgba(155,126,200,0.12); }
.card-business{ background: #FBF6ED; border-color: #EEE0C8; }
.card-business:hover{ border-color: #D4A44C; box-shadow: 0 12px 32px rgba(212,164,76,0.12); }
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.card p { font-size: 0.9rem; color: #7A7A72; line-height: 1.6; margin-bottom: 20px; }
.card-cta { font-size: 0.875rem; font-weight: 700; color: #E8674A; }

/* ---- HOW IT WORKS ---- */
.steps { display: flex; align-items: flex-start; gap: 16px; justify-content: center; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; max-width: 280px; text-align: center; }
.step-icon-wrap {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1.5px solid #E5E4E0;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(45,45,45,0.06);
}
.step-num { font-size: 0.7rem; font-weight: 800; color: #E8674A; letter-spacing: 0.1em; margin-bottom: 10px; }
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: #7A7A72; line-height: 1.6; }
.step-divider { font-size: 1.4rem; color: #D0CFCA; margin-top: 28px; flex-shrink: 0; }

/* ---- WHY TELEGRAM ---- */
.why-telegram-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-telegram-copy p { color: #7A7A72; margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }
.why-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.why-list li { font-size: 0.9rem; font-weight: 600; color: #2D2D2D; }
.why-list li::first-letter { color: #E8674A; }

/* Telegram chat mockup */
.tg-mockup {
  background: #fff; border-radius: 20px; border: 1.5px solid #E5E4E0;
  overflow: hidden; box-shadow: 0 12px 40px rgba(45,45,45,0.08);
}
.tg-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: #2AABEE;
}
.tg-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.25); color: #fff;
  font-size: 0.9rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.tg-meta strong { display: block; font-size: 0.875rem; color: #fff; font-weight: 700; }
.tg-meta span { font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.tg-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FAFAF8; }
.tg-msg {
  max-width: 82%; font-size: 0.82rem; line-height: 1.5;
  padding: 10px 14px; border-radius: 14px; position: relative;
}
.tg-msg-in { background: #fff; border: 1px solid #E5E4E0; border-radius: 14px 14px 14px 4px; align-self: flex-start; }
.tg-msg-out { background: #DCF8C6; border-radius: 14px 14px 4px 14px; align-self: flex-end; }
.tg-time { display: block; font-size: 0.68rem; color: #B0AFA9; margin-top: 4px; text-align: right; }
.tg-input {
  padding: 12px 16px; border-top: 1px solid #E5E4E0;
  font-size: 0.82rem; color: #B0AFA9; background: #fff;
}

/* ---- TESTIMONIALS ---- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }
.testimonial { background: #fff; border: 1.5px solid #E5E4E0; border-radius: 20px; padding: 28px; }
.testimonial-quote { font-size: 0.95rem; line-height: 1.7; color: #2D2D2D; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: #fff; flex-shrink: 0; }
.testimonial-avatar-health  { background: #4CAF82; }
.testimonial-avatar-mindset { background: #9B7EC8; }
.testimonial-avatar-business{ background: #D4A44C; }
.testimonial-author strong { display: block; font-size: 0.875rem; font-weight: 700; }
.testimonial-author span { font-size: 0.8rem; color: #7A7A72; }

/* ---- PRICING ---- */
.pricing { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.plan { background: #fff; border: 1.5px solid #E5E4E0; border-radius: 22px; padding: 36px 32px; flex: 1; min-width: 260px; max-width: 340px; position: relative; transition: all 0.25s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(45,45,45,0.08); }
.plan-featured { border-color: #E8674A; box-shadow: 0 8px 32px rgba(232,103,74,0.12); }
.plan-featured:hover { box-shadow: 0 14px 40px rgba(232,103,74,0.2); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #E8674A; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.04em; }
.plan-name { font-size: 0.85rem; font-weight: 700; color: #7A7A72; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.plan-price { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 8px; color: #2D2D2D; }
.plan-price span { font-size: 1rem; font-weight: 400; color: #7A7A72; }
.plan-desc { font-size: 0.875rem; color: #7A7A72; margin-bottom: 24px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { font-size: 0.9rem; padding: 7px 0; border-bottom: 1px solid #F2F1EE; display: flex; align-items: center; gap: 8px; }
.plan-features li::before { content: '✓'; color: #E8674A; font-weight: 700; flex-shrink: 0; }
.pricing-note { text-align: center; font-size: 0.875rem; color: #7A7A72; }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid #E5E4E0; padding: 48px 0; background: #FAFAF8; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-tagline { font-size: 0.82rem; color: #B0AFA9; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #7A7A72; font-size: 0.875rem; text-decoration: none; }
.footer-links a:hover { color: #2D2D2D; }
.footer-copy { font-size: 0.78rem; color: #B0AFA9; }

/* =========================================
   ONBOARDING
   ========================================= */

/* ---- PROGRESS BAR ---- */
.progress-bar-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 3px; background: #E5E4E0; }
.progress-bar-fill { height: 100%; background: #E8674A; transition: width 0.5s ease; width: 0%; border-radius: 0 2px 2px 0; }

.onboarding-body { min-height: 100vh; background: #FAFAF8; padding-top: 3px; }

.onboarding-layout { display: flex; max-width: 980px; margin: 0 auto; padding: 40px 24px 80px; gap: 40px; align-items: flex-start; }

/* ---- CHAT PANEL ---- */
.chat-panel { flex: 1; min-width: 0; }
.ob-step { display: none; flex-direction: column; gap: 12px; }
.ob-step.active { display: flex; }

/* ---- CHAT ROWS ---- */
.chat-row { display: flex; align-items: flex-end; gap: 10px; }
.chat-row-out { justify-content: flex-end; }

/* Kin avatar bubble */
.kin-avatar-sm {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: #E8674A; color: #fff; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}

/* ---- CHAT BUBBLES ---- */
.chat-bubble { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 0.92rem; line-height: 1.6; }
.kin-bubble { background: #fff; border: 1.5px solid #E5E4E0; border-radius: 4px 18px 18px 18px; }
.user-bubble { background: #E8674A; color: #fff; border-radius: 18px 18px 4px 18px; }

/* ---- CHAT INPUT ---- */
.chat-input-row { display: flex; gap: 8px; margin-top: 4px; }
.chat-input { flex: 1; font-family: 'Plus Jakarta Sans',sans-serif; font-size: 0.92rem; padding: 12px 16px; border: 1.5px solid #E5E4E0; border-radius: 10px; background: #fff; color: #2D2D2D; outline: none; transition: border-color 0.2s; }
.chat-input:focus { border-color: #E8674A; }
.chat-input::placeholder { color: #C0BFBB; }

/* ---- OPTION BUTTONS ---- */
.chat-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; padding-left: 38px; }
.option-btn { font-family: 'Plus Jakarta Sans',sans-serif; font-size: 0.875rem; font-weight: 600; padding: 10px 20px; background: #fff; border: 1.5px solid #E5E4E0; border-radius: 24px; cursor: pointer; transition: all 0.2s; color: #2D2D2D; }
.option-btn:hover { border-color: #E8674A; color: #E8674A; background: #FFF0EC; }
.chat-actions { margin-top: 4px; }

/* ---- READY MOMENT ---- */
.ready-moment { text-align: center; padding: 32px 24px; background: #fff; border: 1.5px solid #E5E4E0; border-radius: 20px; margin-bottom: 8px; }
.ready-emoji { font-size: 3rem; margin-bottom: 16px; }
.ready-headline { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; }
.ready-sub { font-size: 0.9rem; color: #7A7A72; margin-bottom: 20px; }
.ready-summary { display: flex; flex-direction: column; gap: 0; text-align: left; border-top: 1px solid #F2F1EE; margin-top: 16px; padding-top: 16px; }
.ready-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #F2F1EE; font-size: 0.85rem; }
.ready-row:last-child { border-bottom: none; }
.ready-row-label { font-weight: 700; color: #B0AFA9; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 1px; }
.ready-row-val { color: #2D2D2D; font-weight: 600; text-align: right; }

/* ---- CONNECT CARD ---- */
.connect-card { background: #fff; border: 1.5px solid #E5E4E0; border-radius: 20px; padding: 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.qr-placeholder { width: 120px; height: 120px; border-radius: 12px; border: 2px solid #2AABEE; flex-shrink: 0; position: relative; overflow: hidden; background: #F0F9FF; display: flex; align-items: center; justify-content: center; }
/* CSS QR pattern suggestion */
.qr-grid { width: 80px; height: 80px; background-image: repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(42,171,238,0.15) 6px, rgba(42,171,238,0.15) 7px), repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(42,171,238,0.15) 6px, rgba(42,171,238,0.15) 7px); }
.qr-corner { position: absolute; width: 22px; height: 22px; border: 3px solid #2AABEE; border-radius: 3px; }
.qr-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.qr-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.qr-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.connect-details { flex: 1; min-width: 160px; }
.connect-label { font-size: 0.72rem; font-weight: 700; color: #7A7A72; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.connect-code { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.14em; color: #2D2D2D; margin-bottom: 16px; }
.connect-note { font-size: 0.78rem; color: #B0AFA9; margin-top: 10px; line-height: 1.5; }

/* ---- PLAN CHOICE (onboarding) ---- */
.plan-choice { display: flex; gap: 14px; flex-wrap: wrap; }
.plan-card { flex: 1; min-width: 175px; background: #fff; border: 2px solid #E5E4E0; border-radius: 16px; padding: 20px; cursor: pointer; transition: all 0.2s; position: relative; }
.plan-card:hover { border-color: #E8674A; }
.plan-card.selected { border-color: #E8674A; background: #FFF8F6; transform: scale(1.02); }
@keyframes checkBounce { 0% { transform:scale(0); } 60% { transform:scale(1.2); } 100% { transform:scale(1); } }
.plan-card.selected .plan-select-indicator { animation: checkBounce 0.3s ease forwards; }
.plan-card-featured { border-color: #F0E0DA; }
.plan-card-badge { display: inline-block; background: #E8674A; color: #fff; font-size: 0.68rem; font-weight: 700; padding: 2px 10px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.plan-card-name { font-size: 0.8rem; font-weight: 700; color: #7A7A72; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.plan-card-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.plan-card-price span { font-size: 0.82rem; font-weight: 400; color: #7A7A72; }
.plan-card ul { list-style: none; }
.plan-card li { font-size: 0.78rem; color: #7A7A72; padding: 4px 0; }
.plan-card li::before { content: '✓ '; color: #E8674A; font-weight: 700; }
.plan-select-indicator { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #E5E4E0; background: #fff; transition: all 0.2s; }
.plan-card.selected .plan-select-indicator { background: #E8674A; border-color: #E8674A; }

/* ---- PAYMENT ---- */
.payment-form { margin-top: 18px; background: #fff; border: 1.5px solid #E5E4E0; border-radius: 16px; padding: 24px; }
.payment-label { font-size: 0.78rem; font-weight: 700; color: #7A7A72; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }
.stripe-element-placeholder { background: #F2F1EE; border-radius: 8px; padding: 16px; font-size: 0.875rem; color: #B0AFA9; margin-bottom: 16px; border: 1.5px dashed #E5E4E0; text-align: center; }
.payment-note { font-size: 0.75rem; color: #B0AFA9; text-align: center; margin-top: 10px; }

/* ---- AGENT PREVIEW ---- */
.agent-preview { width: 260px; flex-shrink: 0; position: sticky; top: 88px; }
.preview-card { background: #fff; border: 1.5px solid #E5E4E0; border-radius: 20px; padding: 22px; transition: box-shadow 0.3s; }
.preview-card.preview-pulse { box-shadow: 0 0 0 3px rgba(232,103,74,0.2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,103,74,0.35); } 70% { box-shadow: 0 0 0 8px rgba(232,103,74,0); } 100% { box-shadow: 0 0 0 0 rgba(232,103,74,0); } }
.preview-pulse { animation: pulse 0.6s ease; }
.preview-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #F2F1EE; }
.preview-avatar { width: 48px; height: 48px; border-radius: 14px; background: #FFF0EC; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.preview-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.preview-status { font-size: 0.75rem; color: #B0AFA9; }
.preview-empty { font-size: 0.82rem; color: #C0BFBB; line-height: 1.6; }
.preview-field { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid #F2F1EE; }
.preview-field:last-child { border-bottom: none; }
.pf-label { font-size: 0.68rem; font-weight: 700; color: #B0AFA9; text-transform: uppercase; letter-spacing: 0.07em; }
.pf-value { font-size: 0.85rem; color: #2D2D2D; font-weight: 600; }

/* ---- ANIMATIONS ---- */
@keyframes fadeSlideUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.animate-in { animation: fadeSlideUp 0.35s ease both; }
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1.0s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2.0s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-visual { min-height: 300px; }
  .why-telegram-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .onboarding-layout { flex-direction: column; padding: 24px 16px 60px; gap: 24px; }
  .agent-preview { width: 100%; position: static; display: none; }
  .agent-preview.preview-visible { display: block; }
  .step-divider { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .nav-links a:not(.btn) { display: none; }
  .connect-card { flex-direction: column; align-items: flex-start; }
  .plan-choice { flex-direction: column; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .pricing { flex-direction: column; align-items: center; }
  .plan { max-width: 100%; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .ready-headline { font-size: 1.25rem; }
  .phone-frame { width: 200px; }
}
