/* ==========================================================================
   DESIGN V2: EXECUTIVE TACTICAL DEFENCE (COMING SOON)
   Theme: High-Precision Defense Contractor / Military Specification
   Full-Bleed Executive Background Photography with High-Key Tactical Overlay
   Brand Colors: Metallic Gold & Carbon Black on White Tactical Canvas
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,500;0,600;0,700;1,600&family=JetBrains+Mono:wght@400;500;600;700&family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-pure: #ffffff;
  --bg-canvas: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.94);
  --text-main: #080c14;
  --text-muted: #475569;
  --text-telemetry: #64748b;
  --gold-primary: #b8860b;
  --gold-metallic: #d4af37;
  --gold-light: #f5d77f;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --font-mono: 'JetBrains Mono', monospace;
  --font-tactical: 'Chakra Petch', 'JetBrains Mono', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden !important;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-pure);
  font-family: var(--font-sans);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   BASE WRAPPER: Full Screen Viewport
   ========================================================================== */
.v2-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f8fafc;
  overflow: hidden;
  user-select: none;
}

/* ==========================================================================
   FULL-BLEED BACKGROUND PHOTOGRAPHY WITH CINEMATIC LIGHT OVERLAY
   ========================================================================== */
.v2-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.v2-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: contrast(1.06) brightness(1.02);
  transform: scale(1.01);
  transform-origin: center center;
}

.v2-bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 95% 85% at 50% 36%, rgba(255, 255, 255, 0.42) 0%, rgba(248, 250, 252, 0.74) 58%, rgba(241, 245, 249, 0.94) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.25) 30%, rgba(248, 250, 252, 0.52) 65%, rgba(255, 255, 255, 0.96) 100%);
  pointer-events: none;
}

/* Precision Engineering Grid */
.v2-grid-layer {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

/* Military Coordinate Watermarks */
.v2-coord-tag {
  position: absolute;
  font-family: var(--font-tactical);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(15, 23, 42, 0.40);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.v2-coord-tl { top: 20px; left: 3.5rem; }
.v2-coord-tr { top: 20px; right: 3.5rem; }
.v2-coord-bl { bottom: 20px; left: 3.5rem; }
.v2-coord-br { bottom: 20px; right: 3.5rem; }

/* Corner Brackets */
.v2-bracket {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(15, 23, 42, 0.28);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.v2-bracket-tl { top: 1.5rem; left: 1.5rem; border-width: 2px 0 0 2px; }
.v2-bracket-tr { top: 1.5rem; right: 1.5rem; border-width: 2px 2px 0 0; }
.v2-bracket-bl { bottom: 1.5rem; left: 1.5rem; border-width: 0 0 2px 2px; }
.v2-bracket-br { bottom: 1.5rem; right: 1.5rem; border-width: 0 2px 2px 0; }

/* ==========================================================================
   TOP BAR (Official Company Logo at Center)
   ========================================================================== */
.v2-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem 0.5rem;
  animation: v2FadeDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  width: 100%;
}

.v2-brand-standalone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 15;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.v2-brand-standalone:hover {
  transform: translateY(-2px) scale(1.03);
}

.v2-brand-standalone:hover .v2-logo-brand {
  filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.35));
}

.v2-logo-brand {
  height: clamp(68px, 6.8vw, 96px);
  width: auto;
  max-width: clamp(280px, 32vw, 440px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.16));
}

/* ==========================================================================
   CENTER HERO STAGE
   ========================================================================== */
.v2-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  gap: 2.2rem;
  z-index: 5;
}

/* HERO CLUSTER: COMING SOON */
.v2-hero-cluster {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.v2-hero-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
  z-index: 5;
}

.v2-word-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8.8vw, 8.4rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  animation: v2TextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.v2-word-line.line-1 { 
  animation-delay: 0.1s; 
  color: #080c14;
  text-shadow: 
    0 2px 24px rgba(255, 255, 255, 0.95),
    0 8px 30px rgba(15, 23, 42, 0.14);
}

.v2-word-line.line-2 {
  animation-delay: 0.25s;
  color: #bf9a2b;
  text-shadow: 
    0 2px 24px rgba(255, 255, 255, 0.95),
    0 8px 25px rgba(15, 23, 42, 0.10);
}

/* ==========================================================================
   PROGRESS DECK (CLEAN WHITE GLASS & GOLD CALIBRATION)
   ========================================================================== */
.v2-center-meta {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 580px;
  animation: v2FadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
  opacity: 0;
}

.v2-progress-deck {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 1.15rem 1.6rem 0.95rem;
  box-shadow: 
    0 20px 48px -10px rgba(15, 23, 42, 0.10),
    0 8px 20px -4px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.v2-progress-deck:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 
    0 24px 56px -10px rgba(15, 23, 42, 0.15),
    0 0 20px rgba(212, 175, 55, 0.18);
}

.v2-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.v2-progress-tag {
  font-family: var(--font-tactical);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f172a;
}

.v2-progress-val {
  font-family: var(--font-tactical);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
}

.v2-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.v2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #997517 0%, #d4af37 60%, #f5d77f 100%);
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.v2-progress-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.v2-progress-status-line {
  font-family: var(--font-tactical);
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.06em;
  text-align: left;
}

/* ==========================================================================
   BOTTOM DOCK (CLEAN WHITE GLASS & GOLD ACCENTS)
   ========================================================================== */
.v2-bottombar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 0.75rem 2rem 1.75rem;
  animation: v2FadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.v2-procurement-dock {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 
    0 16px 36px -8px rgba(15, 23, 42, 0.10),
    0 4px 12px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.v2-procurement-dock:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 20px 42px -8px rgba(15, 23, 42, 0.15),
    0 0 20px rgba(212, 175, 55, 0.15);
}

