@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700&family=Sora:wght@600;700;800&display=swap');
@import url('../styles/pistapie-theme-tokens.css?v=20260715-hdpreview');

:root {
  color-scheme: light;
  --ink: var(--pp-ink, #0d1b22);
  --ink-soft: var(--pp-ink-soft, #314450);
  --ink-muted: var(--pp-ink-muted, #526672);
  --paper: var(--pp-paper, #fff8ec);
  --sand: var(--pp-sand, #fef3c7);
  --brand: var(--pp-brand, #00796f);
  --brand-dark: var(--pp-brand-dark, #005f58);
  --accent: var(--pp-accent, #c66a00);
  --accent-dark: var(--pp-accent-dark, #9d4e00);
  --sky: var(--pp-sky, #1b6fc9);
  --mint: var(--pp-mint, #248a52);
  --line: var(--pp-line, rgba(13, 27, 34, 0.14));
  --shadow: var(--pp-shadow, 0 24px 60px rgba(13, 27, 34, 0.14));
  --radius: var(--pp-radius, 24px);
  --radius-sm: var(--pp-radius-sm, 12px);
  --radius-md: var(--pp-radius-md, 20px);
  --radius-lg: var(--pp-radius-lg, 28px);
  --radius-xl: var(--pp-radius-xl, 40px);
  --surface-bg: var(--pp-surface-bg, rgba(255, 255, 255, 0.94));
  --surface-bg-soft: var(--pp-surface-bg-soft, rgba(255, 255, 255, 0.86));
  --surface-tint: var(--pp-surface-tint, #e5f7f4);
  --surface-border: var(--pp-surface-border, rgba(13, 27, 34, 0.16));
  --surface-shadow: var(--pp-surface-shadow, 0 12px 28px rgba(13, 27, 34, 0.12));
  --card-bg: var(--surface-bg);
  --card-border: var(--surface-border);
  --card-shadow: var(--surface-shadow);
  --card-shadow-hover: var(--pp-card-shadow-hover, 0 22px 44px rgba(13, 27, 34, 0.18), 0 6px 16px rgba(13, 27, 34, 0.12));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--pp-brief-page-bg, linear-gradient(156deg, #f7fffc 0%, #f7fffc 34%, #d5f6ee 34%, #d5f6ee 58%, #fff0a8 58%, #fff0a8 78%, #d7efff 78%, #d7efff 100%)) fixed;
  background-attachment: fixed;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pp-focus-ring, rgba(27, 111, 201, 0.5));
  outline-offset: 4px;
}

.modern-container {
  width: min(1540px, 94vw);
  margin: 0 auto;
  padding: 24px 0 100px;
  position: relative;
}

.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-shadow);
}

.back-nav:hover {
  background: var(--card-bg);
  border-color: var(--brand);
  transform: translateX(-4px);
  box-shadow: var(--card-shadow-hover);
}

.back-nav svg {
  width: 18px;
  height: 18px;
}

.hero-section {
  position: relative;
  margin-top: 40px;
  padding: 80px 0;
  text-align: center;
}

.hero-bg {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sky) 100%);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.3);
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: var(--ink);
  background: linear-gradient(120deg, var(--ink) 60%, var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--pp-action-gradient, linear-gradient(135deg, var(--sky), var(--brand-dark)));
  color: #fff;
  box-shadow: 0 14px 30px rgba(27, 111, 201, 0.28);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(27, 111, 201, 0.34);
}

.btn-secondary {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(0, 121, 111, 0.42);
  color: var(--brand-dark);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 60px auto;
}

.stat-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.stat-card:hover {
  border-color: rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-card:nth-child(1) .stat-icon {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15) 0%, rgba(15, 118, 110, 0.05) 100%);
}

.stat-card:nth-child(2) .stat-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
}

.stat-card:nth-child(3) .stat-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.stat-card:nth-child(4) .stat-icon {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

.stat-card:nth-child(1) .stat-icon svg { color: var(--brand); }
.stat-card:nth-child(2) .stat-icon svg { color: var(--accent); }
.stat-card:nth-child(3) .stat-icon svg { color: var(--sky); }
.stat-card:nth-child(4) .stat-icon svg { color: var(--accent-dark); }

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface-tint);
  border: 1px solid rgba(0, 121, 111, 0.22);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}

.features-section {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  border-color: rgba(15, 23, 42, 0.12);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-tint);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-color: transparent;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-dark);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  color: var(--brand);
}

.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  color: var(--ink);
}

.feature-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.screenshot-section {
  width: min(1840px, calc(100vw - 48px));
  margin: 96px 0 90px;
  position: relative;
  left: 50%;
  translate: -50% 0;
}

.screenshot-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  position: relative;
  min-height: clamp(320px, 52vw, 980px);
  display: grid;
  place-items: center;
}

