/* rajmex.com — novi sajt (2026-09-28). Tema: tamna, „woow“ (korisnik), mobile-first. Fokus: RMX Loads za USA. */
:root {
  --bg: #060a13;
  --bg-2: #0b1220;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2f8;
  --muted: #9aa4b8;
  --dim: #6b7489;
  --accent: #ff7a1a;
  --accent-2: #ffb347;
  --cyan: #38d9f5;
  --green: #34d399;
  --violet: #a78bfa;
  --radius: 18px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #1a0d02;
  box-shadow: 0 10px 30px -8px rgba(255, 122, 26, .6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(255, 122, 26, .8); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); background: var(--panel-2); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- navigacija ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 10, 19, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: none; white-space: nowrap; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: none; gap: 10px; }
.burger {
  margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .25s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px; padding: 8px 16px 20px;
  background: rgba(6, 10, 19, .96); border-bottom: 1px solid var(--line);
}
.nav.open .mobile-menu { display: flex; }
.nav.open { background: rgba(6, 10, 19, .96); }
.mobile-menu a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-menu .btn { margin-top: 12px; }
@media (min-width: 1100px) { /* ispod 1100px meni se lomio u 2 reda (2026-09-29) */
  .nav-links, .nav-cta { display: flex; }
  .nav-cta { margin-left: 8px; }
  .burger, .mobile-menu, .nav.open .mobile-menu { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 120px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(255, 122, 26, .22), transparent 60%),
    radial-gradient(700px 500px at 85% 30%, rgba(56, 217, 245, .16), transparent 60%),
    radial-gradient(500px 400px at 60% 90%, rgba(167, 139, 250, .12), transparent 60%);
}
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  opacity: .5;
}
.routes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.routes .r { fill: none; stroke-width: 1.5; stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
.routes .city { fill: #fff; }
.routes .pulse { fill: none; stroke-width: 1.5; animation: pulse 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dash { to { stroke-dashoffset: -600; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }

.hero-inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(38px, 8.5vw, 68px); font-weight: 700; margin: 18px 0 20px; }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); flex: none; }
@media (min-width: 1000px) {
  .hero { padding: 150px 0 110px; }
  .hero-inner { grid-template-columns: 1.02fr 1fr; }
}

/* ---------- makete aplikacije (demo podaci, izmišljeni) ---------- */
.mock-wrap { position: relative; }
.app {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #111a2c, #0b1322);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 80px -20px rgba(255,122,26,.25);
  font-size: 12px;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4357; }
.app-bar i:nth-child(1) { background: #ff5f57; } .app-bar i:nth-child(2) { background: #febc2e; } .app-bar i:nth-child(3) { background: #28c840; }
.app-bar .url { margin-left: 10px; flex: 1; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--dim); font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-body { display: grid; grid-template-columns: 1fr; }
.app-side { display: none; }
@media (min-width: 560px) {
  .app-body { grid-template-columns: 132px 1fr; }
  .app-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); color: var(--muted); }
  .app-side b { color: var(--text); font-family: var(--display); font-size: 13px; padding: 4px 8px 12px; }
  .app-side span { padding: 6px 8px; border-radius: 6px; }
  .app-side span.on { background: rgba(255,122,26,.14); color: var(--accent-2); }
}
.app-main { padding: 14px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); min-width: 0; }
.kpi small { color: var(--dim); display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { font-family: var(--display); font-size: 17px; }
.kpi em { font-style: normal; color: var(--green); font-size: 10px; margin-left: 4px; }
.rows { display: flex; flex-direction: column; gap: 6px; }
.row {
  display: grid; grid-template-columns: 1.6fr .8fr auto; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.025); border: 1px solid transparent;
}
.row:first-child { border-color: rgba(255,122,26,.35); background: rgba(255,122,26,.07); }
.row .rt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .rt small { display: block; color: var(--dim); font-size: 10px; }
.row .amt { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.chip { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.c-transit { background: rgba(56,217,245,.14); color: var(--cyan); }
.c-deliv { background: rgba(167,139,250,.16); color: var(--violet); }
.c-inv { background: rgba(255,179,71,.15); color: var(--accent-2); }
.c-paid { background: rgba(52,211,153,.14); color: var(--green); }
.c-booked { background: rgba(255,255,255,.08); color: var(--muted); }

.float {
  position: absolute; z-index: 2; padding: 12px 14px; border-radius: 14px; font-size: 12px;
  background: rgba(17, 26, 44, .88); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.8);
  animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; font-family: var(--display); font-size: 15px; }
.float small { color: var(--muted); }
.float .ok { color: var(--green); }
.f1 { left: -10px; bottom: -26px; }
.f2 { right: -8px; top: -22px; animation-delay: -3s; }
@media (min-width: 1000px) { .f1 { left: -46px; } .f2 { right: -30px; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- sekcije ---------- */
section { position: relative; }
.sec { padding: 84px 0; }
@media (min-width: 900px) { .sec { padding: 120px 0; } }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 5vw, 46px); margin: 14px 0 16px; }
.sec-head p { color: var(--muted); font-size: 18px; }

/* trake sa brojkama */
.strip { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.strip .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding-block: 34px; }
@media (min-width: 820px) { .strip .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-family: var(--display); font-size: clamp(26px, 4vw, 36px); }
.stat span { color: var(--muted); font-size: 14px; }

/* kartice funkcija */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(255,122,26,.12), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 20px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,122,26,.22), rgba(255,179,71,.08)); color: var(--accent-2);
  border: 1px solid rgba(255,122,26,.3);
}
.ico svg { width: 22px; height: 22px; }
.ico.cy { background: linear-gradient(135deg, rgba(56,217,245,.2), rgba(56,217,245,.05)); color: var(--cyan); border-color: rgba(56,217,245,.3); }
.ico.gr { background: linear-gradient(135deg, rgba(52,211,153,.2), rgba(52,211,153,.05)); color: var(--green); border-color: rgba(52,211,153,.3); }
.ico.vi { background: linear-gradient(135deg, rgba(167,139,250,.22), rgba(167,139,250,.05)); color: var(--violet); border-color: rgba(167,139,250,.3); }
.card.big { grid-column: 1 / -1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .card.big { grid-template-columns: 1fr 1fr; padding: 40px; } }
.card.big h3 { font-size: clamp(24px, 3vw, 32px); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(56,217,245,.12); color: var(--cyan); margin-left: 8px; vertical-align: middle; }

