/* ==========================================================
   Robo Makers page — sits on top of style.css
   Brand: Robo blue, cyan glow, white shells, a touch of wheel-yellow
   ========================================================== */
.theme-robo {
  --robo: #1F5BFF;
  --robo-2: #2D7BFF;
  --robo-deep: #061445;
  --cyan: #3FE0FF;
  --yellow: #FFC53D;
}

.btn-robo { background: linear-gradient(135deg, var(--robo-2), var(--robo)); color: #fff; box-shadow: 0 12px 36px -12px rgba(45,123,255,.75); }
.btn-robo:hover { background: linear-gradient(135deg, #4B8FFF, #2D66FF); box-shadow: 0 16px 44px -10px rgba(45,123,255,.9); }
.theme-robo .kicker .num { color: var(--cyan); border-color: rgba(63,224,255,.4); }
.theme-robo .scroll-line { background: linear-gradient(90deg, var(--robo-2), var(--cyan)); }

/* ---------- Hero ---------- */
.rm-hero { position: relative; min-height: 100vh; padding: 130px 0 48px; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(60% 70% at 72% 38%, #1d56e6 0%, #0b2c8c 38%, var(--robo-deep) 78%); }
.rm-circuit { position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%237FD8FF' stroke-opacity='.35' stroke-width='1.2'%3E%3Cpath d='M0 40h60l20 20h60M240 120h-70l-20 20H90l-20-20H0M120 240v-50l20-20v-40M200 0v50l-20 20h-40'/%3E%3C/g%3E%3Cg fill='%237FD8FF' fill-opacity='.6'%3E%3Ccircle cx='140' cy='60' r='3'/%3E%3Ccircle cx='70' cy='120' r='3'/%3E%3Ccircle cx='140' cy='130' r='3'/%3E%3Ccircle cx='140' cy='70' r='0'/%3E%3Ccircle cx='140' cy='70' r='0'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 85%); }
.rm-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.rm-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(220,232,255,.75); padding: 6px 14px 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); margin-bottom: 22px; transition: border-color var(--dur), color var(--dur); }
.rm-crumb:hover { color: #fff; border-color: var(--cyan); }
.rm-crumb .ico { width: 14px; height: 14px; color: var(--cyan); }
.rm-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rm-id img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 10px 30px -8px rgba(63,224,255,.6); }
.rm-id span { font-weight: 700; font-size: 18px; line-height: 1.2; direction: ltr; text-align: start; }
.rm-id b { color: var(--cyan); font-weight: 700; }
.rm-id small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: rgba(220,232,255,.65); letter-spacing: .06em; }
.rm-title.hero-title { font-size: clamp(44px, 6.2vw, 92px); margin-bottom: 22px; }
.rm-accent { background: linear-gradient(90deg, var(--cyan), #ffffff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .rm-accent { background: linear-gradient(270deg, var(--cyan), #ffffff 70%); -webkit-background-clip: text; background-clip: text; }
.rm-sub { font-size: clamp(17px, 1.5vw, 20px); color: rgba(225,235,255,.82); max-width: 560px; margin-bottom: 30px; }
.rm-hint { margin-top: 18px; font-size: 14px; color: rgba(220,232,255,.7); }

/* interactive robot */
.rm-stage { position: relative; display: grid; place-items: center; min-height: 460px; }
.rm-robot { position: relative; z-index: 2; width: min(100%, 420px); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 40px; }
.rm-robot:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
.rm-robot svg { width: 100%; height: auto; overflow: visible; animation: rm-float 5.5s ease-in-out infinite; }
@keyframes rm-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.rb-shadow { fill: rgba(0,6,30,.45); animation: rm-shadow 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rm-shadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.86); opacity: .6; } }
.rb-antenna { fill: var(--cyan); animation: rm-pulse 1.8s ease-in-out infinite; }
@keyframes rm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.rb-eye path { fill: none; stroke: var(--cyan); stroke-width: 13; stroke-linecap: round; }
.rb-eye path.halo { stroke: rgba(63,224,255,.22); stroke-width: 30; }
.rb-antenna-halo { fill: rgba(63,224,255,.22); }
.rb-eye { transform-box: fill-box; transform-origin: center; transition: transform 90ms ease; }
.rm-robot.blink .rb-eye { transform: scaleY(.12); }
.rm-robot.happy .rb-eye path:not(.halo) { stroke: #9ff1ff; }
.rb-blush { stroke: rgba(63,224,255,.28); stroke-width: 7; stroke-linecap: round; }
.rb-r { font-family: var(--font); font-weight: 800; font-size: 78px; fill: var(--robo); }
.rb-arm { transform-box: fill-box; transform-origin: 50% 8%; }
.rm-robot.wave .rb-arm-r { animation: rm-wave 1.1s ease-in-out; }
.rm-robot.wave .rb-arm-l { animation: rm-wave-l 1.1s ease-in-out; }
@keyframes rm-wave { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: rotate(-150deg); } 40%, 80% { transform: rotate(-120deg); } }
@keyframes rm-wave-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(18deg); } }

.rm-bubble { position: absolute; z-index: 3; top: 2%; inset-inline-start: 0; max-width: 250px; padding: 12px 16px; border-radius: 18px; background: #fff; color: #0B1B4D; font-size: 15px; font-weight: 500; line-height: 1.45;
  box-shadow: 0 18px 40px -14px rgba(0,8,40,.6); transform-origin: bottom; }
.rm-bubble::after { content: ""; position: absolute; bottom: -8px; inset-inline-end: 34px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.rm-bubble.pop { animation: rm-pop .45s var(--ease-out); }
@keyframes rm-pop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.rm-gear { position: absolute; color: rgba(127,216,255,.32); animation: rm-spin 14s linear infinite; }
.rm-gear.g1 { width: 92px; height: 92px; top: 12%; inset-inline-end: 4%; }
.rm-gear.g2 { width: 56px; height: 56px; bottom: 16%; inset-inline-start: 6%; animation-direction: reverse; animation-duration: 9s; color: rgba(255,197,61,.45); }
@keyframes rm-spin { to { rotate: 360deg; } }
.rm-cube { position: absolute; width: 38px; height: 38px; border-radius: 9px; animation: rm-bob 6s ease-in-out infinite;
  background: radial-gradient(circle at 30% 30%, #fff 0 3px, transparent 4px), radial-gradient(circle at 70% 70%, #fff 0 3px, transparent 4px), linear-gradient(135deg, #39a0ff, #1f5bff);
  box-shadow: 0 14px 30px -12px rgba(0,8,40,.7); }
.rm-cube.c1 { bottom: 10%; inset-inline-end: 12%; }
.rm-cube.c2 { top: 30%; inset-inline-start: 2%; width: 28px; height: 28px; animation-delay: -2s; }
.rm-cube.c3 { bottom: 34%; inset-inline-end: -2%; width: 24px; height: 24px; animation-delay: -4s; opacity: .8; }
@keyframes rm-bob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-18px) rotate(10deg); } }

