/* ═══════════════════════════════════════════
   AI CEO ASİSTANI — ana sayfa bölümü (#ceo-asistani)
   index.html + index.en.html. Modül: coach/ (CLAUDE.md "AI CEO Asistanı").
   Görsel saf CSS/SVG; hareketi azaltma tercihinde tüm animasyonlar kapalı.
   ═══════════════════════════════════════════ */

body.design-v2 .ceo-brief-section {
  padding: 76px 0 12px;
}

body.design-v2 .ceo-brief-signal {
  margin-bottom: 32px;
}

body.design-v2 .ceo-brief-signal .section-tag b {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6d77a, #ff8751);
  color: #2a1810;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

body.design-v2 .ceo-brief-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 3.6vw, 52px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 135, 81, 0.16), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(246, 215, 122, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(10, 14, 24, 0.92) 0%, rgba(27, 20, 28, 0.95) 58%, rgba(10, 15, 24, 0.95) 100%);
  border: 1px solid rgba(246, 215, 122, 0.22);
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

body.design-v2 .ceo-brief-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 31px;
  border: 1px solid rgba(255, 250, 244, 0.04);
  pointer-events: none;
}

/* ── Sol: metin ── */

body.design-v2 .ceo-brief-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

body.design-v2 .ceo-brief-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(246, 215, 122, 0.12);
  color: #f6d77a;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.design-v2 .ceo-brief-copy h3 {
  margin: 0 0 12px;
  color: #fffaf4;
  font-size: clamp(1.72rem, 2.2vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

body.design-v2 .ceo-brief-lead {
  max-width: 600px;
  margin: 0;
  color: rgba(247, 240, 231, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

body.design-v2 .ceo-brief-gains {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

body.design-v2 .ceo-brief-gains li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.055);
  border: 1px solid rgba(255, 250, 244, 0.075);
  transition: border-color 0.3s, background 0.3s;
}

body.design-v2 .ceo-brief-gains li:hover {
  background: rgba(255, 250, 244, 0.08);
  border-color: rgba(246, 215, 122, 0.24);
}

body.design-v2 .ceo-brief-gain-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #2a1810;
  background: linear-gradient(135deg, #f6d77a, #ff8751);
  box-shadow: 0 14px 26px rgba(255, 135, 81, 0.18);
}

body.design-v2 .ceo-brief-gains strong,
body.design-v2 .ceo-brief-gains span:not(.ceo-brief-gain-icon) {
  display: block;
}

body.design-v2 .ceo-brief-gains strong {
  color: #fffaf4;
  font-size: 0.97rem;
  line-height: 1.28;
}

body.design-v2 .ceo-brief-gains span:not(.ceo-brief-gain-icon) {
  margin-top: 3px;
  color: rgba(247, 240, 231, 0.58);
  font-size: 0.86rem;
  line-height: 1.5;
}

body.design-v2 .ceo-brief-strategy {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(246, 215, 122, 0.15), rgba(255, 135, 81, 0.08));
  border: 1px solid rgba(246, 215, 122, 0.28);
  color: rgba(255, 243, 230, 0.86);
  font-size: 0.95rem;
  line-height: 1.5;
}

body.design-v2 .ceo-brief-strategy strong {
  color: #fff3e6;
}

body.design-v2 .ceo-brief-listen {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0 0;
  color: rgba(247, 240, 231, 0.72);
  font-size: 0.93rem;
  line-height: 1.5;
}

body.design-v2 .ceo-brief-listen svg {
  flex: 0 0 auto;
  color: #8ee8ff;
}

body.design-v2 .ceo-brief-listen strong {
  color: #fffaf4;
}

body.design-v2 .ceo-brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 22px;
}

body.design-v2 .ceo-brief-actions small {
  color: rgba(247, 240, 231, 0.5);
  font-size: 0.8rem;
}

body.design-v2 .ceo-brief-note {
  margin: 16px 0 0;
  color: rgba(247, 240, 231, 0.46);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ── Sağ: animasyonlu görsel ── */

body.design-v2 .ceo-brief-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-width: 0;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 11, 20, 0.2) 0%, rgba(38, 20, 22, 0.5) 72%, rgba(255, 135, 81, 0.12) 100%);
  border: 1px solid rgba(246, 215, 122, 0.12);
  overflow: hidden;
}

