/* ============================================================
   ROBOTICS ZONE — LIGHT THEME (Matches index.css / assembly.css)
   Scoped to .az-page — nothing leaks to other pages.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap");

.az-page {
  /* Colors mapped from index(3).css — same design tokens as every zone */
  --az-bg: #ffffff;
  --az-bg-2: #f4f8fa;
  --az-card-bg: #ffffff;
  --az-border: #e2e8f0;
  --az-border-hi: #c7d6ea;

  --az-text-main: #0a1650;
  --az-dim: #475569;
  --az-faint: #64748b;

  --az-gold: #ffca05;
  --az-blue: #156dbd;

  /* Thematic dark blues from main site */
  --az-dark-bg: #042e4a;
  --az-dark-cta: #062d49;

  /* Button gradient matching main site */
  --az-grad-hot: linear-gradient(to right, #63005d, #01316f);
  --az-grad-hot-hover: linear-gradient(to left, #63005d, #01316f);

  --az-font: "Roboto", Arial, sans-serif;

  background: var(--az-bg);
  color: var(--az-text-main);
  font-family: var(--az-font);
  overflow-x: hidden;
}

/* ============================================================
   PRIMITIVES
   ============================================================ */
.az-container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.az-page h1, .az-page h2, .az-page h3 {
  margin: 0;
  font-family: var(--az-font);
  font-weight: 700;
  color: var(--az-text-main);
  line-height: 1.15;
}

.az-page p { color: var(--az-dim); }

/* Tags / Pills */
.az-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--az-border);
  border-radius: 40px;
  background: var(--az-bg-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--az-blue);
}

.az-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--az-gold);
}

.az-tag-white {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Gradient text */
.az-grad-text {
  background: var(--az-grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section heads */
.az-head { max-width: 760px; margin-bottom: 35px; }
.az-head h2 { margin: 15px 0 12px; font-size: clamp(28px, 3vw, 46px); }
.az-head p { margin: 0; font-size: 16px; line-height: 1.6; }
.az-center { text-align: center; }
.az-head.az-center { margin-left: auto; margin-right: auto; }

/* Buttons */
.az-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--az-font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.az-btn i { font-size: 14px; transition: transform 0.3s ease; }
.az-btn:hover i { transform: translateX(4px); }

.az-btn-primary {
  background: var(--az-grad-hot);
  color: #fff;
  box-shadow: 0 6px 12px rgba(30, 29, 91, 0.15);
}

.az-btn-primary:hover {
  background: var(--az-grad-hot-hover);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(30, 29, 91, 0.25);
}

.az-btn-glass {
  background: #fff;
  border: 1px solid var(--az-border-hi);
  color: var(--az-text-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.az-btn-glass:hover {
  background: var(--az-bg-2);
  border-color: var(--az-blue);
  color: var(--az-blue);
  transform: translateY(-4px);
}

.az-btn-gold {
  background: var(--az-gold);
  color: #08275a;
}

.az-btn-gold:hover {
  background: #ffd633;
  color: #08275a;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.az-btn-glass-white {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.az-btn-glass-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* Base Card Style */
.az-card {
  background: var(--az-card-bg);
  border: 1px solid var(--az-border);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.az-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: var(--az-border-hi);
}

/* Scroll reveal */
.az-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.az-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   1. HERO
   ============================================================ */
.az-hero {
  position: relative;
  padding: 60px 0;
  background: var(--az-bg-2);
  overflow: hidden;
}

.az-hero-inner { position: relative; z-index: 2; }
.az-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.az-hero h1 { margin: 16px 0 16px; font-size: clamp(28px, 4vw, 54px); white-space: nowrap; }
.az-hero h1 span { display: inline; }

@media (max-width: 480px) {
  .az-hero h1 { white-space: normal; }
}
.az-hero-sub { max-width: 580px; margin: 0 0 15px; font-size: 16px; line-height: 1.7; }
.az-hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; }

/* Hero panel */
.az-panel { padding: 25px; }
.az-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 15px; border-bottom: 1px solid var(--az-border);
  font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--az-faint);
}
.az-panel-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 15px;
  padding: 12px 0; border-bottom: 1px solid var(--az-border);
}
.az-panel-row:last-child { border-bottom: none; padding-bottom: 0; }
.az-panel-row dt { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--az-faint); padding-top: 3px; }
.az-panel-row dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--az-text-main); line-height: 1.4; }

/* ============================================================
   2. TICKER
   ============================================================ */
.az-ticker {
  padding: 15px 0;
  background: var(--az-dark-cta);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}
