/* ==========================================================================
   NUVANTA ENGITECH - TEMPORARY LANDING PAGE STYLESHEET
   Style: Premium Corporate & Engineering Light Theme
   Author: Designed & Developed by MAVIATE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors - Nuvanta Engitech & MAVIATE Accents */
  --color-primary-navy: #0b192c;
  --color-navy-dark: #07111e;
  --color-steel-blue: #1e40af;
  --color-steel-blue-light: #2563eb;
  --color-steel-blue-subtle: #3b82f6;
  --color-accent-violet: #6366f1;
  --color-accent-violet-light: #818cf8;

  /* Neutral Surface Colors (Light Theme) */
  --color-bg-base: #f8fafc;
  --color-bg-surface: #ffffff;
  --color-bg-subtle: #f1f5f9;
  --color-bg-card: rgba(255, 255, 255, 0.88);

  /* Borders & Grids */
  --color-border-subtle: #e2e8f0;
  --color-border-medium: #cbd5e1;
  --color-border-active: #93c5fd;
  --color-grid-line: rgba(148, 163, 184, 0.12);

  /* Typography Colors */
  --color-text-main: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;

  /* Status Colors */
  --color-status-dot: #2563eb;
  --color-status-glow: rgba(37, 99, 235, 0.35);
  --color-success: #10b981;

  /* Typography */
  --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 8px 12px -2px rgba(15, 23, 42, 0.06), 0 16px 32px -6px rgba(15, 23, 42, 0.09);
  --shadow-pill: 0 2px 8px rgba(37, 99, 235, 0.08);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-bg-base);
  color: var(--color-text-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   3. Subtle Engineering Background Elements (Pure CSS)
   -------------------------------------------------------------------------- */
.eng-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Blueprint micro-grid */
.eng-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--color-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.08) 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.08) 85%);
}

/* Soft ambient glows */
.eng-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  opacity: 0.65;
}

.eng-glow-primary {
  width: min(650px, 95vw);
  height: min(500px, 80vw);
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}

.eng-glow-accent {
  width: min(450px, 80vw);
  height: min(450px, 80vw);
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
}

/* Precision concentric technical rings */
.eng-radial-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.32);
  pointer-events: none;
  top: 320px;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateRing 140s linear infinite;
}

.eng-ring-1 {
  width: 780px;
  height: 780px;
  border-style: dashed;
  border-dasharray: 4px;
}

.eng-ring-2 {
  width: 1080px;
  height: 1080px;
  border-color: rgba(226, 232, 240, 0.4);
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Subtle corner coordinate markers (+) */
.eng-crosshair {
  position: absolute;
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--color-border-medium);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.eng-crosshair-tl { top: 24px; left: 28px; }
.eng-crosshair-tr { top: 24px; right: 28px; }
.eng-crosshair-bl { bottom: 24px; left: 28px; }
.eng-crosshair-br { bottom: 24px; right: 28px; }

/* --------------------------------------------------------------------------
   4. Main Content Container
   -------------------------------------------------------------------------- */
.page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   SECTION 1: STATUS BADGE PILL
   -------------------------------------------------------------------------- */
.status-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 9999px;
  box-shadow: var(--shadow-pill);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.status-badge:hover {
  border-color: var(--color-border-medium);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.status-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9px;
  height: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-status-dot);
  border-radius: 50%;
  z-index: 2;
}

.status-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-status-dot);
  opacity: 0.65;
  animation: pingGlow 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingGlow {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.status-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-steel-blue);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   SECTION 2: CLIENT BRAND (HERO)
   -------------------------------------------------------------------------- */
.brand-hero-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-title {
  font-size: clamp(2.35rem, 6.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-primary-navy);
  letter-spacing: clamp(0.12em, 1.4vw, 0.24em);
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 0.85rem);
}

.brand-word.brand-primary {
  color: var(--color-primary-navy);
}

.brand-word.brand-secondary {
  color: var(--color-steel-blue-light);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle Engineering Divider */
.eng-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: clamp(140px, 25vw, 220px);
  margin: 1.25rem 0 1.25rem;
}

.eng-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--color-border-medium), transparent);
}

.eng-node {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background-color: var(--color-steel-blue-light);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.4);
}

.brand-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: var(--color-primary-navy);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.brand-intro-copy {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 auto;
}

.intro-headline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: var(--color-text-body);
}

.intro-subtext {
  font-size: clamp(0.92rem, 1.6vw, 1rem);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   SECTION 3: COMING SOON & PROGRESS TRACKER
   -------------------------------------------------------------------------- */
.progress-section {
  width: 100%;
  max-width: 740px;
}

.progress-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.progress-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.progress-header {
  margin-bottom: clamp(1.6rem, 3vw, 2.25rem);
}

.progress-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-steel-blue-light);
  margin-bottom: 0.4rem;
}

.progress-title {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-primary-navy);
  letter-spacing: -0.01em;
}

/* Pipeline Track Layout */
.pipeline-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  padding: 0.5rem 0.25rem;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 70px;
  text-align: center;
  z-index: 2;
}

.step-marker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  background-color: #ffffff;
  border: 2px solid var(--color-border-subtle);
  transition: all var(--transition-normal);
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

