/* ============================================
   Kivo — Landing Page Styles
   Brand: Teal + Gold | Tailwind overrides + custom
   ============================================ */

:root {
  --primary-50:  #F0FDFA;
  --primary-100: #CCFBF1;
  --primary-200: #99F6E4;
  --primary-300: #5EEAD4;
  --primary-400: #2DD4BF;
  --primary-500: #14B8A6;
  --primary-600: #0D9488;
  --primary-700: #0F766E;
  --primary-800: #115E59;
  --primary-900: #134E4A;

  --accent-50:  #FFFBEB;
  --accent-100: #FEF3C7;
  --accent-200: #FDE68A;
  --accent-300: #FCD34D;
  --accent-400: #FBBF24;
  --accent-500: #F59E0B;
  --accent-600: #D97706;
  --accent-700: #B45309;
  --accent-800: #92400E;
  --accent-900: #78350F;

  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
}

/* ---- Global ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
}

/* ---- Telegram Chat Mockup ---- */
.chat-mockup {
  background: #0e1621;
  border-radius: 1rem;
  padding: 1rem;
  max-width: 340px;
  font-size: 0.875rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.chat-mockup .msg {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  max-width: 85%;
  line-height: 1.4;
}

.chat-mockup .msg-user {
  background: #2b5278;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 0.25rem;
}

.chat-mockup .msg-bot {
  background: #182533;
  color: #e4e6eb;
  border-bottom-left-radius: 0.25rem;
}

.chat-mockup .msg-bot .bot-name {
  color: var(--primary-400);
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 0.125rem;
}

/* ---- Pricing Card Highlight ---- */
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.pricing-popular {
  border: 2px solid var(--accent-500);
  position: relative;
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-weight: 600;
  color: var(--gray-800);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-700);
}

.faq-question .icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question.active .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* ---- Addon pricing example ---- */
.addon-example {
  background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
  border: 1px solid var(--primary-200);
}

/* ---- CTA Buttons ---- */
.btn-primary {
  background: var(--accent-600);
  color: #fff;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--accent-700);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--primary-700);
  color: #fff;
  transition: background 0.2s, transform 0.1s;
}

.btn-secondary:hover {
  background: var(--primary-800);
  transform: translateY(-1px);
}

/* ---- Form ---- */
.form-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ---- Steps connector line ---- */
.step-connector {
  position: absolute;
  top: 1.5rem;
  left: calc(50% + 2rem);
  width: calc(100% - 4rem);
  height: 2px;
  background: var(--primary-200);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ---- Nav scroll state ---- */
.nav-scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .chat-mockup {
    max-width: 280px;
  }
}
