/* ============================================================
   WELCOME — KW Birlik Cockpit · Önemini anlatan sayfa
   Liquid Glass · Aurora · Orbital visual · 3 pillar · Spring physics
   ============================================================ */

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 25%, #FFF6F2 0%, #FAF7F4 35%, #F5F5F7 70%, #EFEEF1 100%);
  animation: welcome-screen-in 600ms cubic-bezier(0.32, 0.72, 0, 1);
}
[data-theme="dark"] .welcome-screen {
  background:
    radial-gradient(ellipse 80% 60% at 50% 25%, #1F1416 0%, #18141A 35%, #0F1014 70%, #0A0B0F 100%);
}
@keyframes welcome-screen-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Aurora background — saate göre yumuşak ısı halesi ───── */
.welcome-aurora {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 40% at 25% 15%, rgba(200, 16, 46, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 78% 78%, rgba(255, 77, 109, 0.07), transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 20%, rgba(88, 86, 214, 0.05), transparent 65%),
    radial-gradient(ellipse 45% 40% at 12% 80%, rgba(52, 199, 89, 0.04), transparent 65%);
  filter: blur(40px);
  opacity: 0.92;
  animation: welcome-aurora-drift 32s ease-in-out infinite alternate;
}
@keyframes welcome-aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.05); }
}

/* ─── Floating ambient sparkles — yumuşak, ortamı zenginleştiren ── */
.welcome-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.welcome-sparkles .sparkle {
  position: absolute;
  color: rgba(200, 16, 46, 0.32);
  font-size: 14px;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(200, 16, 46, 0.4));
  animation: sparkle-float 8s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
[data-theme="dark"] .welcome-sparkles .sparkle { color: rgba(255, 77, 109, 0.45); }
.welcome-sparkles .s1 { top: 12%;  left: 14%; font-size: 18px; animation-delay: 0.4s;  animation-duration: 9s; }
.welcome-sparkles .s2 { top: 22%;  left: 82%; font-size: 22px; animation-delay: 1.6s;  animation-duration: 7.5s; color: rgba(88,86,214,0.35); }
.welcome-sparkles .s3 { top: 48%;  left: 7%;  font-size: 12px; animation-delay: 2.8s;  animation-duration: 8.5s; }
.welcome-sparkles .s4 { top: 36%;  left: 92%; font-size: 26px; animation-delay: 0.9s;  animation-duration: 10s; color: rgba(52,199,89,0.30); }
.welcome-sparkles .s5 { top: 70%;  left: 18%; font-size: 24px; animation-delay: 3.2s;  animation-duration: 8s; color: rgba(100,210,255,0.32); }
.welcome-sparkles .s6 { top: 60%;  left: 88%; font-size: 16px; animation-delay: 2.0s;  animation-duration: 9.5s; }
@keyframes sparkle-float {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.7); }
  20%  { opacity: 0.9; transform: translate(8px, -6px) rotate(60deg) scale(1); }
  60%  { opacity: 0.65; transform: translate(-6px, -22px) rotate(180deg) scale(1.1); }
  90%  { opacity: 0.4; transform: translate(4px, -36px) rotate(300deg) scale(0.9); }
  100% { opacity: 0; transform: translate(0, -48px) rotate(360deg) scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-sparkles { display: none; }
}

/* ─── Top bar ─────────────────────────────────────────────── */
.welcome-topbar {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  flex-shrink: 0;
}
.welcome-topbar a {
  font-size: 12.5px;
  color: var(--text-tertiary);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 200ms cubic-bezier(0.32, 0.72, 0, 1);
  text-decoration: none;
  user-select: none;
}
.welcome-topbar a:hover {
  background: rgba(255,255,255,0.5);
  color: var(--text-secondary);
  transform: translateY(-1px);
}
[data-theme="dark"] .welcome-topbar a:hover { background: rgba(255,255,255,0.05); }

/* ─── Hero block ──────────────────────────────────────────── */
.welcome-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 24px 24px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.welcome-greeting {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
  opacity: 0;
  animation: welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
.welcome-greeting span:first-child {
  margin-right: 6px;
  display: inline-block;
  animation: welcome-wave 1.6s cubic-bezier(0.32, 0.72, 0, 1) 280ms 2;
  transform-origin: 70% 70%;
}
@keyframes welcome-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(6deg); }
  50% { transform: rotate(-4deg); }
}

