/* Oracle NetSuite Project - Enterprise Professional Theme */
:root {
  /* Clean Professional Colors - Minimal Enterprise */
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --surface-raised: #F4F6F8;
  --surface-highlight: #EDF0F4;
  --border: #E1E5EB;
  --border-subtle: #EDF0F4;
  
  /* Text Colors - WCAG AA Compliant */
  --text: #1A1D21;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  
  /* Accent Colors - Professional Navy/Blue */
  --accent: #1E40AF;
  --accent-light: #DBEAFE;
  --accent-soft: rgba(30, 64, 175, 0.06);
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.08);
  --warning: #D97706;
  --warning-soft: rgba(217, 119, 6, 0.08);
  --error: #DC2626;
  --error-soft: rgba(220, 38, 38, 0.08);
  
  /* Typography - Apple-style sans-serif system */
  --font-display: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --max-width: 1000px;
  --side-nav-width: 140px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Custom cursor – fine pointer only */
@media (pointer: fine) {
  html, body { cursor: url('../assets/cursor-default.png') 2 2, auto; }
  a, button, .nav-link, .back-link, .side-nav-item, .footer-btn { cursor: url('../assets/cursor-active.png') 2 2, pointer; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { 
  font-family: var(--font-display);
  font-weight: 600; 
  letter-spacing: -0.02em; 
  color: var(--text); 
}

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

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 36px;
}

/* ===== FLOATING SIDE NAVIGATION ===== */
.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: var(--side-nav-width);
}

@media (max-width: 1400px) {
  .side-nav { right: 16px; }
}

@media (max-width: 1280px) {
  .side-nav { display: none; }
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.side-nav-item {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all 0.2s var(--ease-out);
  text-align: right;
  text-transform: none;
}

.side-nav-item:hover {
  color: var(--text-secondary);
  background: var(--surface-raised);
}

.side-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

nav .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link__arrow {
  font-size: 1.12em;
  line-height: 1;
}

.back-link__text {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .back-link {
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    margin: -6px 0;
    padding: 0 2px;
    font-size: 22px;
    gap: 0;
  }

  .back-link__text {
    display: none;
  }

  .back-link__arrow {
    font-size: 1em;
  }
}

.back-link:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 0.2s var(--ease-out);
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.nav-link.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.nav-link.primary:hover {
  background: #1E3A8A;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 0 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge-rule {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--accent-light);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 40px;
}

/* Client Info Badges */
.hero-client-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.client-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
}

.client-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.client-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Overview Summary */
.overview-summary {
  margin-top: 24px;
  margin-bottom: 32px;
  background: var(--surface);
  border: 2px solid #22c55e;
  border-radius: 18px;
  padding: 24px 24px 18px;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 0 24px rgba(34, 197, 94, 0.18), 0 18px 45px rgba(15, 23, 42, 0.06);
}

.overview-block + .overview-block {
  margin-top: 12px;
}

.overview-block h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.overview-block p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.meta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

/* Hero Visual */
.hero-visual {
  margin-top: 40px;
}

.hero-mockup-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.hero-visual-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
/* Scroll-scrub video previews (NetSuite PDP + problem PDP) */
.scroll-scrub-video {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.scroll-scrub-video-el {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* Custom scroll cursor for interactive videos (desktop only) */
@media (pointer: fine) {
  .scroll-scrub-video {
    cursor: url('../assets/scroll-cursor.png') 15 15, grab;
  }

  .scroll-scrub-video:active {
    cursor: url('../assets/scroll-cursor.png') 15 15, grabbing;
  }
}

/* ===== MEDIA PLACEHOLDERS ===== */
.media-placeholder,
.visual-placeholder,
.screenshot-placeholder,
.screen-placeholder {
  aspect-ratio: 16/10;
  background: var(--surface-raised);
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
}

.media-placeholder .icon,
.visual-placeholder .icon,
.screenshot-placeholder .icon,
.screen-placeholder .icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.media-placeholder .tag,
.visual-placeholder .tag,
.screenshot-placeholder .tag,
.screen-placeholder .tag {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 4px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.media-placeholder .title,
.visual-placeholder .title,
.screenshot-placeholder .title,
.screen-placeholder .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.media-placeholder .desc,
.visual-placeholder .desc,
.screenshot-placeholder .desc,
.screen-placeholder .desc {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
}

.screen-placeholder.split {
  aspect-ratio: 16/9;
}

/* ===== SECTION SPACING ===== */
section {
  padding: 56px 0;
}

.section-label,
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.subsection-title {
  font-size: 18px;
  margin: 32px 0 16px;
}

/* ===== CONTEXT SECTION ===== */
.context-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .context-content { grid-template-columns: 1fr; }
}

.context-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.context-text strong {
  color: var(--text);
}

.context-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.context-item {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.context-item:last-child {
  border-bottom: none;
}

.context-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.context-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* System Diagram */
.system-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}

.diagram-node.active {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.node-ordinal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: 6px;
}

.node-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.diagram-arrow {
  font-size: 20px;
  color: var(--accent);
  font-weight: 600;
}

/* ===== PROBLEM SECTION ===== */
.problem-intro {
  margin-bottom: 40px;
}

.problem-intro-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.problem-intro-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}

.problem-intro-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.problem-metrics {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.problem-metrics li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.problem-metrics li strong {
  color: var(--accent);
  margin-right: 4px;
}

.problem-intro-cta {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.problem-visual-block {
  margin-bottom: 48px;
  border-radius: 12px;
  overflow: hidden;
  /* Remove outer border/frame so only the interactive media is visible */
  border: none;
  background: transparent;
}

.problem-screenshot-link {
  display: block;
}

.problem-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.problem-screenshot-caption {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  padding: 10px 16px 0;
}

.problem-tabs {
  margin-bottom: 48px;
}

/* Media workflow (Before/After) blocks */
.media-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: -8px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.media-before-grid,
.media-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.media-after-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .media-after-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .media-before-grid {
    grid-template-columns: 1fr;
  }
}

.media-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.media-img {
  width: 100%;
  height: auto;
  display: block;
}

.media-img.small {
  border-radius: 10px;
}

.media-caption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}

.media-before-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 48px;
}

