/* ============================================================
   KIVO Landing — Custom Styles
   ============================================================ */

/* Font */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   Language Switcher
   ============================================================ */
.lang-btn {
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover {
  color: #94a3b8;
}
.lang-btn.active {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
}

/* ============================================================
   CTA Button
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.3);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
}
.cta-button:active {
  transform: translateY(0);
}

/* ============================================================
   KIVO Placeholder (for generated images)
   ============================================================ */
.kivo-placeholder {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.1));
  border: 2px dashed rgba(6, 182, 212, 0.3);
}

/* ============================================================
   Feature Cards
   ============================================================ */
.feature-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: #1e2d4a;
  border-radius: 16px;
  border: 1px solid #2a3a5c;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   Categories Scroll
   ============================================================ */
.categories-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-scroll::-webkit-scrollbar {
  display: none;
}
.category-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #1e2d4a;
  border-radius: 12px;
  border: 1px solid #2a3a5c;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.category-chip:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

/* ============================================================
   Step Numbers
   ============================================================ */
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

/* ============================================================
   Screenshots / Phone Mockups
   ============================================================ */
.screenshots-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.screenshots-scroll::-webkit-scrollbar {
  display: none;
}
.phone-mockup {
  width: 180px;
  flex-shrink: 0;
  background: #0f1b33;
  border-radius: 24px;
  padding: 8px;
  border: 2px solid #2a3a5c;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  overflow: hidden;
  background: #1a2744;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1e2d4a, #1a2744);
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal.visible .reveal-item:nth-child(1) { transition-delay: 0.1s; }
.reveal.visible .reveal-item:nth-child(2) { transition-delay: 0.2s; }
.reveal.visible .reveal-item:nth-child(3) { transition-delay: 0.3s; }
.reveal.visible .reveal-item:nth-child(4) { transition-delay: 0.4s; }

/* ============================================================
   iOS Modal
   ============================================================ */
#ios-modal.show {
  display: flex;
}

/* ============================================================
   Responsive Desktop
   ============================================================ */
@media (min-width: 768px) {
  .phone-mockup {
    width: 220px;
  }
}

/* ============================================================
   No-scrollbar utility
   ============================================================ */
.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
