/* project1.css - Quippy, restyled to match project0's light design system */

:root {
  --bg-solid: #ffffff;
  --bg: #ffffff;
  --panel-bg: #eeeeee;
  --text: #100f0e;
  --muted: #47423d;
  --accent: #D03A46;
  --accent-light: #e0636c;
  --paper: #faf8f2;
  --shadow: rgba(16, 15, 14, 0.08);
  --card-bg: #ffffff;
  --card-border: rgba(16, 15, 14, 0.14);
  --card-hover-bg: #fbfaf8;
  --shadow-sm: 0 1px 2px rgba(16, 15, 14, 0.04), 0 4px 14px rgba(16, 15, 14, 0.07);
  --shadow-md: 0 4px 10px rgba(16, 15, 14, 0.06), 0 12px 28px rgba(16, 15, 14, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg-solid);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

/* Progress Bar */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Back Link */
.back-link {
  position: absolute;
  top: 50px;
  left: max(2rem, calc((100vw - 900px) / 2));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
}

.back-link-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.back-link-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.back-link:hover .back-link-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-3px);
}

.back-link:hover .back-link-arrow svg {
  stroke: #ffffff;
}

/* Main Content */
.project-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
.project-section {
  padding: 5.5rem 0;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.project-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Section */
.project-hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 0 5rem;
}

.hero-content {
  text-align: center;
}

.project-meta {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  margin-top: 2rem;
  font-weight: 700;
}

.project-title {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: none;
  margin-bottom: 2.5rem;
  color: var(--text);
  line-height: 1.15;
}

.project-subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  letter-spacing: 0;
}

/* Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(38, 140, 80, 0.09);
  border: 1px solid rgba(38, 140, 80, 0.35);
  border-radius: 0;
  margin-bottom: 3rem;
}

.badge-icon {
  color: #268C50;
  font-size: 1rem;
}

.badge-text {
  color: #268C50;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-image-wrapper {
  margin-top: 4rem;
}

.hero-image {
  width: 100%;
  max-width: 800px;
  border-radius: 0;
  opacity: 1;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(20, 18, 16, 0.1);
}

/* Video elements styling */
.screen-video {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(20, 18, 16, 0.1);
  transition: transform 0.3s ease;
  display: block;
  margin: 1.5rem auto;
  object-fit: cover;
  border: 1px solid var(--card-border);
}

.screen-video:hover {
  transform: scale(1.02);
}

/* Typography */
h2 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.3;
  text-transform: none;
  margin-bottom: 2.75rem;
  color: var(--text);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-transform: none;
  margin-bottom: 1.5rem;
  color: var(--text);
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1px;
  margin-bottom: 1.25rem;
  color: var(--text);
}

h5 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1px;
  margin-bottom: 0.8rem;
  color: var(--text);
}

p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

p:last-child {
  margin-bottom: 0;
}

/* Overview Section */
.overview-section .section-content > p {
  margin-bottom: 4rem;
  font-size: 1.05rem;
  line-height: 2;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.detail-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* Background Section */
.background-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
}

/* Issues Section */
.issues-section .section-content > p {
  margin-bottom: 4rem;
  font-size: 1.05rem;
}

.problem-intro {
  margin-bottom: 4rem;
  font-size: 1.05rem;
  line-height: 2;
}

.issue-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
}

.issue-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
}

.issue-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.issue-content h4 {
  margin-bottom: 1rem;
  color: var(--text);
}

.issue-content p {
  margin: 0;
  color: var(--muted);
}

/* Research Section */
.research-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 2rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.insight-card {
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.insight-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.insight-card h3 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.insight-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.insight-point {
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.insight-point::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.research-callout {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--decision-bg, rgba(208, 58, 70, 0.06));
  border-left: 3px solid var(--accent);
  border-radius: 0;
}

.research-callout h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.research-callout p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  color: var(--text);
}

/* UX Strategy Section */
.ux-strategy-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 3rem;
}

.ux-principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.ux-principle {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.ux-principle:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.principle-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ux-principle h4 {
  margin-bottom: 1rem;
  text-transform: none;
}

.ux-principle p {
  font-size: 0.9rem;
  margin: 0;
}

.userflow-image-wrapper {
  width: 100%;
  text-align: center;
  margin: 2rem 0;
}

.userflow-image-wrapper img {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  opacity: 1;
  box-shadow: 0 10px 40px rgba(20, 18, 16, 0.1);
  border: 1px solid var(--card-border);
}

.image-caption {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.flow-breakdown {
  margin-top: 4rem;
}

.flow-breakdown h4 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-transform: none;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flow-step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h5 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Design Decision Cards */
.design-decision-card {
  margin: 4rem 0;
  padding: 2.5rem;
  background: var(--decision-bg, rgba(208, 58, 70, 0.06));
  border: 1px solid var(--decision-border, rgba(208, 58, 70, 0.22));
  border-radius: 0;
}

.design-decision-card h4 {
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  text-transform: none;
}

.decision-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.decision-section strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1rem;
}

.decision-section p {
  margin: 0;
  font-size: 0.95rem;
}

.decision-section ul {
  margin: 1rem 0 0 1.5rem;
  list-style: none;
}

.decision-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.decision-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.decision-section ul li strong {
  display: inline;
  color: var(--text);
  font-size: inherit;
  margin: 0;
}

/* Placeholder boxes for images/videos */
.placeholder-box {
  width: 100%;
  min-height: 250px;
  background: var(--card-bg);
  border: 2px dashed var(--card-border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.placeholder-text {
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
}

/* Design System Section */
.design-system-image {
  width: 100%;
  text-align: center;
  margin: 2rem 0;
}

.design-system-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  opacity: 1;
  box-shadow: 0 10px 40px rgba(20, 18, 16, 0.1);
  border: 1px solid var(--card-border);
}

.design-system-breakdown {
  margin-top: 4rem;
}

.design-system-breakdown h3 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-transform: none;
}

.design-category {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--card-border);
}

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