/* Step States */
.step-completed .step-marker {
  background-color: #ecfdf5;
  border-color: #10b981;
  color: #10b981;
}

.step-check {
  width: 17px;
  height: 17px;
}

.step-completed .step-label {
  color: var(--color-text-body);
}

/* Active Step: Developing */
.step-active .step-marker {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  border-color: #3b82f6;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.16), 0 4px 12px rgba(37, 99, 235, 0.3);
}

.active-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #ffffff;
}

.step-active .step-label {
  color: var(--color-steel-blue);
  font-weight: 700;
}

.active-tag {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  background: #eff6ff;
  color: var(--color-steel-blue-light);
  border: 1px solid #bfdbfe;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Upcoming Step */
.step-upcoming .step-marker {
  background-color: #f8fafc;
  border-color: var(--color-border-subtle);
}

.upcoming-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border-medium);
}

.step-upcoming .step-label {
  color: var(--color-text-subtle);
}

/* Connectors */
.pipeline-connector {
  flex: 1;
  height: 2.5px;
  margin: 0 0.4rem;
  position: relative;
  top: -14px;
  border-radius: 2px;
  z-index: 1;
}

.connector-completed {
  background: #10b981;
}

.connector-active {
  background: linear-gradient(to right, #10b981 0%, #2563eb 60%, #93c5fd 100%);
}

.connector-upcoming {
  background: var(--color-border-subtle);
}

/* --------------------------------------------------------------------------
   SECTION 5: CONTACT & STATUS MESSAGE CARD
   -------------------------------------------------------------------------- */
.contact-section {
  width: 100%;
  max-width: 640px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-steel-blue-light);
  margin-bottom: 0.2rem;
}

.contact-icon {
  width: 22px;
  height: 22px;
}

.contact-heading {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-primary-navy);
}

.contact-body {
  font-size: 0.95rem;
  color: var(--color-text-body);
  max-width: 480px;
  line-height: 1.6;
}

.contact-badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle);
  border-radius: 9999px;
  border: 1px solid var(--color-border-subtle);
}

.info-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-steel-blue-light);
}

/* --------------------------------------------------------------------------
   SECTION 6: DEVELOPER / AGENCY CREDIT (MAVIATE)
   Subtle, professional, smaller than client branding
   -------------------------------------------------------------------------- */
.agency-credit-section {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  max-width: 460px;
}

.credit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-normal);
}

.credit-box:hover {
  border-color: var(--color-border-medium);
  background: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.05);
}

.credit-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}

.agency-brand {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agency-logo-link {
  display: inline-block;
  line-height: 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.agency-logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* Properly constrained MAVIATE logo: crisp and balanced */
.agency-logo {
  max-width: 135px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
}

.agency-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.agency-domain-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-steel-blue-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.agency-domain-link:hover {
  color: var(--color-accent-violet);
  border-color: var(--color-accent-violet-light);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(0.5rem, 1.5vw, 1.25rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-subtle);
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.footer-subline {
  font-size: 0.72rem;
  color: var(--color-text-subtle);
}

/* --------------------------------------------------------------------------
   7. Responsive Breakpoints & Mobile Optimization
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .page-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    gap: 1.75rem;
  }

  .eng-crosshair-tl,
  .eng-crosshair-tr,
  .eng-crosshair-bl,
  .eng-crosshair-br {
    display: none; /* Hide coordinate markers on small devices */
  }

  .eng-ring-1 {
    width: 600px;
    height: 600px;
  }

  .eng-ring-2 {
    width: 850px;
    height: 850px;
  }

  .brand-title {
    flex-direction: column;
    gap: 0;
  }

  /* Compact pipeline layout on mobile while maintaining flow */
  .pipeline-track {
    padding: 0.25rem 0;
  }

  .step-marker {
    width: 32px;
    height: 32px;
    margin-bottom: 0.4rem;
  }

  .step-check {
    width: 14px;
    height: 14px;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .active-dot {
    width: 9px;
    height: 9px;
  }

  .active-tag {
    font-size: 0.6rem;
    padding: 0.12rem 0.45rem;
  }

  .pipeline-connector {
    height: 2px;
    top: -12px;
    margin: 0 0.2rem;
  }

  .agency-logo {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .page-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .status-badge {
    padding: 0.45rem 0.95rem;
  }

  .status-text {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .progress-card {
    padding: 1.35rem 0.9rem;
    border-radius: 14px;
  }

  .pipeline-step {
    min-width: 54px;
  }

  .step-label {
    font-size: 0.7rem;
  }

  .active-tag {
    display: none; /* Keep pipeline clean on ultra narrow screens */
  }

  .contact-card {
    padding: 1.35rem 1rem;
  }

  .contact-body {
    font-size: 0.88rem;
  }

  .credit-box {
    padding: 1.15rem 1.2rem;
  }

  .agency-logo {
    max-width: 110px;
  }
}

/* --------------------------------------------------------------------------
   8. Reduced Motion Preferences (Accessibility)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .status-ping {
    display: none;
  }

  .eng-radial-ring {
    animation: none;
  }
}
