@charset "UTF-8";

/* ============================================================================
   SmilePDF.xyz — 3D + Parallax Interactive Sale Page & SEO/AEO Knowledge Hub
   Zero-External-Tracker Local Fonts • GPU 60fps 3D Transforms • Semantic AEO
   ============================================================================ */

@font-face {
  font-family: 'Sarabun';
  src: url('./fonts/Sarabun-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sarabun';
  src: url('./fonts/Sarabun-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'Cascadia Code', Consolas, 'Courier New', monospace;

  --bg-deep: #060b16;
  --bg-primary: #0a1122;
  --bg-elevated: #111b33;
  --bg-card: rgba(17, 27, 51, 0.78);
  --bg-card-solid: #131f3a;
  --bg-light-doc: #ffffff;

  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(59, 130, 246, 0.42);

  --brand-blue: #2563eb;
  --brand-sky: #38bdf8;
  --brand-cyan: #06b6d4;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-rose: #ef4444;

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --max-w: 1240px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.24) 0%, transparent 42%),
    radial-gradient(circle at 84% 16%, rgba(6, 182, 212, 0.16) 0%, transparent 38%),
    radial-gradient(circle at 50% 62%, rgba(37, 99, 235, 0.1) 0%, transparent 48%);
  overflow-x: hidden;
}

a {
  color: var(--brand-sky);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: #7dd3fc;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip Link for Accessibility & SEO */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: var(--brand-blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 16px;
}

/* ============================================================================
   1. Sticky Glass Navigation Header
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 11, 22, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--brand-sky);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff !important;
  box-shadow: 0 10px 26px -6px rgba(37, 99, 235, 0.65);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-main) !important;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(56, 189, 248, 0.45);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* ============================================================================
   2. 3D + Multi-Layer Parallax Hero Stage
   ============================================================================ */
.hero-section {
  position: relative;
  padding: 72px 0 56px;
  perspective: 1600px;
  overflow: visible;
}

/* Subtle 3D Grid Floor */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 28%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 28%, #000 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto 44px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.65rem);
  line-height: 1.18;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title .accent-text {
  color: var(--brand-sky);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-body);
  max-width: 780px;
  margin: 0 auto 30px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Floating 3D Parallax Orbit Badges */
.parallax-stage-wrapper {
  position: relative;
  perspective: 1800px;
  margin: 0 auto;
  max-width: 1160px;
}

.floating-3d-chip {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  font-size: 0.84rem;
  font-weight: 700;
  color: #e2e8f0;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.floating-3d-chip.chip-left {
  top: -18px;
  left: -10px;
}

.floating-3d-chip.chip-right {
  top: 28px;
  right: -12px;
}

.floating-3d-chip.chip-bottom {
  bottom: -18px;
  left: 32px;
}

/* ============================================================================
   3. Interactive 3D Application Studio ("Try SmilePDF PRO Live on Website")
   ============================================================================ */
.app-3d-shell {
  position: relative;
  border-radius: 18px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 40px 90px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(59, 130, 246, 0.22),
    0 0 70px -15px rgba(37, 99, 235, 0.38);
  transform-style: preserve-3d;
  transition: transform 0.14s ease-out;
  will-change: transform;
  overflow: hidden;
}

/* Windows 11 Frameless TitleBar Replica */
.studio-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b1222;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 8px 14px;
  gap: 10px;
  flex-wrap: wrap;
}

.studio-titlebar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-titlebar-left img {
  width: 22px;
  height: 22px;
}

.studio-doc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.studio-win-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-pro-pill {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Interactive Mode Switcher Bar */
.studio-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #111c33;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  overflow-x: auto;
}

.studio-mode-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.studio-mode-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.studio-mode-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: rgba(147, 197, 253, 0.4);
}

/* Contextual Sub-Toolbar inside Studio */
.studio-subtoolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  background: #16233f;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.85rem;
}

.studio-tool-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-chip-btn {
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.75);
  color: #f1f5f9;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.studio-chip-btn:hover {
  border-color: var(--brand-sky);
  background: rgba(37, 99, 235, 0.25);
}

.studio-chip-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-sky);
  color: #ffffff;
}