.screenshot-picture {
  width: 100%;
  display: block;
  line-height: 0;
}

.screenshot-wrapper img,
.screenshot-picture img {
  width: 100%;
  display: block;
  opacity: 0;
  position: relative;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.screenshot-wrapper.is-loaded .screenshot-picture img {
  opacity: 0.98;
}

.screenshot-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(13, 27, 34, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(13, 27, 34, 0.16);
}

.screenshot-zoom svg {
  width: 18px;
  height: 18px;
  color: var(--brand-dark);
}

.screenshot-skeleton {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(229, 247, 244, 0.55), rgba(255, 255, 255, 0.95), rgba(229, 247, 244, 0.55)),
    var(--surface-tint);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  z-index: 0;
}

.screenshot-wrapper.is-loaded .screenshot-skeleton,
.screenshot-wrapper.is-missing .screenshot-skeleton {
  opacity: 0;
  pointer-events: none;
}

.screenshot-fallback {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 56px 24px;
  text-align: center;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
}

.screenshot-fallback[hidden] {
  display: none;
}

.screenshot-fallback-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  color: var(--brand-dark);
  border: 1px solid rgba(0, 121, 111, 0.22);
}

.screenshot-fallback-icon svg {
  width: 28px;
  height: 28px;
}

.screenshot-fallback h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.screenshot-fallback p {
  max-width: 420px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.preview-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.preview-detail-card {
  position: relative;
  min-height: clamp(240px, 22vw, 460px);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--card-shadow);
  cursor: zoom-in;
  padding: 0;
}

.preview-detail-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.preview-detail-picture img {
  width: 160%;
  max-width: none;
  height: 160%;
  object-fit: cover;
  opacity: 0.98;
}

.preview-detail-card--left img {
  transform: translate(-5%, -5%);
}

.preview-detail-card--right img {
  transform: translate(-32%, -24%);
}

.preview-detail-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--card-border);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(13, 27, 34, 0.14);
}

.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 28px);
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 12, 18, 0.76);
  cursor: zoom-out;
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 2200px);
  height: min(94vh, 1400px);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.image-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.96);
}

.image-lightbox-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.image-lightbox-title span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-dark);
  text-transform: uppercase;
}

.image-lightbox-title strong {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  overflow-wrap: anywhere;
}

.image-lightbox-close {
  flex-shrink: 0;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.image-lightbox-stage {
  overflow: auto;
  background: #f6fbfb;
}

.image-lightbox-picture {
  display: block;
  width: max(100%, 1500px);
  min-height: 100%;
  padding: clamp(10px, 1.8vw, 28px);
}

.image-lightbox-picture img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(13, 27, 34, 0.16);
}

.process-section {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 48px;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13, 27, 34, 0.22), rgba(13, 27, 34, 0.22), transparent);
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.timeline-item:hover .timeline-dot {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-color: transparent;
  color: var(--brand);
  transform: scale(1.08);
  box-shadow: var(--card-shadow-hover);
}

.timeline-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.timeline-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding: 0 12px;
  line-height: 1.5;
}

.integrations-section {
  margin-bottom: 80px;
}

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.integration-chip:hover {
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.integration-chip svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.testimonials-section {
  margin-bottom: 80px;
}

.testimonial-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(15, 118, 110, 0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}

.testimonial-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink);
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.faq-section {
  margin-bottom: 80px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.faq-item:hover {
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--card-shadow-hover);
}

.faq-question {
  width: 100%;
  padding: 22px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.92rem;
}

.related-section {
  margin-bottom: 80px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.related-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 16px;
  min-height: 170px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.related-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--brand-dark);
  border: 1px solid rgba(0, 121, 111, 0.22);
}

.related-icon svg {
  width: 24px;
  height: 24px;
}

.related-copy {
  min-width: 0;
}

