/*
  Philips'in kendi sitesinde (philips.com.tr) kullandığı gerçek font stack'i:
  neue-frutiger-world-w02, NeueFrutigerWorld, Arial, Helvetica, sans-serif
  Font dosyaları Philips'e lisanslı olduğu için CDN'den çekilemez; bu yüzden
  aynı stack fallback zinciriyle tanımlanıp sistem fontlarına düşülüyor.
  Lisanslı woff2 dosyalarınız varsa aşağıyı açıp yolu ekleyin:

  @font-face {
    font-family: "neue-frutiger-world-w02";
    src: url("assets/fonts/NeueFrutigerWorld-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
*/

:root {
  --philips-blue: #0b5dda;
  --philips-blue-dark: #0047bb;
  --ink: #151618;
  --ink-soft: rgba(21, 22, 24, .72);
  --cream-1: #fbf8f2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: transparent; }
body {
  font-family: neue-frutiger-world-w02, NeueFrutigerWorld, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font: inherit; }

.ad {
  width: 970px;
  height: 250px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  border: 1px solid rgba(0,0,0,.05);
  color: var(--ink);
  background: #000;
}

/* ---------- Sol yarı: CTA (philips.com'daki PDP hero görselini kullanan düzen) ---------- */
.cta-half {
  position: relative;
  width: 485px;
  height: 250px;
  flex: 0 0 485px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--cream-1);
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 36px 0;
  color: var(--philips-blue);
  opacity: 0;
  animation: enterUp .6s cubic-bezier(.2,.7,.2,1) .1s forwards;
}
.philips-logo { display: block; }
.series-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(21,22,24,.42);
  border-left: 1px solid rgba(21,22,24,.16);
  padding-left: 12px;
}

.hero-row {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4px 0 0 36px;
}

.hero-copy {
  flex: 0 0 auto;
  width: 220px;
  min-width: 0;
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--philips-blue);
  font-size: 8.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  opacity: 0;
  animation: enterUp .6s cubic-bezier(.2,.7,.2,1) .28s forwards;
}
h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 500;
  color: var(--ink);
  opacity: 0;
  animation: enterUp .6s cubic-bezier(.2,.7,.2,1) .42s forwards;
}
h1 span {
  color: var(--philips-blue);
  font-weight: 700;
}
.subcopy {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.4;
  opacity: 0;
  animation: enterUp .6s cubic-bezier(.2,.7,.2,1) .56s forwards;
}

.hero-glow {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  width: 190px;
  height: 40px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(53,32,21,.22), rgba(53,32,21,0) 72%);
  filter: blur(2px);
}
.hero-shot {
  position: absolute;
  z-index: 2;
  right: -6px;
  bottom: -14px;
  width: 236px;
  height: 236px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(59,36,24,.16));
}

.cta-btn {
  width: fit-content;
  height: 34px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--philips-blue), var(--philips-blue-dark));
  color: #fff;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 10px 22px rgba(11,93,218,.26);
  opacity: 0;
  animation: enterUp .6s cubic-bezier(.2,.7,.2,1) .7s forwards;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(11,93,218,.32); }
.cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.2);
  font-size: 11px;
}

/* ---------- Orta çizgi ---------- */
.divider {
  position: relative;
  z-index: 5;
  width: 1px;
  height: 250px;
  flex: 0 0 1px;
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 12px rgba(0,0,0,.15);
}

/* ---------- Sağ yarı: video ---------- */
.video-half {
  position: relative;
  width: 484px;
  height: 250px;
  flex: 1 1 auto;
  overflow: hidden;
  background: #000;
}
.promo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.22), transparent 22%);
}

.click-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  cursor: pointer;
}

@keyframes enterUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Kahve çekirdeği perdesi (açılış) ---------- */
.bean-curtain {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  overflow: hidden;
}
.bean-curtain .cbean {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%) rotate(var(--rot));
  animation: beanCurtainFall var(--dur) cubic-bezier(.4,0,.7,1) var(--delay) both;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.25));
}
@keyframes beanCurtainFall {
  0% { transform: translate(-50%, -50%) rotate(var(--rot)); opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translate(-50%, calc(-50% + 360px)) rotate(calc(var(--rot) + 70deg)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-video { animation: none; }
  .logo-row, .eyebrow, h1, .subcopy, .cta-btn { animation: none; opacity: 1; }
  .bean-curtain { display: none; }
}
