/* ==========================================================================
   MC GROUP — Base
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy-950: #071426;
  --navy-900: #0b1f38;
  --navy-800: #0d2a4d;
  --navy-700: #14395f;
  --navy-600: #1c4a78;
  --navy-100: #e8eef5;
  --navy-50:  #f5f8fb;
  --white: #ffffff;
  --ink: #10233b;
  --muted: #55688a;
  --accent: #5B7CFA;
  --accent-dark: #3F5FE0;
  --accent-contrast: #ffffff;
  --alert: #ff5470;
  --border: #dfe6f0;

  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --radius: 14px;
  --shadow-soft: 0 10px 30px -12px rgba(11, 31, 56, 0.25);
  --shadow-accent: 0 10px 30px -10px rgba(91, 124, 250, 0.45);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; color: var(--navy-900); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 16px; color: var(--muted); }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 10px;
}
.eyebrow-accent { color: var(--accent); }

.monitor-teaser { margin: 0 0 32px; }
.monitor-teaser > .eyebrow { margin-bottom: 16px; }

/* Reuses the .mock / .mock-tag / .mock-box / .mock-readout "HUD" visual language
   defined further down (Proizvod page section) -- these three rules only adapt its
   size/detection-box position for this narrower teaser spot. */
.monitor-teaser-feed {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
}
.monitor-teaser-box { top: 22%; left: 9%; width: 30%; height: 56%; }

.monitor-teaser-live {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}
.monitor-teaser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--alert);
  box-shadow: 0 0 8px 1px rgba(255, 84, 112, 0.7);
  animation: monitor-teaser-blink 1.6s ease-in-out infinite;
}

.monitor-teaser-scan {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(91, 124, 250, 0.7);
  animation: viewfinder-scan 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes viewfinder-scan {
  0% { top: -4%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 104%; opacity: 0; }
}

@keyframes monitor-teaser-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .monitor-teaser-scan { animation: none; opacity: 0; }
  .monitor-teaser-dot { animation: none; }
}

@media (max-width: 600px) {
  .monitor-teaser-feed { aspect-ratio: 4 / 3; }
}

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
}

.section { padding: 96px 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(7, 20, 38, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { height: 38px; width: auto; }
.brand-name {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.brand-name strong { font-weight: 800; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.main-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a:not(.btn):hover { color: var(--white); }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.is-active { background: var(--accent); color: var(--accent-contrast); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top right, var(--navy-700), var(--navy-950) 65%);
  padding: 120px 0 100px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  pointer-events: none;
}

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero-logo {
  width: min(420px, 80vw);
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  max-width: 780px;
}

.hero h1.hero-tagline {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin: 0;
  animation: camera-focus 2.6s cubic-bezier(0.2, 0.7, 0.3, 1) 0.5s both;
}

@keyframes camera-focus {
  0% { filter: blur(18px); opacity: 0; transform: scale(1.035); }
  65% { filter: blur(2px); opacity: 1; }
  100% { filter: blur(0); opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1.hero-tagline { animation: none; }
}

.hero-lead {
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  font-size: 1.1rem;
  margin-bottom: 34px;
}

/* ==========================================================================
   Cards / Usluge
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: var(--navy-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

.card-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}
.card-list li { margin-bottom: 6px; }

.maintenance-note {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.maintenance-note svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--accent); }
.maintenance-note p { color: rgba(255,255,255,0.85); margin: 0; }
.maintenance-note strong { color: var(--white); }

/* ==========================================================================
   Proizvod
   ========================================================================== */

.section-product {
  position: relative;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-950));
  color: rgba(255,255,255,0.85);
  overflow: hidden;
}
.section-product h2, .section-product h3 { color: var(--white); }
.section-product .section-lead { color: rgba(255,255,255,0.72); }

.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  animation: scan 7s linear infinite;
  pointer-events: none;
}
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 40px 0 56px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  width: 100%;
  align-self: stretch;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.badge-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 48px;
}
.badge-row li {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 8px 16px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.product-cta {
  margin-top: 64px;
  text-align: center;
}
.tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

/* ==========================================================================
   O nama
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-points li {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-weight: 500;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
}
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.about-mark { width: 100%; max-width: 220px; opacity: 0.9; }

/* ==========================================================================
   Kontakt
   ========================================================================== */

.section-contact { background: var(--navy-50); }

.contact-single {
  max-width: 560px;
  text-align: center;
  margin: 0 auto;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--navy-900);
}
.contact-info svg { width: 22px; height: 22px; color: var(--accent-dark); flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-nav a:hover { color: var(--white); }
.footer-copy { margin: 0; font-size: 0.82rem; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Proizvod — dedicated page
   ========================================================================== */

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.breadcrumb-link:hover { color: var(--white); }

.hero.hero-compact { padding: 150px 0 88px; }
.hero.hero-compact .hero-inner { max-width: 720px; }
.hero-divider {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin: 44px 0;
}
.hero.hero-compact h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.hero.hero-compact .section-lead { color: rgba(255,255,255,0.72); max-width: 640px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.feature-row:first-of-type { border-top: none; padding-top: 0; }
.feature-row.is-reverse .feature-row-visual { order: -1; }

.feature-row-text .eyebrow { margin-bottom: 12px; }
.feature-row-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-row-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink);
  font-size: 0.96rem;
}
.feature-row-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--accent);
}
.feature-row-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent-contrast);
  border-bottom: 2px solid var(--accent-contrast);
  transform: rotate(-45deg);
}

/* Full-width showcase block (e.g. "Razvoj po meri") -- used instead of the
   half-width .feature-row when the photo already carries its own text/UI
   design and needs full width to stay legible. */