/* Gün doğumu küresi + ışınlar + ufuk çizgisi */
body.design-v2 .ceo-sun {
  position: absolute;
  left: 50%;
  bottom: -150px;
  width: 360px;
  height: 360px;
  margin-left: -180px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff1c2 0%, #f6d77a 26%, #ff8751 58%, rgba(255, 135, 81, 0) 72%);
  filter: blur(2px);
  opacity: 0.85;
  animation: ceoSunrise 7s ease-in-out infinite alternate;
}

body.design-v2 .ceo-rays {
  position: absolute;
  left: 50%;
  bottom: -420px;
  width: 900px;
  height: 900px;
  margin-left: -450px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 215, 122, 0.09) 0deg 5deg, transparent 5deg 16deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  animation: ceoRays 80s linear infinite;
}

body.design-v2 .ceo-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 215, 122, 0.5), transparent);
}

/* Telefon maketi */
body.design-v2 .ceo-phone {
  position: relative;
  z-index: 2;
  width: min(318px, 86%);
  padding: 16px 15px 15px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(16, 19, 30, 0.94), rgba(10, 12, 20, 0.97));
  border: 1px solid rgba(255, 250, 244, 0.14);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 6px rgba(255, 250, 244, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.design-v2 .ceo-phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px 12px;
  color: rgba(247, 240, 231, 0.6);
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.design-v2 .ceo-phone-bar::after {
  content: '';
  order: 1;
  width: 62px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.12);
}

body.design-v2 .ceo-phone-bar span:last-child {
  order: 2;
}

body.design-v2 .ceo-assistant {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 4px 4px 14px;
}

body.design-v2 .ceo-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #2a1810;
  background: linear-gradient(135deg, #f6d77a, #ff8751);
  box-shadow: 0 10px 24px rgba(255, 135, 81, 0.3);
}

body.design-v2 .ceo-avatar::before,
body.design-v2 .ceo-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(246, 215, 122, 0.55);
  animation: ceoPulse 2.4s ease-out infinite;
}

body.design-v2 .ceo-avatar::after {
  animation-delay: 1.2s;
}

body.design-v2 .ceo-avatar-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7be38f;
  border: 2px solid #10131e;
}

body.design-v2 .ceo-assistant small {
  display: block;
  color: #f6d77a;
  font-family: var(--font-accent);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.design-v2 .ceo-assistant strong {
  display: block;
  margin-top: 2px;
  color: #fffaf4;
  font-size: 1rem;
  line-height: 1.25;
}

body.design-v2 .ceo-assistant em {
  display: block;
  margin-top: 1px;
  color: rgba(247, 240, 231, 0.56);
  font-size: 0.78rem;
  font-style: normal;
}

body.design-v2 .ceo-focus {
  padding: 13px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 215, 122, 0.16), rgba(255, 135, 81, 0.07));
  border: 1px solid rgba(246, 215, 122, 0.22);
}

