/* ====== DIFOSE Custom CSS ====== */

:root {
  --primary-500: #327D96;
  --primary-600: #286478;
  --primary-900: #0A191E;
  --accent: #00E5FF;
  --dark-bg: #0F172A;
  --dark-card: #1E293B;
}

/* ---- Glassmorphism ---- */
.glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
}
.dark .glass {
  background: rgba(30,41,59,0.55);
  border: 1px solid rgba(50,125,150,0.18);
}

/* ---- Hero Background ---- */
.hero-grid-bg {
  background-color: #0F172A;
  background-image:
    linear-gradient(rgba(50,125,150,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50,125,150,0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(50,125,150,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Neon Glow ---- */
.glow-primary { box-shadow: 0 0 24px rgba(50,125,150,0.45); }
.glow-accent  { box-shadow: 0 0 24px rgba(0,229,255,0.35); }
.text-accent  { color: #00E5FF; }

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, #327D96 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Accent Line ---- */
.accent-line {
  height: 2px;
  background: linear-gradient(90deg,rgba(50, 125, 150, 0.05) 0%, #00E5FF 50%, rgba(50, 125, 150, 0.05) 100%);
  border: none;
}
.accent-line-footer {
  height: 2px;
  background: linear-gradient(90deg,rgba(50, 125, 150, 0.05) 0%, #6e6e6e 50%, rgba(50, 125, 150, 0.05) 100%);
  border: none;
}
.accent-line-v {
  width: 2px;
  background: linear-gradient(180deg, #327D96, #00E5FF, transparent);
}

/* ---- Scroll Animations ---- */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.anim.anim-left  { transform: translateX(-28px); }
.anim.anim-right { transform: translateX(28px); }
.anim.anim-fade  { transform: none; }
.anim.visible    { opacity: 1; transform: none !important; }

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ---- Header ---- */
#site-header header {
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#site-header header.scrolled {
  background: rgba(15,23,42,0.92) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---- Mobile Menu ---- */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav.open { max-height: 800px; }

/* ---- Buttons ---- */
.btn-primary {
  background: #327D96;
  color: #fff;
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-primary:hover {
  background: #286478;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(50,125,150,0.4);
}
.btn-outline {
  border: 2px solid #327D96;
  color: #327D96;
  border-radius: 6px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-outline:hover {
  background: #327D96;
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(50,125,150,0.18);
}

/* ---- Marquee ---- */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track { animation: marquee-scroll 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* ---- Counters / Stats bar ---- */
.stat-card { border-left: 3px solid #327D96; }

/* ---- Timeline / Stepper ---- */
.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: linear-gradient(90deg, #327D96, rgba(50,125,150,0.2));
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0F172A;
  border: 2px solid #327D96;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #327D96;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-num.active {
  background: #327D96;
  color: #fff;
  box-shadow: 0 0 20px rgba(50,125,150,0.5);
}

/* ---- Pulse dot ---- */
@keyframes pulse-ring {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,229,255,0.45); }
  70%  { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(0,229,255,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}
.pulse-dot { animation: pulse-ring 2.2s infinite; }

/* ---- Scan line (decorative) ---- */
@keyframes scanline {
  0%   { top: -2px; }
  100% { top: 100%; }
}
.scanline-effect {
  position: fixed;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(transparent, rgba(0,229,255,0.07), transparent);
  animation: scanline 9s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0F172A; }
::-webkit-scrollbar-thumb { background: #327D96; border-radius: 3px; }

/* ---- Form ---- */
.form-field {
  background: rgba(30,41,59,0.6);
  border: 1px solid rgba(50,125,150,0.3);
  border-radius: 6px;
  padding: 0.65rem 1rem;
  color: #e2e8f0;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field::placeholder { color: #64748b; }
.form-field:focus {
  outline: none;
  border-color: #327D96;
  box-shadow: 0 0 0 3px rgba(50,125,150,0.15);
}

/* ---- Tab ---- */
.tab-btn { border-bottom: 3px solid transparent; transition: all 0.2s; }
.tab-btn.active { border-bottom-color: #327D96; color: #327D96; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Tag / Badge ---- */
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-primary { background: rgba(50,125,150,0.2); color: #327D96; border: 1px solid rgba(50,125,150,0.4); }
.badge-accent  { background: rgba(0,229,255,0.12); color: #00E5FF; border: 1px solid rgba(0,229,255,0.3); }

/* ---- Product search / filter ---- */
.filter-btn { transition: all 0.2s; }
.filter-btn.active {
  background: #327D96;
  color: #fff;
  border-color: #327D96;
}

/* ---- Pagination ---- */
.page-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  border: 1px solid rgba(50,125,150,0.3);
  color: #94a3b8;
  transition: all 0.2s;
}
.page-btn:hover { border-color: #327D96; color: #327D96; }
.page-btn.active { background: #327D96; color: #fff; border-color: #327D96; }

/* ---- Hero Particles ---- */
@keyframes particle-float {
  0%   { transform: translateY(0) scale(1);       opacity: 0.35; }
  33%  { transform: translateY(-22px) scale(1.15); opacity: 0.65; }
  66%  { transform: translateY(10px) scale(0.9);   opacity: 0.25; }
  100% { transform: translateY(0) scale(1);       opacity: 0.35; }
}
.particle {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #327D96;
  animation: particle-float 7s ease-in-out infinite;
  opacity: 0.35;
}

/* ---- Hero Aurora Blobs ---- */
@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(60px, -40px) scale(1.12); }
  66%       { transform: translate(-35px, 25px) scale(0.95); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-80px, 45px) scale(1.18); }
}
.hero-aurora-1 {
  pointer-events: none;
  width: 600px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(50,125,150,0.22) 0%, transparent 70%);
  filter: blur(50px);
  top: -10%; left: -8%;
  animation: aurora-drift-1 16s ease-in-out infinite;
}
.hero-aurora-2 {
  pointer-events: none;
  width: 700px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,229,255,0.09) 0%, transparent 70%);
  filter: blur(70px);
  bottom: -25%; right: -12%;
  animation: aurora-drift-2 20s ease-in-out infinite;
}

/* ---- Hero Float Cards ---- */
@keyframes float-card-a {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(0deg); }
}
@keyframes float-card-b {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50%       { transform: translateY(-10px) rotate(0deg); }
}
.hero-float-top { animation: float-card-a 4s ease-in-out infinite; }
.hero-float-bot { animation: float-card-b 5s ease-in-out infinite; animation-delay: -2.5s; }

/* ---- Orbiting Wrappers ---- */
@keyframes orbit-cw  { from { transform: rotate(0deg); }   to { transform: rotate(360deg);  } }
@keyframes orbit-ccw { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }
.orbit-wrap-cw {
  position: absolute; inset: 0;
  transform-origin: center;
  animation: orbit-cw 12s linear infinite;
}
.orbit-wrap-ccw {
  position: absolute; inset: 0;
  transform-origin: center;
  animation: orbit-ccw 8s linear infinite;
}
.orbit-node {
  position: absolute; top: 2px; left: 50%;
  transform: translateX(-50%);
}
.orbit-dot-accent {
  width: 10px; height: 10px; border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 14px rgba(0,229,255,0.9), 0 0 4px #fff;
}
.orbit-dot-primary {
  width: 8px; height: 8px; border-radius: 50%;
  background: #327D96;
  box-shadow: 0 0 12px rgba(50,125,150,0.9);
}

/* ---- Shield Glow Pulse ---- */
@keyframes shield-breathe {
  0%, 100% { box-shadow: 0 0 24px rgba(50,125,150,0.45); }
  50%       { box-shadow: 0 0 55px rgba(50,125,150,0.75), 0 0 28px rgba(0,229,255,0.2); }
}
.shield-pulse { animation: shield-breathe 3.2s ease-in-out infinite; }

/* ---- Hero Scan Line ---- */
@keyframes hero-scan {
  0%   { top: 12%; opacity: 0; }
  6%   { opacity: 0.9; }
  94%  { opacity: 0.9; }
  100% { top: 88%; opacity: 0; }
}
.hero-scanline {
  position: absolute;
  left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.7) 50%, transparent);
  pointer-events: none;
  animation: hero-scan 4.5s ease-in-out infinite;
}

/* ---- Hero Orbiting Info Cards ---- */
@keyframes hero-card-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes hero-card-orbit-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.hero-cards-orbit {
  position: absolute; inset: 0;
  animation: hero-card-orbit 100s linear infinite;
}
.hero-card-slot {
  position: absolute; top: 50%; left: 50%;
  width: max-content;
}
.hero-card-counter {
  animation: hero-card-orbit-rev 100s linear infinite;
}

/* ---- Badge Shimmer ---- */
@keyframes shimmer-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
.badge-shimmer {
  position: relative;
  overflow: hidden;
}
.badge-shimmer::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: shimmer-sweep 3.5s linear infinite;
}

/* ---- Typing cursor ---- */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.typed-cursor { animation: blink 1s step-end infinite; color: #00E5FF; }

/* ---- Checkup Hero: Scan Beam ---- */
@keyframes cu-scan {
  0%   { left: -4%; opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}
.cu-scan-beam {
  position: absolute;
  top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg,
    transparent 0%, rgba(0,229,255,0.5) 30%,
    rgba(0,229,255,0.9) 50%, rgba(0,229,255,0.5) 70%, transparent 100%);
  filter: blur(1px);
  animation: cu-scan 7s ease-in-out infinite;
  pointer-events: none;
}
.cu-scan-beam::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -30px; right: -30px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.06), transparent);
}

/* Checkup Hero: Network Nodes */
@keyframes cu-node-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.2); }
}
@keyframes cu-ring-out {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%,-50%) scale(3.5); opacity: 0; }
}
.cu-node { position: absolute; pointer-events: none; }
.cu-node-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #327D96;
  position: relative; z-index: 1;
  animation: cu-node-pulse 2.4s ease-in-out infinite;
}
.cu-node-dot.acc { background: #00E5FF; box-shadow: 0 0 8px rgba(0,229,255,0.7); }
.cu-node-ring {
  position: absolute; top: 50%; left: 50%;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid #327D96;
  animation: cu-ring-out 2.6s ease-out infinite;
}
.cu-node-ring.acc { border-color: #00E5FF; }
.cu-node-ring.d1 { animation-delay: 0.9s; }
.cu-node-ring.d2 { animation-delay: 1.8s; }

/* Checkup Hero: Radar Ring */
@keyframes cu-radar {
  0%   { transform: scale(0.5); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}
.cu-radar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(50,125,150,0.4);
  pointer-events: none;
  animation: cu-radar 4s ease-out infinite;
}
.cu-radar-ring.d1 { animation-delay: 1.3s; }
.cu-radar-ring.d2 { animation-delay: 2.6s; }

/* Checkup Hero: Floating data bits */
@keyframes cu-bit-rise {
  0%   { transform: translateY(0);   opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-80px); opacity: 0; }
}
.cu-bit {
  position: absolute; pointer-events: none;
  font-size: 9px; font-family: monospace; color: #327D96;
  animation: cu-bit-rise 4s linear infinite;
}
.cu-bit.acc { color: #00E5FF; }

/* ---- EKG / Heartbeat Animation ---- */
@keyframes ekg-run {
  0%   { stroke-dashoffset:  480; }
  100% { stroke-dashoffset: -480; }
}
.ekg-line {
  stroke-dasharray: 140 340;
  stroke-width: 1.8;
  fill: none;
  animation: ekg-run 2.4s linear infinite;
}
.ekg-glow {
  stroke-dasharray: 140 340;
  stroke-width: 5;
  fill: none;
  opacity: 0.18;
  filter: blur(4px);
  animation: ekg-run 2.4s linear infinite;
}

/* ---- Animated score bars ---- */
@keyframes bar-grow {
  from { width: 0 !important; }
}
.bar-anim { animation: bar-grow 1.4s cubic-bezier(0.22,1,0.36,1) forwards; }

/* ---- Map placeholder ---- */
.map-placeholder {
  background: #1E293B;
  border: 1px solid rgba(50,125,150,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* ---- Light mode overrides ---- */
.light body, body:not(.dark) {
  color: #1e293b;
}

/* ===== ROADMAP TIMELINE (checkup #surec) ===== */

.roadmap-timeline { position: relative; }

/* Desktop: merkezi dikey çizgi */
@media (min-width: 768px) {
  .roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%; top: 30px; bottom: 30px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(50,125,150,0.7) 10%,
      rgba(0,229,255,0.55) 90%,
      transparent 100%);
    z-index: 0;
  }
  .roadmap-timeline::after {
    content: '';
    position: absolute;
    left: 50%; top: 30px; bottom: 30px;
    width: 12px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(50,125,150,0.25) 10%,
      rgba(0,229,255,0.18) 90%,
      transparent 100%);
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
  }
}

/* Mobil: sol dikey çizgi */
@media (max-width: 767px) {
  .roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 27px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg,
      transparent,
      rgba(50,125,150,0.55) 8%,
      rgba(0,229,255,0.4) 92%,
      transparent);
    z-index: 0;
  }
}

