/* Marketing page overrides: white bg uses subtle drop shadows instead of neumorphic */
.nav-glass { background: #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.glass-card { background: #FFFFFF; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.glass-card:hover { background: #FAFAFA; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.step-card { background: #FFFFFF; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.step-card:hover { background: #FAFAFA; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.step-carousel-item.active { background: #FFFFFF; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.benefit-row { background: #FFFFFF; box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
.benefit-row:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.mobile-menu { background: #FFFFFF; }
.header-dropdown { background: #FFFFFF; box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
.btn-ghost { background: #F5F5F5; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.btn-ghost:hover { box-shadow: inset 0 1px 3px rgba(0,0,0,0.08); }
.btn-primary { box-shadow: 0 2px 8px rgba(108,99,255,0.25); }
.btn-primary:hover { box-shadow: 0 4px 14px rgba(108,99,255,0.3); }

/* Phone mockup (medium / 280px dark frame) */
.phone-mockup {
  --phone-width: 280px;
  --phone-radius: 40px;
  --bezel: 10px;
  --screen-radius: 30px;
  --frame-color: #1a1a1a;
  position: relative;
  width: var(--phone-width);
  background: var(--frame-color);
  border-radius: var(--phone-radius);
  padding: var(--bezel);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 20px 60px rgba(0,0,0,0.25),
    0 2px 8px rgba(0,0,0,0.15);
}
.phone-mockup::before {
  content: '';
  position: absolute;
  right: -2px;
  top: 100px;
  width: 3px;
  height: 40px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
}
.phone-mockup::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 80px;
  width: 3px;
  height: 24px;
  background: #2a2a2a;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 40px 0 #2a2a2a;
}
.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #000;
  border-radius: var(--screen-radius);
  overflow: hidden;
}
.phone-screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 0 0 2px rgba(30,30,30,0.5);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Carousel fade transition */
.phone-carousel-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.phone-carousel-item.active {
  opacity: 1;
}

/* Device carousel: phone and tablet frames in the same space */
.device-carousel {
  position: relative;
  width: var(--phone-width);
}
/* Phone frame is in normal flow (drives container height) */
.device-carousel .phone-mockup {
  transition: opacity 0.6s ease-in-out;
}
/* Tablet frame overlays, centered */
.device-carousel .tablet-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  transition: opacity 0.6s ease-in-out;
}
/* Hidden frame */
.device-frame:not(.active) {
  opacity: 0;
  pointer-events: none;
}

/* Tablet mockup */
.tablet-mockup {
  --tablet-radius: 20px;
  --bezel: 10px;
  --screen-radius: 12px;
  --frame-color: #1a1a1a;
  position: relative;
  background: var(--frame-color);
  border-radius: var(--tablet-radius);
  padding: var(--bezel);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 20px 60px rgba(0,0,0,0.25),
    0 2px 8px rgba(0,0,0,0.15);
}
.tablet-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #000;
  border-radius: var(--screen-radius);
  overflow: hidden;
}
.tablet-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Device slide (shared by phone and tablet carousel items) */
.device-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.device-slide.active {
  opacity: 1;
}


/* Comparison tables: compact & edge-to-edge on mobile */
@media (max-width: 639px) {
  .glass-card:has(table) {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .glass-card table { font-size: 0.6875rem; }
  .glass-card table th,
  .glass-card table td { padding: 0.25rem 0.375rem !important; }
  .glass-card table .inline-flex { gap: 0.125rem; }
  .glass-card table i[data-lucide] { width: 0.75rem; height: 0.75rem; }
  .glass-card > table,
  .glass-card .overflow-x-auto > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Smaller phone on tablet / small desktop (side-by-side grid) */
@media (min-width: 640px) and (max-width: 767px) {
  .phone-mockup {
    --phone-width: 200px;
    --phone-radius: 32px;
    --bezel: 8px;
    --screen-radius: 24px;
  }
}
/* Small phone on mobile (stacked) */
@media (max-width: 639px) {
  .phone-mockup {
    --phone-width: 160px;
    --phone-radius: 26px;
    --bezel: 6px;
    --screen-radius: 20px;
  }
}
