/* ============================================================
   CTA.CSS — BachatAI
   Navy split layout — headline left, phone right
   ============================================================ */

/* ── SECTION ──────────────────────────────────────────────── */
#cta {
  background: #0B1F4B;
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Subtle green glow — matches AI thinking section */
#cta::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,83,0.07) 0%, transparent 65%);
  top: 30%; left: 0;
  transform: translateX(-30%);
  pointer-events: none;
}

/* ── INNER GRID ───────────────────────────────────────────── */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-end;
  min-height: 80vh;
  padding-top: 60px;
}

/* ── LEFT — TEXT ──────────────────────────────────────────── */
.cta-left {
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
}

/* Label */
.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
}

.cta-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  animation: ctaPulse 1.4s infinite;
}

@keyframes ctaPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.3; transform:scale(.6); }
}

/* Headline */
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cta-headline span {
  display: block;
  opacity: 0;
  transform: translateX(-40px);
}

.cta-headline em {
  font-style: normal;
  color: var(--color-green);
}

/* Sub */
.cta-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
}

/* Buttons */
.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.cta-btn-primary {
  background: var(--color-green);
  color: var(--color-navy);
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  letter-spacing: -0.01em;
}

.cta-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,200,83,0.35);
}

.cta-btn-secondary {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
  letter-spacing: -0.01em;
}

.cta-btn-secondary:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

/* Social proof row */
.cta-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
}

.cta-proof-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cta-proof-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.cta-proof-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.cta-proof-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

/* ── RIGHT — PHONE ────────────────────────────────────────── */
.cta-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cta-phone {
  position: relative;
  opacity: 0;
  transform: translateY(60px);
}

/* ── PHONE SHELL ──────────────────────────────────────────── */
.ctp-shell {
  width: 280px;
  background: #060D1F;
  border-radius: 48px;
  padding: 12px 12px 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 0 0 9px rgba(255,255,255,0.03),
    0 -20px 60px rgba(0,200,83,0.08),
    0 -40px 80px rgba(26,107,255,0.06);
}

.ctp-notch {
  width: 80px; height: 6px;
  background: #000; border-radius: 3px;
  margin: 0 auto 10px;
}

.ctp-screen {
  background: #080C14;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  padding: 16px 14px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

/* Chat header */
.ctp-chat-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 14px;
}

.ctp-avatar {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, #1A6BFF, #00C853);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.ctp-name { font-size: 13px; font-weight: 800; color: #fff; }

.ctp-status {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; color: rgba(255,255,255,0.4); margin-top: 2px;
}

.ctp-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #00C853;
}

/* Messages */
.ctp-messages {
  display: flex; flex-direction: column; gap: 10px;
  flex: 1; margin-bottom: 12px;
}

.ctp-msg { display: flex; }
.ctp-msg--user { justify-content: flex-end; }
.ctp-msg--ai   { justify-content: flex-start; }

.ctp-bubble {
  max-width: 84%; padding: 10px 13px;
  font-size: 12px; line-height: 1.5; border-radius: 16px;
}

.ctp-bubble--user {
  background: linear-gradient(135deg, #1A6BFF, #0052CC);
  border-radius: 16px 16px 4px 16px; color: #fff;
}

.ctp-bubble--ai {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 16px 16px 16px;
  color: rgba(255,255,255,0.85);
}

/* Input bar */
.ctp-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px; padding: 9px 16px;
  font-size: 11px; color: rgba(255,255,255,0.2);
  margin-top: auto;
}

/* Nav */
.ctp-nav {
  display: flex; justify-content: space-around;
  padding: 10px 0 14px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 18px;
}
.ctp-nav span { opacity: 0.3; }
.ctp-nav .ctp-nav--active { opacity: 1; }

/* ── FLOATING STAT CARDS ──────────────────────────────────── */
.ctp-stat {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
}

.ctp-stat--1 {
  left: -110px;
  top: 30%;
}

.ctp-stat--2 {
  right: -90px;
  top: 50%;
}

.ctp-stat-num {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  color: var(--color-green);
  letter-spacing: -0.02em;
}

.ctp-stat-icon { font-size: 22px; margin-bottom: 4px; }

.ctp-stat-lbl {
  font-size: 10px; color: rgba(255,255,255,0.4);
  margin-top: 3px; font-weight: 500;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    min-height: auto;
    padding-top: 40px;
  }

  .cta-left { padding-bottom: 0; }

  .cta-right { justify-content: center; }

  .ctp-stat--1, .ctp-stat--2 { display: none; }
}

@media (max-width: 600px) {
  #cta { padding: 80px 0 0; }

  .cta-btns { flex-direction: column; }

  .cta-btn-primary,
  .cta-btn-secondary {
    text-align: center;
  }

  .cta-proof { flex-wrap: wrap; gap: 16px; }
}