/* Shared styles for product subpages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue-50: #fff7ed; --blue-100: #ffedd5; --blue-200: #fed7aa;
  --blue-400: #fb923c; --blue-500: #f97316; --blue-600: #ea580c; --blue-700: #c2410c;
  --ink: #0f172a; --ink-2: #334155; --ink-3: #64748b; --ink-4: #94a3b8;
  --surface: #ffffff; --surface-2: #f8fafc; --surface-3: #f1f5f9; --border: #e2e8f0;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--surface); line-height: 1.6; }
h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.25; }
a { text-decoration: none; color: inherit; }

/* Nav */
nav { position: sticky; top:0; z-index:100; display:flex; align-items:center; justify-content:space-between; padding:0 40px; height:64px; background:rgba(255,255,255,.88); backdrop-filter: blur(16px); border-bottom:1px solid var(--border); }
.nav-logo { font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; font-size:20px; display:flex; align-items:center; gap:8px; white-space:nowrap; }
.nav-logo-icon { width:28px; height:28px; background:var(--blue-600); border-radius:8px; display:flex; align-items:center; justify-content:center; }
.nav-links { display:flex; gap:32px; }
.nav-links a { font-size:14px; font-weight:500; color:var(--ink-3); }
.nav-links a:hover { color:var(--ink); }
.btn-primary { font-family:'Plus Jakarta Sans',sans-serif; font-weight:600; font-size:14px; background:var(--blue-600); color:white; padding:9px 20px; border-radius:10px; border:none; cursor:pointer; display:inline-block; white-space:nowrap; flex-shrink:0; }
.btn-primary:hover { background:var(--blue-700); }

/* Page wrap */
.product-wrap { max-width: 880px; margin: 0 auto; padding: 48px 32px 96px; }
.crumbs { font-size:13px; color:var(--ink-4); margin-bottom:24px; }
.crumbs a { color:var(--ink-3); }
.crumbs a:hover { color:var(--blue-600); }

.product-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:20px; flex-wrap:wrap; }
.product-title { font-size:32px; font-weight:800; letter-spacing:-.5px; max-width:560px; }
.product-tagline { font-size:16px; color:var(--ink-3); margin-bottom:24px; max-width:640px; line-height:1.7; }
.tag-row { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px; }
.tag-pill { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:6px 10px; color:var(--ink-2); white-space:nowrap; }

/* Video / Hero card */
.hero-card { background:var(--surface-2); border:1px solid var(--border); border-radius:16px; overflow:hidden; margin-bottom:40px; }
.hero-card-frame { aspect-ratio: 16/9; background: linear-gradient(135deg, #ffedd5, #fed7aa); display:flex; align-items:center; justify-content:center; position:relative; }
.video-placeholder { display:flex; flex-direction:column; align-items:center; gap:12px; color:var(--blue-700); }
.play-btn { width:64px; height:64px; background:white; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); }
.play-btn svg { width:24px; height:24px; fill: var(--blue-600); margin-left:3px; }

h2.s { font-size:22px; font-weight:800; margin: 36px 0 14px; letter-spacing:-.3px; }
.product-wrap p { font-size:15px; color:var(--ink-2); margin-bottom:14px; line-height:1.75; }
.product-wrap p.muted { color: var(--ink-3); }
.product-wrap ul { list-style:none; margin: 8px 0 20px; display:flex; flex-direction:column; gap:10px; }
.product-wrap ul li { font-size:15px; color:var(--ink-2); padding-left:24px; position:relative; line-height:1.65; }
.product-wrap ul li::before { content:''; position:absolute; left:0; top:9px; width:14px; height:14px; background:var(--blue-50); border:1.5px solid var(--blue-400); border-radius:50%; }
.product-wrap ul li strong { color: var(--ink); font-weight:700; }
.callout { background: var(--blue-50); border:1px solid var(--blue-200); border-radius:12px; padding:16px 20px; margin: 20px 0 28px; font-size:14px; color:var(--blue-700); }

/* Screenshot placeholder card */
.shot { background:white; border:1px solid var(--border); border-radius:14px; overflow:hidden; margin: 16px 0 28px; box-shadow: var(--shadow-sm); }
.shot-bar { height:32px; background:var(--surface-2); border-bottom:1px solid var(--border); display:flex; align-items:center; gap:6px; padding:0 12px; }
.shot-bar span { width:8px; height:8px; border-radius:50%; }
.shot-body { padding:32px; min-height:200px; background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, white 12px, white 24px); display:flex; align-items:center; justify-content:center; color:var(--ink-4); font-size:13px; font-style:italic; }

/* Related */
.related { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.related h2 { font-size:24px; font-weight:800; margin-bottom:6px; }
.related .sub { color:var(--ink-3); font-size:14px; margin-bottom:24px; }
.related-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.related-card { background:white; border:1px solid var(--border); border-radius:12px; padding:18px; transition: box-shadow .15s, transform .15s; }
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card .icons { display:flex; gap:6px; margin-bottom:10px; }
.related-card .icons .ic { width:24px; height:24px; border-radius:6px; }
.related-card h3 { font-size:14px; font-weight:700; margin-bottom:6px; }
.related-card p { font-size:12px; color:var(--ink-3); line-height:1.55; margin-bottom:12px; }
.related-card .row { display:flex; align-items:center; justify-content:space-between; }
.related-card .pill { font-size:11px; font-weight:600; color:var(--ink-3); background:var(--surface-2); border-radius:6px; padding:3px 8px; }
.related-card .view { font-size:12px; font-weight:600; color:var(--blue-600); }

/* Bottom CTA */
.bottom-cta { margin-top:64px; background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); border-radius:20px; padding:48px 40px; text-align:center; color:white; }
.bottom-cta h2 { font-size:28px; font-weight:800; margin-bottom:10px; letter-spacing:-.5px; }
.bottom-cta p { color: rgba(255,255,255,.85); margin-bottom:24px; font-size:15px; }
.btn-white { display:inline-block; background:white; color:var(--blue-600); font-weight:700; font-size:15px; padding:13px 28px; border-radius:12px; }

@media (max-width: 720px) {
  .related-grid { grid-template-columns: 1fr; }
  .product-title { font-size: 26px; }
  nav .nav-links { display:none; }
}

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-wrap .crumbs     { animation: fade-up .55s cubic-bezier(.22,1,.36,1) both; }
.product-wrap .product-header { animation: fade-up .55s cubic-bezier(.22,1,.36,1) .06s both; }
.product-wrap .product-tagline{ animation: fade-up .55s cubic-bezier(.22,1,.36,1) .12s both; }
.product-wrap .tag-row    { animation: fade-up .55s cubic-bezier(.22,1,.36,1) .18s both; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }
