/* ==========================================================================
   SNAPKB (PHOTOSHRINK) - MODERN BENTO GRID DESIGN SYSTEM
   Synchronized 100% with App Tokens (lib/core/design/app_colors.dart)
   Aesthetic: Ultra-Clean Tech/Utility, Precision UI, Bento Layout
   ========================================================================== */

:root {
  /* Exact App Tokens from Flutter Core */
  --ink: #111827;
  --ink-soft: #6b7280;
  --ink-subtle: #9ca3af;
  
  --teal: #0f766e;
  --teal-deep: #0d5c56;
  --teal-muted: #9bb8b4;
  --teal-soft: #e6f3f1;
  
  --canvas: #f7f7f8;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-subtle: #f3f4f6;
  
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --divider: #f3f4f6;
  
  --success: #047857;
  --success-soft: #ecfdf5;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;

  --premium-top: #fff08a;
  --premium-mid: #ffa318;
  --premium-deep: #ff4a10;
  --premium-glow: linear-gradient(135deg, #fff08a 0%, #ffa318 46%, #ff4a10 100%);

  /* Typography */
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Layout & Elevations */
  --container-max: 1200px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(17, 24, 39, 0.04), 0 1px 2px rgba(17, 24, 39, 0.02);
  --shadow-card: 0 4px 6px -1px rgba(17, 24, 39, 0.05), 0 2px 4px -2px rgba(17, 24, 39, 0.03);
  --shadow-hover: 0 16px 32px -4px rgba(17, 24, 39, 0.08), 0 4px 8px -2px rgba(17, 24, 39, 0.03);
  --shadow-float: 0 24px 48px -12px rgba(15, 118, 110, 0.18);
  
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==========================================================================
   FLOATING PILL NAVBAR
   ========================================================================== */
.floating-nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding-inline: 16px;
  margin-bottom: 24px;
}

.pill-navbar {
  max-width: var(--container-max);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-subtle), 0 8px 20px -6px rgba(15, 23, 42, 0.04);
  padding: 8px 14px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.2);
}

.nav-brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 2px;
}

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

.dock-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color var(--transition);
}

.dock-link:hover {
  color: var(--teal);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}

.nav-cta-btn:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  transition: all var(--transition);
  cursor: pointer;
}

.lang-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float), var(--shadow-card);
  min-width: 170px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
}

.lang-switcher.is-open .lang-dropdown {
  display: flex;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all var(--transition);
}

.lang-item:hover {
  background: var(--teal-soft);
  color: var(--teal);
}

.lang-item.active {
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
}

/* ==========================================================================
   HERO STUDIO (SPLIT ASYMMETRIC LAYOUT)
   ========================================================================== */
.hero-studio {
  padding: 40px 0 80px;
  position: relative;
}

.hero-studio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status-pill-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.2);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(4, 120, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0); }
}

.hero-main-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #0d9488 50%, var(--teal-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-desc {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-action-dock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #ffffff;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.18);
  transition: all var(--transition);
}

.btn-hero-primary:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.25);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition);
}

.btn-hero-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Live Stats Strip */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.stat-strip-item {
  display: flex;
  flex-direction: column;
}

.stat-strip-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stat-strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ==========================================================================
   HERO RIGHT COL: INTERACTIVE COMPRESSION PLAYGROUND
   ========================================================================== */
.studio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float), var(--shadow-card);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.studio-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--teal);
}

.studio-badge-target {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--teal-soft);
  color: var(--teal);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Interactive Presets Pill Row */
.studio-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.studio-preset-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--canvas);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
}

.studio-preset-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.studio-preset-chip.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

/* Comparison Viewport */
.studio-viewport {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  user-select: none;
}

.viewport-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.viewport-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewport-layer.compressed {
  width: 50%;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.viewport-tag {
  position: absolute;
  top: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  z-index: 5;
  letter-spacing: 0.04em;
}

.viewport-tag.left {
  left: 12px;
  background: rgba(15, 118, 110, 0.9);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.viewport-tag.right {
  right: 12px;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.viewport-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.slider-thumb-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.95rem;
}

/* Inspector Matrix */
.studio-inspector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.inspector-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.inspector-item-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
}

.inspector-item-val.highlight-green {
  color: var(--success);
}

/* ==========================================================================
   BENTO GRID ARCHITECTURE (LAYOUT MỚI ĐẲNG CẤP)
   ========================================================================== */
.section-bento {
  padding: 80px 0;
}

.section-lead-center {
  text-align: center;
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 52px;
}

.section-pill-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-head-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-head-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* The Bento Grid Container */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 20px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--teal-muted);
}

