/* Hero of landing A: warp canvas, glow, and the 3D deck of conference cards that fans out with pointer and scroll. */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 120px 0 90px;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 70% 40%, #1a0c10 0%, var(--ink) 60%);
}
.hero-warp, .final-warp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; right: -220px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(225, 29, 46, 0.45), rgba(255, 106, 61, 0.16) 45%, transparent 70%);
  filter: blur(20px); animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateY(-50%) scale(1.12); opacity: 0.8; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(44px, 6.2vw, 88px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 800; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 22px; color: var(--text-d2); opacity: 0.8; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-d2); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.hero-scroll span { width: 1px; height: 40px; background: linear-gradient(var(--red-hot), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Deck: cards share a 3D space; --spread (0..1, from scroll) and --mx/--my (pointer) drive the fan. */
.deck-stage { position: relative; height: 600px; perspective: 1400px; --spread: 0; --mx: 0; --my: 0; }
.deck {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(14deg + var(--my) * -8deg)) rotateY(calc(-22deg + var(--mx) * 12deg)) rotateZ(4deg);
  transition: transform 0.6s var(--ease);
}
.card {
  --tx: 0px; --ty: 0px; --tz: 0px; --rz: 0deg;
  position: absolute; left: 50%; top: 50%; width: 290px; padding: 20px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(40, 40, 48, 0.94), rgba(20, 20, 25, 0.96));
  border: 1px solid var(--line-d2); color: var(--text-d);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transform: translate(-50%, -50%) translate3d(calc(var(--tx) * (0.82 + var(--spread) * 0.5)), calc(var(--ty) * (0.82 + var(--spread) * 0.5)), calc(var(--tz) + var(--spread) * 60px)) rotateZ(calc(var(--rz) * (1 + var(--spread))));
  animation: hover 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s);
  will-change: transform; font-size: 14px; line-height: 1.45;
}
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 40%); }
@keyframes hover { 50% { translate: 0 -10px; } }
.card h4 { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; margin: 8px 0 4px; font-weight: 600; }
.card p { margin: 0; }
.card .dim, .dim { color: var(--text-d2); }
.card .mono { font-size: 11px; }
.c-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chip { font: 600 11px/1 var(--font); padding: 6px 9px; border-radius: 999px; }
.chip--green { background: rgba(34, 197, 94, 0.16); color: #6fdc97; }

.c-talk { --tx: -200px; --ty: -170px; --tz: 60px; --rz: -6deg; }
.c-reviews { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.c-reviews i { width: 34px; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--red-hot) calc(var(--v) * 100%), rgba(255, 255, 255, 0.1) 0); }
.c-reviews span { margin-left: auto; color: var(--text-d2); }

.c-ticket { --tx: 170px; --ty: -130px; --tz: 120px; --rz: 7deg; display: flex; padding: 0; overflow: hidden; background: linear-gradient(135deg, #e11d2e, #ff6a3d 70%, #ffb052); border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 40px 90px -30px rgba(225, 29, 46, 0.8); }
.c-ticket .t-main { padding: 20px; flex: 1; }
.c-ticket .dim { color: rgba(255, 255, 255, 0.75); }
.t-qr { width: 92px; border-left: 2px dashed rgba(255, 255, 255, 0.45); display: grid; place-items: center; position: relative; }
.t-qr span {
  width: 58px; height: 58px; border-radius: 6px; background-color: #fff;
  background-image: conic-gradient(#111 25%, transparent 0 50%, #111 0 75%, transparent 0), linear-gradient(#111, #111);
  background-size: 14px 14px, 0 0; box-shadow: inset 0 0 0 5px #fff; position: relative; overflow: hidden;
}
.t-qr span::after { content: ''; position: absolute; left: 0; right: 0; height: 3px; background: var(--red-hot); box-shadow: 0 0 12px var(--red-hot); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4px; } 50% { top: 50px; } }

.c-slot { --tx: -60px; --ty: 30px; --tz: 200px; --rz: -3deg; width: 300px; }
.slot-head { display: flex; justify-content: space-between; color: var(--text-d2); font-size: 11px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.slot-grid b { height: 26px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.slot-grid b.on { background: linear-gradient(90deg, var(--red), var(--amber)); animation: pulse 3s ease-in-out infinite; }
.slot-grid b.on2 { background: rgba(207, 227, 255, 0.5); }
@keyframes pulse { 50% { filter: brightness(1.3); } }

.c-partner { --tx: 230px; --ty: 110px; --tz: 30px; --rz: 5deg; width: 250px; }
.c-partner ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.c-partner li { display: flex; gap: 8px; align-items: center; color: var(--text-d2); }
.c-partner li::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-d2); }
.c-partner li.ok { color: var(--text-d); }
.c-partner li.ok::before { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.4L11 4.4' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); border-color: var(--red); }

.c-badge { --tx: -270px; --ty: 160px; --tz: -40px; --rz: -10deg; width: 200px; text-align: center; padding-top: 30px; background: linear-gradient(180deg, #f4f2ee, #e7e3dc); color: var(--text-l); }
.c-badge .dim { color: var(--text-l2); }
.b-hole { position: absolute; top: 10px; left: 50%; width: 40px; height: 8px; margin-left: -20px; border-radius: 6px; background: rgba(0, 0, 0, 0.18); }
.b-ava { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; }
.b-strip { display: block; margin: 14px -20px -20px; padding: 8px; background: var(--ink); color: #fff; font: 600 11px/1 var(--mono); letter-spacing: 0.2em; border-radius: 0 0 20px 20px; }

.c-cert { --tx: 60px; --ty: 220px; --tz: -80px; --rz: 9deg; width: 240px; background: linear-gradient(160deg, #1e2230, #121520); }
.seal { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--mono); color: var(--sun); border: 1.5px dashed var(--sun); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ticker */
.ticker { border-block: 1px solid var(--line-d); background: var(--ink); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 50s linear infinite; }
.ticker-track span { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; padding: 0 28px; white-space: nowrap; color: var(--text-d2); display: inline-flex; align-items: center; gap: 56px; }
.ticker-track span::after { content: '✦'; color: var(--red-hot); font-size: 14px; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .deck-stage { height: 520px; margin-top: -10px; }
}
@media (max-width: 720px) {
  .hero { padding: 100px 0 70px; }
  .deck-stage { height: 440px; perspective: 1000px; }
  .deck { transform: rotateX(calc(12deg + var(--my) * -6deg)) rotateY(calc(-14deg + var(--mx) * 8deg)) rotateZ(3deg) scale(0.62); }
  .hero-scroll { display: none; }
  .ticker-track span { font-size: 16px; }
}