.rm-chips { position: relative; z-index: 2; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.rm-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14px; color: rgba(230,238,255,.9); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.rm-chips .ico { color: var(--cyan); }

.rm-marquee { background: var(--robo-deep); border-color: rgba(127,216,255,.15); }
.rm-marquee i { color: var(--cyan); }

/* ---------- Light sections ---------- */
.rm-light { --text: #0B1B4D; --muted: #4A5A86; --faint: #7D8BB0; --line: rgba(20,50,140,.12); --line-2: rgba(20,50,140,.22); --surface: #ffffff; --surface-2: #F8FBFF;
  background: #F3F7FF; color: var(--text); }
.rm-light h2 em { color: var(--robo); }
.rm-light .kicker .num { color: var(--robo); border-color: rgba(31,91,255,.35); }
.rm-light .faq summary::after { color: var(--robo); }
.rm-light .faq details { box-shadow: 0 10px 30px -24px rgba(20,50,140,.5); }

/* journey: sticky stacked cards */
.rm-stack { display: grid; gap: 28px; padding-bottom: 40px; }
.rm-card { position: sticky; top: calc(96px + var(--i) * 24px); display: grid; grid-template-columns: 1.1fr 1fr; min-height: 380px; border-radius: 28px; overflow: hidden; background: #fff;
  border: 1px solid rgba(20,50,140,.08); box-shadow: 0 -10px 60px -30px rgba(20,50,140,.35), 0 30px 80px -40px rgba(20,50,140,.45); }
.rm-card-media { position: relative; overflow: hidden; background: #dfe8fb; }
.rm-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.rm-card:hover .rm-card-media img { transform: scale(1.04); }
.rm-card-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.rm-step { font-family: var(--mono); font-size: 54px; font-weight: 500; line-height: 1; background: linear-gradient(135deg, var(--robo-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rm-card h3 { font-size: clamp(26px, 2.8vw, 38px); }
.rm-card p { color: var(--muted); font-size: 17px; max-width: 420px; }

/* why */
.rm-why { padding-top: 40px; }
.rm-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.rm-why h2 { font-size: clamp(30px, 3.8vw, 52px); }
.rm-can { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rm-can li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.rm-can b { font-family: var(--mono); font-size: 12px; color: var(--robo); font-weight: 500; }
.rm-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rm-benefits li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.rm-benefits li:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(20,50,140,.5); }
.rm-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--robo-2), var(--robo)); box-shadow: 0 10px 24px -10px rgba(31,91,255,.7); }
.rm-ic svg { width: 24px; height: 24px; }
.rm-benefits strong { display: block; font-size: 17px; margin-bottom: 2px; }
.rm-benefits p { color: var(--muted); font-size: 15px; }

/* RMIS */
.rm-rmis { background: radial-gradient(60% 60% at 20% 40%, rgba(31,91,255,.25), transparent 70%), var(--robo-deep); }
.rm-rmis-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.rm-rmis h2 em { color: var(--cyan); }
.rm-timeline { list-style: none; padding: 0; margin: 36px 0 0; position: relative; display: grid; gap: 4px; }
.rm-timeline::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 7px; width: 2px; background: linear-gradient(var(--cyan), rgba(63,224,255,.1)); }
.rm-timeline li { position: relative; padding: 10px 0 10px 0; padding-inline-start: 36px; display: grid; grid-template-columns: 84px 1fr; column-gap: 14px; align-items: baseline; }
.rm-timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--robo-deep); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(63,224,255,.6); }
.rm-timeline time { font-family: var(--mono); font-size: 13px; color: var(--cyan); grid-row: span 2; }
.rm-timeline strong { font-size: 17px; }
.rm-timeline span { color: var(--muted); font-size: 14px; }
.rm-thanks { margin-top: 26px; color: var(--muted); }
.rm-reel { aspect-ratio: 9 / 16; width: min(100%, 360px); margin-inline: auto; min-height: 0; }

