/* =========================================================
   ANIMAZE GRAPHIC — EVENT TECHNOLOGY STYLESHEET
========================================================= */

:root {
  --bg-dark: #0b0b0b;
  --bg-light: #f6f7f8;
  --bg-light-alt: #ffffff;
  --surface-card: #ffffff;
  --border-dark: #222222;
  --border-light: #e2e8f0;
  --text-dark: #ffffff;
  --text-light: #111827;
  --text-muted: #6b7280;
  --accent: #ff6b00; /* Animaze Orange */
  --navy: #0d1b3a; /* Hero badge/icon navy tone, matches reference */

  --display: 'Archivo', sans-serif;
  --body: 'Inter Tight', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --gutter: 24px;
}

/* Base reset & utilities */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { 
  scroll-behavior: smooth; 
}

body.tech-page {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip { 
  position: absolute; 
  left: -9999px; 
  z-index: 999; 
}

.skip:focus { 
  left: 50%; 
  transform: translateX(-50%); 
  top: 20px; 
  background: var(--accent); 
  padding: 10px; 
  color: #000; 
}

/* Typography & Accents */
.highlight {
  color: var(--accent);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow-dash {
  width: 16px;
  height: 2px;
  background-color: var(--accent);
}

.sect-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-light);
  margin-bottom: 14px;
}

.sect-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--accent);
  color: #000000;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

.btn--primary:hover {
  background-color: #ff7b1a;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 107, 0, 0.35);
}

/* =========================================================
   1. HERO SECTION (background image + navy overlay, per reference)
========================================================= */
.tech-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background-color: #0a1224;
  border-bottom: 1px solid var(--border-dark);
}

.tech-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0.7;
  z-index: 0;
}

.tech-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 16, 36, 0.85) 0%, rgba(9, 16, 36, 0.65) 45%, rgba(9, 16, 36, 0.4) 100%);
  z-index: 1;
}

.tech-hero__wrap {
  position: relative;
  z-index: 2;
}

.tech-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.tech-hero__title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #ffffff;
}

.tech-hero__title-line {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
}

.tech-hero__subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.65;
}

/* Unified Glass Panel (Quick Feature Links) */
.tech-hero__panel {
  max-width: 360px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.tech-hero-card {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.tech-hero-card:last-child {
  border-bottom: none;
}

.tech-hero-card:hover {
  background: rgba(255, 107, 0, 0.08);
}

/* Circular navy badge icon, matches reference */
.tech-hero-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.tech-hero-card:hover .tech-hero-card__icon {
  background: var(--accent);
  color: #000000;
  transform: scale(1.08);
}

.tech-hero-card strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.tech-hero-card span {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* =========================================================
   2 & 3. FEATURE SECTIONS (FLOOR PLAN & BSM)
========================================================= */
.tech-feature-sect {
  padding: 90px 0;
}

.tech-feature-sect--light {
  background-color: var(--bg-light);
  color: var(--text-light);
}

.tech-feature-sect--contrast {
  background-color: var(--bg-light-alt);
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.tech-feature__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: stretch;
}

.tech-feature__main {
  position: relative;
}

/* Large faded numeral behind the section content for visual depth */
.tech-feature__watermark {
  position: absolute;
  top: -18px;
  right: 0;
  font-family: var(--display);
  font-size: clamp(6rem, 9vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(17, 24, 39, 0.05);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* Numbered eyebrow badge, matches the accent-circle language used site-wide */
.tech-feature__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tech-feature__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #000000;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.3);
}

.tech-feature__label {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.tech-feature__main > *:not(.tech-feature__watermark) {
  position: relative;
  z-index: 1;
}

.tech-workflow__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Step-by-Step Workflows — wraps cleanly regardless of step count (4 or 5) */
.tech-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px 16px;
}

.tech-step {
  position: relative;
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px 18px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Top accent bar sweeps in on hover */
.tech-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff9500 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tech-step:hover::before {
  transform: scaleX(1);
}

.tech-step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}

.tech-step__num {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.12);
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tech-step:hover .tech-step__num {
  background: var(--accent);
  color: #000000;
}

.tech-step__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.tech-step:hover .tech-step__icon {
  background: var(--accent);
  color: #000000;
  transform: scale(1.08);
}

.tech-step h4 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.tech-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Sidebar Benefit Box */
.tech-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.tech-sidebar__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
}

.tech-sidebar__stat-row {
  display: flex;
  gap: 24px;
}

.tech-sidebar__stat-row strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 2px;
}

.tech-sidebar__stat-row span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tech-sidebar__cta {
  width: 100%;
}

.tech-benefit-list {
  display: flex;
  flex-direction: column;
}

.tech-benefit-list .tech-benefit-item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.tech-benefit-list .tech-benefit-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tech-sidebar h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-dash {
  width: 14px;
  height: 3px;
  background-color: var(--accent);
}

.tech-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.tech-benefit-list .tech-benefit-item {
  margin-bottom: 0;
}

.tech-benefit-item:hover {
  transform: translateX(4px);
}

.tech-benefit-item:last-child {
  margin-bottom: 0;
}

.tech-benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tech-benefit-item:hover .tech-benefit-icon {
  background: var(--accent);
  color: #000000;
}

.tech-benefit-item h4 {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 2px;
}

.tech-benefit-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* =========================================================
   4. CTA BANNER (centered, full-bleed background —
   matches the CTA pattern used on every other page)
========================================================= */
.tech-cta-sect {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-color: #000000;
  text-align: center;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.tech-cta-sect .wrap {
  width: 100%;
}

.tech-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0.35;
  z-index: 0;
}

.tech-cta__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(11, 11, 11, 0.45) 0%, rgba(11, 11, 11, 0.9) 100%);
  z-index: 1;
}

.tech-cta__wrap {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.tech-cta__wrap .section-eyebrow {
  justify-content: center;
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 28px;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
========================================================= */
@media (max-width: 1024px) {
  .tech-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .tech-hero__panel { max-width: none; margin-left: 0; }
  .tech-feature__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .tech-hero { padding-top: 120px; }
  .tech-hero__title-line { white-space: normal; font-size: clamp(1.6rem, 7vw, 2rem); }
  .tech-steps-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   HERO TITLE — keyword kicker + two balanced lines
========================================================= */
.tech-hero__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.tech-hero__title .tech-hero__title-line {
  display: block;
  white-space: normal;
  font-size: inherit;
}

/* =========================================================
   READ MORE BUTTON (Floor Plan + BSM sections)
========================================================= */
.tech-readmore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 8px 8px 8px 24px;
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  background: #ffffff;
  color: var(--text-light);
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.12);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.tech-readmore__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.tech-readmore:hover {
  background: var(--accent);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 107, 0, 0.3);
}

.tech-readmore:hover .tech-readmore__arrow {
  background: #000000;
  color: var(--accent);
  transform: translateX(4px);
}

.tech-readmore:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.45);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .tech-readmore { width: 100%; justify-content: space-between; }
}

/* Benefit list: equal space above and below each divider line */
.tech-benefit-list .tech-benefit-item + .tech-benefit-item {
  padding-top: 20px;
}

/* Keep the footer's own spacing (.wrap above resets margins) */
.footer .footer__top { margin-bottom: 60px; }