.v2-dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.07);
  text-decoration: none;
  color: #0f172a;
  transition: all 0.25s ease;
}

.v2-dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.20) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #997517;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.v2-dock-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.v2-dock-meta {
  display: flex;
  flex-direction: column;
}

.v2-dock-lbl {
  font-family: var(--font-tactical);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #997517;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.v2-dock-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
}

.v2-dock-pill:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.v2-dock-pill:hover .v2-dock-icon {
  background: #d4af37;
  color: #ffffff;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.v2-dock-pill.whatsapp:hover {
  border-color: #25d366;
}
.v2-dock-pill.whatsapp:hover .v2-dock-icon {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.v2-dock-pill.location {
  cursor: default;
}
.v2-dock-pill.location:hover {
  transform: none;
  background: rgba(248, 250, 252, 0.94);
  border-color: rgba(15, 23, 42, 0.07);
  box-shadow: none;
}
.v2-dock-pill.location:hover .v2-dock-icon {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.20) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.45);
  color: #997517;
  box-shadow: none;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes v2TextReveal {
  0% { opacity: 0; letter-spacing: 0.02em; transform: translateY(20px); }
  100% { opacity: 1; letter-spacing: -0.04em; transform: translateY(0); }
}

@keyframes v2FadeDown {
  0% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes v2FadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
  .v2-topbar { padding: 1.25rem 2rem 0.5rem; justify-content: center; }
  .v2-brand-standalone { display: inline-flex; align-items: center; justify-content: center; }
  .v2-logo-brand { width: min(75vw, 360px); height: auto; max-height: 90px; }
  .v2-word-line { font-size: clamp(3.0rem, 9vw, 5.2rem); }
  .v2-center-meta { max-width: 90vw; }
}

/* Mobile Screens (Phones up to 640px) */
@media (max-width: 640px) {
  html, body {
    position: static !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .v2-wrapper {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .v2-bracket, .v2-coord-tag { display: none; }
  
  .v2-bg-img {
    object-position: center 22%;
  }

  .v2-bg-gradient {
    background: 
      radial-gradient(ellipse 95% 85% at 50% 30%, rgba(255, 255, 255, 0.48) 0%, rgba(248, 250, 252, 0.78) 55%, rgba(255, 255, 255, 0.96) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.32) 28%, rgba(248, 250, 252, 0.62) 65%, rgba(255, 255, 255, 0.97) 100%);
  }
  
  /* Topbar: Centered Prominent Logo for Small Screens */
  .v2-topbar { 
    padding: 1.25rem 1rem 0.25rem; 
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
  }
  .v2-brand-standalone { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .v2-logo-brand { 
    width: min(82vw, 330px); 
    height: auto;
    max-height: 84px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.16));
  }
  
  /* STAGE: Balanced rhythm and clean white space */
  .v2-stage {
    padding: clamp(0.75rem, 3vh, 1.5rem) 1rem clamp(0.5rem, 2vh, 1.25rem);
    justify-content: space-evenly;
    min-height: 0;
    flex: 1;
    gap: 1.25rem;
  }
  
  /* HERO CLUSTER */
  .v2-hero-cluster {
    margin: 0;
    width: 100%;
    max-width: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .v2-word-line { 
    font-size: clamp(3.0rem, 12.5vw, 4.2rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
  }
  
  /* CENTER META & PROGRESSION DECK */
  .v2-center-meta { 
    margin: 0;
    max-width: min(94vw, 400px); 
    width: 100%; 
  }
  
  .v2-progress-deck { 
    padding: 0.75rem 1rem 0.65rem; 
    border-radius: 14px;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
  }
  .v2-progress-header {
    margin-bottom: 0.4rem;
  }
  .v2-progress-tag { 
    font-size: 0.62rem; 
  }
  .v2-progress-val { 
    font-size: 1.05rem; 
  }
  .v2-progress-track {
    height: 7px;
    margin-bottom: 0.4rem;
  }
  .v2-progress-ticks { 
    display: flex;
    justify-content: space-between;
    font-size: 0.52rem;
    margin-bottom: 0.35rem;
  }
  .v2-progress-status-line { 
    font-size: 0.62rem; 
  }
  
  /* BOTTOM BAR & CONTACT DOCK */
  .v2-bottombar { 
    padding: 0.4rem 0.75rem max(1rem, env(safe-area-inset-bottom, 1rem)); 
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .v2-procurement-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.5rem;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 
      0 12px 28px -6px rgba(15, 23, 42, 0.08),
      0 4px 12px -2px rgba(15, 23, 42, 0.04);
    animation: none;
  }
  .v2-dock-pill {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.55rem;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.07);
    gap: 0.45rem;
    min-width: 0;
    text-decoration: none;
  }
  .v2-dock-icon { 
    width: 26px; 
    height: 26px; 
    border-radius: 7px;
    flex-shrink: 0;
  }
  .v2-dock-icon svg { 
    width: 12px; 
    height: 12px; 
  }
  .v2-dock-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }
  .v2-dock-lbl { 
    font-size: 0.48rem; 
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .v2-dock-val {
    font-size: 0.63rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
  }
  .v2-dock-pill.location .v2-dock-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Height-based compacting for shorter viewports */
@media (max-height: 780px) and (min-width: 641px) {
  .v2-topbar { padding: 1rem 3rem 0.25rem; }
  .v2-brand-standalone { padding: 4px 12px; }
  .v2-logo-brand { height: 40px; }
  .v2-word-line { font-size: clamp(3.0rem, 7vw, 5.5rem); }
  .v2-stage { gap: 1.2rem; }
  .v2-progress-deck { padding: 0.85rem 1.4rem 0.75rem; }
  .v2-bottombar { padding: 0.5rem 1.5rem 1rem; }
}
