/* ─── Hero — Dark Premium 2026 ───────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  overflow: hidden;
}

/* ── Rich ambient background ─────────────────────────────── */
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 75% at 75% 46%,
      rgba(232,129,58,0.28) 0%,
      transparent 62%),
    radial-gradient(ellipse 45% 55% at 8% 82%,
      rgba(232,129,58,0.12) 0%,
      transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 0%,
      rgba(255,255,255,0.05) 0%,
      transparent 50%);
}

/* Subtle noise layer */
.hero__ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  background-size: 320px 320px;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

/* ── Grid ────────────────────────────────────────────────── */
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  padding-top: clamp(104px, 15vh, 160px);
  padding-bottom: clamp(80px, 10vh, 120px);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  column-gap: clamp(40px, 5vw, 64px);
}

/* ── Content ─────────────────────────────────────────────── */
.hero__content {
  display: flex;
  flex-direction: column;
}

/* ── Label / Eyebrow ─────────────────────────────────────── */
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(232,129,58,0.70);
  margin-bottom: 24px;
  /* Pill shape */
  background: rgba(232,129,58,0.08);
  border: 1px solid rgba(232,129,58,0.22);
  border-radius: var(--r-max);
  padding: 5px 12px 5px 8px;
  width: fit-content;
}

.label__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent);
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px var(--accent); }
  50%       { opacity: 0.5; transform: scale(0.65); box-shadow: none; }
}

/* ── Headline ─────────────────────────────────────────────── */
.hero__headline {
  font-family: var(--font);
  font-size: clamp(40px, 5.2vw, 80px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--ink-1);
  margin-bottom: clamp(18px, 2.5vh, 26px);
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* Thin intro word "W " */
.headline__intro {
  font-weight: 200;
  color: var(--ink-3);
  letter-spacing: -0.03em;
}

/* "14 dni" — luminous gradient */
.hero__num {
  display: inline;
  background: linear-gradient(118deg,
    var(--accent-lo) 0%,
    var(--accent)    42%,
    var(--accent-hi) 72%,
    #FFBB78          100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent);
  font-weight: 800;
  filter: drop-shadow(0 0 24px rgba(232,129,58,0.30));
}

/* "nieosiągalne." */
.hero__hero-word {
  color: var(--accent);
  display: inline;
  position: relative;
}

.hero__hero-word::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent 80%);
  opacity: 0.45;
  border-radius: 1px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s var(--spring);
}

.hero__hero-word.line-in::after {
  transform: scaleX(1);
}

/* ── Subline ──────────────────────────────────────────────── */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.45vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  letter-spacing: 0.004em;
  max-width: 460px;
  margin-bottom: clamp(28px, 4vh, 36px);
}

.hero__sub strong {
  font-weight: 500;
  color: var(--ink-2);
}

/* ── CTA Area ─────────────────────────────────────────────── */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: clamp(28px, 4vh, 36px);
}

/* Amber CTA — premium pill */
.hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-lo) 0%, var(--accent) 50%, var(--accent-hi) 100%);
  background-size: 200% 200%;
  text-decoration: none;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--r-max);
  position: relative;
  white-space: nowrap;
  user-select: none;
  will-change: transform;
  overflow: hidden;
  transition:
    background  var(--fast) var(--ease),
    background-position var(--mid) var(--ease),
    box-shadow  var(--mid)  var(--spring),
    transform   var(--fast) var(--spring);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14) inset,
    0 1px 4px rgba(0,0,0,0.28),
    0 0 0 rgba(232,129,58,0);
}

/* Inner glass sheen */
.hero__cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 50%,
    transparent 100%);
  pointer-events: none;
}

.hero__cta-btn:hover {
  background-position: 100% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.16) inset,
    0 6px 24px rgba(0,0,0,0.32),
    0 0 70px rgba(232,129,58,0.40);
}

.hero__cta-btn:active {
  transform: scale(0.985);
}

.cta__sep {
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.20);
  margin: 0 16px;
  flex-shrink: 0;
}

.cta__price {
  font-size: 13.5px;
  font-weight: 400;
  opacity: 0.72;
}

