/* TicareX — Yakında / Roadmap: ultra premium sayfa stilleri */

@property --rx-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.page-roadmap {
  background: #070d14;
  overflow-x: clip;
}

.page-roadmap::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 184, 0, 0.10), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 38%, rgba(126, 87, 194, 0.07), transparent 55%),
    radial-gradient(ellipse 45% 35% at 8% 70%, rgba(38, 198, 218, 0.06), transparent 55%);
}

.page-roadmap .site-header,
.page-roadmap .rx-main,
.page-roadmap .cta-band,
.page-roadmap .site-footer {
  position: relative;
  z-index: 2;
}

/* ── Scroll progress ── */

.rx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: linear-gradient(90deg, #ffb800, #ffd24d, #ffb800);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.6);
  pointer-events: none;
}

/* ── Canvas partiküller + spotlight ── */

.rx-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.rx-spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(
    560px circle at var(--sx, 50%) var(--sy, 35%),
    rgba(255, 184, 0, 0.055),
    transparent 70%
  );
}

.rx-spotlight.is-on { opacity: 1; }

/* ── Hero ── */

.rx-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(var(--pad-x), var(--safe-left)) 64px max(var(--pad-x), var(--safe-right));
}

.rx-hero {
  min-height: calc(86svh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0 32px;
  position: relative;
}

.rx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  opacity: 0;
  animation: rxFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.rx-eyebrow-line {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.7));
}

.rx-eyebrow-line:last-child {
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.7), transparent);
}

.rx-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 26px;
}

.rx-title-row {
  display: block;
  overflow: hidden;
  padding: 0.06em 0;
}

.rx-title-row > span {
  display: block;
  transform: translateY(110%);
  animation: rxRise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rx-title-row:nth-child(1) > span { animation-delay: 0.25s; }
.rx-title-row:nth-child(2) > span { animation-delay: 0.4s; }

.rx-title-top {
  font-size: clamp(2.1rem, 6.5vw, 4.4rem);
  color: var(--text);
}

.rx-title-gold > span {
  font-size: clamp(1.5rem, 4.6vw, 3.1rem);
  background: linear-gradient(110deg, #8a6400 0%, #ffb800 22%, #ffe9a8 40%, #ffb800 58%, #8a6400 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rxRise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards,
    rxShimmer 5s linear 1.6s infinite;
}

.rx-lead {
  max-width: 520px;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.75;
  margin-bottom: 38px;
  opacity: 0;
  animation: rxFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.rx-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(26, 38, 53, 0.55), rgba(10, 16, 24, 0.85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  opacity: 0;
  animation: rxFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.rx-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 18px 34px;
}

.rx-stat + .rx-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(255, 184, 0, 0.35);
  font-variant-numeric: tabular-nums;
}

.rx-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rx-scroll-cue {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  width: max-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(136, 153, 170, 0.7);
  opacity: 0;
  animation: rxFadeUp 0.9s ease 1.2s forwards;
}

.rx-scroll-cue > span {
  display: block;
  padding-right: 0.28em;
}

.rx-scroll-cue-track {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 184, 0, 0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.rx-scroll-cue-ball {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--gold);
  animation: rxCue 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* ── Marquee ── */

.rx-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  margin: 0 calc(-1 * var(--pad-x)) 56px;
  border-top: 1px solid rgba(255, 184, 0, 0.14);
  border-bottom: 1px solid rgba(255, 184, 0, 0.14);
  background: rgba(255, 184, 0, 0.025);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.rx-marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: rxMarquee 34s linear infinite;
  will-change: transform;
}

.rx-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 238, 244, 0.5);
  white-space: nowrap;
}

.rx-marquee-item em {
  font-style: normal;
  color: var(--accent, var(--gold));
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent, var(--gold)) 55%, transparent);
}

.rx-marquee-star {
  color: rgba(255, 184, 0, 0.55);
  font-size: 0.95rem;
}

/* ── Story flow (kart yerine) ── */

.rx-story {
  margin-bottom: 8px;
}

.rx-story-panel {
  position: relative;
  border-radius: 24px;
  padding: 28px 28px 24px;
  background:
    linear-gradient(155deg, rgba(24, 33, 46, 0.92), rgba(8, 12, 19, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.rx-story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% -20%, rgba(255, 184, 0, 0.12), transparent 60%);
  pointer-events: none;
}

.rx-story-head {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
}

.rx-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.35);
  margin-bottom: 14px;
}

.rx-story-badge .rx-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: rxBlink 1.6s ease-in-out infinite;
}

.rx-story-intro {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.rx-story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rx-story-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rx-story-step:last-child {
  border-bottom: none;
  padding-bottom: 8px;
}

.fx .rx-story-step,
.fx .rx-story-examples {
  opacity: 0;
  translate: 0 28px;
}

.fx .rx-story-step.is-visible,
.fx .rx-story-examples.is-visible {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 100ms),
    translate 0.75s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 100ms);
}

.rx-story-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.rx-story-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--accent, var(--gold)) 80%, white);
}

.rx-story-line {
  flex: 1;
  width: 2px;
  min-height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent, var(--gold)), rgba(255, 255, 255, 0.06));
  opacity: 0.55;
}

.rx-story-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.rx-story-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--accent, var(--gold));
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent, var(--gold)) 24%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 35%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent, var(--gold)) 18%, transparent);
}

.rx-story-icon svg {
  width: 22px;
  height: 22px;
}

.rx-story-copy {
  min-width: 0;
}

.rx-story-copy h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 4px;
}

.rx-story-tag {
  font-size: 0.84rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent, var(--gold)) 72%, #c8d4de);
  margin-bottom: 8px;
}