/* Studio Split Workspace: Left Tool Guide / Document Canvas / Right Inspector */
.studio-workspace {
  display: grid;
  grid-template-columns: 240px 1fr 290px;
  min-height: 510px;
  background: #1e293b;
}

.studio-left-rail {
  background: #0f172a;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.studio-rail-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-sky);
  font-weight: 700;
  margin: 0;
}

.studio-step-card {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.83rem;
  color: #e2e8f0;
}

/* Interactive Simulated A4 PDF Sheet */
.studio-canvas-stage {
  padding: 24px 20px;
  background: #273449;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
}

.pdf-paper-sheet {
  width: 100%;
  max-width: 560px;
  background: var(--bg-light-doc);
  color: #0f172a;
  border-radius: 6px;
  padding: 28px 32px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  position: relative;
  text-align: left;
}

.pdf-doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.pdf-doc-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.pdf-doc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.pdf-Interactive-line {
  padding: 6px 8px;
  margin: 6px 0;
  border-radius: 5px;
  font-size: 0.92rem;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.15s ease, outline 0.15s ease;
  position: relative;
}

.pdf-Interactive-line:hover {
  outline: 1px dashed #3b82f6;
}

.pdf-Interactive-line.hl-yellow {
  background: rgba(253, 224, 71, 0.55);
}

.pdf-Interactive-line.hl-green {
  background: rgba(110, 231, 183, 0.5);
}

.pdf-Interactive-line.hl-underline {
  text-decoration: underline 2px #10b981;
  text-underline-offset: 4px;
}

.pdf-Interactive-line[contenteditable="true"] {
  outline: 2px solid #2563eb;
  background: #eff6ff;
  cursor: text;
}

/* Broken Floating Vowel Simulation Class (when user toggles comparison) */
.floating-vowel-broken .thai-mark-demo {
  display: inline-block;
  transform: translateY(-9px) translateX(4px);
  color: #dc2626;
  font-weight: 700;
}

/* Redacted PDPA Span */
.pdpa-sensitive-span {
  padding: 1px 5px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.pdpa-sensitive-span.detected {
  background: rgba(239, 68, 68, 0.16);
  outline: 1.5px dashed #ef4444;
  cursor: pointer;
}

.pdpa-sensitive-span.redacted-burned {
  background: #000000 !important;
  color: #000000 !important;
  outline: none;
  user-select: none;
}

/* Smart Fillable Form Slots inside PDF Sheet */
.pdf-smart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.pdf-smart-slot {
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 7px 10px;
  min-height: 48px;
  position: relative;
  transition: all 0.15s ease;
  cursor: pointer;
}

.pdf-smart-slot.smart-detect-active:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.pdf-smart-slot-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  display: block;
}

.pdf-smart-slot-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  min-height: 20px;
  outline: none;
}

.pdf-signature-dropzone {
  margin-top: 12px;
  border: 1.5px dashed #94a3b8;
  border-radius: 6px;
  padding: 10px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

/* Right Dynamic Inspector Panel inside Studio */
.studio-right-inspector {
  background: #0f172a;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sig-pad-canvas {
  width: 100%;
  height: 110px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  cursor: crosshair;
  touch-action: none;
}

.studio-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 16px;
  background: #090f1d;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ============================================================================
   4. AEO Direct-Answer Citation Box (Engineered for AI Overviews & LLMs)
   ============================================================================ */
.aeo-summary-section {
  padding: 36px 0 24px;
}

.aeo-direct-box {
  background: rgba(17, 27, 51, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-left: 5px solid var(--brand-sky);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.aeo-direct-box h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #e0f2fe;
}

.aeo-direct-box p {
  margin: 0 0 18px;
  color: var(--text-body);
  font-size: 1rem;
}

.aeo-spec-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.aeo-spec-dl div {
  background: rgba(6, 11, 22, 0.55);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.aeo-spec-dl dt {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.aeo-spec-dl dd {
  margin: 4px 0 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: #f8fafc;
}

/* ============================================================================
   5. Categorized Feature Hub & 3D Tilt Cards
   ============================================================================ */
.section-block {
  padding: 76px 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 42px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 0 0 12px;
  line-height: 1.25;
}

.section-header p {
  color: var(--text-body);
  margin: 0;
  font-size: 1.05rem;
}

.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.cat-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(17, 27, 51, 0.7);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--brand-blue);
  border-color: var(--brand-sky);
  color: #ffffff;
}

.bento-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.tilt-card-3d {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.tilt-card-3d:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5);
}

.tilt-card-3d.hidden-by-filter {
  display: none;
}

.cat-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--brand-sky);
  margin-bottom: 12px;
}

