/* ==========================================================================
   GRIP FAST? ? Industrial Tooling "Coming Soon" Responsive Showcase
   Zero Horizontal/Vertical Overflow ? Strict Viewport Containment
   ========================================================================== */

:root {
  --gf-red: #EE1C25;
  --gf-red-hover: #D61820;
  --gf-red-subtle: #FDF2F2;
  --gf-red-border: #F8C6C8;

  --gf-black: #141517;
  --gf-charcoal: #1E1F22;
  --gf-steel-dark: #2B2D31;
  --gf-steel-mid: #4A4E57;
  --gf-steel-light: #717682;
  
  --gf-canvas: #FFFFFF;
  --gf-surface: #F8F9FA;
  --gf-surface-alt: #F1F3F5;
  
  --gf-border: #D8DCE2;
  --gf-border-subtle: #E8EBEE;
  --gf-border-dark: #4A4E57;

  --gf-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --gf-font-mono: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', Consolas, monospace;

  --gf-radius-sm: 2px;
  --gf-radius-pill: 9999px;
  --gf-shadow-card: 0 4px 14px rgba(0, 0, 0, 0.08);
  --gf-shadow-active: 0 10px 28px rgba(0, 0, 0, 0.15);
  --gf-transition: 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--gf-font-sans);
  background-color: var(--gf-surface);
  color: var(--gf-black);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  
  /* Continuous seamless CAD grid */
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  background-repeat: repeat;
  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   TOP STATUS & ANNOUNCEMENT STRIP
   ========================================================================== */
.top-strip {
  background-color: var(--gf-black);
  color: #E2E4E8;
  font-family: var(--gf-font-mono);
  font-size: 0.75rem;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gf-steel-dark);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--gf-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.top-phone-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--gf-transition);
}

.top-phone-link:hover {
  color: var(--gf-red);
}

/* ==========================================================================
   MAIN CENTERED STAGE
   ========================================================================== */
.main-stage {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 18px 16px;
  text-align: center;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Brand Logo & Header Area */
.brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 860px;
  width: 100%;
}

.brand-logo {
  height: clamp(38px, 5vh, 52px);
  width: auto;
  max-width: 85vw;
  object-fit: contain;
  display: block;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--gf-red);
  color: #FFFFFF;
  font-family: var(--gf-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--gf-radius-sm);
  margin-top: 10px;
  margin-bottom: 6px;
}

.coming-soon-headline {
  font-size: clamp(1.4rem, 3vh, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gf-black);
  margin-bottom: 4px;
  line-height: 1.15;
}

.coming-soon-headline span {
  color: var(--gf-red);
}

.coming-soon-subtitle {
  font-size: clamp(0.8125rem, 1.5vh, 0.9375rem);
  color: var(--gf-steel-mid);
  max-width: 660px;
  line-height: 1.4;
  padding: 0 10px;
}

/* ==========================================================================
   ROTATING 3D SLIDESHOW / CAROUSEL (CONTAINED)
   ========================================================================== */
.carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: clamp(260px, 32vh, 310px);
  margin: 8px auto;
  overflow: hidden; /* Strict containment: prevents any 3D overflow */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-card {
  position: absolute;
  width: clamp(250px, 28vw, 290px);
  height: clamp(245px, 30vh, 285px);
  background-color: #FFFFFF;
  border: 1.5px solid var(--gf-border);
  padding: 12px;
  border-radius: var(--gf-radius-sm);
  box-shadow: var(--gf-shadow-card);
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(0) scale(0.65);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slide-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  border-color: var(--gf-black);
  box-shadow: var(--gf-shadow-active);
  z-index: 10;
}

.slide-card.prev {
  opacity: 0.55;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-210px) scale(0.85);
  z-index: 5;
  cursor: pointer;
}

.slide-card.next {
  opacity: 0.55;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(210px) scale(0.85);
  z-index: 5;
  cursor: pointer;
}

.slide-card.far-prev {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-360px) scale(0.7);
  z-index: 1;
}

.slide-card.far-next {
  opacity: 0;
  visibility: hidden;
  transform: translateX(360px) scale(0.7);
  z-index: 1;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gf-border-subtle);
  padding-bottom: 4px;
}

.card-series {
  font-family: var(--gf-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gf-red);
  text-transform: uppercase;
}

.card-badge {
  font-family: var(--gf-font-mono);
  font-size: 0.6875rem;
  background-color: var(--gf-surface);
  border: 1px solid var(--gf-border);
  padding: 2px 6px;
  font-weight: 600;
}

/* Image containment ? ZERO CROPPING */
.card-img-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  min-height: 0;
  overflow: hidden;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.card-footer {
  border-top: 1px solid var(--gf-border-subtle);
  padding-top: 4px;
  text-align: left;
}

.card-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gf-black);
  margin-bottom: 2px;
  line-height: 1.2;
}

.card-spec {
  font-family: var(--gf-font-mono);
  font-size: 0.75rem;
  color: var(--gf-steel-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Carousel Arrow Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--gf-black);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background-color var(--gf-transition);
  border-radius: var(--gf-radius-sm);
}

.carousel-btn:hover {
  background-color: var(--gf-red);
}

.carousel-btn.prev-btn {
  left: 4px;
}

.carousel-btn.next-btn {
  right: 4px;
}

