/* =====================================================================
   AKSİYON BUTONLARI — Generate, sohbet gönder, Upgrade
   Ana butonlar sade dolu renk; hareketleri action-button.js verir (eğilme, sıkışma, ışık)
   Kaldırmak için index.html'deki <link>'i silmek yeterli.
   ===================================================================== */
:root {
  --ease: cubic-bezier(.2, .8, .2, 1);
  --accent-grad: linear-gradient(90deg, #b8f3ff 0%, #4fdcff 28%, #1e9bff 62%, #1a5cff 100%);
  --pink-grad: linear-gradient(90deg, #f936b0 0%, #ff3fa0 50%, #ff4d8a 100%);
  /* üst yarıya düşen yumuşak ışık */
  --sheen: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 48%, rgba(255,255,255,0) 52%);
}

.generate, .ci-send, .side-generate:not([disabled]), .upgrade {
  overflow: hidden; isolation: isolate;
  font-family: "Inter", system-ui, sans-serif; font-weight: 700; letter-spacing: -.15px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), filter .2s;
}
/* Generate masaüstünde absolute (sağ alt köşe) kalır; diğerleri relative */
.ci-send, .side-generate, .upgrade { position: relative; }
@media (max-width: 720px) { .generate { position: relative; right: auto; bottom: auto; } }

.upgrade::before {
  content: ""; position: absolute; inset: 0; background: var(--sheen); pointer-events: none; z-index: -1;
}

/* ---- Ana aksiyon: Generate / gönder — sade dolu renk ----
   Dolu aqua → mavi zemin, net beyaz yazı, tek bir ince üst ışık çizgisi,
   yumuşak nötr gölge. Hale, neon çerçeve ve parlama yok: buton kontrastıyla öne çıkar. */
.generate, .ci-send, .side-generate:not([disabled]) {
  background: linear-gradient(180deg, #3cb8ff 0%, #1e8fff 55%, #1a6dff 100%);
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 30, 90, .3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),   /* ince üst ışık çizgisi */
    inset 0 -1px 0 rgba(0, 20, 80, .25),      /* alt kenarda hafif koyuluk */
    0 1px 2px rgba(0, 0, 0, .35),
    0 8px 20px -8px rgba(0, 0, 0, .6);        /* yumuşak gölge */
  transition: filter .2s ease;
}
.generate { font-size: 18px; gap: 6px; }
.generate:hover, .ci-send:hover, .side-generate:not([disabled]):hover { filter: brightness(1.07); }
.generate:active, .ci-send:active, .side-generate:not([disabled]):active { filter: brightness(.96); }

/* basınca: tıklanan noktadan yayılıp sönen yumuşak ışık (action-button.js ekler) */
.ab-press {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 60%);
}
.ab-press.on { animation: ab-press .6s ease-out; }
@keyframes ab-press { from { opacity: 1; } to { opacity: 0; } }

/* ---- Pembe: Upgrade ---- */
.upgrade {
  background: var(--pink-grad); color: #fff;
  height: 44px; padding: 0 8px 0 18px; border-radius: 11px; gap: 12px; font-size: 16.5px;
  text-shadow: 0 1px 1px rgba(150,0,70,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(120,0,60,.25),
              0 6px 22px rgba(255,61,160,.35), 0 1px 2px rgba(0,0,0,.4);
}
.upgrade:hover {
  transform: translateY(-1px); filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(120,0,60,.25),
              0 10px 32px rgba(255,61,160,.45), 0 1px 2px rgba(0,0,0,.4);
}

.upgrade:active { transform: translateY(0) scale(.98); }

/* ---- ✦ rozet (Upgrade'deki "x10 Faster", Generate'teki kredi) ---- */
.pill-badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 28px; padding: 0 9px 0 7px; border-radius: 8px;
  font-size: 13.5px; font-weight: 700; line-height: 1; text-shadow: none;
}
.pill-badge em { font-style: normal; }
.spark { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.upsell .upgrade .pill-badge, .upgrade .pill-badge { color: #fff; font-size: 13.5px; background: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.generate .pill-badge {
  background: rgba(255, 255, 255, .18); font-size: 15px; height: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

@media (prefers-reduced-motion: reduce) {
  .generate, .ci-send, .side-generate, .upgrade { transition: none; }
  .ab-press.on { animation: none; }
}

/* ---- vurgulu başlıklar: aqua → mavi yazı ---- */
.hero h1 span, .chat-empty h2 span, .feature-txt strong {
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