.welcome-h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--text-primary);
  opacity: 0;
  animation: welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) 80ms forwards;
}
.welcome-h1 .line {
  display: block;
}
.welcome-h1 .accent {
  display: block;
  background: linear-gradient(135deg, #C8102E, #FF4D6D);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.welcome-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  max-width: 560px;
  margin: 0 auto 8px;
  opacity: 0;
  animation: welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) 240ms forwards;
}
@keyframes welcome-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Orbital visual ──────────────────────────────────────── */
.welcome-orbit {
  position: relative;
  width: 480px;
  height: 480px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) 320ms forwards;
}
@media (max-width: 540px) {
  .welcome-orbit { width: 340px; height: 340px; }
}
.orbit-glow {
  position: absolute;
  inset: 8%;
  background:
    radial-gradient(circle, rgba(200,16,46,0.12) 0%, rgba(255,77,109,0.06) 35%, transparent 65%);
  border-radius: 50%;
  animation: orbit-glow-pulse 4s ease-in-out infinite;
  filter: blur(8px);
}
@keyframes orbit-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
.orbit-ring {
  position: absolute;
  inset: 25%;
  border: 1px dashed rgba(0,0,0,0.06);
  border-radius: 50%;
  animation: orbit-ring-spin 80s linear infinite;
}
[data-theme="dark"] .orbit-ring { border-color: rgba(255,255,255,0.06); }
@keyframes orbit-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-center {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, #C8102E, #FF4D6D);
  color: white;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow:
    0 16px 48px -12px rgba(200,16,46,0.5),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  cursor: default;
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
}
.orbit-center:hover { transform: scale(1.05); }
.orbit-center::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(200,16,46,0.4);
  border-radius: 28px;
  animation: orbit-center-ping 2s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  pointer-events: none;
}
@keyframes orbit-center-ping {
  0%   { transform: scale(1);    opacity: 0.7; }
  80%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.orbit-agent {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow:
    0 4px 12px -2px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.2);
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  animation: orbit-agent-in 600ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1), z-index 0s;
}
@keyframes orbit-agent-in {
  from { opacity: 0; transform: translate(0, 0) scale(0.4); }
  to   { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1); }
}
.orbit-agent:hover {
  transform: translate(var(--tx), var(--ty)) scale(1.18);
  z-index: 4;
  box-shadow:
    0 8px 20px -4px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.orbit-agent-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(20px);
  color: white;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms;
  z-index: 5;
}
.orbit-agent:hover .orbit-agent-tooltip { opacity: 1; }

/* ─── 3 Pillar cards ──────────────────────────────────────── */
.welcome-pillars-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 56px 24px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.welcome-h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 28px;
  color: var(--text-primary);
}
.welcome-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .welcome-pillars { grid-template-columns: 1fr; max-width: 480px; }
}

.pillar-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 28px 26px;
  transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
  position: relative;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  animation: pillar-in 700ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  box-shadow:
    0 8px 24px -10px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
[data-theme="dark"] .pillar-card {
  background: rgba(28, 28, 30, 0.6);
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    0 8px 24px -10px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.pillar-card:nth-child(1) { animation-delay: 480ms; }
.pillar-card:nth-child(2) { animation-delay: 600ms; }
.pillar-card:nth-child(3) { animation-delay: 720ms; }
@keyframes pillar-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(200,16,46,0.07), transparent 70%);
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 300ms;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,16,46,0.4);
  box-shadow:
    0 20px 48px -16px rgba(200,16,46,0.18),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: var(--pillar-bg, rgba(0,0,0,0.04));
  position: relative;
}
[data-theme="dark"] .pillar-icon-wrap { background: var(--pillar-bg-dark, rgba(255,255,255,0.06)); }
.pillar-icon-wrap.purple { --pillar-bg: rgba(88,86,214,0.10); --pillar-bg-dark: rgba(88,86,214,0.18); }
.pillar-icon-wrap.green  { --pillar-bg: rgba(52,199,89,0.10); --pillar-bg-dark: rgba(52,199,89,0.18); }
.pillar-icon-wrap.sky    { --pillar-bg: rgba(100,210,255,0.10); --pillar-bg-dark: rgba(100,210,255,0.18); }

