/* ============================================================
   HERO PRODUCT SHOT — real web dashboard + overlapping phone
   ============================================================ */

.hero-product-shot {
  flex: 1.15;
  position: relative;
  min-width: 300px;
  max-width: 680px;
  padding: 0 0 40px 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Ambient teal glow behind the whole composition */
.hero-product-shot::before {
  content: '';
  position: absolute;
  inset: -10% 5% 0 -5%;
  background: radial-gradient(ellipse at 55% 45%, rgba(56, 191, 161, 0.18) 0%, rgba(34, 211, 238, 0.08) 35%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

/* Faux browser window wrapping the real web dashboard screenshot */
.hero-browser {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1b30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 40px rgba(56, 191, 161, 0.08);
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero-browser-dot:nth-child(1) { background: #ff5f57; }
.hero-browser-dot:nth-child(2) { background: #febc2e; }
.hero-browser-dot:nth-child(3) { background: #28c840; }

.hero-browser-url {
  margin-left: 12px;
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  max-width: 260px;
}

.hero-browser-img {
  display: block;
  /* Bleed 1px over each side so the screenshot fully covers the
     browser's side borders — no thin seam on the right edge. */
  width: calc(100% + 2px);
  margin: 0 -1px -1px;
  height: auto;
}

/* Real phone screenshot overlapping the lower-right of the browser */
.hero-phone-img {
  position: absolute;
  z-index: 2;
  right: -22px;
  bottom: -10px;
  width: 185px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(56, 191, 161, 0.12));
  animation: heroFloat 7s ease-in-out infinite;
  animation-delay: -3.5s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-browser,
  .hero-phone-img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-product-shot {
    max-width: 520px;
    margin: 0 auto;
    padding: 16px 44px 30px 0;
  }
  .hero-phone-img {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .hero-product-shot {
    width: 100%;
    max-width: 480px;
    padding: 10px 40px 24px 0;
  }
}

@media (max-width: 480px) {
  .hero-product-shot {
    padding: 6px 30px 18px 0;
  }
  .hero-phone-img {
    width: 110px;
  }
  .hero-browser-url {
    max-width: 150px;
  }
}

/* ============================================================
   PHONE IMAGE — pre-framed PNGs from screenshot-framer, no CSS trickery
   ============================================================ */

.phone-img {
  width: 240px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.35)) drop-shadow(0 0 32px rgba(56,191,161,0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

.phone-img:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 36px 64px rgba(0,0,0,0.4)) drop-shadow(0 0 48px rgba(56,191,161,0.18));
}

/* ============================================================
   TAB SWITCHER — homepage feature showcase
   ============================================================ */

.screenshot-showcase {
  padding: 60px 0 20px;
}

.screenshot-showcase-heading {
  text-align: center;
  margin-bottom: 40px;
}

.screenshot-showcase-heading h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.screenshot-showcase-heading p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.screenshot-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.screenshot-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: var(--font-body);
}

.screenshot-tab:hover {
  background: rgba(56, 191, 161, 0.1);
  border-color: rgba(56, 191, 161, 0.35);
  color: var(--primary-color);
}

.screenshot-tab.active {
  background: linear-gradient(90deg, rgba(56, 191, 161, 0.18), rgba(112, 100, 245, 0.18));
  border-color: rgba(56, 191, 161, 0.55);
  color: #fff;
}

.screenshot-stage {
  display: flex;
  align-items: center;
  gap: 56px;
  justify-content: center;
}

.screenshot-phone-wrap {
  position: relative;
  flex-shrink: 0;
}

/* Decorative glow behind phone */
.screenshot-phone-wrap::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 60px;
  background: radial-gradient(ellipse at center, rgba(56, 191, 161, 0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.screenshot-phone-wrap .phone-mockup-frame {
  position: relative;
  z-index: 1;
}

.screenshot-caption {
  max-width: 380px;
}

.screenshot-caption .tab-label {
  display: inline-block;
  background: linear-gradient(90deg, rgba(56, 191, 161, 0.18), rgba(112, 100, 245, 0.18));
  border: 1px solid rgba(56, 191, 161, 0.4);
  color: var(--primary-color);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.screenshot-caption h3 {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.screenshot-caption p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.screenshot-caption .caption-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screenshot-caption .caption-bullets li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}

.screenshot-caption .caption-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Panel fade animation */
.screenshot-panel {
  display: none;
  animation: ssPanel 0.32s ease;
}

.screenshot-panel.active {
  display: flex;
}

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

/* ============================================================
   FEATURE ROWS — N-Voice page bento alternating layout
   ============================================================ */

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 20px 0 40px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-row-text {
  flex: 1;
}

.feature-row-text .feature-eyebrow {
  display: inline-block;
  background: linear-gradient(90deg, rgba(56, 191, 161, 0.15), rgba(112, 100, 245, 0.15));
  border: 1px solid rgba(56, 191, 161, 0.35);
  color: var(--primary-color);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.feature-row-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-row-text p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.feature-row-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-row-text ul li {
  color: var(--text-secondary);
  font-size: 0.91rem;
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}

.feature-row-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.83rem;
}

.feature-tier-tag {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--primary-accent-color, #22d3ee);
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

.feature-row-phone {
  flex-shrink: 0;
  position: relative;
}

.feature-row-phone::before {
  content: '';
  position: absolute;
  inset: -28px;
  border-radius: 60px;
  background: radial-gradient(ellipse at center, rgba(56, 191, 161, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .screenshot-stage {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .screenshot-caption {
    max-width: 100%;
    text-align: center;
  }

  .screenshot-caption .caption-bullets li {
    text-align: left;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .feature-row-text {
    text-align: center;
  }

  .feature-row-text ul li {
    text-align: left;
  }

  .phone-mockup,
  .phone-mockup-frame {
    width: 230px;
  }
}

@media (max-width: 480px) {
  .screenshot-tabs {
    gap: 6px;
  }

  .screenshot-tab {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .phone-mockup,
  .phone-mockup-frame {
    width: 210px;
  }

  .screenshot-caption h3 {
    font-size: 1.3rem;
  }

  .feature-row-text h3 {
    font-size: 1.3rem;
  }
}
