/* ==========================================================================
   vcorps.org - Modern Editorial Agency Stylesheet ("Breth" Style)
   Clean white canvas, bold display typography, vibrant chartreuse accents.
   ========================================================================== */

:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-card: #ffffff;
  --bg-card-alt: #f3f4f6;
  --border-light: #e5e7eb;
  --border-hover: #d1d5db;
  --text-dark: #000000;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --accent-lime: #ccff00;
  --accent-lime-hover: #b8e600;
}

/* Base resets & typography */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Clean Navigation Blur on Scroll */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Hero Diagonal Glow Visual Blend - Prominently sized in top-right without pushing section flow */
.hero-beam-container {
  position: absolute;
  top: -15px;
  right: -15vw;
  width: 72vw;
  min-width: 560px;
  max-width: 1366px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
}

.hero-beam-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 1024px) {
  .hero-beam-container {
    width: 85vw;
    right: -18vw;
    min-width: auto;
    opacity: 0.4;
  }
}

@media (max-width: 640px) {
  .hero-beam-container {
    display: none;
  }

  /* Mobile Hero Spiral Graphic: gentle fade under the image */
  .mobile-hero-spiral {
    -webkit-mask-image: linear-gradient(to bottom, #000000 65%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, #000000 65%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0) 100%);
  }

  /* Full-bleed image on mobile with top fade and crisp bottom line */
  .mobile-feature-card {
    margin-left: -1.25rem !important;
    margin-right: -1.25rem !important;
    width: calc(100% + 2.5rem) !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    position: relative;
    overflow: hidden;
  }

  .mobile-feature-card .mobile-top-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
  }
}

/* Clean Cards */
.clean-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-card:hover {
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* FAQ Accordion */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-inner {
  overflow: hidden;
}

/* Modal */
.modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  transform: scale(0.97) translateY(8px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-content-box {
  transform: scale(1) translateY(0);
}

/* Full Design Preview Lightbox Modal */
.design-modal-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.design-modal-backdrop .design-modal-content {
  transform: scale(0.95) translateY(12px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-modal-backdrop.active .design-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Custom Scrollbar for Tall Design Mockups */
.design-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  scroll-behavior: smooth;
}

.design-scroll-container::-webkit-scrollbar {
  width: 7px;
}

.design-scroll-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.design-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.design-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Infinite Marquee Ticker
   ========================================================================== */
@keyframes marquee-loop {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-loop 28s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* ==========================================================================
   Floating Expandable WhatsApp Shortcut
   - Initially displays only the WhatsApp logo as a sleek circle
   - Automatically expands after 5s for a few seconds, then collapses back
   - Expands on user hover or keyboard focus
   ========================================================================== */
.floating-whatsapp-pill {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.35), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  will-change: transform, box-shadow;
}

.floating-whatsapp-pill:hover {
  box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.45), 0 6px 12px -4px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp-pill .floating-whatsapp-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-4px);
}

.floating-whatsapp-pill:hover .floating-whatsapp-label,
.floating-whatsapp-pill:focus-visible .floating-whatsapp-label,
.floating-whatsapp-pill.is-expanded .floating-whatsapp-label {
  max-width: 240px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-whatsapp-pill {
    padding: 0.65rem;
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.35);
  }
  .floating-whatsapp-pill .floating-whatsapp-label {
    font-size: 11px;
  }
}

/* ==========================================================================
   Mobile Navigation Sheet / Drawer
   ========================================================================== */
.mobile-nav-drawer {
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s;
  will-change: transform, opacity;
}

.mobile-nav-drawer.drawer-closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.99);
}

.mobile-nav-drawer.drawer-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   Mobile Pricing Tab Switcher
   ========================================================================== */
