/* ==========================================================================
   Paperweight Official Website Stylesheet
   Warm Paper Light Editorial Theme
   Responsive for Desktop (1440px), Tablet (820px), and Mobile (390px)
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Palette - Light Theme */
  --bg-page: #f7f5f0;
  --bg-card: #ffffff;
  --bg-privacy: #1a1a18;

  --text-main: #1a1a18;
  --text-body: #59554d;
  --text-muted: #787368;
  --text-eyebrow: #7d6e27;

  --gold-accent: #f2cf45;
  --gold-hover: #e8c433;

  --border-hairline: #e5e0d5;
  --border-button: #d5d0c5;
  --border-privacy: #2e2d29;

  --status-green: #27ae60;
  --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --progress-track: #efece4;
  --header-bg: rgba(247, 245, 240, 0.88);
  --text-on-gold: #111113;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  /* Palette - Dark Theme (Graphite Desk) */
  --bg-page: #151517;
  --bg-card: #1f1f22;
  --bg-privacy: #111113;

  --text-main: #f4f4f6;
  --text-body: #a9a7a0;
  --text-muted: #888680;
  --text-eyebrow: #f2cf45;

  --gold-accent: #f2cf45;
  --gold-hover: #e8c433;

  --border-hairline: #2c2c30;
  --border-button: #38383e;
  --border-privacy: #26262b;

  --status-green: #2ecc71;
  --card-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25);
  --progress-track: #2c2c30;
  --header-bg: rgba(21, 21, 23, 0.88);
  --text-on-gold: #111113;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: clip;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 66px;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: clip;
}

main {
  padding-top: 66px;
}

.container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 96px;
}

/* ==========================================================================
   Typography & Shared Elements
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-eyebrow);
}

.section-heading {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 8px 0 44px 0;
  line-height: 1.15;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: none;
}

.btn-pill-nav {
  background: var(--gold-accent);
  color: var(--text-on-gold);
  border: 1px solid var(--gold-accent);
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  height: 38px;
  box-sizing: border-box;
}

.btn-pill-nav:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--text-on-gold);
}

.btn-primary {
  background: var(--gold-accent);
  color: var(--text-on-gold);
  border: 1px solid var(--gold-accent);
  width: 160px;
  height: 52px;
  padding: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--text-on-gold);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-button);
  width: 160px;
  height: 52px;
  padding: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: var(--border-hairline);
  border-color: var(--text-main);
  color: var(--text-main);
}

.btn-download {
  background: var(--gold-accent);
  color: var(--text-on-gold);
  border: 1px solid var(--gold-accent);
  width: 200px;
  height: 50px;
  padding: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
}

.btn-download:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--text-on-gold);
}

.btn-copy {
  background: var(--bg-card);
  border: 1px solid var(--border-button);
  border-radius: 8px;
  padding: 6px 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: #fdfdfc;
  border-color: var(--text-main);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-svg {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  border-radius: 7px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-link {
  font-size: 14.5px;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.header-link:hover {
  color: var(--text-main);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  background: var(--bg-card);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease-out;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--border-hairline);
  transform: scale(1.05);
}

.theme-toggle-btn svg {
  width: 17px;
  height: 17px;
}

:root[data-theme="dark"] .theme-toggle-btn .icon-moon {
  display: none;
}
:root[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: block;
}

:root:not([data-theme="dark"]) .theme-toggle-btn .icon-moon {
  display: block;
}
:root:not([data-theme="dark"]) .theme-toggle-btn .icon-sun {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 68px 0 96px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin: 14px 0 0 0;
}

.highlight-box {
  background: var(--gold-accent);
  color: var(--text-on-gold);
  border-radius: 6px;
  padding: 1px 12px;
  display: inline-block;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.br-mobile {
  display: none;
}

.br-desktop {
  display: block;
}

.hero-subtext-block {
  margin: 24px 0 0 0;
  max-width: 520px;
  min-height: 104px;
}

.subtext-services-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.subtext-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-hairline);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
}

.subtext-pill:hover {
  color: var(--text-main);
  border-color: var(--border-button);
}

.subtext-pill:focus {
  outline: none;
}

.subtext-pill:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 2px;
}

.subtext-pill:not(.active):focus,
.subtext-pill:not(.active):focus-visible {
  outline: none !important;
}

.subtext-pill.active {
  background: var(--gold-accent);
  color: var(--text-on-gold);
  border-color: var(--gold-accent);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(242, 207, 69, 0.28);
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 480px;
  margin: 20px 0 0 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

/* Hero Stage Column & Typing Heading Above Card */
.hero-stage-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  justify-self: center;
}

.hero-card-header {
  width: 100%;
  max-width: 480px;
  text-align: center;
  margin-bottom: 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-heading {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.typing-cursor {
  display: inline-block;
  margin-left: 3px;
  font-weight: 400;
  color: var(--text-main);
  opacity: 1;
  animation: cursorBlink 0.75s step-start infinite;
}

.hero-mobile-typing-subtext {
  display: none;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Widget: Service Cards Showcase (GPU Grid Stacking Context) */
.hero-widget-wrap {
  display: grid;
  grid-template-areas: "hero-card";
  justify-items: center;
  align-items: center;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 480px;
  min-height: 334px;
  position: relative;
}

/* Service Preview Card Base */
.service-preview-card {
  grid-area: hero-card;
  width: 100%;
  max-width: 480px;
  height: 382px;
  box-sizing: border-box;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-hairline);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.97) translate3d(0, 6px, 0);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
  will-change: transform, opacity;
}

.hero-widget-wrap .service-preview-card {
  height: 334px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px;
  transition: none !important;
}

/* In features section, all cards are visible and animated via GSAP */
.features-section .service-preview-card {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
  height: auto;
}

.features-section .spc-stage {
  margin-top: 28px;
}

/* Hero active card */
.hero-widget-wrap .service-preview-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1) translate3d(0, 0, 0);
  z-index: 2;
  transition: none !important;
}

/* Hero card leaving transition */
.hero-widget-wrap .service-preview-card.card-leaving {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.98) translate3d(0, -6px, 0) !important;
  z-index: 1 !important;
  transition: none !important;
}

/* All showcase cards (hero and features) are driven deterministically by GSAP timeline engine */
.hero-widget-wrap .service-preview-card,
.hero-widget-wrap .service-preview-card *,
.features-section .service-preview-card,
.features-section .service-preview-card * {
  animation: none !important;
  will-change: transform, opacity;
}

/* ==========================================================================
   Internal Card Animations (GPU Accelerated, Zero Shiver)
   ========================================================================== */

/* Universal Stat and Highlight Pop */
@keyframes badgePopCalm {
  0% { opacity: 0.6; }
  50% { opacity: 1; text-shadow: 0 0 10px rgba(242, 207, 69, 0.6); }
  100% { opacity: 1; }
}

/* --- Card 1: PDF Compression Dynamic Animations --- */
.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-col:first-child .spc-sheet-stack {
  animation: stackHeavyPresence 2.4s ease 0.1s 1 forwards;
}
@keyframes stackHeavyPresence {
  0% { transform: scale(1.02); }
  50% { transform: scale(1); }
  100% { transform: scale(1); }
}

.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-arrow {
  animation: arrowCompressJet 2.2s cubic-bezier(0.34, 1.3, 0.64, 1) 0.4s 1 forwards;
}
@keyframes arrowCompressJet {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
  45% { transform: translate3d(7px, 0, 0) scale(1.35); opacity: 1; color: var(--gold-accent); filter: drop-shadow(0 0 10px rgba(242, 207, 69, 0.9)); }
  75% { transform: translate3d(2px, 0, 0) scale(1.05); opacity: 0.9; color: var(--gold-accent); }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
}

/* Compression Laser Beam Sweep across right compressed document */
.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-col:last-child .spc-doc-sheet::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2.5px;
  background: #f2cf45;
  box-shadow: 0 0 12px #f2cf45, 0 0 24px rgba(242, 207, 69, 0.9);
  opacity: 0;
  z-index: 15;
  pointer-events: none;
  animation: compressBeamSweep 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.55s 1 forwards;
  will-change: transform, opacity;
}
@keyframes compressBeamSweep {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate3d(0, 155px, 0); opacity: 0; }
}