/* Bento Sizing Variants */
.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.highlight-teal {
  background: linear-gradient(135deg, var(--surface) 0%, var(--teal-soft) 100%);
  border-color: var(--teal-muted);
}

.bento-card.highlight-dark {
  background: #0f172a;
  color: #ffffff;
  border-color: #1e293b;
}

.bento-card.highlight-dark h3,
.bento-card.highlight-dark p {
  color: #ffffff;
}

.bento-card.highlight-dark .bento-desc {
  color: #94a3b8;
}

.bento-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon-badge svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.3;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Bento Visual Elements */
.bento-visual-batch {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 4px;
}

.batch-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.batch-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.batch-thumb-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(4, 120, 87, 0.9);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
}

.bento-matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.bento-matrix-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.matrix-check {
  color: var(--success);
  font-size: 1rem;
}

/* ==========================================================================
   WORKFLOW SCENARIOS DOCK (NHU CẦU THỰC TẾ)
   ========================================================================== */
.section-scenarios {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.scenario-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.scenario-card:hover {
  background: var(--surface);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.scenario-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.scenario-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.scenario-limit-pill {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--teal-soft);
  color: var(--teal);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.scenario-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================================
   SCREENSHOTS FILMSTRIP CAROUSEL
   ========================================================================== */
.section-showcase {
  padding: 80px 0;
}

.filmstrip-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 0 30px;
}

.filmstrip-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}

.filmstrip-item {
  flex: 0 0 250px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.filmstrip-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.filmstrip-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: var(--canvas);
}

.filmstrip-caption {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ==========================================================================
   HOW IT WORKS (3 SIMPLE STEPS)
   ========================================================================== */
.section-steps {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.step-box-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}

.step-num-badge {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.3);
}

.step-box-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 6px;
  margin-bottom: 10px;
}

.step-box-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ==========================================================================
   SECURITY COMPARISON DOCK
   ========================================================================== */
.section-comparison {
  padding: 80px 0;
}

.comparison-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--canvas);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.comparison-table td {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.highlight-snapkb-col {
  background: rgba(230, 243, 241, 0.4);
  color: var(--teal) !important;
  font-weight: 700;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.section-faq {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-deck {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-item {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-card-item:hover {
  border-color: var(--teal);
}

.faq-card-item summary {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

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

.faq-card-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  transition: transform var(--transition);
}

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

.faq-card-body {
  padding: 0 24px 20px 24px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ==========================================================================
   BOTTOM CTA CARD & DOCK
   ========================================================================== */
.section-bottom-cta {
  padding: 80px 0 100px;
}

.cta-banner-matrix {
  background: linear-gradient(135deg, #111827 0%, #0f766e 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.cta-matrix-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-matrix-info p {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-qr-surface {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  max-width: 240px;
  margin-inline: auto;
}

.cta-qr-surface img {
  width: 170px;
  height: 170px;
  margin: 0 auto 12px;
  border-radius: 8px;
}

.cta-qr-hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* QR Modal Dialog */
.qr-modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  padding: 32px;
  box-shadow: var(--shadow-float);
  max-width: 360px;
  width: 90%;
}

.qr-modal::backdrop {
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(8px);
}

.qr-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.qr-modal-title {
  font-weight: 900;
  font-size: 1.2rem;
}

.qr-close-btn {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}

.qr-modal-body {
  text-align: center;
}

.qr-modal-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  border-radius: 12px;
}

.qr-modal-hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 32px;
  border-top: 1px solid #1e293b;
  font-size: 0.92rem;
}

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

.footer-brand .nav-brand-text {
  color: #ffffff;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
  margin-top: 14px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-studio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.span-2 {
    grid-column: span 2;
  }
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner-matrix {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  .pill-navbar {
    padding: 8px 12px;
  }
  .nav-links-dock {
    display: none;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
  .steps-container-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