.az-ticker-track { display: inline-flex; align-items: center; gap: 40px; animation: azTicker 30s linear infinite; }
.az-ticker:hover .az-ticker-track { animation-play-state: paused; }
.az-ticker span { font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.az-ticker span::after { content: "◆"; margin-left: 40px; color: var(--az-gold); font-size: 10px; vertical-align: middle; }

@keyframes azTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   4. STATEMENT
   ============================================================ */
.az-statement-section { padding: 60px 0; background: var(--az-bg-2); }
.az-statement { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.az-statement h2 { font-size: clamp(30px, 3.5vw, 46px); margin-top: 15px; }
.az-statement-body p { margin: 0 0 15px; font-size: 16px; line-height: 1.7; }
.az-statement-body p:last-child { margin-bottom: 0; }
.az-statement-body strong { color: var(--az-text-main); font-weight: 700; }

/* ============================================================
   5. ON SHOW
   ============================================================ */
.az-show-section { padding: 60px 0; background: var(--az-bg); }
.az-show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.az-show-grid .az-card { padding: 30px 25px; }

.az-card-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--az-grad-hot);
  color: #fff; font-size: 20px;
  box-shadow: 0 4px 10px rgba(30, 29, 91, 0.2);
}

.az-show-grid h3 { font-size: 20px; margin-bottom: 10px; color: var(--az-text-main); }
.az-show-grid p { margin: 0; font-size: 15px; line-height: 1.6; }

.az-show-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-top: 35px; }
.az-show-foot p { margin: 0; font-size: 13px; font-weight: 600; color: var(--az-faint); }

/* ============================================================
   6. REASONS
   ============================================================ */
.az-reasons-section { padding: 60px 0; background: var(--az-bg-2); }
.az-reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.az-reason { display: flex; align-items: flex-start; gap: 20px; padding: 25px; }
.az-reason > i {
  flex-shrink: 0; width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; border: 1px solid var(--az-border);
  color: var(--az-blue); font-size: 20px;
}
.az-reason h3 { font-size: 20px; margin-bottom: 10px; }
.az-reason p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ============================================================
   7. VISITOR PROFILE
   ============================================================ */
.az-visitors-section { padding: 60px 0; background: var(--az-bg); }
.az-industries { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 35px; }
.az-industry {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--az-border); border-radius: 50px;
  background: var(--az-bg-2);
  font-size: 15px; font-weight: 600; color: var(--az-text-main);
  transition: all 0.3s ease;
}
.az-industry i { color: var(--az-blue); font-size: 16px; }
.az-industry:hover { background: #fff; border-color: var(--az-border-hi); transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.05); }

/* ============================================================
   8. CLOSING CTA
   ============================================================ */
.az-cta-section { padding: 20px 0 60px; background: var(--az-bg); }

.az-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 55px 30px;
  border-radius: 16px;
  background: var(--az-dark-cta);
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.az-cta h2 {
  max-width: 800px;
  margin: 20px 0 15px;
  font-size: clamp(30px, 3.5vw, 46px);
  color: #fff;
}

.az-cta-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 25px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
}

.az-cta-meta i { color: var(--az-gold); margin-right: 8px; }

.az-cta-actions { display: flex; justify-content: center; }

.az-cta-actions .az-btn {
  padding: 16px 40px;
  font-size: 17px;
  width: max-content;
}

.az-cta-tagline {
  margin: 24px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cbd5e1;
}

/* ============================================================
   5b. WHAT'S ON SHOW — THE ROBOTICS LINE-UP
   Six technology groups, numbered station-style, matching the
   Assembly Automation Zone's visual language. Prefix: .rbz-
   ============================================================ */
.rbz-line {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 70px;
  align-items: start;
}

.rbz-line-intro { position: sticky; top: 110px; }
.rbz-line-intro h2 { margin: 15px 0 14px; font-size: clamp(28px, 3vw, 46px); }
.rbz-line-intro > p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; }

.rbz-line-note {
  margin: 0 0 26px !important;
  padding-left: 16px;
  border-left: 3px solid var(--az-gold);
  font-size: 15px !important;
  font-weight: 600;
  color: var(--az-text-main) !important;
}

.rbz-stations {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: station;
}

.rbz-station {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 26px;
  padding-bottom: 38px;
}

.rbz-station:last-child { padding-bottom: 0; }

.rbz-station:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 62px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--az-border-hi), var(--az-border));
}

.rbz-marker {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--az-dark-bg);
  color: var(--az-gold);
  font-family: var(--az-font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(4, 46, 74, 0.22);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.rbz-station:hover .rbz-marker,
.rbz-station:focus-within .rbz-marker {
  background: var(--az-gold);
  color: var(--az-dark-bg);
  transform: translateY(-3px);
}

.rbz-station-body { padding-top: 4px; }

.rbz-station-body h3 {
  font-size: 21px;
  margin-bottom: 8px;
  color: var(--az-text-main);
}

.rbz-station-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
}