.related-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-dark);
  text-transform: uppercase;
}

.related-title {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--ink);
}

.related-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.related-arrow {
  align-self: end;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.cta-section {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 70px 50px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--ink);
}

.cta-desc {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-white {
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: #ffffff;
  border: 2px solid rgba(0, 121, 111, 0.42);
  color: var(--brand-dark);
}

.btn-outline:hover {
  background: var(--surface-bg);
  border-color: var(--brand);
}

.mobile-sticky-cta {
  display: none;
}

/* Typography alignment with homepage theme */
.hero-title,
.stat-value,
.section-title,
.feature-title,
.timeline-title,
.testimonial-info h4,
.faq-question,
.cta-title {
  font-family: "Sora", sans-serif;
  letter-spacing: 0;
}

@media (max-width: 1200px) {
  .features-grid {
    gap: 16px;
  }

  .screenshot-section {
    width: min(1500px, calc(100vw - 32px));
  }
}

@media (max-width: 1024px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .preview-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.has-mobile-sticky-cta .modern-container {
    padding-bottom: 140px;
  }

  .hero-section {
    padding: 50px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats-section {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 40px auto;
  }
  
  .stat-card {
    padding: 20px 14px;
  }
  
  .stat-value {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 60px;
  }
  
  .feature-card {
    padding: 22px;
  }
  
  .timeline {
    flex-direction: column;
    gap: 24px;
  }
  
  .timeline::before {
    display: none;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
  }
  
  .process-section {
    padding: 40px 20px;
  }
  
  .testimonial-card {
    padding: 28px;
  }

  .screenshot-wrapper {
    min-height: 300px;
    border-radius: var(--radius-md);
  }

  .screenshot-section {
    width: calc(100vw - 16px);
    margin-top: 70px;
    margin-bottom: 70px;
  }

  .screenshot-picture img {
    min-height: 300px;
    object-fit: cover;
    object-position: left top;
  }

  .screenshot-zoom {
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .preview-detail-grid {
    gap: 14px;
    margin-top: 14px;
  }

  .preview-detail-card {
    min-height: 280px;
  }

  .preview-detail-picture img {
    width: 190%;
    height: 190%;
  }

  .image-lightbox {
    padding: 8px;
  }

  .image-lightbox-panel {
    width: 100%;
    height: calc(100dvh - 16px);
    border-radius: 20px;
  }

  .image-lightbox-bar {
    padding: 12px;
  }

  .image-lightbox-picture {
    width: max(100%, 1120px);
    padding: 10px;
  }

  .related-card {
    grid-template-columns: auto 1fr;
    min-height: 0;
    padding: 22px;
  }

  .related-arrow {
    grid-column: 2;
    justify-self: start;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(13, 27, 34, 0.22);
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-sticky-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--card-shadow);
  }

  .mobile-sticky-link--primary {
    background: var(--pp-action-gradient, linear-gradient(135deg, var(--sky), var(--brand-dark)));
    color: #ffffff;
    border-color: transparent;
  }

  .mobile-sticky-link svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .modern-container {
    width: 96vw;
  }
  
  .back-nav {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .stats-section {
    gap: 10px;
  }
  
  .stat-icon {
    width: 44px;
    height: 44px;
  }
  
  .stat-icon svg {
    width: 22px;
    height: 22px;
  }

  .mobile-sticky-cta {
    left: 8px;
    right: 8px;
    border-radius: 20px;
  }

  .mobile-sticky-link {
    padding-inline: 10px;
    font-size: 0.9rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1600px) {
  .modern-container {
    width: min(1680px, 94vw);
  }

  .screenshot-section {
    width: min(2100px, calc(100vw - 72px));
  }

  .screenshot-wrapper {
    min-height: clamp(720px, 48vw, 1180px);
  }

  .preview-detail-card {
    min-height: clamp(360px, 20vw, 520px);
  }
}

@media (min-width: 2200px) {
  .modern-container {
    width: min(1880px, 90vw);
  }

  .screenshot-section {
    width: min(2400px, calc(100vw - 120px));
  }

  .screenshot-wrapper {
    min-height: clamp(880px, 44vw, 1320px);
  }

  .image-lightbox-panel {
    width: min(96vw, 2600px);
  }

  .image-lightbox-picture {
    width: max(100%, 1900px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