@media (max-width: 700px) {
  .media-before-details {
    grid-template-columns: 1fr;
  }
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.media-card h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.media-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.media-friction {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.media-key-changes {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.media-key-changes h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.media-senior-line {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
}

.media-compare {
  margin-top: 24px;
}

.media-compare-title {
  font-size: 14px;
  margin-bottom: 12px;
}

.media-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.media-compare-before {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-compare-before img {
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

/* Campus Store — Context: editorial layout (funnel + copy row, baseline full width below) */
.context-editorial {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.context-editorial-top {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.context-editorial-figure {
  margin: 0;
}

.context-editorial-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
  background: var(--surface);
}

.context-editorial-figure--funnel img {
  max-height: min(420px, 50vh);
}

.context-editorial-figure--baseline img {
  max-height: min(580px, 72vh);
}

.context-editorial-copy {
  min-width: 0;
}

.context-editorial-copy .section-desc {
  margin-top: 0;
  margin-bottom: 18px;
  max-width: none;
}

.context-editorial-copy p:not(.section-desc) {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .context-editorial-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .context-editorial-figure--funnel img {
    max-height: min(480px, 56vh);
  }

  .context-editorial-figure--baseline img {
    max-height: min(520px, 65vh);
  }
}

.media-compare-after img {
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Simple 6-problem grid — scannable, recruiter-friendly */
.problem-tabs-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .problem-tabs-simple {
    grid-template-columns: 1fr;
  }
}

.problem-tab-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s var(--ease-out);
}

.problem-tab-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
}

.problem-tab-card.simple {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-tab-card.simple .tab-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.problem-tab-card.simple h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.problem-tab-card.simple .tab-problem {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.problem-tab-card.simple .tab-metric {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.tab-card-header {
  padding: 20px 24px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tab-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.tab-card-header h4 {
  font-size: 18px;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.tab-tag {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.tab-card-body {
  padding: 24px;
}

.tab-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.tab-card-body p:last-child {
  margin-bottom: 0;
}

.tab-card-body strong {
  color: var(--text);
  font-weight: 600;
}

.tab-flaw,
.tab-core {
  border-left: 3px solid var(--error);
  padding-left: 14px;
  margin-left: 0;
}

.tab-core {
  border-left-color: var(--accent);
  margin-top: 16px;
  font-weight: 500;
}

.problem-pattern {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 40px;
}

.pattern-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.pattern-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pattern-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .pattern-compare {
    grid-template-columns: 1fr;
  }
}

.pattern-column {
  padding: 20px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.pattern-column h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pattern-column p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.pattern-vs {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  align-self: center;
}

.pattern-conclusion {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

.solution-visual {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.solution-architecture-image,
.solution-architecture-video {
  width: 100%;
  height: auto;
  display: block;
}

.problem-flow-diagram {
  padding: 32px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), transparent);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.flow-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.flow-step {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 180px;
  text-align: center;
}

.flow-arrow {
  font-size: 16px;
  color: var(--accent);
}

.flow-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 0;
}

/* ===== RESEARCH SECTION ===== */
.research-methods {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 32px;
}

.research-methods h3 {
  font-size: 14px;
  margin-bottom: 16px;
}

.methods-grid {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--surface-raised);
  border-radius: 8px;
}

.method-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 4px;
}

.method-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.methods-note {
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (max-width: 700px) {
  .insights-grid { grid-template-columns: 1fr; }
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.insight-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 10px;
}

.insight-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.insight-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Research: Affinity map image */
.research-artifact-image {
  margin: 24px 0 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.research-artifact-image .artifact-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Research Findings — light, scannable */
.research-findings-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

@media (max-width: 640px) {
  .findings-grid {
    grid-template-columns: 1fr;
  }
}

.finding-card {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.finding-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.06);
}

.finding-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.finding-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.finding-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.finding-metric {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* Design Principles */
.principles-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.design-principles {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.design-principles li {
  font-size: 15px;
  color: var(--text);
  padding: 10px 0 10px 28px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid var(--border-subtle);
}

.design-principles li:last-child {
  border-bottom: none;
}

.design-principles li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Finding → Solution mapping */
.mapping-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.finding-solution-mapping {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mapping-row {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

@media (max-width: 700px) {
  .mapping-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.mapping-finding {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.mapping-arrow {
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  text-align: center;
}

.mapping-solution {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== OPPORTUNITY SECTION ===== */
.opportunity-statement {
  text-align: center;
  padding: 56px 40px;
  background: var(--accent-soft);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 16px;
}

.opportunity-statement h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SOLUTION SECTION ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.pillar-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== FEATURES SECTION ===== */
.feature-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-grid .feature-block {
  margin-bottom: 0;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.feature-header h3 {
  font-size: 20px;
}

.feature-content {
  margin-bottom: 24px;
}

.feature-block.simple .feature-content {
  margin-bottom: 0;
}

.feature-addresses {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feature-block.simple p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.feature-block.simple .feature-metric {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Steps Visual */
.steps-visual {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: var(--surface-raised);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 70px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.step.active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.step-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.step.active .step-label {
  color: var(--accent);
}

.step-connector {
  width: 32px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

/* Feature Benefits */
.feature-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit {
  padding: 6px 12px;
  background: var(--success-soft);
  border-radius: 6px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

/* AI Capabilities */
.ai-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.ai-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface-raised);
  border-radius: 8px;
}

.cap-icon {
  font-size: 16px;
}

.cap-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* Studio Features */
.studio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.studio-feat {
  padding: 8px 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Template Options */
.template-options {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.template-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.template-icon {
  font-size: 18px;
}

.template-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* Score Preview */
.score-preview {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px;
  background: var(--surface-raised);
  border-radius: 10px;
  margin-bottom: 20px;
}

.score-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.score-value {
  font-size: 24px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.score-label {
  font-size: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
}

.score-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-item {
  font-size: 13px;
  color: var(--text-secondary);
}

.check-item.done {
  color: var(--success);
}

.check-item.pending {
  color: var(--text-muted);
}

/* Feature Visual */
.feature-visual {
  margin-top: 24px;
}

/* ===== COMPARISON SECTION ===== */
.comparison-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

@media (max-width: 800px) {
  .comparison-split { grid-template-columns: 1fr; }
}

.comparison-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.comparison-side h3 {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.comparison-side.before {
  border-color: var(--error);
  border-left-width: 3px;
}

.comparison-side.after {
  border-color: var(--success);
  border-left-width: 3px;
}

.comparison-visual {
  aspect-ratio: 16/10;
  background: var(--surface-raised);
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.comparison-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.comparison-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.comparison-visual .icon {
  font-size: 28px;
  opacity: 0.5;
}

.comparison-visual .tag {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}

.comparison-visual .title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-side.before .comparison-list li::before {
  content: '✗ ';
  color: var(--error);
}

.comparison-side.after .comparison-list li::before {
  content: '✓ ';
  color: var(--success);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

@media (max-width: 800px) {
  .comparison-divider { transform: rotate(90deg); }
}

.comparison-impact {
  text-align: center;
}

.impact-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 48px;
  background: var(--success-soft);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 12px;
}

.impact-stat .stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--success);
  line-height: 1;
}

.impact-stat .stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ===== IMPACT SECTION ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 800px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .impact-grid { grid-template-columns: 1fr; }
}

.impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.impact-card.large {
  grid-column: span 1;
  background: var(--accent-soft);
  border-color: rgba(30, 64, 175, 0.15);
}

.impact-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.impact-card.large .impact-value {
  font-size: 48px;
}

.impact-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.impact-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ===== FEASIBILITY SECTION ===== */
.feasibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .feasibility-grid { grid-template-columns: 1fr; }
}

.feasibility-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.feas-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.feasibility-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.feasibility-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== REFLECTION SECTION ===== */
.reflection-content {
  text-align: center;
  padding: 48px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 32px;
}

.reflection-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

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

@media (max-width: 700px) {
  .learnings-grid { grid-template-columns: 1fr; }
}

.learning-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.learning-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 10px;
}

.learning-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.learning-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  padding: 72px 0;
  background: var(--bg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 48px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.footer-text {
  max-width: 500px;
}

.footer-text h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-text p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.6;
}

.footer-cta {
  display: flex;
  gap: 12px;
}

.footer-btn {
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.2s var(--ease-out);
}

.footer-btn:hover {
  border-color: var(--text);
}

.footer-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.footer-btn.primary:hover {
  filter: brightness(0.95);
}

/* Back to portfolio: label on desktop, arrow-only on mobile */
a.footer-btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  text-decoration: none;
}

.footer-btn-back__arrow {
  font-size: 1.1em;
  line-height: 1;
}

.footer-btn-back__text {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  a.footer-btn-back {
    min-width: 48px;
    padding: 14px 18px;
    font-size: 20px;
    line-height: 1;
    gap: 0;
  }

  .footer-btn-back__text {
    display: none;
  }
}

/* ===== RESULTS SNAPSHOT SECTION ===== */
.results-snapshot {
  padding: 32px 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.04), transparent);
  border-radius: 16px;
  margin-bottom: 64px;
}

.snapshot-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 24px;
  overflow-x: auto;
}

.snapshot-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s var(--ease-out);
  flex: 1;
  min-width: 140px;
}

.snapshot-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

.snapshot-item.highlight {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.snapshot-ordinal {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.snapshot-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.snapshot-item.highlight .snapshot-value {
  color: var(--accent);
}

.snapshot-label {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ===== USABILITY TESTING SETUP ===== */
.usability-testing-setup {
  margin-top: 40px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.testing-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.testing-participants h4,
.testing-task h4,
.testing-metrics h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.participant-list,
.metrics-list {
  list-style: none;
  padding: 0;
}

.participant-list li,
.metrics-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.participant-list li::before,
.metrics-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.testing-task p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== UPDATED COMPARISON SECTION ===== */
.comparison-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== IMPACT CALCULATION SECTION ===== */
.impact-calculation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 40px 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.calc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.calc-label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.calc-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.calc-operator {
  font-size: 24px;
  color: var(--accent);
  font-weight: 600;
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 12px;
}

.result-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}

.result-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.impact-equivalency {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.equivalency-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.equivalency-card.highlight {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.equivalency-value {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.equivalency-label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== MIGRATION CONSIDERATION SECTION ===== */
.migration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.migration-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s var(--ease-out);
}

.migration-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
}

.migration-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}

.migration-item h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.migration-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.migration-conclusion {
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

.migration-conclusion p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

.migration-conclusion strong {
  color: var(--accent);
}

/* ===== FUTURE IMPROVEMENTS SECTION ===== */
.improvements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.improvement-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s var(--ease-out);
}

.improvement-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.improvement-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 14px;
}

.improvement-item h4 {
  font-size: 16px;
  margin-bottom: 12px;
}

.improvement-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .impact-calculation {
    flex-direction: column;
  }
  
  .calc-operator {
    transform: rotate(90deg);
  }
  
  .snapshot-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .snapshot-item {
    min-width: 120px;
    flex-shrink: 0;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s var(--ease-out) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