/* AI demo u velikoj kartici */
.ai-demo { display: grid; gap: 10px; grid-template-columns: 1fr; font-size: 13px; }
@media (min-width: 520px) { .ai-demo { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.doc { padding: 16px; border-radius: 12px; background: #f4f1ea; color: #333; font-family: "Courier New", monospace; font-size: 11px; line-height: 1.5; transform: rotate(-2deg); box-shadow: 0 20px 40px -20px #000; }
.doc b { display: block; font-family: var(--font); font-size: 12px; margin-bottom: 6px; }
.arrow { justify-self: center; color: var(--accent); }
.arrow svg { width: 34px; height: 34px; }
@media (max-width: 519px) { .arrow svg { transform: rotate(90deg); } }
.fields { display: flex; flex-direction: column; gap: 6px; }
.field { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255,179,71,.1); border: 1px solid rgba(255,179,71,.28); }
.field span { color: var(--muted); }
.field b { font-weight: 600; text-align: right; }

.soon { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.soon b { color: var(--text); margin-right: 4px; }
.pill { padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.2); }

/* koraci */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), transparent); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--display); font-size: 54px; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, rgba(255,122,26,.9), rgba(255,122,26,0)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 21px; margin: 14px 0 8px; }
.step p { color: var(--muted); }