.pillar-h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.pillar-headline {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.pillar-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  margin: 0;
}

/* ─── Adaptive Intelligence — "kullandıkça akıllaşır" ────────── */
.welcome-adaptive {
  position: relative;
  z-index: 2;
  padding: 24px 24px 8px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.welcome-adaptive-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.55) 100%),
    radial-gradient(ellipse 120% 90% at 0% 50%, rgba(200,16,46,0.06), transparent 60%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow:
    0 16px 40px -16px rgba(0,0,0,0.08),
    0 4px 16px -8px rgba(200,16,46,0.10),
    inset 0 1px 0 rgba(255,255,255,0.65);
}
[data-theme="dark"] .welcome-adaptive-card {
  background:
    linear-gradient(135deg, rgba(28,28,30,0.65) 0%, rgba(28,28,30,0.45) 100%),
    radial-gradient(ellipse 120% 90% at 0% 50%, rgba(200,16,46,0.10), transparent 60%);
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    0 16px 40px -16px rgba(0,0,0,0.4),
    0 4px 16px -8px rgba(200,16,46,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (max-width: 720px) {
  .welcome-adaptive-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 20px;
    text-align: center;
  }
}

/* Glyph: nested rings rotating around core sparkle */
.welcome-adaptive-glyph {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-adaptive-glyph .ring-a,
.welcome-adaptive-glyph .ring-b,
.welcome-adaptive-glyph .ring-c {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}
.welcome-adaptive-glyph .ring-a {
  inset: 0;
  border-color: rgba(200,16,46,0.30);
  border-style: dashed;
  animation: adaptive-ring-spin 18s linear infinite;
}
.welcome-adaptive-glyph .ring-b {
  inset: 18%;
  border-color: rgba(255,77,109,0.45);
  border-top-color: transparent;
  border-right-color: transparent;
  animation: adaptive-ring-spin 9s linear infinite reverse;
}
.welcome-adaptive-glyph .ring-c {
  inset: 36%;
  border-color: rgba(200,16,46,0.55);
  border-bottom-color: transparent;
  animation: adaptive-ring-spin 5s linear infinite;
}
.welcome-adaptive-glyph .core {
  position: relative;
  z-index: 2;
  font-size: 32px;
  color: #C8102E;
  filter: drop-shadow(0 0 16px rgba(200,16,46,0.5));
  animation: adaptive-core-pulse 3.2s ease-in-out infinite;
}
@keyframes adaptive-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes adaptive-core-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.85; }
  50%      { transform: scale(1.18); opacity: 1; }
}

.welcome-adaptive-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  color: #C8102E;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.welcome-adaptive-h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin: 0 0 14px;
  color: var(--text-primary);
}
.welcome-adaptive-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  margin: 0 0 12px;
}
.welcome-adaptive-text-muted {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-tertiary);
  letter-spacing: -0.005em;
  margin: 0;
  font-style: italic;
}

/* ─── CTA block ───────────────────────────────────────────── */
.welcome-cta-block {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 24px 64px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
.welcome-cta-pre {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  opacity: 0;
  animation: welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) 880ms forwards;
}
.welcome-cta-pre .sparkle {
  color: #C8102E;
  margin-right: 6px;
  display: inline-block;
  animation: cta-sparkle-pulse 2.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes cta-sparkle-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50%      { transform: scale(1.18) rotate(8deg); opacity: 1; }
}
.welcome-cta-explain {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 28px;
  letter-spacing: -0.005em;
  opacity: 0;
  animation: welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) 960ms forwards;
}