/* Animasyonlu akış parçacığı */
@keyframes rm-flow-anim {
  0%   { top: -5%;  opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}
.rm-flow-particle {
  position: absolute;
  left: 50%; width: 4px; height: 80px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(0,229,255,0.9), transparent);
  border-radius: 2px;
  animation: rm-flow-anim 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Her adım satırı */
@media (min-width: 768px) {
  .rm-step {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
  }
  .rm-step.odd  .rm-card-col { grid-column: 1; padding-right: 2.5rem; position: relative; }
  .rm-step.odd  .rm-node-col { grid-column: 2; display: flex; justify-content: center; }
  .rm-step.odd  .rm-empty    { grid-column: 3; }
  .rm-step.even .rm-empty    { grid-column: 1; }
  .rm-step.even .rm-node-col { grid-column: 2; display: flex; justify-content: center; }
  .rm-step.even .rm-card-col { grid-column: 3; padding-left: 2.5rem; position: relative; }
}
@media (max-width: 767px) {
  .rm-step {
    position: relative;
    padding-left: 72px;
    margin-bottom: 2rem;
    min-height: 64px;
    z-index: 1;
  }
  .rm-node-col { position: absolute; left: 0; top: 0; }
  .rm-empty    { display: none; }
}

/* Karttan düğüme yatay bağlantı çizgisi */
@media (min-width: 768px) {
  .rm-step.odd .rm-card-col::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    width: 2.5rem; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(50,125,150,0.45));
    transform: translateY(-50%);
  }
  .rm-step.even .rm-card-col::after {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 2.5rem; height: 1px;
    background: linear-gradient(270deg, transparent, rgba(0,229,255,0.4));
    transform: translateY(-50%);
  }
}