.rx-story-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.rx-story-examples {
  position: relative;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.rx-story-examples-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rx-story-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.rx-story-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--accent, var(--gold)) 78%, white);
  background: color-mix(in srgb, var(--accent, var(--gold)) 10%, rgba(255, 255, 255, 0.02));
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 28%, transparent);
}

.rx-story-fallback {
  text-align: center;
  color: var(--text-muted);
  padding: 28px 16px;
}

/* ── Kart grid ── */

.rx-section-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rx-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.35), transparent);
}

.rx-grid-fallback {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 28px 16px;
  border: 1px dashed rgba(255, 184, 0, 0.25);
  border-radius: 16px;
}

.rx-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  perspective: 1400px;
}

.rx-card {
  --accent: var(--gold);
  --mx: 50%;
  --my: 50%;
  --tx: 0deg;
  --ty: 0deg;
  position: relative;
  border-radius: 20px;
  padding: 1.5px;
  isolation: isolate;
  transform: rotateX(var(--tx)) rotateY(var(--ty)) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
}

.fx .rx-card {
  opacity: 0;
  translate: 0 48px;
  scale: 0.96;
}

.fx .rx-card.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 110ms),
    translate 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 110ms),
    scale 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 110ms),
    transform 0.25s ease;
}

/* dönen gradient kenarlık */
.rx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--rx-angle),
    transparent 0%,
    color-mix(in srgb, var(--accent) 80%, white) 12%,
    transparent 26%,
    transparent 55%,
    color-mix(in srgb, var(--accent) 45%, transparent) 68%,
    transparent 82%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rxSpin 7s linear infinite;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.rx-card:hover::before { opacity: 1; }

.rx-card-inner {
  position: relative;
  height: 100%;
  border-radius: 19px;
  padding: 26px 26px 22px;
  background:
    radial-gradient(
      420px circle at var(--mx) var(--my),
      color-mix(in srgb, var(--accent) 9%, transparent),
      transparent 65%
    ),
    linear-gradient(155deg, rgba(24, 33, 46, 0.96), rgba(8, 12, 19, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  z-index: 1;
}

.rx-card-num {
  position: absolute;
  top: -12px;
  right: 6px;
  font-family: var(--font-display);
  font-size: 6.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 26%, transparent);
  pointer-events: none;
  user-select: none;
}

.rx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
}

.rx-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  box-shadow:
    0 0 28px color-mix(in srgb, var(--accent) 22%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rx-card-icon svg { width: 26px; height: 26px; }

.rx-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--gold);
  background: rgba(255, 184, 0, 0.07);
  border: 1px solid rgba(255, 184, 0, 0.4);
  overflow: hidden;
}

.rx-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 232, 160, 0.35), transparent);
  transform: skewX(-20deg);
  animation: rxBadgeSweep 3.2s ease-in-out infinite;
}

.rx-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: rxBlink 1.6s ease-in-out infinite;
}

.rx-badge--live {
  color: var(--green);
  border-color: rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.08);
}

.rx-badge--live .rx-badge-dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.rx-card-cat {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 85%, white);
  margin-bottom: 7px;
}

.rx-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 5px;
}

.rx-card-tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 70%, #c8d4de);
  margin-bottom: 12px;
}

.rx-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.rx-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #5a6a7a;
  text-transform: uppercase;
}

.rx-card-foot strong {
  color: rgba(255, 184, 0, 0.75);
  font-weight: 800;
}

/* ── CTA reveal ── */

.fx .page-roadmap .cta-band {
  opacity: 0;
  translate: 0 36px;
}

.fx .page-roadmap .cta-band.is-visible {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Keyframes ── */

@keyframes rxRise {
  to { transform: translateY(0); }
}

@keyframes rxFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rxShimmer {
  to { background-position: -200% center; }
}

@keyframes rxSpin {
  to { --rx-angle: 360deg; }
}

@keyframes rxMarquee {
  to { transform: translateX(-50%); }
}

@keyframes rxCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes rxBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes rxBadgeSweep {
  0%, 55% { left: -80%; }
  100% { left: 130%; }
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .rx-grid { grid-template-columns: 1fr; gap: 16px; }
  .rx-hero { min-height: auto; padding: 40px 0 76px; }
  .rx-marquee { margin-bottom: 40px; }
  .rx-story-panel { padding: 22px 18px 18px; }
  .rx-story-step { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
}

@media (max-width: 640px) {
  .rx-stats { width: 100%; max-width: 360px; }
  .rx-stat { flex: 1; padding: 14px 10px; }
  .rx-stat-num { font-size: 1.4rem; }
  .rx-card-inner { padding: 22px 18px 18px; }
  .rx-card-num { font-size: 4.6rem; top: -8px; }
  .rx-eyebrow { letter-spacing: 0.28em; text-indent: 0.28em; gap: 10px; }
  .rx-eyebrow-line { width: 26px; }
  .rx-spotlight { display: none; }
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
  .rx-eyebrow,
  .rx-lead,
  .rx-stats,
  .rx-scroll-cue {
    opacity: 1;
    animation: none;
  }

  .rx-title-row > span {
    transform: none;
    animation: none;
  }

  .rx-title-gold > span {
    animation: none;
    background-position: 50% center;
  }

  .fx .rx-card,
  .fx .rx-story-step,
  .fx .rx-story-examples,
  .fx .page-roadmap .cta-band {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transform: none;
    transition: none;
  }

  .rx-card::before,
  .rx-marquee-track,
  .rx-badge::after,
  .rx-badge-dot,
  .rx-scroll-cue-ball {
    animation: none !important;
  }

  .rx-particles,
  .rx-spotlight { display: none; }
}