/* Mechanical/Digital Compression Crunch (Squash & Stretch impact) */
.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-col:last-child .spc-doc-sheet {
  animation: compressSquashCrunch 2.2s cubic-bezier(0.2, 0.9, 0.3, 1) 0.45s 1 both;
  will-change: transform, box-shadow;
}
@keyframes compressSquashCrunch {
  0% {
    opacity: 0.3;
    transform: scale(1.06, 1.08) translate3d(0, 6px, 0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  38% {
    opacity: 0.85;
    transform: scale(1.02, 1.02) translate3d(0, 2px, 0);
  }
  58% {
    opacity: 1;
    transform: scale(0.93, 0.91) translate3d(0, -2px, 0);
    box-shadow: 0 0 26px rgba(242, 207, 69, 0.6), 0 12px 28px rgba(0, 0, 0, 0.3);
  }
  78% {
    transform: scale(1.02, 1.01) translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1) translate3d(0, 0, 0);
    box-shadow: 0 0 14px rgba(242, 207, 69, 0.25), 0 8px 24px rgba(0, 0, 0, 0.22);
  }
}

/* Internal wireframe lines pack tightly and sharpen */
.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-col:last-child .doc-wire-block {
  animation: wireframeCondense 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s 1 both;
}
@keyframes wireframeCondense {
  0% { opacity: 0.3; transform: scaleY(1.3); }
  60% { opacity: 1; transform: scaleY(0.9); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* 1.98 MB metric pop */
.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-value-highlight {
  animation: valueCrunchPop 1.8s cubic-bezier(0.34, 1.45, 0.64, 1) 1.15s 1 forwards;
  display: inline-block;
}
@keyframes valueCrunchPop {
  0% { transform: scale(0.85); opacity: 0.4; }
  60% { transform: scale(1.22); opacity: 1; color: var(--gold-accent); text-shadow: 0 0 14px rgba(242, 207, 69, 0.8); }
  100% { transform: scale(1); opacity: 1; color: var(--gold-accent); }
}

/* 84% smaller stat badge energetic impact */
.hero-widget-wrap .service-preview-card[data-card="compress"].active .spc-stat-highlight {
  animation: badgeImpactPop 1.8s cubic-bezier(0.34, 1.45, 0.64, 1) 1.35s 1 forwards;
  display: inline-block;
}
@keyframes badgeImpactPop {
  0% { transform: scale(0.75); opacity: 0.3; }
  60% { transform: scale(1.25); opacity: 1; text-shadow: 0 0 16px rgba(242, 207, 69, 0.9); }
  100% { transform: scale(1); opacity: 1; text-shadow: 0 0 4px rgba(242, 207, 69, 0.3); }
}

/* --- Card 2: Scan to PDF Animations --- */
.compress-laser-beam,
.scan-laser-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2.5px;
  background: #f2cf45;
  box-shadow: 0 0 10px #f2cf45, 0 0 20px rgba(242, 207, 69, 0.8);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-widget-wrap .service-preview-card[data-card="scan"].active .scan-laser-beam {
  animation: laserSweepGPU 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s 1 forwards;
}
@keyframes laserSweepGPU {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translate3d(0, 155px, 0); opacity: 0; }
}

.hero-widget-wrap .service-preview-card[data-card="scan"].active .spc-col:last-child .spc-doc-sheet {
  animation: cleanPdfReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.4s 1 both;
}
@keyframes cleanPdfReveal {
  0% { opacity: 0.35; transform: translate3d(0, 4px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hero-widget-wrap .service-preview-card[data-card="scan"].active .spc-stat-highlight {
  animation: badgePopCalm 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.8s 1 forwards;
}

/* --- Card 3: Resize Dynamic Animations --- */
.crop-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(to right, transparent 33%, rgba(242, 207, 69, 0.25) 33%, rgba(242, 207, 69, 0.25) 34%, transparent 34%, transparent 66%, rgba(242, 207, 69, 0.25) 66%, rgba(242, 207, 69, 0.25) 67%, transparent 67%),
    linear-gradient(to bottom, transparent 33%, rgba(242, 207, 69, 0.25) 33%, rgba(242, 207, 69, 0.25) 34%, transparent 34%, transparent 66%, rgba(242, 207, 69, 0.25) 66%, rgba(242, 207, 69, 0.25) 67%, transparent 67%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .crop-overlay-box {
  animation: cropBoxDynamicSnap 2.2s cubic-bezier(0.34, 1.35, 0.64, 1) 0.35s 1 forwards;
  will-change: transform, box-shadow;
}
@keyframes cropBoxDynamicSnap {
  0% {
    transform: scale(1.22, 0.72) translate3d(0, 6px, 0);
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.4);
    border-color: rgba(242, 207, 69, 0.45);
  }
  30% {
    transform: scale(1.22, 0.72) translate3d(0, 6px, 0);
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.4);
  }
  75% {
    transform: scale(0.97, 0.97) translate3d(0, 0, 0);
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.65), 0 0 16px rgba(242, 207, 69, 0.6);
    border-color: #f2cf45;
  }
  100% {
    transform: scale(1, 1) translate3d(0, 0, 0);
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.65), 0 0 12px rgba(242, 207, 69, 0.4);
    border-color: #f2cf45;
  }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .crop-handle {
  animation: cropHandleSnap 2.2s cubic-bezier(0.34, 1.35, 0.64, 1) 0.35s 1 forwards;
}
@keyframes cropHandleSnap {
  0%, 30% { transform: scale(1.4); background: #ffffff; }
  75% { transform: scale(0.9); background: #f2cf45; }
  100% { transform: scale(1); background: #f2cf45; }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .crop-grid-lines {
  animation: cropGridPulse 2.2s ease 0.4s 1 forwards;
}
@keyframes cropGridPulse {
  0%, 25% { opacity: 0; }
  55%, 85% { opacity: 1; }
  100% { opacity: 0.65; }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .crop-dim-tag {
  animation: cropTagBounce 2.2s cubic-bezier(0.34, 1.4, 0.64, 1) 0.35s 1 forwards;
}
@keyframes cropTagBounce {
  0%, 30% { transform: translate3d(-50%, 0, 0) scale(0.9); opacity: 0.7; }
  75% { transform: translate3d(-50%, 0, 0) scale(1.18); opacity: 1; box-shadow: 0 0 10px #f2cf45; }
  100% { transform: translate3d(-50%, 0, 0) scale(1); opacity: 1; }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .spc-arrow {
  animation: arrowCropGlide 2s ease-in-out infinite;
}
@keyframes arrowCropGlide {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.5; }
  50% { transform: translate3d(4px, 0, 0) scale(1.2); opacity: 1; color: var(--gold-accent); }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .spc-photo-cropped {
  animation: croppedFrameZoom 2.0s cubic-bezier(0.16, 1, 0.3, 1) 1.2s 1 both;
  will-change: transform, box-shadow;
}
@keyframes croppedFrameZoom {
  0% {
    opacity: 0.3;
    transform: scale(0.88);
    box-shadow: 0 0 0 rgba(242, 207, 69, 0);
  }
  60% {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(242, 207, 69, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 14px rgba(242, 207, 69, 0.3), 0 8px 24px rgba(0, 0, 0, 0.28);
  }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .crop-ratio-badge {
  animation: badgeSlideIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.4s 1 both;
}
@keyframes badgeSlideIn {
  0% { transform: translate3d(8px, -4px, 0); opacity: 0; }
  100% { transform: translate3d(0, 0, 0); opacity: 1; }
}

.hero-widget-wrap .service-preview-card[data-card="resize"].active .spc-value-highlight,
.hero-widget-wrap .service-preview-card[data-card="resize"].active .spc-stat-highlight {
  animation: badgePopCalm 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.6s 1 forwards;
}

/* --- Card 4: Merge Dynamic Animations (Driven deterministically by GSAP timeline engine) --- */
.hero-widget-wrap .service-preview-card[data-card="merge"] .sheet-1,
.hero-widget-wrap .service-preview-card[data-card="merge"] .sheet-2,
.hero-widget-wrap .service-preview-card[data-card="merge"] .sheet-3,
.hero-widget-wrap .service-preview-card[data-card="merge"] .spc-arrow,
.hero-widget-wrap .service-preview-card[data-card="merge"] .spc-doc-merged,
.hero-widget-wrap .service-preview-card[data-card="merge"] .slice-blue,
.hero-widget-wrap .service-preview-card[data-card="merge"] .slice-green,
.hero-widget-wrap .service-preview-card[data-card="merge"] .slice-gold,
.hero-widget-wrap .service-preview-card[data-card="merge"] .doc-merged-stamp,
.hero-widget-wrap .service-preview-card[data-card="merge"] .spc-value-highlight,
.hero-widget-wrap .service-preview-card[data-card="merge"] .spc-stat-highlight {
  animation: none !important;
  will-change: transform, opacity;
}

/* --- Card 5: Convert Dynamic Animations --- */
.hero-widget-wrap .service-preview-card[data-card="convert"].active .cb-1 {
  animation: barRiseSeq 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s 1 both;
}
.hero-widget-wrap .service-preview-card[data-card="convert"].active .cb-2 {
  animation: barRiseSeq 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s 1 both;
}
.hero-widget-wrap .service-preview-card[data-card="convert"].active .cb-3 {
  animation: barRiseSeq 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s 1 both;
}
.hero-widget-wrap .service-preview-card[data-card="convert"].active .cb-4 {
  animation: barRiseSeq 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s 1 both;
}
@keyframes barRiseSeq {
  0% { transform: scaleY(0.1); transform-origin: bottom; opacity: 0.2; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

.hero-widget-wrap .service-preview-card[data-card="convert"].active .spc-arrow {
  animation: arrowConvertSpinFast 1.8s cubic-bezier(0.34, 1.25, 0.64, 1) 0.7s 1;
}
@keyframes arrowConvertSpinFast {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); color: var(--gold-accent); }
  100% { transform: rotate(360deg) scale(1); }
}

.hero-widget-wrap .service-preview-card[data-card="convert"].active .tile-back {
  animation: tileBackFanOut 2.2s cubic-bezier(0.16, 1, 0.3, 1) 1.0s 1 both;
  will-change: transform, opacity;
}
@keyframes tileBackFanOut {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.2; }
  60% { transform: translate3d(18px, -12px, 0) rotate(9deg); opacity: 0.9; }
  100% { transform: translate3d(14px, -10px, 0) rotate(7deg); opacity: 0.85; }
}

.hero-widget-wrap .service-preview-card[data-card="convert"].active .tile-front {
  animation: tileFrontPopOut 2.2s cubic-bezier(0.16, 1, 0.3, 1) 1.0s 1 both;
  will-change: transform, opacity, box-shadow;
}
@keyframes tileFrontPopOut {
  0% {
    transform: translate3d(10px, 10px, 0) scale(0.85);
    opacity: 0.2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  60% {
    transform: translate3d(-6px, 6px, 0) scale(1.04) rotate(-2deg);
    opacity: 1;
    box-shadow: 0 14px 32px rgba(0,0,0,0.32), 0 0 18px rgba(242, 207, 69, 0.45);
  }
  100% {
    transform: translate3d(-4px, 4px, 0) scale(1) rotate(-1.5deg);
    opacity: 1;
    box-shadow: 0 10px 24px rgba(0,0,0,0.26), 0 0 12px rgba(242, 207, 69, 0.3);
  }
}

.hero-widget-wrap .service-preview-card[data-card="convert"].active .img-ext-badge {
  animation: badgeGlow 1.6s ease 1.3s 1 forwards;
}
@keyframes badgeGlow {
  0% { background: #3b82f6; }
  50% { background: var(--gold-accent); color: #111113; box-shadow: 0 0 10px rgba(242, 207, 69, 0.8); }
  100% { background: #3b82f6; color: #ffffff; }
}

.hero-widget-wrap .service-preview-card[data-card="convert"].active .spc-value-highlight,
.hero-widget-wrap .service-preview-card[data-card="convert"].active .spc-stat-highlight {
  animation: badgePopCalm 1.6s cubic-bezier(0.16, 1, 0.3, 1) 1.8s 1 forwards;
}

/* Document Wireframe Elements (Minimal branding graphics) */
.doc-wire-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 2px 2px 2px;
  width: 100%;
  box-sizing: border-box;
}
.doc-wire-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.doc-wire-block {
  height: 3.5px;
  background: #e2dfd7;
  border-radius: 2px;
}
:root[data-theme="dark"] .doc-wire-block {
  background: #36363c;
}
.spc-doc-sheet .doc-wire-block {
  background: #e2dfd7;
}
.doc-wire-block.w-full { width: 100%; }
.doc-wire-block.w-85 { width: 85%; }
.doc-wire-block.w-70 { width: 70%; }
.doc-wire-block.w-60 { width: 60%; }
.doc-wire-block.w-50 { width: 50%; }
.doc-wire-block.w-45 { width: 45%; }
.doc-wire-block.w-40 { width: 40%; }
.doc-wire-block.w-35 { width: 35%; }
.doc-wire-block.w-30 { width: 30%; }
.doc-wire-block.w-25 { width: 25%; }
.doc-wire-block.w-20 { width: 20%; }
.doc-wire-block.gold { background: var(--gold-accent); opacity: 0.85; }
.doc-wire-block.dark { background: #111113; opacity: 0.8; }
.doc-wire-divider {
  height: 1px;
  background: #e6e3da;
  margin: 3px 0;
  width: 100%;
}
.doc-wire-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #c8c5bc;
  padding-top: 4px;
  margin-top: 3px;
  width: 100%;
}
.receipt-brand-line {
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #111;
  text-align: center;
  margin-bottom: 3px;
}
.receipt-divider-dash {
  border-top: 0.5px dashed #bbb;
  margin: 3px 0;
  width: 100%;
}
.receipt-wire-lines .doc-wire-block {
  background: #d5d1c6;
}
.invoice-header-bar {
  background: #111113;
  color: #ffffff;
}
.invoice-header-bar .doc-bank-brand,
.invoice-header-bar .doc-bank-type {
  color: #ffffff;
}

/* Card Header */
.spc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spc-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spc-icon {
  color: var(--text-main);
  flex-shrink: 0;
}

.spc-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.spc-badge {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.spc-subtitle {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 5px;
  margin-bottom: 4px;
}

/* Card Stage (Comparison) */
.spc-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 20px 0;
}

.spc-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.spc-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0.8;
  padding: 0 4px;
}

.spc-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 500;
}

.spc-value {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.spc-value-highlight {
  color: var(--gold-accent);
}

/* Card Footer */
.spc-footer {
  border-top: 1px solid var(--border-hairline);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}

.spc-footer-left {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 13px;
}

.spc-lock-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.spc-stat-highlight {
  font-weight: 700;
  color: var(--gold-accent);
  font-size: 14.5px;
}

/* Document & Visual Sheet Elements */
.spc-sheet-stack {
  position: relative;
  width: 138px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spc-sheet-bg {
  position: absolute;
  width: 132px;
  height: 164px;
  background: #e4e2dc;
  border-radius: 6px;
  transform: rotate(-3deg) translate(-2px, -2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

:root[data-theme="dark"] .spc-sheet-bg {
  background: #2a2a2e;
  border: 1px solid #38383e;
}

.spc-doc-sheet {
  position: relative;
  width: 132px;
  height: 164px;
  background: #ffffff;
  border-radius: 6px;
  padding: 8px 8.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #1a1a18;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.doc-header-bar {
  background: #f2cf45;
  border-radius: 2.5px;
  padding: 2.5px 4.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.5px;
}

.doc-bank-brand {
  font-size: 6.8px;
  font-weight: 800;
  color: #111113;
  letter-spacing: -0.01em;
}

.doc-bank-type {
  font-size: 5.2px;
  font-weight: 600;
  color: #111113;
}

.doc-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 4.8px;
  color: #666;
  margin-bottom: 2px;
}

.doc-meta-period {
  font-size: 4.6px;
  color: #777;
  margin-bottom: 4px;
}

.doc-table {
  width: 100%;
  border-top: 0.5px solid #e0ded9;
  display: flex;
  flex-direction: column;
}

.doc-tr {
  display: flex;
  justify-content: space-between;
  font-size: 4.4px;
  line-height: 1.35;
  padding: 1.5px 0;
  border-bottom: 0.5px solid #f2f0eb;
  color: #333;
}

.doc-tr span:nth-child(1) { width: 22px; }
.doc-tr span:nth-child(2) { flex: 1; text-align: left; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-tr span:nth-child(3) { width: 34px; text-align: right; font-weight: 600; }

.doc-th {
  font-weight: 700;
  color: #111;
  border-bottom: 0.75px solid #ccc;
  padding-bottom: 1.5px;
}

.doc-total {
  font-weight: 700;
  border-top: 0.75px solid #bbb;
  border-bottom: none;
  padding-top: 2px;
  margin-top: 1px;
  color: #111;
}

/* Service 2: Scan to PDF elements */
.spc-camera-photo {
  width: 132px;
  height: 164px;
  background: #18181b;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2e;
}

.camera-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #f2cf45;
  border-style: solid;
  pointer-events: none;
}
.corner-tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.corner-tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.receipt-skewed {
  width: 98px;
  background: #faf8f3;
  border-radius: 3px;
  padding: 6px 7px;
  transform: rotate(-6deg) skew(-2deg, 1deg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
  color: #222;
  font-family: monospace;
}
.receipt-title { font-size: 6.2px; font-weight: 700; text-align: center; letter-spacing: 0.05em; color: #111; }
.receipt-date { font-size: 4.4px; color: #666; text-align: center; margin-bottom: 4px; border-bottom: 0.5px dashed #ccc; padding-bottom: 2px; }
.receipt-items div { display: flex; justify-content: space-between; font-size: 4.4px; line-height: 1.4; color: #333; }
.receipt-total { border-top: 0.5px dashed #aaa; margin-top: 2px; padding-top: 2px; font-weight: 700; color: #111; }

.doc-pdf-badge-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #e74c3c;
  color: #ffffff;
  font-size: 5.5px;
  font-weight: 800;
  padding: 1.5px 4px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.receipt-clean {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.receipt-title-clean { font-size: 6.8px; font-weight: 800; color: #111; }
.receipt-date-clean { font-size: 4.8px; color: #666; margin-bottom: 4px; }
.receipt-divider { height: 0.5px; background: #e0ded9; margin-bottom: 4px; }
.receipt-barcode { font-size: 6px; letter-spacing: 2px; color: #444; margin-top: auto; text-align: center; font-family: monospace; }

/* Service 3: Resize elements */
.spc-photo-original {
  width: 132px;
  height: 164px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
}
.photo-person {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.person-head {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2cf45;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.person-body {
  width: 48px;
  height: 38px;
  border-radius: 24px 24px 4px 4px;
  background: #64748b;
  margin-top: 3px;
}
.crop-overlay-box {
  position: absolute;
  width: 82px;
  height: 82px;
  top: 26px;
  left: 25px;
  border: 1.5px dashed #f2cf45;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.crop-handle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #f2cf45;
  border-radius: 1px;
}
.ch-tl { top: -3px; left: -3px; }
.ch-tr { top: -3px; right: -3px; }
.ch-bl { bottom: -3px; left: -3px; }
.ch-br { bottom: -3px; right: -3px; }
.crop-dim-tag {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5px;
  font-family: monospace;
  background: #f2cf45;
  color: #111;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 2px;
  white-space: nowrap;
}

.spc-photo-cropped {
  width: 132px;
  height: 164px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
}
.person-head-framed {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f2cf45;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.person-body-framed {
  width: 68px;
  height: 52px;
  border-radius: 34px 34px 4px 4px;
  background: #64748b;
  margin-top: 4px;
}
.crop-ratio-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(242, 207, 69, 0.2);
  color: #f2cf45;
  border: 0.5px solid #f2cf45;
  font-size: 5.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
}

/* Service 4: Merge elements */
.spc-merge-source-stack {
  position: relative;
}
.mini-file-sheet {
  position: absolute;
  width: 104px;
  height: 68px;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
}
.sheet-1 { top: 12px; left: 8px; transform: rotate(-4deg); z-index: 1; }
.sheet-2 { top: 48px; left: 16px; transform: rotate(2deg); z-index: 2; }
.sheet-3 { top: 84px; left: 10px; transform: rotate(-2deg); z-index: 3; }
.sheet-badge-contract { font-size: 5px; font-weight: 800; color: #2563eb; background: #dbeafe; padding: 1px 3px; border-radius: 2px; align-self: flex-start; }
.sheet-badge-appendix { font-size: 5px; font-weight: 800; color: #059669; background: #d1fae5; padding: 1px 3px; border-radius: 2px; align-self: flex-start; }
.sheet-badge-id { font-size: 5px; font-weight: 800; color: #d97706; background: #fef3c7; padding: 1px 3px; border-radius: 2px; align-self: flex-start; }
.sheet-text-lines, .sheet-table-lines, .sheet-avatar-line {
  height: 2px;
  background: #e2e8f0;
  border-radius: 1px;
  margin-top: 4px;
  box-shadow: 0 4px 0 #e2e8f0, 0 8px 0 #e2e8f0;
}
.spc-doc-merged {
  border-left: 5px solid #111113;
}
.doc-merged-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.doc-merged-title { font-size: 6.8px; font-weight: 800; color: #111; }
.doc-page-count { font-size: 5px; font-weight: 700; background: #f2cf45; color: #111; padding: 1px 3.5px; border-radius: 2px; }
.merged-preview-slices {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  margin-top: 6px;
}
.slice-item {
  height: 18px;
  border-radius: 2.5px;
  border-left: 3px solid transparent;
  background: #f8fafc;
  box-shadow: inset 0 0 0 0.5px #e2e8f0;
}
.slice-blue { border-left-color: #2563eb; }
.slice-green { border-left-color: #059669; }
.slice-gold { border-left-color: #d97706; }
.doc-merged-stamp {
  font-size: 5.5px;
  font-weight: 900;
  color: #059669;
  border: 1px solid #059669;
  padding: 1.5px 4px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  align-self: flex-end;
  margin-top: auto;
}

/* Service 5: Convert elements */
.doc-pdf-red { background: #dc2626; }
.slide-title { font-size: 6.8px; font-weight: 800; color: #111; margin-bottom: 6px; }
.slide-chart-preview {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  padding-bottom: 4px;
  border-bottom: 1px solid #cbd5e1;
  margin-bottom: 6px;
}
.chart-bar {
  flex: 1;
  border-radius: 1.5px 1.5px 0 0;
  background: #3b82f6;
}
.cb-1 { height: 40%; background: #93c5fd; }
.cb-2 { height: 75%; background: #60a5fa; }
.cb-3 { height: 95%; background: #2563eb; }
.cb-4 { height: 60%; background: #1d4ed8; }
.slide-footer-tag { font-size: 4.8px; color: #64748b; font-family: monospace; }
.spc-convert-out-stack {
  position: relative;
}
.image-extract-tile {
  position: absolute;
  width: 120px;
  height: 140px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 7px;
}
.tile-layer-4 {
  top: 5px;
  left: 17px;
  background: #cbd5e1;
  transform: rotate(6deg);
  z-index: 1;
}
.tile-layer-3 {
  top: 8px;
  left: 14px;
  background: #e2e8f0;
  transform: rotate(-3deg);
  z-index: 2;
}
.tile-back {
  top: 10px;
  left: 12px;
  background: #f1f5f9;
  transform: rotate(3deg);
  z-index: 3;
}
.tile-front {
  top: 14px;
  left: 6px;
  background: #ffffff;
  transform: rotate(-1deg);
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.img-ext-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.img-ext-badge { font-size: 5px; font-weight: 800; background: #059669; color: #ffffff; padding: 1.5px 3.5px; border-radius: 2px; }
.img-ext-dim { font-size: 4.6px; color: #64748b; font-family: monospace; }
.img-ext-body {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 6px;
}
.img-ext-footer {
  font-size: 5px;
  font-family: monospace;
  color: #059669;
  font-weight: 700;
  margin-top: auto;
}

/* ==========================================================================
   Features Section: "Five jobs, one app."
   ========================================================================== */

.features-section {
  padding: 80px 0 100px 0;
}

.features-list {
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content-col {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.feature-meta-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-accent);
  flex-shrink: 0;
}

.feature-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.015em;
}

.feature-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 20px 0;
}

.feature-try-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gold-accent);
  transition: gap 0.15s ease, color 0.15s ease;
  align-self: flex-start;
}

.feature-try-link:hover {
  color: var(--gold-hover);
  gap: 10px;
}

.feature-card-col {
  flex: 1;
  max-width: 480px;
  display: flex;
  justify-content: center;
}

.feature-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-main);
  width: 260px;
  flex-shrink: 0;
}

.feature-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-body);
  flex: 1;
}

/* ==========================================================================
   Privacy Section
   ========================================================================== */

.privacy-section {
  padding: 40px 0 100px 0;
}

.privacy-card {
  background: var(--bg-privacy);
  border-radius: 24px;
  padding: 64px 72px;
  color: #ffffff;
}

.privacy-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #8a867e;
  text-transform: uppercase;
}

.privacy-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 14px 0 0 0;
}

.highlight-gold {
  color: var(--gold-accent);
}

.privacy-body {
  font-size: 17px;
  line-height: 1.6;
  color: #b8b4aa;
  max-width: 700px;
  margin: 22px 0 0 0;
}

.privacy-divider {
  width: 100%;
  height: 1px;
  background: var(--border-privacy);
  margin: 52px 0 26px 0;
}

.privacy-badges {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #8a867e;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Download Section
   ========================================================================== */

.download-section {
  padding: 40px 0 80px 0;
}

.download-list {
  border-top: 1px solid var(--border-hairline);
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.download-platform-col {
  width: 180px;
  flex-shrink: 0;
}

.platform-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.platform-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.download-meta-col {
  flex: 1;
  min-width: 0;
}

.meta-version {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hash-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hash-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-body);
  min-width: 0;
}

.hash-label {
  color: var(--text-muted);
  flex-shrink: 0;
}

.hash-value {
  color: var(--text-main);
  word-break: break-all;
  min-width: 0;
}

.download-action-col {
  flex-shrink: 0;
}

.download-notice {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin: 36px 0 0 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 48px 0 64px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-body);
}

.footer-credit {
  color: var(--text-muted);
}

.footer-author-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-author-link:hover {
  color: var(--gold-accent);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-body);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Responsive Breakpoints: Tablet (820px)
   ========================================================================== */

@media (max-width: 960px) {
  html {
    scroll-padding-top: 62px;
  }

  main {
    padding-top: 62px;
  }

  .container {
    padding: 0 48px;
  }

  .header-inner {
    height: 62px;
  }

  .header-nav {
    display: none;
  }

  .header-right {
    gap: 14px;
  }

  .hero-section {
    padding: 48px 0 70px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 58px;
    line-height: 1.1;
  }

  .br-desktop {
    display: none;
  }

  .highlight-box {
    padding: 1px 10px;
  }

  .hero-stage-column {
    display: none;
  }

  .hero-subtitle {
    display: none;
  }

  .hero-mobile-typing-subtext {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.015em;
    margin: 20px 0 0 0;
    min-height: 38px;
    line-height: 1.25;
  }

  .hero-mobile-typing-subtext .typing-cursor {
    color: var(--text-main);
  }

  .hero-widget-wrap {
    display: none;
  }

  .feature-card-col {
    display: none !important;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    display: block;
    padding: 26px 0;
    border-bottom: 1px solid var(--border-hairline);
  }

  .feature-content-col {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
    width: 100%;
    max-width: 100%;
  }

  .feature-meta-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-shrink: 0;
  }

  .feature-num {
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--text-muted);
    width: 44px;
    flex-shrink: 0;
  }

  .feature-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-main);
    width: 200px;
    flex-shrink: 0;
    margin: 0;
  }

  .feature-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text-body);
    flex: 1;
    margin: 0;
    max-width: none;
  }

  .feature-try-link {
    display: none;
  }

  .privacy-card {
    padding: 48px 44px;
  }

  .privacy-heading {
    font-size: 34px;
  }

  .privacy-badges {
    gap: 28px;
  }

  .download-item {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 18px;
    padding: 26px 0;
  }

  .download-platform-col {
    width: auto;
  }

  .download-action-col {
    justify-self: end;
  }

  .download-meta-col {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding: 40px 0 56px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ==========================================================================
   Responsive Breakpoints: Mobile (390px)
   ========================================================================== */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 58px;
  }

  main {
    padding-top: 58px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 58px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-logo-svg {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .brand-link {
    gap: 10px;
    flex-shrink: 0;
  }

  .header-right {
    gap: 12px;
    flex-shrink: 0;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .theme-toggle-btn svg {
    width: 16px;
    height: 16px;
  }

  .btn-pill-nav {
    padding: 0 14px;
    font-size: 13px;
    border-radius: 9px;
    height: 36px;
    flex-shrink: 0;
  }

  .hero-section {
    padding: 32px 0 54px 0;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .br-desktop {
    display: none;
  }

  .br-tablet {
    display: none;
  }

  .br-mobile {
    display: block;
  }

  .highlight-box {
    padding: 1px 8px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-top: 18px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 28px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    height: 50px;
    padding: 0;
    font-size: 15px;
    border-radius: 12px;
  }

  .hero-mobile-typing-subtext {
    font-size: 24px;
    margin-top: 16px;
  }

  .section-heading {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .features-section {
    padding: 40px 0 56px 0;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    display: block;
    padding: 22px 0;
  }

  .feature-content-col {
    flex-direction: column;
    gap: 8px;
  }

  .feature-meta-row {
    gap: 12px;
  }

  .feature-num {
    width: auto;
  }

  .feature-title {
    width: auto;
    font-size: 20px;
  }

  .feature-desc {
    font-size: 14.5px;
    line-height: 1.55;
    margin-top: 4px;
  }

  .feature-try-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13.5px;
  }

  .spc-stage {
    gap: 6px;
  }

  .spc-sheet-stack {
    width: 118px;
    height: 150px;
  }

  .spc-doc-sheet, .spc-camera-photo, .spc-photo-original, .spc-photo-cropped {
    width: 114px;
    height: 146px;
  }

  .spc-sheet-bg {
    width: 114px;
    height: 146px;
  }

  .mini-file-sheet {
    width: 92px;
    height: 56px;
  }

  .spc-value {
    font-size: 14px;
  }

  .feature-desc {
    font-size: 14.5px;
    line-height: 1.55;
    margin-top: 4px;
  }

  .privacy-section {
    padding: 32px 0 56px 0;
  }

  .privacy-card {
    padding: 34px 24px;
    border-radius: 20px;
  }

  .privacy-heading {
    font-size: 26px;
    line-height: 1.25;
  }

  .privacy-body {
    font-size: 14.5px;
    line-height: 1.6;
    margin-top: 16px;
  }

  .privacy-divider {
    margin: 32px 0 20px 0;
  }

  .privacy-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
  }

  .download-section {
    padding: 32px 0 50px 0;
  }

  .download-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 0;
  }

  .platform-title {
    font-size: 20px;
  }

  .download-meta-col {
    width: 100%;
  }

  .hash-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .hash-box {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.45;
    color: #38352e;
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .hash-label {
    display: inline;
    color: var(--text-muted);
    margin-right: 6px;
  }

  .hash-value {
    display: inline;
    color: #38352e;
  }

  .btn-copy {
    align-self: center;
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
  }

  .download-action-col {
    width: 100%;
  }

  .btn-download {
    width: 100%;
    height: 48px;
    padding: 0;
    border-radius: 12px;
  }

  .download-notice {
    font-size: 13px;
    margin-top: 24px;
  }

  .site-footer {
    padding: 32px 0 48px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
}