.design-category h4 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--accent);
  text-transform: none;
}

.design-detail {
  margin-top: 1.5rem;
}

.design-detail p {
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.design-image-slot {
  width: 100%;
  margin: 1.5rem 0;
  text-align: center;
}

.design-image-slot img {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(16, 15, 14, 0.1);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease;
}

.design-image-slot img:hover {
  transform: scale(1.02);
}

/* Features Section - Enhanced */
.features-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 3rem;
}

.features-grid-detailed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card-detailed {
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card-detailed:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  font-size: 2rem;
}

.feature-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.feature-description {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.feature-ux {
  padding: 1.5rem;
  background: var(--card-hover-bg);
  border-left: 3px solid var(--accent);
  border-radius: 0;
}

.feature-ux strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-ux ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-ux ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-ux ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.feature-highlight {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
}

.feature-highlight h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.feature-highlight p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
}

/* Development Section */
.development-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
}

.dev-approach {
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}

.dev-approach h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: none;
}

.dev-approach ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dev-approach ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.dev-approach ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.tech-stack {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
}

.tech-stack h3 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-item {
  padding: 1.5rem;
  background: var(--card-hover-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

.tech-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.code-demo-wrapper {
  margin: 2rem 0;
}

/* Testing Section */
.testing-issues-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 3rem;
}

.testing-methodology {
  margin: 3rem 0;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}

.testing-methodology h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: none;
}

.testing-methodology ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.testing-methodology ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.testing-methodology ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.testing-methodology ul li strong {
  color: var(--text);
}

.issues-found {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.found-issue {
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.found-issue:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
}

.issue-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--decision-bg, rgba(208, 58, 70, 0.06));
  border: 1px solid var(--accent);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.issue-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.issue-description {
  margin-bottom: 1.5rem;
}

.issue-description strong,
.issue-fix strong,
.issue-impact strong {
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.issue-description,
.issue-fix,
.issue-impact {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.issue-impact {
  margin-bottom: 0;
}

/* Final Screens Section */
.final-screens-section {
  padding: 3rem 0;
  text-align: center;
  opacity: 1 !important;
  transform: none !important;
}

.final-screens-section h2 {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.screens-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 2;
}

.screen-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.screen {
  margin: 2rem 0;
  text-align: center;
}

.screen h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-transform: none;
  margin-bottom: 1rem;
  color: var(--text);
  text-align: center;
}

.screen img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(20, 18, 16, 0.1);
  transition: transform 0.3s ease;
  display: block;
  margin: 1.5rem auto;
  border: 1px solid var(--card-border);
}

.screen img:hover {
  transform: scale(1.02);
}

.screen-description {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1rem;
}

.video-demo-wrapper {
  margin: 2rem 0;
}

/* Impact Section */
.impact-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 3rem;
}

.impact-metrics {
  margin: 4rem 0;
}

.impact-metrics h4 {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-transform: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.metric-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.learnings {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.learning-item {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.learning-item:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.learning-item strong {
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.future-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.future-item {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0;
  font-size: 0.9rem;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.future-item:hover {
  background: var(--card-hover-bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.future-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* Conclusion Section */
.conclusion-section {
  padding-bottom: 3rem;
}

.conclusion-section .section-content > p {
  font-size: 1.05rem;
  line-height: 2;
}

.final-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--decision-bg, rgba(208, 58, 70, 0.06));
  border: 1px solid var(--accent);
  border-radius: 0;
  text-align: center;
}

.final-cta h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: none;
}

.final-cta p {
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(208, 58, 70, 0.3);
}

/* Bottom Link Wrapper */
.bottom-link-wrapper {
  position: relative;
  margin-bottom: 40px;
  padding-top: 2.5rem;
  min-height: 60px;
  text-align: center;
}

.footer-back-link {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
}

.footer-back-link .back-link-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-back-link .back-link-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  transition: stroke 0.3s ease;
}

.footer-back-link:hover .back-link-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-3px);
}

.footer-back-link:hover .back-link-arrow svg {
  stroke: #ffffff;
}

/* Site Footer */
.site-footer {
  text-align: center;
  padding: 45px 20px;
  font-size: 0.9rem;
  color: #8a8682;
  border-top: 1px solid #e8e5e1;
  background: rgba(250, 249, 247, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .ux-principle-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .future-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .project-content {
    padding: 0 1.5rem;
  }
  
  .back-link {
    top: 20px;
    left: 1.5rem;
  }

  .back-link-arrow {
    width: 34px;
    height: 34px;
  }

  .back-link-arrow svg {
    width: 14px;
    height: 14px;
  }
  
  .project-section {
    padding: 4rem 0;
  }
  
  .project-hero-section {
    padding: 4.5rem 0 3.5rem;
  }
  
  .project-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .project-subtitle {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .project-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .issue-item {
    grid-template-columns: 50px 1fr;
    gap: 1.5rem;
  }
  
  .issue-marker {
    width: 35px;
    height: 35px;
    font-size: 0.75rem;
  }
  
  .ux-principle-grid {
    grid-template-columns: 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .future-features {
    grid-template-columns: 1fr;
  }
  
  .bottom-link-wrapper {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .footer-back-link {
    margin: 20px auto;
  }
  
  .site-footer {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .project-section {
    padding: 3rem 0;
  }
  
  .project-title {
    font-size: 2rem;
  }
  
  .flow-step {
    grid-template-columns: 40px 1fr;
    gap: 1rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}