/* Dot Navigation */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.dot {
  width: 18px;
  height: 3.5px;
  background-color: var(--gf-border);
  cursor: pointer;
  transition: all var(--gf-transition);
}

.dot.active {
  background-color: var(--gf-red);
  width: 30px;
}

/* ==========================================================================
   PRIMARY WHATSAPP REDIRECT ACTION & BADGES
   ========================================================================== */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 760px;
  width: 100%;
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--gf-radius-sm);
  border: 1px solid #1EBE5B;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: all var(--gf-transition);
  cursor: pointer;
  max-width: 100%;
}

.btn-whatsapp-hero:hover {
  background-color: #1EBE5B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.phone-badge {
  font-family: var(--gf-font-mono);
  font-size: 0.75rem;
  color: var(--gf-steel-mid);
  background-color: #FFFFFF;
  border: 1px solid var(--gf-border);
  padding: 4px 12px;
  border-radius: var(--gf-radius-sm);
}

.phone-badge strong {
  color: var(--gf-black);
}

.specs-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.spec-pill {
  font-family: var(--gf-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  background-color: #FFFFFF;
  border: 1px solid var(--gf-border);
  color: var(--gf-steel-dark);
}

/* ==========================================================================
   BOTTOM TECHNICAL FOOTER (Strictly Pinned to Bottom Edge)
   ========================================================================== */
.bottom-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--gf-border);
  padding: 10px 20px;
  text-align: center;
  font-family: var(--gf-font-mono);
  font-size: 0.75rem;
  color: var(--gf-steel-light);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   2K / 4K / LARGE SCREENS (min-width: 1600px and min-height: 950px)
   ========================================================================== */
@media (min-width: 1600px) and (min-height: 950px) {
  .main-stage {
    padding: 32px 24px;
  }
  .brand-logo {
    height: 60px;
  }
  .coming-soon-headline {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
  .coming-soon-subtitle {
    font-size: 1.05rem;
    max-width: 720px;
  }
  .carousel-viewport {
    height: 360px;
    max-width: 960px;
    margin: 16px auto 12px;
  }
  .slide-card {
    width: 320px;
    height: 330px;
    padding: 16px;
  }
  .slide-card.prev {
    transform: translateX(-250px) scale(0.85);
  }
  .slide-card.next {
    transform: translateX(250px) scale(0.85);
  }
  .card-title {
    font-size: 1rem;
  }
  .card-spec {
    font-size: 0.8125rem;
  }
  .btn-whatsapp-hero {
    padding: 15px 36px;
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   MOBILE PHONES (iOS / Android Strict Full Height Single Screen Fit)
   ========================================================================== */
@media (max-width: 600px) {
  html, body {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden; /* Zero horizontal or vertical page scrolling on phones */
    position: fixed; /* Prevents iOS rubber-banding and white void below footer */
    top: 0;
    left: 0;
  }
  .top-strip {
    flex-direction: column;
    gap: 2px;
    padding: 6px 10px;
    font-size: 0.65rem;
  }
  .main-stage {
    padding: 8px 12px;
    justify-content: space-evenly;
  }
  .brand-container {
    margin-bottom: 2px;
  }
  .brand-logo {
    max-width: 70vw;
    height: 36px;
  }
  .coming-soon-badge {
    margin-top: 6px;
    margin-bottom: 3px;
    padding: 2px 8px;
    font-size: 0.625rem;
  }
  .coming-soon-headline {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }
  .coming-soon-subtitle {
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: 95vw;
  }
  .carousel-viewport {
    height: 250px;
    margin: 4px auto;
  }
  .slide-card {
    width: 240px;
    height: 245px;
    padding: 10px;
  }
  .slide-card.prev {
    transform: translateX(-105%) scale(0.8);
    opacity: 0; /* Fully hidden off-canvas on mobile to prevent any side peeking/clutter */
    pointer-events: none;
  }
  .slide-card.next {
    transform: translateX(105%) scale(0.8);
    opacity: 0;
    pointer-events: none;
  }
  .card-header {
    padding-bottom: 3px;
  }
  .card-series {
    font-size: 0.625rem;
  }
  .card-badge {
    font-size: 0.625rem;
    padding: 1px 4px;
  }
  .card-img-wrap {
    padding: 4px;
  }
  .card-footer {
    padding-top: 3px;
  }
  .card-title {
    font-size: 0.8125rem;
    margin-bottom: 1px;
  }
  .card-spec {
    font-size: 0.65rem;
  }
  .carousel-btn {
    width: 28px;
    height: 28px;
  }
  .carousel-btn.prev-btn { left: 2px; }
  .carousel-btn.next-btn { right: 2px; }
  .carousel-dots {
    margin-bottom: 6px;
    gap: 5px;
  }
  .dot {
    width: 14px;
    height: 3px;
  }
  .dot.active {
    width: 22px;
  }
  .cta-container {
    gap: 4px;
  }
  .btn-whatsapp-hero {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.8125rem;
    gap: 6px;
  }
  .whatsapp-icon {
    width: 16px;
    height: 16px;
  }
  .phone-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
  }
  .specs-pills {
    display: none;
  }
  .bottom-footer {
    padding: 6px 12px;
    font-size: 0.625rem;
  }
}