.pricing-tab-btn {
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-tab-btn.active {
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.pricing-tab-btn.active span {
  color: #ffffff !important;
}

.pricing-tab-btn.active span.tab-price,
.pricing-tab-btn.active span:last-child {
  color: rgba(255, 255, 255, 0.72) !important;
}

.pricing-tab-panel {
  display: none;
}

.pricing-tab-panel.active {
  display: block;
  animation: fadeInPricingTab 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPricingTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Showcase Portfolio - 3D Stacking Carousel
   ========================================================================== */
.stack-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.stack-stage {
  position: relative;
  width: 100%;
  height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .stack-stage {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .stack-stage {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .stack-stage {
    height: 400px;
  }
}

.stack-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 90%;
  max-width: 780px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Center Active Card (Front) */
.stack-card.is-center {
  transform: translateX(-50%) scale(1);
  z-index: 30;
  opacity: 1;
  filter: blur(0px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  cursor: pointer;
}

.stack-card.is-center:hover {
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.25), 0 0 0 1.5px rgba(0, 0, 0, 0.15);
}

/* Left Background Card */
.stack-card.is-left {
  transform: translateX(calc(-50% - 210px)) scale(0.86);
  z-index: 10;
  opacity: 0.55;
  filter: blur(0.5px);
  cursor: pointer;
  pointer-events: auto;
}

.stack-card.is-left:hover {
  opacity: 0.8;
  transform: translateX(calc(-50% - 220px)) scale(0.88);
}

/* Right Background Card */
.stack-card.is-right {
  transform: translateX(calc(-50% + 210px)) scale(0.86);
  z-index: 10;
  opacity: 0.55;
  filter: blur(0.5px);
  cursor: pointer;
  pointer-events: auto;
}

.stack-card.is-right:hover {
  opacity: 0.8;
  transform: translateX(calc(-50% + 220px)) scale(0.88);
}

@media (max-width: 768px) {
  .stack-card.is-left {
    transform: translateX(calc(-50% - 50px)) scale(0.88);
    opacity: 0.35;
  }
  .stack-card.is-right {
    transform: translateX(calc(-50% + 50px)) scale(0.88);
    opacity: 0.35;
  }
}

/* Floating Stage Flank Buttons */
.stack-float-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  z-index: 35;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stack-float-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.stack-float-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.stack-float-prev {
  left: 8px;
}

.stack-float-next {
  right: 8px;
}

@media (min-width: 1024px) {
  .stack-float-prev {
    left: 0px;
  }
  .stack-float-next {
    right: 0px;
  }
}

@media (max-width: 768px) {
  .stack-float-btn {
    display: none !important;
  }
}

/* Hide bottom carousel arrow buttons on desktop (leaving side floating arrows & dots) */
@media (min-width: 768px) {
  #stack-prev-btn,
  #stack-next-btn {
    display: none !important;
  }
}

/* Scrim overlay for inactive cards */
.stack-card-scrim {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.stack-card.is-center .stack-card-scrim {
  opacity: 0;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.03), 0 8px 24px -4px rgba(0, 0, 0, 0.04);
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.08), 0 24px 60px -12px rgba(0, 0, 0, 0.12);
}

.showcase-browser-bar {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.showcase-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.showcase-dot-red { background: #ff5f56; }
.showcase-dot-yellow { background: #ffbd2e; }
.showcase-dot-green { background: #27c93f; }

.showcase-url-pill {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 3.5px 12px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #525252;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.showcase-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2.5px 8px;
  border-radius: 999px;
}

.showcase-preview-frame {
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid #ebebeb;
}

.showcase-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-preview-img {
  transform: scale(1.05);
}

.showcase-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

.showcase-card:hover .showcase-hover-overlay {
  opacity: 1;
}

.showcase-hover-badge {
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(6px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-hover-badge {
  transform: translateY(0);
}

.showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #404040;
}

/* ==========================================================================
   Problems Section - Editorial Pill & 3D Assets Layout
   ========================================================================== */
.problem-row-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.problem-side-slot {
  display: none;
  width: 140px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .problem-side-slot {
    display: flex;
    align-items: center;
    width: 150px;
  }
}

@media (min-width: 1280px) {
  .problem-side-slot {
    width: 190px;
  }
}

.problem-faded-label {
  color: #cfd4dc;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  line-height: 1.25;
  user-select: none;
}

.problem-pill-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 36px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: none;
}

.problem-3d-img {
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.08));
}