.welcome-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #C8102E 0%, #E0233F 50%, #FF4D6D 100%);
  background-size: 200% 200%;
  color: white;
  padding: 18px 36px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 10px 32px -6px rgba(200,16,46,0.5),
    0 4px 12px -2px rgba(200,16,46,0.3),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(0,0,0,0.1);
  transition:
    transform 320ms cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 320ms cubic-bezier(0.32, 0.72, 0, 1),
    background-position 600ms cubic-bezier(0.32, 0.72, 0, 1);
  opacity: 0;
  animation:
    welcome-fade-up 700ms cubic-bezier(0.32, 0.72, 0, 1) 1040ms forwards,
    welcome-cta-gradient 6s ease-in-out 2s infinite;
}
@keyframes welcome-cta-gradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Pulsing halo behind button — KW kırmızı breathing glow */
.welcome-cta-glow {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(ellipse at center,
    rgba(200,16,46,0.45) 0%,
    rgba(255,77,109,0.25) 35%,
    transparent 70%);
  filter: blur(20px);
  opacity: 0;
  animation:
    welcome-cta-glow-in 800ms cubic-bezier(0.32, 0.72, 0, 1) 1200ms forwards,
    welcome-cta-glow-pulse 3.2s ease-in-out 2s infinite;
  pointer-events: none;
}
@keyframes welcome-cta-glow-in {
  from { opacity: 0; }
  to   { opacity: 0.6; }
}
@keyframes welcome-cta-glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.08); }
}
.welcome-cta-btn:hover .welcome-cta-glow {
  animation: welcome-cta-glow-pulse 1.8s ease-in-out infinite;
  opacity: 1;
}

/* Sliding diagonal shine sweep on hover */
.welcome-cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.45) 50%,
    transparent 70%
  );
  transition: left 800ms cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}
.welcome-cta-btn:hover .welcome-cta-shine {
  left: 200%;
}

/* Label content */
.welcome-cta-label {
  position: relative;
  z-index: 1;
}

.welcome-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.32), transparent 70%);
  opacity: 0;
  transition: opacity 280ms;
  pointer-events: none;
}
.welcome-cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 22px 48px -8px rgba(200,16,46,0.6),
    0 8px 20px -4px rgba(200,16,46,0.4),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.12);
}
.welcome-cta-btn:hover::before { opacity: 1; }
.welcome-cta-btn:active { transform: translateY(-1px) scale(0.98); }
.welcome-cta-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,0.7);
  outline-offset: 4px;
}

.welcome-cta-arrow {
  display: inline-flex;
  position: relative;
  z-index: 1;
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
}
.welcome-cta-btn:hover .welcome-cta-arrow { transform: translateX(6px); }

.welcome-cta-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.88;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

/* ─── Footer ──────────────────────────────────────────────── */
.welcome-footer {
  position: relative;
  z-index: 2;
  font-size: 11.5px;
  color: var(--text-tertiary);
  text-align: center;
  padding: 16px 24px 28px;
  letter-spacing: 0.02em;
}

/* ─── Scroll-driven reveal (IntersectionObserver) ────────────── */
.welcome-screen .scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 720ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: opacity, transform;
}
.welcome-screen .scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child elements within revealed sections */
.welcome-screen .scroll-reveal.in-view .pillar-card {
  animation: pillar-rise 640ms cubic-bezier(0.32, 0.72, 0, 1) both;
}
.welcome-screen .scroll-reveal.in-view .pillar-card:nth-child(1) { animation-delay: 80ms; }
.welcome-screen .scroll-reveal.in-view .pillar-card:nth-child(2) { animation-delay: 200ms; }
.welcome-screen .scroll-reveal.in-view .pillar-card:nth-child(3) { animation-delay: 320ms; }

@keyframes pillar-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Override mount-time pillar animation when scroll-reveal in-view (avoid double-animate) */
.welcome-screen .scroll-reveal.in-view .pillar-card { opacity: 1; }
.welcome-screen .scroll-reveal:not(.in-view) .pillar-card { animation: none !important; }

/* CTA block subtle entrance */
.welcome-screen .welcome-cta-block.scroll-reveal { transition-duration: 600ms; }
.welcome-screen .welcome-cta-block.scroll-reveal.in-view .welcome-cta-btn {
  animation: welcome-cta-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) 600ms;
}
@keyframes welcome-cta-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(237, 28, 36, 0.20); }
  50%      { box-shadow: 0 8px 28px rgba(237, 28, 36, 0.35); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .welcome-screen .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .welcome-screen .scroll-reveal.in-view .pillar-card {
    animation: none;
  }
}