.custom-showcase {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.custom-showcase-text { max-width: 680px; }
.custom-showcase-text .eyebrow { margin-bottom: 12px; }
.custom-showcase-visual {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.custom-showcase-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.custom-showcase-list { max-width: 680px; }

/* HUD "mock" visual cards */
.mock {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
/* Each variant layers its source photo above the base gradient. If the photo
   file is missing (404), that layer is simply skipped and the gradient below
   shows through -- no extra markup/class needed once files are dropped in. */
.mock-face { background-image: url('../assets/images/product/face-recognition.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-plate { background-image: url('../assets/images/product/plate-recognition.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-appearance { background-image: url('../assets/images/product/appearance-alerts.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-mobile { background-image: url('../assets/images/product/mobile-app.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-worksite { background-image: url('../assets/images/product/workplace-safety.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-drone { background-image: url('../assets/images/product/drone.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-ai { background-image: url('../assets/images/product/ai-assistant.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-dashboard-photo { background-image: url('../assets/images/product/live-dashboard.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-teaser-photo { background-image: url('../assets/images/product/camera-analytics.jpg'), linear-gradient(160deg, var(--navy-800), var(--navy-950)); }
.mock-dashboard-photo .mock-tile { background: rgba(7, 20, 38, 0.4); }
.mock-worksite .mock-list li { background: rgba(7, 20, 38, 0.72); border-color: rgba(255,255,255,0.16); }
.mock::before, .mock::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  opacity: 0.85;
  z-index: 2;
}
.mock::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.mock::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.mock-tag {
  position: absolute;
  top: 14px;
  left: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(7, 20, 38, 0.72);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}

.mock-box {
  position: absolute;
  border: 2px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 0 24px rgba(91, 124, 250, 0.25);
}
.mock-face .mock-box { top: 26%; left: 37%; width: 26%; height: 42%; }
.mock-plate .mock-box { top: 52%; left: 28%; width: 44%; height: 20%; border-color: var(--accent); }
.mock-appearance .mock-box { top: 20%; left: 30%; width: 40%; height: 55%; border-color: var(--alert); box-shadow: 0 0 24px rgba(255, 84, 112, 0.3); }

.mock-readout {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(7, 20, 38, 0.92);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  z-index: 2;
}
.mock-readout .mock-score { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.mock-plate .mock-readout { justify-content: center; letter-spacing: 0.12em; font-family: 'Courier New', monospace; font-size: 1.1rem; }
.mock-appearance .mock-readout { color: var(--alert); justify-content: center; letter-spacing: 0.04em; }

.mock-dashboard {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 46px 14px 14px;
}
.mock-tile {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
}
.mock-tile span {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.mock-tile.is-alarm { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert), 0 0 16px rgba(255,84,112,0.4); }
.mock-tile.is-alarm span { color: var(--alert); }

.mock-list {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 46px 16px 16px;
  overflow: hidden;
}
.mock-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.85);
}
.status-pill {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.status-pill.is-live { background: rgba(91, 124, 250,0.15); color: var(--accent); }
.status-pill.is-alert { background: rgba(255,84,112,0.15); color: var(--alert); }
.status-pill.is-matched { background: rgba(91, 124, 250,0.15); color: var(--accent); }
.status-pill.is-watch { background: rgba(255,196,0,0.15); color: #ffc400; }
.status-pill.is-onsite { background: rgba(91, 124, 250,0.15); color: var(--accent); }
.status-pill.is-left { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); }

.mock-phone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}
.mock-phone-frame {
  width: 62%;
  height: 82%;
  background: var(--navy-900);
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-phone-notch {
  width: 40%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  margin: 0 auto;
}
.mock-phone-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px;
}
.mock-phone-card strong { display: block; font-size: 0.72rem; color: var(--white); margin-bottom: 4px; }
.mock-phone-card span { font-size: 0.68rem; color: rgba(255,255,255,0.6); }

/* When a real phone photo sits behind, drop the drawn frame/notch chrome --
   the photo already shows a phone -- and float just the notification cards
   over its lower half instead of centering an opaque box on top of it. */
.mock-mobile .mock-phone { align-items: flex-end; padding: 0 20px 20px; }
.mock-mobile .mock-phone-frame { width: 100%; height: auto; background: none; border: none; padding: 0; gap: 10px; }
.mock-mobile .mock-phone-notch { display: none; }
.mock-mobile .mock-phone-card { background: rgba(7, 20, 38, 0.82); backdrop-filter: blur(2px); }

.mock-chat {
  position: absolute;
  inset: 46px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.mock-chat-msg {
  max-width: 84%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  line-height: 1.4;
}
.mock-chat-msg.is-user {
  align-self: flex-end;
  background: rgba(63, 95, 224, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.mock-chat-msg.is-bot {
  align-self: flex-start;
  background: rgba(7, 20, 38, 0.85);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.85);
}
.mock-chat-input {
  margin-top: auto;
  background: rgba(7, 20, 38, 0.85);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}

.compat-icon svg { width: 24px; height: 24px; }

.closing { text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .main-nav ul { gap: 16px; }
  .main-nav a:not(.btn) { font-size: 0.87rem; }
  .nav-cta { padding: 9px 16px; font-size: 0.82rem; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; padding: 24px; }
  .about-mark { max-width: 140px; }

  .feature-row { grid-template-columns: 1fr; padding: 48px 0; gap: 28px; }
  .feature-row.is-reverse .feature-row-visual { order: 0; }
  .mock { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav ul a { font-size: 1.1rem; }
  .nav-cta { width: 100%; }

  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 96px 0 72px; }
}