/* store */
.rm-store { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 18px; align-items: stretch; }
.rm-product { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.rm-product img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; filter: saturate(1.05); }
.rm-product > div { padding: 22px 22px 26px; }
.rm-product h3 { font-size: 20px; margin-bottom: 6px; }
.rm-product p { color: var(--muted); font-size: 15px; }
.rm-soon { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: #2a1d00; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(160,110,0,.6); }
.rm-order { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(26px, 3vw, 40px); border-radius: 24px; color: #fff;
  background: radial-gradient(80% 80% at 80% 0%, #3c8bff, transparent 60%), linear-gradient(160deg, #1f5bff, #0b2c8c); box-shadow: 0 30px 70px -36px rgba(31,91,255,.9); }
.rm-order-ic { width: 40px; height: 40px; color: var(--cyan); }
.rm-order h3 { font-size: 26px; }
.rm-order p { color: rgba(230,238,255,.85); margin-bottom: 8px; }
.rm-order .btn-robo { background: #fff; color: #1745d6; box-shadow: 0 12px 30px -12px rgba(0,8,40,.6); }
.rm-order .btn-robo:hover { background: #EAF2FF; }

/* gallery */
.rm-gallery-sec { background: var(--robo-deep); }
.rm-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }
.rm-gallery-head h2 { direction: ltr; }
.rm-gallery { columns: 3 240px; column-gap: 16px; }
.rm-gallery a { position: relative; display: block; margin-bottom: 16px; border-radius: 20px; overflow: hidden; break-inside: avoid; border: 1px solid rgba(127,216,255,.15); }
.rm-gallery img { width: 100%; transition: transform .9s var(--ease-out); }
.rm-gallery a:hover img { transform: scale(1.05); }
.rm-gallery a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* final */
.rm-final { background: radial-gradient(60% 70% at 50% 100%, #1d56e6 0%, #0b2c8c 45%, var(--robo-deep) 80%); }
.rm-final h2 em { color: var(--cyan); }
.rm-final-logo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 28px; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 20px 60px -10px rgba(63,224,255,.7); animation: rm-float 5s ease-in-out infinite; }
.theme-robo .wa-float { box-shadow: 0 14px 40px -10px rgba(37,211,102,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .rm-hero-grid, .rm-why-grid, .rm-rmis-grid { grid-template-columns: 1fr; }
  .rm-stage { min-height: 380px; order: -1; }
  .rm-robot { width: min(80%, 340px); }
  .rm-store { grid-template-columns: 1fr 1fr; }
  .rm-order { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .rm-hero { padding-top: 100px; }
  .rm-stage { min-height: 320px; }
  .rm-bubble { font-size: 14px; max-width: 200px; top: 0; }
  .rm-card { grid-template-columns: 1fr; top: calc(84px + var(--i) * 16px); min-height: 0; }
  .rm-card-media { aspect-ratio: 16 / 10; }
  .rm-card-body { padding: 22px 22px 28px; gap: 8px; }
  .rm-step { font-size: 40px; }
}
@media (max-width: 640px) {
  .rm-store { grid-template-columns: 1fr; }
  .rm-can { grid-template-columns: 1fr 1fr; }
  .rm-timeline li { grid-template-columns: 1fr; }
  .rm-timeline time { grid-row: auto; }
  .rm-gallery { columns: 2 140px; column-gap: 10px; }
  .rm-gallery a { margin-bottom: 10px; border-radius: 14px; }
  .rm-chips { margin-top: 24px; }
  .rm-chips li { font-size: 13px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-robot svg, .rb-shadow, .rb-antenna, .rm-gear, .rm-cube, .rm-final-logo { animation: none !important; }
  .rm-card { position: relative; top: auto; }
}