.rbz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rbz-chips li {
  padding: 6px 13px;
  border: 1px solid var(--az-border);
  border-radius: 50px;
  background: var(--az-bg-2);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--az-dim);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.rbz-station:hover .rbz-chips li {
  border-color: var(--az-border-hi);
  color: var(--az-text-main);
}

@media (max-width: 1024px) {
  .rbz-line { grid-template-columns: 1fr; gap: 40px; }
  .rbz-line-intro { position: static; }
  .rbz-line-intro .az-btn { width: auto; }
}

@media (max-width: 560px) {
  .rbz-station { grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 30px; }
  .rbz-marker { width: 44px; height: 44px; font-size: 15px; border-radius: 8px; }
  .rbz-station:not(:last-child)::before { left: 21px; top: 52px; }
  .rbz-station-body h3 { font-size: 19px; }
  .rbz-line-intro .az-btn { width: 100%; }
}

/* ============================================================
   5c. STATION THUMBNAIL — one visual per technology category
   ============================================================ */
.rbz-station-thumb {
  width: 100%;
  max-width: 380px;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(4, 46, 74, 0.12);
  border: 1px solid var(--az-border);
  display: block;
}

@media (max-width: 560px) {
  .rbz-station-thumb { height: 170px; max-width: 100%; }
}

/* ============================================================
   3b. PAST SHOW GLIMPSE — proof-of-scale photo strip
   ============================================================ */
.rbz-glimpse-section { padding: 10px 0 70px; }

.rbz-glimpse-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px;
}

.rbz-glimpse-head h2 { margin: 15px 0 12px; font-size: clamp(26px, 2.8vw, 38px); }
.rbz-glimpse-head p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--az-dim); }

.rbz-glimpse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rbz-glimpse-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(4, 46, 74, 0.14);
  border: 1px solid var(--az-border);
}

.rbz-glimpse-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.rbz-glimpse-item:hover img { transform: scale(1.05); }

.rbz-glimpse-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(4, 22, 40, 0.85), rgba(4, 22, 40, 0));
}

@media (max-width: 1024px) {
  .rbz-glimpse-grid { grid-template-columns: 1fr 1fr; }
  .rbz-glimpse-item:nth-child(3) { grid-column: 1 / -1; }
  .rbz-glimpse-item:nth-child(3) img { height: 220px; }
}

@media (max-width: 560px) {
  .rbz-glimpse-grid { grid-template-columns: 1fr; }
  .rbz-glimpse-item:nth-child(3) { grid-column: auto; }
  .rbz-glimpse-item img { height: 220px; }
}

/* ============================================================
   5c. WHAT BUYERS WANT TO KNOW — question grid. Prefix: .rbz-q
   ============================================================ */
.rbz-questions-section { padding: 60px 0; background: var(--az-bg); }
.rbz-q-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 10px; }
.rbz-q {
  padding: 26px 28px;
  border: 1px solid var(--az-border);
  border-radius: 12px;
  background: var(--az-bg-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rbz-q:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,0.06); border-color: var(--az-border-hi); }
.rbz-q span {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--az-blue);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.rbz-q h3 { font-size: 17px; line-height: 1.4; margin: 0; }

@media (max-width: 768px) {
  .rbz-q-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .az-hero-grid, .az-statement, .az-cta { grid-template-columns: 1fr; gap: 35px; }
  .az-panel { max-width: 600px; }
  .az-show-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .az-container { width: calc(100% - 32px); }
  .az-hero, .az-statement-section, .az-show-section, .az-reasons-section, .az-visitors-section, .rbz-questions-section { padding: 40px 0; }
  .az-cta-section { padding: 20px 0 40px; }
  .az-reasons-grid { grid-template-columns: 1fr; }
  .az-cta { padding: 35px 25px; }
  .az-head { margin-bottom: 25px; }
  .az-hero-actions .az-btn, .az-show-foot .az-btn { width: 100%; }
  .az-show-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .az-show-grid { grid-template-columns: 1fr; }
  .az-panel { padding: 20px; }
  .az-panel-row { grid-template-columns: 1fr; gap: 5px; padding: 12px 0; }
  .az-reason { flex-direction: column; gap: 15px; }
  .az-industry { font-size: 14px; padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .az-page *, .az-page *::before, .az-page *::after { animation: none !important; transition: none !important; }
  .az-reveal { opacity: 1; transform: none; }
}

/* ============================================================
   FOOTER COLUMN TITLES OVERRIDE
   ============================================================ */
.az-page #footer-placeholder .footer-title,
.az-page #footer-placeholder .footer-heading,
.az-page #footer-placeholder h3 {
    color: var(--az-gold) !important;
}