.tilt-card-3d h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  color: #ffffff;
}

.tilt-card-3d p {
  margin: 0 0 16px;
  color: var(--text-body);
  font-size: 0.95rem;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.feature-check-list li::before {
  content: "✓ ";
  color: var(--brand-emerald);
  font-weight: 700;
}

/* ============================================================================
   6. Comparison Matrix Table & TCO ROI Calculator
   ============================================================================ */
.table-scroll-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-solid);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.compare-table th {
  background: rgba(6, 11, 22, 0.75);
  color: #f8fafc;
  font-weight: 700;
}

.compare-table th.highlight-col,
.compare-table td.highlight-col {
  background: rgba(37, 99, 235, 0.14);
  border-left: 1px solid rgba(56, 189, 248, 0.3);
  border-right: 1px solid rgba(56, 189, 248, 0.3);
}

.roi-calculator-box {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.roi-result-panel {
  background: #091122;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}

.roi-big-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-emerald);
  margin: 6px 0;
}

/* ============================================================================
   7. Pricing Grid, SEO/AEO Article Cards & Semantic FAQ Accordion
   ============================================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border: 2px solid var(--brand-sky);
  background: rgba(23, 37, 84, 0.55);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.3);
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 12px 0 4px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 22px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-sky);
}

.article-card h3 {
  margin: 8px 0 10px;
  font-size: 1.18rem;
  line-height: 1.4;
}

.article-card h3 a {
  color: #ffffff;
}

.article-card h3 a:hover {
  color: var(--brand-sky);
}

/* Semantic <details> FAQ for 100% Crawlability */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--brand-sky);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-body);
  font-size: 0.96rem;
}

/* ============================================================================
   8. Article Reader Layout (website/guides/*.html)
   ============================================================================ */
.breadcrumb-nav {
  padding: 22px 0 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 0 80px;
}

.article-main h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.25;
  margin: 12px 0 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-prose h2 {
  font-size: 1.55rem;
  color: #f8fafc;
  margin: 38px 0 14px;
}

.article-prose h3 {
  font-size: 1.22rem;
  color: #e0f2fe;
  margin: 26px 0 10px;
}

.article-prose p,
.article-prose li {
  color: var(--text-body);
  font-size: 1.03rem;
}

.article-prose code {
  font-family: var(--font-mono);
  background: rgba(15, 23, 42, 0.9);
  padding: 2px 7px;
  border-radius: 5px;
  color: #7dd3fc;
  font-size: 0.9em;
}

/* Footer */
.site-footer {
  background: #040812;
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 36px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  color: #f8fafc;
  margin: 0 0 14px;
  font-size: 0.98rem;
}

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

/* ============================================================================
   4B. Official 1080p 60fps Promo Video Showcase Stage
   ============================================================================ */
.promo-video-section {
  padding: 28px 0 48px;
}

.promo-stage-card {
  background: linear-gradient(160deg, rgba(15, 25, 48, 0.92), rgba(7, 13, 27, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52), 0 0 60px rgba(37, 99, 235, 0.14);
}

.promo-stage-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.promo-stage-header h2 {
  margin: 6px 0 6px;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  color: #f8fafc;
}

.promo-stage-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.promo-spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-spec-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.promo-video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #040814;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
  aspect-ratio: 16 / 9;
}

.promo-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #040814;
}

.promo-chapters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.promo-chapter-btn {
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 6px 13px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.promo-chapter-btn:hover {
  background: rgba(37, 99, 235, 0.26);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .studio-workspace {
    grid-template-columns: 1fr;
  }
  .studio-left-rail {
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }
  .studio-right-inspector {
    border-left: none;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
  }
  .floating-3d-chip {
    display: none;
  }
  .roi-calculator-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .pdf-smart-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-3d-shell,
  .tilt-card-3d,
  .floating-3d-chip {
    transform: none !important;
    transition: none !important;
  }
}