body.design-v2 .ceo-focus span {
  display: block;
  color: #f6d77a;
  font-family: var(--font-accent);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.design-v2 .ceo-focus p {
  margin: 5px 0 0;
  color: #fff6e8;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

body.design-v2 .ceo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

body.design-v2 .ceo-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.07);
  border: 1px solid rgba(255, 250, 244, 0.1);
  color: rgba(247, 240, 231, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

body.design-v2 .ceo-tally {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

body.design-v2 .ceo-tally div {
  padding: 9px 6px;
  border-radius: 14px;
  background: rgba(255, 250, 244, 0.045);
  border: 1px solid rgba(255, 250, 244, 0.07);
  text-align: center;
}

body.design-v2 .ceo-tally b {
  display: block;
  color: #fffaf4;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  line-height: 1.1;
}

body.design-v2 .ceo-tally span {
  display: block;
  margin-top: 2px;
  color: rgba(247, 240, 231, 0.55);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Ses çubuğu: ▶ + ekolayzer + süre */
body.design-v2 .ceo-audio {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px 9px 9px;
  border-radius: 999px;
  background: rgba(142, 232, 255, 0.08);
  border: 1px solid rgba(142, 232, 255, 0.22);
}

body.design-v2 .ceo-play {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #06121a;
  background: linear-gradient(135deg, #8ee8ff, #f6d77a);
  box-shadow: 0 8px 20px rgba(142, 232, 255, 0.25);
}

body.design-v2 .ceo-eq {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  min-width: 0;
  overflow: hidden;
}

body.design-v2 .ceo-eq i {
  flex: 1 1 0;
  max-width: 5px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #8ee8ff, #f6d77a);
  transform-origin: center;
  transform: scaleY(0.4);
  animation: ceoEq 1.1s ease-in-out infinite alternate;
}

body.design-v2 .ceo-eq i:nth-child(3n)   { animation-duration: 0.8s; }
body.design-v2 .ceo-eq i:nth-child(3n+1) { animation-duration: 1.3s; animation-delay: -0.4s; }
body.design-v2 .ceo-eq i:nth-child(4n)   { animation-duration: 0.95s; animation-delay: -0.7s; }
body.design-v2 .ceo-eq i:nth-child(5n)   { animation-duration: 0.7s; animation-delay: -0.2s; }

body.design-v2 .ceo-audio-time {
  color: rgba(247, 240, 231, 0.7);
  font-family: var(--font-accent);
  font-size: 0.74rem;
  font-weight: 700;
}

/* E-posta bildirimi (telefonun sağ üst köşesinde yüzen kart) */
body.design-v2 .ceo-mail {
  position: absolute;
  z-index: 3;
  top: -42px;
  right: -48px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 210px;
  padding: 10px 13px;
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(255, 250, 244, 0.16);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: ceoFloat 5.5s ease-in-out infinite;
}

body.design-v2 .ceo-mail svg {
  flex: 0 0 auto;
  color: #f6d77a;
}

body.design-v2 .ceo-mail strong,
body.design-v2 .ceo-mail span {
  display: block;
  line-height: 1.25;
}

body.design-v2 .ceo-mail strong {
  color: #fffaf4;
  font-size: 0.76rem;
}

body.design-v2 .ceo-mail span {
  color: rgba(247, 240, 231, 0.6);
  font-size: 0.68rem;
}

/* Çipler sırayla belirir: JS görsel ekrana girince .is-live ekler.
   JS yoksa .ceo-anim hiç eklenmez, çipler baştan görünür. */
body.design-v2 .ceo-brief-visual.ceo-anim .ceo-chip,
body.design-v2 .ceo-brief-visual.ceo-anim .ceo-tally div {
  opacity: 0;
  transform: translateY(8px);
}

body.design-v2 .ceo-brief-visual.ceo-anim.is-live .ceo-chip,
body.design-v2 .ceo-brief-visual.ceo-anim.is-live .ceo-tally div {
  animation: ceoPopIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes ceoSunrise {
  from { transform: translateY(46px) scale(0.94); opacity: 0.6; }
  to   { transform: translateY(-14px) scale(1.04); opacity: 0.95; }
}

@keyframes ceoRays {
  to { transform: rotate(360deg); }
}

@keyframes ceoPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes ceoEq {
  from { transform: scaleY(0.22); }
  to   { transform: scaleY(1); }
}

@keyframes ceoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes ceoPopIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  body.design-v2 .ceo-brief-card {
    grid-template-columns: 1fr;
  }

  body.design-v2 .ceo-brief-visual {
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  body.design-v2 .ceo-brief-section {
    padding-top: 56px;
  }

  body.design-v2 .ceo-brief-card {
    padding: 22px 18px;
    border-radius: 26px;
  }

  body.design-v2 .ceo-brief-copy h3 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  body.design-v2 .ceo-brief-gains li {
    grid-template-columns: 36px 1fr;
    padding: 11px 12px;
  }

  body.design-v2 .ceo-brief-gain-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  body.design-v2 .ceo-brief-visual {
    min-height: 0;
    padding: 84px 0 34px;
  }

  body.design-v2 .ceo-mail {
    top: -62px;
    left: 50%;
    right: auto;
    width: max-content;
    max-width: 250px;
    transform: translateX(-50%);
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.design-v2 .ceo-sun,
  body.design-v2 .ceo-rays,
  body.design-v2 .ceo-avatar::before,
  body.design-v2 .ceo-avatar::after,
  body.design-v2 .ceo-eq i,
  body.design-v2 .ceo-mail {
    animation: none;
  }

  body.design-v2 .ceo-avatar::before,
  body.design-v2 .ceo-avatar::after {
    opacity: 0;
  }

  body.design-v2 .ceo-brief-visual.ceo-anim .ceo-chip,
  body.design-v2 .ceo-brief-visual.ceo-anim .ceo-tally div {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
