/* ============================================
   AI Asistent — Sales Page Styles
   ============================================ */

/* --- Hero --- */
.aia-hero {
  text-align: center;
}

.aia-hero .hero-subtitle {
  max-width: 680px;
  margin: 0 auto;
}

.aia-hero .hero-ctas {
  justify-content: center;
}

/* --- Chat Mockups --- */
.aia-mockups {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aia-mockups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.aia-chat {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.aia-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(74, 127, 255, 0.1) 0%, rgba(123, 92, 255, 0.06) 100%);
  border-bottom: 1px solid var(--border);
}

.aia-chat-header--wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.04) 100%);
}

.aia-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ai-blue), var(--ai-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.aia-chat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.aia-chat-platform {
  font-size: 11px;
  color: var(--text-muted);
}

.aia-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
}

.aia-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
}

.aia-msg p {
  color: var(--text-secondary);
}

.aia-msg--user {
  align-self: flex-end;
  background: rgba(74, 127, 255, 0.12);
  border: 1px solid rgba(74, 127, 255, 0.15);
  border-bottom-right-radius: 4px;
}

.aia-msg--user p {
  color: var(--text-primary);
}

.aia-msg--bot {
  align-self: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.aia-msg-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: right;
}

/* Voice message */
.aia-msg-voice {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ai-blue);
}

.aia-msg-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.aia-msg-waveform span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--ai-blue);
  opacity: 0.5;
}

.aia-msg-waveform span:nth-child(1) { height: 8px; }
.aia-msg-waveform span:nth-child(2) { height: 14px; }
.aia-msg-waveform span:nth-child(3) { height: 20px; }
.aia-msg-waveform span:nth-child(4) { height: 12px; }
.aia-msg-waveform span:nth-child(5) { height: 18px; }
.aia-msg-waveform span:nth-child(6) { height: 24px; }
.aia-msg-waveform span:nth-child(7) { height: 16px; }
.aia-msg-waveform span:nth-child(8) { height: 22px; }
.aia-msg-waveform span:nth-child(9) { height: 10px; }
.aia-msg-waveform span:nth-child(10) { height: 18px; }
.aia-msg-waveform span:nth-child(11) { height: 14px; }
.aia-msg-waveform span:nth-child(12) { height: 20px; }
.aia-msg-waveform span:nth-child(13) { height: 8px; }
.aia-msg-waveform span:nth-child(14) { height: 16px; }
.aia-msg-waveform span:nth-child(15) { height: 22px; }
.aia-msg-waveform span:nth-child(16) { height: 12px; }

.aia-msg-duration {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Flow Diagram --- */
.aia-flow {
  padding: 120px 0;
}

.aia-flow-diagram {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.aia-flow-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}

.aia-flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 127, 255, 0.12) 0%, rgba(123, 92, 255, 0.08) 100%);
  border: 1px solid rgba(74, 127, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--ai-blue);
  transition: all 0.3s;
}

.aia-flow-step:hover .aia-flow-icon {
  border-color: rgba(74, 127, 255, 0.5);
  transform: translateY(-4px);
}

.aia-flow-label {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.aia-flow-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.aia-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.3;
  padding-top: 20px;
  flex-shrink: 0;
}

/* --- Use Cases --- */
.aia-usecases {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aia-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.aia-usecase {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all 0.4s var(--ease-out);
}

.aia-usecase:hover {
  border-color: rgba(74, 127, 255, 0.3);
  transform: translateY(-4px);
}

.aia-usecase-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 127, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ai-blue);
  margin-bottom: 20px;
}

.aia-usecase h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
}

.aia-usecase p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Integrations --- */
.aia-integrations {
  padding: 80px 0;
}

.aia-integrations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.aia-integration {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.aia-integration:hover {
  border-color: rgba(74, 127, 255, 0.3);
  color: var(--ai-blue);
  background: rgba(74, 127, 255, 0.05);
}

/* --- Pricing --- */
.aia-pricing {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.aia-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 48px;
}

.aia-pricing-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.aia-pricing-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.aia-pricing-price {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.aia-pricing-price span {
  font-size: 18px;
  color: var(--text-muted);
}

.aia-pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.aia-pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aia-pricing-card li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.aia-pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

.aia-pricing-card--monthly {
  border-color: rgba(74, 127, 255, 0.2);
  background: linear-gradient(135deg, rgba(74, 127, 255, 0.06) 0%, var(--bg-card) 100%);
}

.aia-pricing-card--monthly .aia-pricing-price {
  color: var(--ai-blue);
}

/* Comparison */
.aia-pricing-comparison {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.aia-pricing-comparison h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.aia-comparison-items {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.aia-comparison-item {
  flex: 1;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.aia-comparison-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.aia-comparison-value {
  font-family: var(--font-display);
  font-size: 24px;
}

.aia-comparison-value--old {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 100, 100, 0.4);
}

.aia-comparison-value--new {
  color: var(--ai-blue);
}

.aia-comparison-value--savings {
  color: var(--accent);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .aia-flow-diagram {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .aia-flow-arrow {
    display: none;
  }

  .aia-flow-step {
    flex: 0 0 calc(33.33% - 16px);
  }

  .aia-usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .aia-flow-step {
    flex: 0 0 100%;
  }

  .aia-usecases-grid {
    grid-template-columns: 1fr;
  }

  .aia-pricing-grid {
    grid-template-columns: 1fr;
  }

  .aia-comparison-items {
    flex-direction: column;
    gap: 12px;
  }
}