/* po meri */
.custom { overflow: hidden; }
.custom-box {
  position: relative; display: grid; gap: 32px; padding: 36px 24px; border-radius: 26px;
  background: radial-gradient(600px 300px at 0% 0%, rgba(255,122,26,.18), transparent 60%),
              radial-gradient(600px 300px at 100% 100%, rgba(56,217,245,.14), transparent 60%), var(--bg-2);
  border: 1px solid var(--line);
}
@media (min-width: 900px) { .custom-box { grid-template-columns: 1.1fr 1fr; padding: 56px; align-items: center; } }
.custom-box h2 { font-size: clamp(28px, 4.5vw, 42px); margin: 14px 0 16px; }
.custom-box > div > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.checks svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.based { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.based .flag { width: 28px; height: 20px; border-radius: 4px; overflow: hidden; display: block; }

/* cene */
.billing { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); margin: 0 auto 40px; position: relative; }
.billing button { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 600 15px var(--font); padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: color .25s; }
.billing button.on { color: #1a0d02; }
.billing .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: linear-gradient(100deg, var(--accent), var(--accent-2)); transition: transform .3s, width .3s; }
.billing .save { font-size: 11px; font-weight: 700; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(52,211,153,.18); color: var(--green); }
.billing button.on .save { background: rgba(0,0,0,.15); color: #1a0d02; }
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.plan.hot { background: linear-gradient(180deg, rgba(255,122,26,.12), rgba(255,122,26,.02)); border-color: rgba(255,122,26,.5); box-shadow: 0 30px 80px -40px rgba(255,122,26,.6); position: relative; }
.plan.hot::before { content: "Most popular"; position: absolute; top: -12px; left: 26px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #1a0d02; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 14px; margin-top: 6px; }
.price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; min-height: 58px; }
.price strong { font-family: var(--display); font-size: 48px; line-height: 1; }
.price span { color: var(--muted); }
.price-note { color: var(--dim); font-size: 13px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(52,211,153,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.plans-foot { text-align: center; color: var(--dim); font-size: 14px; margin-top: 24px; }

/* demo / kontakt */
.demo { display: grid; gap: 28px; }
@media (min-width: 940px) { .demo { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.demo h2 { font-size: clamp(30px, 5vw, 46px); margin: 14px 0 16px; }
.demo-copy > p { color: var(--muted); font-size: 17px; }
.contact-list { display: grid; gap: 12px; margin-top: 30px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.contact-item:hover { border-color: rgba(255,255,255,.22); transform: translateX(4px); }
.contact-item small { display: block; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.contact-item b { font-weight: 600; word-break: break-word; }
.form { padding: 26px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 14px; }
@media (min-width: 600px) { .form { padding: 34px; grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; font: 16px var(--font); color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa4b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form select option { background: var(--bg-2); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.15); }
.form .btn { width: 100%; }
.form .fine { color: var(--dim); font-size: 12px; text-align: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 14px; }
.foot { display: grid; gap: 32px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { color: var(--text); font-size: 14px; margin: 0 0 12px; font-family: var(--display); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a:hover { color: var(--text); }
.legacy-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 14px; }
.legacy-btn:hover { border-color: rgba(255,255,255,.25); }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; }

/* WhatsApp plutajuće dugme */
.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }

/* reveal pri skrolu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }

/* transport stranica (stara delatnost) */
.page-hero { padding: 130px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 16px 0; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; }
.photo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Hero se pojavljuje odmah pri učitavanju (ne čeka skrol/JS) — 2026-09-28 */
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .18s; } .rise.d3 { animation-delay: .28s; } .rise.d4 { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 999px) { .routes { opacity: .35; } }

/* ---------- pravi screenshot-ovi (2026-09-28) ---------- */
.browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #0f1626;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(255,122,26,.25);
}
.browser img { width: 100%; height: auto; }
.phone {
  position: absolute; z-index: 3; width: 34%; max-width: 170px; right: -6px; bottom: -40px;
  padding: 7px; border-radius: 28px; background: #0b0f18;
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
}
.phone img { border-radius: 21px; width: 100%; height: auto; }
.mock-wrap { margin-bottom: 40px; padding-right: 4%; }
.mock-wrap .f2 { right: auto; left: -8px; top: -26px; }
@media (min-width: 1000px) { .mock-wrap .f2 { left: -40px; } .phone { right: -34px; } }

.shots .tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.shots .tabs button {
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font: 600 14px var(--font); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.shots .tabs button:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.shots .tabs button.on { color: #1a0d02; background: linear-gradient(100deg, var(--accent), var(--accent-2)); border-color: transparent; }
.shots-stage { position: relative; }
.big-shot .pane { display: none; margin: 0; }
.big-shot .pane.on { display: block; animation: fadein .45s ease; }
.big-shot figcaption { padding: 14px 18px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); background: rgba(255,255,255,.02); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.side-phone { display: none; }
@media (min-width: 900px) {
  .shots-stage { padding-right: 150px; }
  .side-phone { display: block; width: 210px; max-width: none; right: 0; bottom: 40px; }
}

/* Forma — status i potvrda (2026-09-30) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 14px; min-height: 0; }
.form-status.err { color: #ff8a8a; }
.form-status a { color: var(--accent-2); text-decoration: underline; }
.form .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; }
.form-done[hidden] { display: none; }
.form-done h3 { font-size: 26px; }
.form-done p { color: var(--muted); }
.form-done a { color: var(--accent-2); text-decoration: underline; }

/* Prekidač jezika EN / SR (2026-10-01) — vidljiv i na telefonu, pored hamburgera */
.lang { display: flex; margin-left: auto; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 13px; font-weight: 600; }
.lang a { padding: 5px 11px; border-radius: 999px; color: var(--muted); line-height: 1.2; }
.lang a:hover { color: var(--text); }
.lang a.on { background: var(--panel-2); color: var(--text); }
.lang ~ .burger { margin-left: 10px; }
@media (min-width: 1100px) { .lang { margin-left: 22px; } }

/* SR hero: ilustracija AI čitanja naloga u okviru „browser“ (dok ne stignu pravi ekrani RMX Web) */
.hero-panel { padding: 28px 22px 32px; background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,0)); }
@media (min-width: 560px) { .hero-panel { padding: 40px 32px; font-size: 14px; } .hero-panel .doc { font-size: 12px; } }

/* SR: „Do sada / Sa RMX Web-om“ (2026-10-01) */
.compare { display: grid; gap: 18px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }
.cmp { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.cmp h3 { font-size: 22px; margin-bottom: 18px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cmp li { position: relative; padding-left: 30px; color: var(--muted); }
.cmp li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.cmp.before li::before { content: "✕"; color: #ff8a8a; }
.cmp.after { border-color: rgba(255,179,71,.35); background: linear-gradient(160deg, rgba(255,122,26,.10), rgba(56,217,245,.04)); }
.cmp.after li { color: var(--text); }
.cmp.after li::before { content: "✓"; color: var(--green); }

/* 4 paketa (2026-10-01): 2 kolone na tabletu, 4 na širokom ekranu */
@media (min-width: 640px) and (max-width: 1099px) { .plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans-4 { grid-template-columns: repeat(4, 1fr); } .plans-4 .plan { padding: 30px 22px; } }
.plans-4 { row-gap: 26px; }