.cta__arrow {
  margin-left: 10px;
  flex-shrink: 0;
  transition: transform var(--fast) var(--spring);
  position: relative;
}

.hero__cta-btn:hover .cta__arrow {
  transform: translateX(3px);
}

/* Trust */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  list-style: none;
  padding: 0; margin: 0;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1;
  letter-spacing: -0.005em;
}

.hero__trust li svg { color: var(--accent); flex-shrink: 0; }

/* Proof */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__proof p {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero__proof p strong {
  font-weight: 600;
  color: var(--ink-2);
}

.proof__faces {
  display: flex;
  align-items: center;
}

.proof__face {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  margin-right: -9px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.proof__faces .proof__face:last-child {
  margin-right: 4px;
}

/* ── Visual Side ─────────────────────────────────────────── */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

/* Core glow orb */
.visual__glow {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232,129,58,0.25) 0%,
    rgba(232,129,58,0.10) 48%,
    transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  filter: blur(40px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 1;   transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 0.7; transform: translate(-50%,-50%) scale(1.10); }
}

/* ── Phone ───────────────────────────────────────────────── */
.hero__phone {
  position: relative;
  z-index: 8;
}

.phone__shell {
  width: 258px;
  height: 516px;
  background: linear-gradient(160deg, #2E2E36 0%, #161618 60%, #111113 100%);
  border-radius: 46px;
  padding: 9px;
  position: relative;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.14),
    0 0 0 1px rgba(0,0,0,0.70),
    0 40px 90px rgba(0,0,0,0.65),
    0 10px 28px rgba(0,0,0,0.45),
    0 0 80px rgba(232,129,58,0.15);
}

/* Metallic edge highlight */
.phone__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: linear-gradient(155deg,
    rgba(255,255,255,0.13) 0%,
    rgba(255,255,255,0.04) 30%,
    transparent 55%);
  pointer-events: none;
}

/* Side button detail */
.phone__shell::after {
  content: '';
  position: absolute;
  right: -1.5px;
  top: 96px;
  width: 3px;
  height: 52px;
  background: linear-gradient(to right, #2A2A30, #1E1E22);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.08);
}

.phone__island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 23px;
  background: #080808;
  border-radius: 14px;
  z-index: 2;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.07);
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: #0C0C0E;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

/* Inner screen edge — depth/realism */
.phone__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.60) inset,
    0 3px 12px rgba(0,0,0,0.30) inset;
  pointer-events: none;
  z-index: 20;
}

.phone__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.phone__shadow {
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 38px;
  background: radial-gradient(ellipse,
    rgba(232,129,58,0.12) 0%,
    rgba(0,0,0,0.16) 40%,
    transparent 70%);
  filter: blur(16px);
}

/* ── Tinder UI ───────────────────────────────────────────── */
.tinder {
  width: 100%;
  height: 100%;
  background: #0C0C0E;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  padding-top: 26px;
  overflow: hidden;
}

.tinder__top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px 6px;
}

