/**
 * review.rexyydevelopment.com — landing redizajn (2026)
 * Učitava se pored review.css; ne utiče na admin / login.
 */

@keyframes review-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -3%) scale(1.06); }
}

@keyframes review-hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes review-glow-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes review-ring-spin {
  to { transform: rotate(360deg); }
}

.review-landing {
  background: #030303;
  isolation: isolate;
}

.review-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.review-ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 55% at 50% 15%, #000 15%, transparent 72%);
}

.review-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: review-orb-drift 20s ease-in-out infinite;
}

.review-ambient__orb--1 {
  width: min(560px, 95vw);
  height: min(560px, 95vw);
  top: -18%;
  left: 55%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(241, 90, 36, 0.38) 0%, transparent 68%);
}

.review-ambient__orb--2 {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: -12%;
  animation-delay: -7s;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.12) 0%, transparent 70%);
}

.review-ambient__orb--3 {
  width: 280px;
  height: 280px;
  top: 42%;
  right: -6%;
  animation-delay: -12s;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.18) 0%, transparent 70%);
}

/* Header */
.review-landing .site-header {
  background: rgba(3, 3, 3, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.review-landing .site-header.is-scrolled {
  border-bottom-color: rgba(241, 90, 36, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  background: rgba(8, 8, 10, 0.88);
}

.review-landing .brand-text small {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.review-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.review-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.review-menu-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.review-menu-btn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.review-menu-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.review-mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1rem;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s;
}

.review-mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.review-mobile-nav a {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.review-mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.review-mobile-nav .btn {
  margin-top: 0.5rem;
}

/* Hero */
.review-landing .hero {
  background: transparent;
  position: relative;
}

.review-landing .hero-content {
  animation: review-hero-in 0.7s ease-out both;
}

.review-landing .hero-visual {
  animation: review-hero-in 0.85s ease-out 0.12s both;
}

.review-landing .hero-title .hero-title__accent {
  background: linear-gradient(120deg, #fff 0%, #ffb899 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.review-hero-stat {
  padding: 0.75rem 0.65rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.review-hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--accent);
  line-height: 1.2;
}

.review-hero-stat span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.review-landing .hero-showcase {
  background: rgba(12, 12, 14, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(241, 90, 36, 0.25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(241, 90, 36, 0.12);
  overflow: hidden;
}

.review-landing .hero-showcase::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(241, 90, 36, 0.15), transparent 40%);
  animation: review-ring-spin 12s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

.review-landing .hero-showcase__glow {
  animation: review-glow-pulse 4s ease-in-out infinite;
  opacity: 0.75;
}

.review-landing .hero-showcase__nfc-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  border: 1px dashed rgba(241, 90, 36, 0.35);
  pointer-events: none;
  animation: review-glow-pulse 3s ease-in-out infinite;
}

/* Trust strip */
.review-landing .trust-strip {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}

.review-landing .trust-pill {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

/* Compare NFC vs QR */
.review-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 880px;
  margin-inline: auto;
}

.review-compare-card {
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s, box-shadow 0.25s;
}

.review-compare-card.is-visible {
  opacity: 1;
  transform: none;
}

.review-compare-card--win {
  border-color: rgba(241, 90, 36, 0.45);
  box-shadow: 0 0 48px rgba(241, 90, 36, 0.1);
  background: linear-gradient(160deg, rgba(241, 90, 36, 0.08), rgba(17, 17, 17, 0.9));
}

.review-compare-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.review-compare-card li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.review-compare-card li i {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.review-compare-card--win li i.fa-check {
  color: var(--accent);
}

.review-compare-card--muted li i {
  color: var(--text-subtle);
}

/* Connected steps */
.steps-grid--connected {
  position: relative;
}

@media (min-width: 769px) {
  .steps-grid--connected::before {
    content: '';
    position: absolute;
    top: 3.25rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(241, 90, 36, 0.35), transparent);
    pointer-events: none;
  }
}

.review-landing .step-card {
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.review-landing .step-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(241, 90, 36, 0.08);
}

.review-landing .audience-card {
  background: rgba(17, 17, 17, 0.7);
  border-color: rgba(255, 255, 255, 0.06);
}

.review-landing .audience-card:hover {
  border-color: rgba(241, 90, 36, 0.35);
  box-shadow: 0 8px 32px rgba(241, 90, 36, 0.08);
}

.review-landing .section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.review-landing .pricing-card--featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(241, 90, 36, 0.1), rgba(17, 17, 17, 0.95));
}

.review-landing .pricing-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(241, 90, 36, 0.6), transparent 50%, rgba(241, 90, 36, 0.2));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.review-landing .faq-item {
  background: rgba(17, 17, 17, 0.75);
  transition: border-color 0.25s;
}

.review-landing .faq-item[open] {
  border-color: rgba(241, 90, 36, 0.3);
}

.review-landing .section-final-cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(241, 90, 36, 0.15), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.review-landing .final-cta {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(241, 90, 36, 0.25);
  background: rgba(12, 12, 14, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.review-landing .site-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-footer-login {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.review-footer-login a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.review-footer-login a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .review-menu-btn {
    display: flex;
  }

  .review-landing .header-actions .btn-primary {
    display: none;
  }

  .review-compare-grid {
    grid-template-columns: 1fr;
  }

  .review-hero-stats {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .review-hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-ambient__orb,
  .review-landing .hero-showcase::before,
  .review-landing .hero-showcase__glow,
  .review-landing .hero-showcase__nfc-ring {
    animation: none;
  }

  .review-landing .hero-content,
  .review-landing .hero-visual {
    animation: none;
  }
}