/* Düğüm dairesi */
.rm-node {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #0F172A;
  border: 2px solid #327D96;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  color: #327D96;
  position: relative; z-index: 2; flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(50,125,150,0.1), 0 0 18px rgba(50,125,150,0.2);
  transition: all 0.35s ease;
}
.rm-node.acc {
  border-color: #00E5FF; color: #00E5FF;
  box-shadow: 0 0 0 5px rgba(0,229,255,0.08), 0 0 18px rgba(0,229,255,0.3);
}
.rm-step:hover .rm-node {
  transform: scale(1.1);
  box-shadow: 0 0 0 7px rgba(50,125,150,0.18), 0 0 30px rgba(50,125,150,0.5);
}
.rm-step:hover .rm-node.acc {
  box-shadow: 0 0 0 7px rgba(0,229,255,0.14), 0 0 30px rgba(0,229,255,0.5);
}

/* Düğüm nabız halkası */
@keyframes rm-ring-out {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.1); opacity: 0;   }
}
.rm-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(50,125,150,0.45);
  animation: rm-ring-out 2.8s ease-out infinite;
  pointer-events: none;
}
.rm-ring.acc { border-color: rgba(0,229,255,0.4); }
.rm-ring.d1  { animation-delay: 1.4s; }

/* Kart */
.rm-card {
  background: rgba(30,41,59,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(50,125,150,0.2);
  border-left: 3px solid #327D96;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.rm-card.r {
  border-left: 1px solid rgba(50,125,150,0.2);
  border-right: 3px solid #327D96;
}
/* Üst kenar parıltısı */
.rm-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(50,125,150,0.6), transparent 60%);
}
.rm-card.r::before {
  background: linear-gradient(270deg, rgba(0,229,255,0.5), transparent 60%);
}
/* Shimmer süpürme */
@keyframes rm-shimmer {
  0%   { transform: translateX(-100%) skewX(-12deg); }
  100% { transform: translateX(300%)  skewX(-12deg); }
}
.rm-card::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.025), transparent);
  animation: rm-shimmer 6s linear infinite;
}
.rm-step:hover .rm-card {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(50,125,150,0.15), 0 0 0 1px rgba(50,125,150,0.28);
  border-left-color: #00E5FF;
}
.rm-step:hover .rm-card.r {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,229,255,0.09), 0 0 0 1px rgba(0,229,255,0.22);
  border-right-color: #00E5FF;
  border-left-color: rgba(50,125,150,0.2);
}

/* İkon kutusu */
.rm-icon-box {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: rgba(50,125,150,0.12);
  border: 1px solid rgba(50,125,150,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.rm-icon-box.acc {
  background: rgba(0,229,255,0.08);
  border-color: rgba(0,229,255,0.25);
}
.rm-step:hover .rm-icon-box {
  background: rgba(0,229,255,0.1);
  border-color: rgba(0,229,255,0.4);
  box-shadow: 0 0 14px rgba(0,229,255,0.2);
}

/* Faz etiketi (düğüm üstünde, sadece masaüstü) */
@media (min-width: 768px) {
  .rm-phase {
    position: absolute; top: -1.5rem; left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #475569; white-space: nowrap;
  }
}