.tinder__top span {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.tinder__badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FE3C72;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tinder__section-label {
  display: flex;
  justify-content: space-between;
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.02em;
}

.label--hot { color: #FE3C72; }

.tinder__bubbles {
  display: flex;
  gap: 8px;
  padding: 4px 14px 10px;
}

.tbubble {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

.tbubble__new {
  position: absolute;
  bottom: -1px; right: -2px;
  background: #FE3C72;
  color: #fff;
  font-size: 7px; font-weight: 700;
  padding: 1px 3px;
  border-radius: 3px;
  line-height: 1.4;
}

.tinder__divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 0 14px;
}

.tinder__msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tmsg {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.tmsg__av {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.tmsg__body { flex: 1; min-width: 0; }

.tmsg__name {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.tmsg__text {
  font-size: 10.5px;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}

.tmsg__time {
  font-size: 9px;
  color: rgba(255,255,255,0.16);
  flex-shrink: 0;
}

/* ── 3D Book ─────────────────────────────────────────────── */
.hero__book {
  position: absolute;
  top: 4%;
  right: -2%;
  z-index: 6;
  perspective: 1100px;
}

.book__wrap {
  width: 124px;
  height: 170px;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(3deg);
  transition: transform 0.5s var(--spring);
  filter:
    drop-shadow(0 22px 44px rgba(0,0,0,0.55))
    drop-shadow(0 0 22px rgba(232,129,58,0.07));
}

.book__wrap:hover {
  transform: rotateY(-7deg) rotateX(3deg);
}

.book__cover {
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  border-radius: 2px 5px 5px 2px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.07);
}

.book__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #1E1A14 0%, #0F0D0A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.book__big-num {
  font-family: var(--font);
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  background: linear-gradient(118deg, var(--accent-lo), var(--accent), var(--accent-hi));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(232,129,58,0.4));
}

.book__label-top {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232,129,58,0.45);
  margin-top: 3px;
}

.book__label-bot {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  line-height: 1;
  margin-top: 5px;
}

.book__spine {
  position: absolute;
  top: 0; left: -28px;
  width: 28px; height: 100%;
  background: linear-gradient(to right, #0A0907, #16130F);
  border-radius: 2px 0 0 2px;
  transform: rotateY(90deg) translateX(-14px);
  transform-origin: right;
  backface-visibility: hidden;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.03);
}

/* ── Floating Cards — Premium Glass ──────────────────────── */
.hero__card {
  position: absolute;
  z-index: 10;
  background: linear-gradient(145deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 8px 36px rgba(0,0,0,0.36),
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 -1px 0 rgba(0,0,0,0.18) inset;
}

.hero__card--bubble {
  top: 12%;
  left: -8%;
  border-bottom-left-radius: 3px;
  background: rgba(232,129,58,0.07);
  border-color: rgba(232,129,58,0.20);
  box-shadow:
    0 8px 36px rgba(0,0,0,0.36),
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 0 20px rgba(232,129,58,0.06);
}

.hero__card--stat {
  bottom: 15%;
  left: -6%;
}

.card__av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
}

.card__name {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}

.card__msg {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-1);
  line-height: 1;
}

/* Stat card */
.stat__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(232,129,58,0.14);
  border: 1px solid rgba(232,129,58,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.stat__val {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 14px rgba(232,129,58,0.35);
}

.stat__desc {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1;
  margin-top: 2px;
  letter-spacing: -0.005em;
}

/* ── Scroll hint ─────────────────────────────────────────── */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll__track {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.20), transparent);
  border-radius: 1px;
  animation: track-anim 2.2s ease-in-out infinite;
}

@keyframes track-anim {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  35%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  65%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Tablet (768–1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 54fr 46fr;
    column-gap: clamp(32px, 4vw, 48px);
  }
  .phone__shell {
    width: 228px;
    height: 456px;
  }
  .hero__card--bubble { left: -4%; }
  .hero__card--stat   { left: -2%; }
}

/* ── Mobile (≤880px) — single column, text first ────────── */
@media (max-width: 880px) {
  .hero {
    min-height: unset;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: clamp(80px, 11vh, 100px);
    padding-bottom: 64px;
    min-height: unset;
    gap: 52px;
    align-items: start;
  }

  /* Content first (default DOM order), visual second */
  .hero__content { order: 1; }
  .hero__visual  { order: 2; min-height: 360px; }

  .hero__headline { font-size: clamp(36px, 7.5vw, 52px); }

  .hero__book   { right: 2%; top: 2%; }
  .hero__card--bubble { left: -2%; }
  .hero__card--stat   { left: -2%; }
}

@media (max-width: 600px) {
  .hero__visual { min-height: 320px; }

  .phone__shell {
    width: 210px;
    height: 420px;
    border-radius: 38px;
  }

  .phone__shell::before { border-radius: 38px; }
  .phone__screen { border-radius: 30px; }
  .phone__screen::after { border-radius: 30px; }
  .phone__island { top: 12px; width: 65px; height: 20px; }

  .hero__book { right: 0%; top: 0; }
}

@media (max-width: 480px) {
  .hero__book { display: none; }
  .hero__card--bubble { left: 0; }
  .hero__card--stat   { left: 0; }
}
