/* ============================================
   THEME VARIABLES
   ============================================ */
:root,
[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(77, 166, 255, 0.05);
  --bg-navbar: rgba(10, 10, 10, 0.95);
  --bg-tag: rgba(77, 166, 255, 0.1);
  --bg-overview: linear-gradient(180deg, #0a0a0a 0%, #0a0a1a 100%);

  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;
  --text-faint: #808080;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-card: rgba(255, 255, 255, 0.1);

  --accent-pink: #ff69b4;
  --accent-blue: #4da6ff;
  --accent-purple: #8a2be2;

  --hero-bg: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 50%, #0a1a1a 100%);
  --hero-radial: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, transparent 50%);

  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 25px 70px rgba(77, 166, 255, 0.3);

  --mockup-bg: #1a1a1a;
  --mockup-header: #0a0a0a;

  --tag-color: #4da6ff;
  --tag-border: #4da6ff;
  --tag-hover-color: #ff69b4;
  --tag-hover-border: #ff69b4;
  --tag-hover-bg: rgba(255, 105, 180, 0.1);

  --next-project-bg: rgba(255, 255, 255, 0.02);
  --next-project-hover: rgba(77, 166, 255, 0.05);

  --code-bg: #1a1a1a;
  --reflection-bg: linear-gradient(135deg, rgba(255, 105, 180, 0.05) 0%, rgba(77, 166, 255, 0.05) 100%);
  --reflection-border: #ff69b4;

  --section-alt-bg: linear-gradient(180deg, #0a0a0a 0%, #0a0a1a 100%);
  --persona-card-bg: rgba(255, 255, 255, 0.02);
  --pain-card-bg: rgba(255, 95, 86, 0.05);
  --pain-card-border: rgba(255, 95, 86, 0.2);

  --finding-high-bg: linear-gradient(135deg, rgba(255, 95, 86, 0.08) 0%, rgba(255, 95, 86, 0.03) 100%);
  --finding-medium-bg: linear-gradient(135deg, rgba(255, 189, 46, 0.08) 0%, rgba(255, 189, 46, 0.03) 100%);

  --steps-bg: rgba(255, 255, 255, 0.02);
  --highlight-bg: rgba(255, 255, 255, 0.02);
  --highlight-hover-bg: rgba(77, 166, 255, 0.05);
  --highlight-hover-border: #4da6ff;
}

[data-theme="light"] {
  --bg-primary: #fafaf8;
  --bg-secondary: #f0ede8;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(26, 107, 204, 0.05);
  --bg-navbar: rgba(250, 250, 248, 0.97);
  --bg-tag: rgba(26, 107, 204, 0.08);
  --bg-overview: linear-gradient(180deg, #fafaf8 0%, #f0ede8 100%);

  --text-primary: #1a1a1a;
  --text-secondary: #2a2a2a;
  --text-muted: #555555;
  --text-faint: #888888;

  --border-subtle: rgba(0, 0, 0, 0.1);
  --border-card: rgba(0, 0, 0, 0.1);

  --accent-pink: #c2005a;
  --accent-blue: #1a6bcc;
  --accent-purple: #6a1fa0;

  --hero-bg: linear-gradient(135deg, #f5e8f5 0%, #e8eaf5 50%, #e8f5f5 100%);
  --hero-radial: radial-gradient(circle, rgba(194, 0, 90, 0.08) 0%, transparent 50%);

  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-card-hover: 0 25px 70px rgba(26, 107, 204, 0.2);

  --mockup-bg: #e8e8e8;
  --mockup-header: #d0d0d0;

  --tag-color: #1a6bcc;
  --tag-border: #1a6bcc;
  --tag-hover-color: #c2005a;
  --tag-hover-border: #c2005a;
  --tag-hover-bg: rgba(194, 0, 90, 0.08);

  --next-project-bg: rgba(0, 0, 0, 0.02);
  --next-project-hover: rgba(26, 107, 204, 0.05);

  --code-bg: #eeeeee;
  --reflection-bg: linear-gradient(135deg, rgba(194, 0, 90, 0.05) 0%, rgba(26, 107, 204, 0.05) 100%);
  --reflection-border: #c2005a;

  --section-alt-bg: linear-gradient(180deg, #fafaf8 0%, #f0ede8 100%);
  --persona-card-bg: rgba(0, 0, 0, 0.02);
  --pain-card-bg: rgba(200, 50, 50, 0.04);
  --pain-card-border: rgba(200, 50, 50, 0.2);

  --finding-high-bg: linear-gradient(135deg, rgba(200, 50, 50, 0.06) 0%, rgba(200, 50, 50, 0.02) 100%);
  --finding-medium-bg: linear-gradient(135deg, rgba(180, 130, 20, 0.06) 0%, rgba(180, 130, 20, 0.02) 100%);

  --steps-bg: rgba(0, 0, 0, 0.02);
  --highlight-bg: rgba(0, 0, 0, 0.02);
  --highlight-hover-bg: rgba(26, 107, 204, 0.05);
  --highlight-hover-border: #1a6bcc;
}

/* ============================================
   PROJECTS DROPDOWN NAV
   ============================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  font-family: 'Georgia', serif;
  padding: 0;
}

.nav-dropdown-trigger:hover {
  color: var(--accent-blue);
}

.nav-dropdown-trigger .dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: var(--bg-navbar);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 0.5rem 0.5rem;
  margin-top: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2000;
}

/* Invisible bridge fills the gap so mouse can travel from trigger to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  gap: 0.15rem;
}

.nav-dropdown-item:hover {
  background: var(--bg-card-hover);
}

.nav-dropdown-item .item-title {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-dropdown-item:hover .item-title {
  color: var(--accent-blue);
}

.nav-dropdown-item .item-subtitle {
  font-size: 0.75rem;
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.4rem 0.5rem;
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
#theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#theme-toggle:hover {
  border-color: var(--accent-pink);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(255, 105, 180, 0.3);
}

.theme-icon {
  font-size: 1.3rem;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] #theme-toggle .theme-icon--sun { opacity: 0; transform: scale(0.5); }
[data-theme="dark"] #theme-toggle .theme-icon--moon { opacity: 1; transform: scale(1); }
[data-theme="light"] #theme-toggle .theme-icon--sun { opacity: 1; transform: scale(1); }
[data-theme="light"] #theme-toggle .theme-icon--moon { opacity: 0; transform: scale(0.5); }

/* ============================================
   RESET AND BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* ============================================
   GLOBAL BACKGROUND GRAPHICS
   ============================================ */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 700px;
  height: 700px;
  top: -250px;
  right: -200px;
  background: radial-gradient(circle, rgba(255, 105, 180, 0.07) 0%, transparent 65%);
}

body::after {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(77, 166, 255, 0.07) 0%, transparent 65%);
}

.bg-graphics {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-graphics::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 105, 180, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 166, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

h1, h2, h3 {
  font-family: 'Georgia', serif;
  font-weight: 400;
}
.navbar, section, footer { position: relative; z-index: 1; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  background-color: var(--bg-navbar);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.logo {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-pink);
  font-family: 'Georgia', serif;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--accent-blue); }

/* ============================================
   PROJECT HERO SECTION
   ============================================ */
.project-hero {
  position: relative;
  padding: 6rem 5% 4rem;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--hero-bg);
  opacity: 0.6;
  z-index: 0;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: var(--hero-radial);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.breadcrumb {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover { color: var(--accent-pink); }

.project-hero h1 {
  font-size: 4rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  transition: color 0.3s ease;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.meta-value {
  font-size: 1rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

/* ============================================
   CTA BUTTON
   ============================================ */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-blue) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
}

.cta-button.secondary:hover {
  background: rgba(77, 166, 255, 0.1);
  box-shadow: 0 10px 30px rgba(77, 166, 255, 0.2);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section { padding: 5rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-title {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
  transition: color 0.3s ease;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

/* ============================================
   OVERVIEW SECTION
   ============================================ */
.overview-section { background: var(--bg-overview); transition: background 0.3s ease; }

.overview-text {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.tag {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--bg-tag);
  border: 1px solid var(--tag-border);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--tag-color);
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--tag-hover-bg);
  border-color: var(--tag-hover-border);
  color: var(--tag-hover-color);
}

/* ============================================
   DESIGN SECTION
   ============================================ */
.design-section { background: var(--bg-primary); transition: background 0.3s ease; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }

.text-content h3 {
  font-size: 2rem;
  color: var(--accent-pink);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.text-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.feature-list, .numbered-list {
  list-style-position: inside;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 2;
  transition: color 0.3s ease;
}

.feature-list li { margin-bottom: 0.75rem; padding-left: 1rem; }

.numbered-list {
  counter-reset: item;
  list-style: none;
}

.numbered-list li {
  counter-increment: item;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0; top: 0;
  width: 1.5rem; height: 1.5rem;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: bold;
}

/* ============================================
   MOCKUP & IMAGE CONTAINERS
   ============================================ */
.mockup-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.project-detail-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  object-fit: cover;
}

.project-detail-image:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.project-detail-image.large { max-width: 600px; }

.browser-mockup {
  width: 100%;
  background: var(--mockup-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.browser-mockup.large { max-width: 600px; }

.browser-dots {
  padding: 1rem;
  background: var(--mockup-header);
  display: flex;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.browser-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #333;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.video-container { width: 100%; background: #000; }
.video-container video { width: 100%; height: auto; display: block; }

/* ============================================
   TECHNICAL SECTION
   ============================================ */
.tech-section { background: var(--section-alt-bg); transition: background 0.3s ease; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 20px 40px rgba(77, 166, 255, 0.1);
}

.card-header {
  padding: 2rem;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-blue) 100%);
}

.card-header h3 { font-size: 1.8rem; color: #ffffff; }
.card-content { padding: 2rem; }

/* ============================================
   OUTCOME SECTION
   ============================================ */
.outcome-section { background: var(--bg-primary); transition: background 0.3s ease; }

.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 3rem 0;
  align-items: center;
}

.outcome-text h3 {
  font-size: 2rem;
  color: var(--accent-pink);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.outcome-list { list-style: none; margin-bottom: 2rem; }

.outcome-list li {
  padding-left: 2rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.outcome-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.outcome-note {
  font-size: 1rem;
  color: var(--text-faint);
  font-style: italic;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.outcome-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.outcome-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-subtle);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.reflection-box {
  margin: 4rem 0;
  padding: 3rem;
  background: var(--reflection-bg);
  border-left: 4px solid var(--accent-pink);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.reflection-box h3 { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 1rem; transition: color 0.3s ease; }
.reflection-box p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; transition: color 0.3s ease; }

.cta-section {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* ============================================
   NEXT PROJECT SECTION
   ============================================ */
.next-project {
  padding: 4rem 0;
  background: var(--section-alt-bg);
  border-top: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.next-project h3 {
  font-size: 1.2rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.next-project-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: var(--next-project-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.next-project-link:hover {
  background: var(--next-project-hover);
  border-color: var(--accent-blue);
  transform: translateX(10px);
}

.next-project-link .arrow { color: var(--accent-blue); font-size: 3rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  text-align: center;
  padding: 3rem 5%;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-faint);
  font-size: 0.9rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
  .project-hero h1 { font-size: 3rem; }
  .content-grid, .outcome-grid { grid-template-columns: 1fr; gap: 3rem; }
  .content-grid.reverse { direction: ltr; }
  .tech-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.5rem; }
}

@media (max-width: 600px) {
  .project-hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .project-meta { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .cta-section { flex-direction: column; }
  .cta-button { width: 100%; text-align: center; }
  #theme-toggle { bottom: 1.5rem; right: 1.5rem; }
}

/* ============================================
   SMOOTH SCROLLING & SELECTION
   ============================================ */
html { scroll-behavior: smooth; }
::selection { background-color: var(--accent-pink); color: #ffffff; }
::-moz-selection { background-color: var(--accent-pink); color: #ffffff; }

/* ============================================
   PROGRAM FINDER SPECIFIC STYLES
   ============================================ */
.sketch-section { background: var(--section-alt-bg); transition: background 0.3s ease; }

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

.sketch-item { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }

.sketch-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
  color: var(--text-faint);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.sketch-placeholder:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
}

.feature-summary {
  margin-top: 4rem; padding: 3rem;
  background: rgba(255, 105, 180, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--accent-pink);
}

.feature-summary h3 { font-size: 1.8rem; color: var(--accent-pink); margin-bottom: 1.5rem; }
.summary-text { margin-top: 1.5rem; font-size: 1.1rem; color: var(--text-muted); font-style: italic; }

.lofi-section { background: var(--bg-primary); transition: background 0.3s ease; }

.prototype-screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.implementation-details {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.implementation-details h3 { font-size: 1.8rem; color: var(--text-primary); margin-bottom: 2rem; transition: color 0.3s ease; }

.task-group { margin-bottom: 2rem; }
.task-group h4 { font-size: 1.3rem; color: var(--accent-blue); margin-bottom: 1rem; transition: color 0.3s ease; }
.improvements-note { margin-top: 2rem; margin-bottom: 1rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; transition: color 0.3s ease; }

.hifi-section { background: var(--section-alt-bg); transition: background 0.3s ease; }
.quiz-section { background: var(--bg-primary); transition: background 0.3s ease; }

.quiz-description h3 { font-size: 2rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.quiz-description p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; transition: color 0.3s ease; }

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

.highlight-card {
  padding: 1.8rem;
  background: var(--highlight-bg);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--highlight-hover-border);
  background: var(--highlight-hover-bg);
}

.highlight-icon { font-size: 3rem; margin-bottom: 1rem; }
.highlight-card h4 { font-size: 1.5rem; color: var(--accent-pink); margin-bottom: 1rem; transition: color 0.3s ease; }
.highlight-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; transition: color 0.3s ease; }

/* ============================================
   MINIPLAY SPECIFIC STYLES
   ============================================ */
.miniplay-hero .hero-background.gaming-bg {
  background: linear-gradient(135deg, #1a0a2a 0%, #0a0a2a 50%, #2a0a2a 100%);
}

[data-theme="light"] .miniplay-hero .hero-background.gaming-bg {
  background: linear-gradient(135deg, #f0e8f8 0%, #e8e8f8 50%, #f5e8f5 100%);
}

.principles-section { background: var(--section-alt-bg); transition: background 0.3s ease; }

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

.principle-card {
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.principle-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
.principle-card.blue-gradient { background: linear-gradient(135deg, rgba(77, 166, 255, 0.15) 0%, rgba(77, 166, 255, 0.05) 100%); border-color: var(--accent-blue); }
.principle-card.purple-gradient { background: linear-gradient(135deg, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0.05) 100%); border-color: var(--accent-purple); }
.principle-card.pink-gradient { background: linear-gradient(135deg, rgba(255, 105, 180, 0.15) 0%, rgba(255, 105, 180, 0.05) 100%); border-color: var(--accent-pink); }
.principle-card h3 { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.5rem; transition: color 0.3s ease; }

.principle-list { list-style: none; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; transition: color 0.3s ease; }
.principle-list li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.principle-list li::before { content: '•'; position: absolute; left: 0; color: var(--accent-blue); font-size: 1.5rem; }

.tech-stack-section { background: var(--bg-primary); transition: background 0.3s ease; }

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

.tech-stack-card {
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid var(--border-subtle);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-stack-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }

.yellow-card { background: rgba(255, 215, 0, 0.05); border-color: #ffd700; }
.green-card { background: rgba(39, 201, 63, 0.05); border-color: #27c93f; }
.purple-card { background: rgba(138, 43, 226, 0.05); border-color: var(--accent-purple); }
.blue-card { background: rgba(77, 166, 255, 0.05); border-color: var(--accent-blue); }

.tech-icon { width: 80px; height: 80px; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; z-index: 1; }
.tech-icon svg { width: 60px; height: 60px; }
.tech-stack-card h4 { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.5rem; position: relative; z-index: 1; transition: color 0.3s ease; }
.tech-features { list-style: none; color: var(--text-muted); font-size: 1rem; line-height: 1.8; position: relative; z-index: 1; transition: color 0.3s ease; }
.tech-features li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.tech-features li::before { content: '▸'; position: absolute; left: 0; }

.structure-section { background: var(--section-alt-bg); transition: background 0.3s ease; }
.games-section { background: var(--bg-primary); transition: background 0.3s ease; }

.game-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
  align-items: center;
}

.game-showcase.reverse { direction: rtl; }
.game-showcase.reverse > * { direction: ltr; }
.game-showcase:last-child { margin-bottom: 0; }

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-subtle);
  background: #000;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-container video { width: 100%; height: 100%; object-fit: cover; display: block; }

.game-details h3 { font-size: 2.2rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.game-details p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }
.game-features-list { list-style: none; color: var(--text-muted); font-size: 1.05rem; line-height: 2; transition: color 0.3s ease; }
.game-features-list li { margin-bottom: 0.75rem; padding-left: 2rem; position: relative; }
.game-features-list li::before { content: '🎮'; position: absolute; left: 0; font-size: 1.2rem; }

/* ============================================
   DISCOVERY & PERSONA SECTIONS
   ============================================ */
.discovery-section { background: var(--section-alt-bg); transition: background 0.3s ease; }
.persona-section { background: var(--bg-primary); transition: background 0.3s ease; }
.sketches-section { background: var(--section-alt-bg); transition: background 0.3s ease; }

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

.discovery-text .intro-text { font-size: 1.2rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 3rem; transition: color 0.3s ease; }

.takeaways-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }

.takeaway-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 105, 180, 0.05);
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.takeaway-card:hover { background: rgba(255, 105, 180, 0.1); border-color: var(--accent-pink); transform: translateX(10px); }
.takeaway-icon { font-size: 2rem; min-width: 50px; text-align: center; }
.takeaway-card p { font-size: 1.1rem; color: var(--text-secondary); margin: 0; transition: color 0.3s ease; }

.user-tasks { background: rgba(77, 166, 255, 0.05); padding: 2.5rem; border-radius: 12px; border: 1px solid rgba(77, 166, 255, 0.2); }
.user-tasks h3 { font-size: 1.8rem; color: var(--accent-blue); margin-bottom: 1rem; transition: color 0.3s ease; }
.user-tasks p { color: var(--text-muted); margin-bottom: 1.5rem; transition: color 0.3s ease; }

.screenshot-group { display: flex; flex-direction: column; gap: 2rem; }

.screenshot-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.screenshot-item:hover { transform: translateY(-5px); border-color: var(--accent-blue); box-shadow: 0 20px 40px rgba(77, 166, 255, 0.1); }
.screenshot-item img { width: 100%; height: auto; display: block; }

.screenshot-caption { padding: 1rem 1.5rem; font-size: 0.95rem; color: var(--text-faint); text-align: center; background: rgba(0, 0, 0, 0.1); transition: color 0.3s ease; }

[data-theme="light"] .screenshot-caption { background: rgba(0, 0, 0, 0.04); }

.persona-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.persona-description h3 { font-size: 2.2rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.persona-description p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }

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

.sketch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sketch-card:hover { transform: translateY(-5px); border-color: var(--accent-pink); box-shadow: 0 20px 40px rgba(255, 105, 180, 0.1); }
.sketch-card img { width: 100%; height: auto; display: block; }
.sketch-label { padding: 1rem; font-size: 1rem; color: var(--text-muted); text-align: center; background: rgba(0, 0, 0, 0.1); transition: color 0.3s ease; }

[data-theme="light"] .sketch-label { background: rgba(0, 0, 0, 0.04); }

.feature-summary-box { margin-top: 4rem; padding: 3rem; background: var(--reflection-bg); border-radius: 12px; border-left: 4px solid var(--accent-pink); }
.feature-summary-box h3 { font-size: 1.8rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }

.lofi-prototype-section { background: var(--bg-primary); transition: background 0.3s ease; }
.prototype-intro { margin-bottom: 3rem; }
.prototype-intro p { font-size: 1.2rem; color: var(--text-muted); text-align: center; transition: color 0.3s ease; }
.prototype-subsection { margin-bottom: 5rem; }
.subsection-title { font-size: 2rem; color: var(--accent-blue); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid rgba(77, 166, 255, 0.2); transition: color 0.3s ease, border-color 0.3s ease; }

.screenshots-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.screenshots-row.two-col { grid-template-columns: repeat(2, 1fr); }

.feature-description { display: flex; align-items: center; padding: 2rem; background: rgba(255, 105, 180, 0.05); border: 1px solid rgba(255, 105, 180, 0.2); border-radius: 12px; }
.feature-description p { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.8; transition: color 0.3s ease; }

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

.task-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.task-card:hover { border-color: var(--accent-blue); background: var(--bg-card-hover); }
.task-card h4 { font-size: 1.3rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.task-list { list-style: none; color: var(--text-muted); font-size: 1rem; line-height: 1.8; transition: color 0.3s ease; }
.task-list li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.task-list li::before { content: '▸'; position: absolute; left: 0; color: var(--accent-blue); }

.improvements-box { margin-top: 4rem; padding: 3rem; background: rgba(138, 43, 226, 0.05); border-radius: 12px; border: 1px solid rgba(138, 43, 226, 0.2); }
.improvements-box h3 { font-size: 1.8rem; color: var(--accent-purple); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.improvements-box p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }

.improvement-list { list-style: none; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; transition: color 0.3s ease; }
.improvement-list li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.improvement-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-purple); font-weight: bold; }

.hifi-prototype-section { background: var(--section-alt-bg); transition: background 0.3s ease; }
.hifi-subsection { margin-bottom: 4rem; }
.updates-box { padding: 3rem; background: rgba(255, 105, 180, 0.05); border-radius: 12px; border: 1px solid rgba(255, 105, 180, 0.2); }
.updates-box h3 { font-size: 1.8rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }

.update-list { list-style: none; color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }
.update-list li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.update-list li::before { content: '•'; position: absolute; left: 0; color: var(--accent-pink); font-size: 1.5rem; }
.outcome-statement { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; font-style: italic; padding-top: 1.5rem; border-top: 1px solid rgba(255, 105, 180, 0.2); transition: color 0.3s ease; }

.quiz-feature-section { background: var(--bg-primary); transition: background 0.3s ease; }
.quiz-intro { max-width: 900px; margin: 0 auto 4rem; }
.quiz-intro p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }
.quiz-screens { display: flex; flex-direction: column; gap: 3rem; }
.quiz-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.reflection-box-large {
  padding: 4rem;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(77, 166, 255, 0.1) 100%);
  border-radius: 12px;
  border: 2px solid rgba(255, 105, 180, 0.3);
  margin-bottom: 4rem;
  text-align: center;
}

[data-theme="light"] .reflection-box-large {
  background: linear-gradient(135deg, rgba(194, 0, 90, 0.07) 0%, rgba(26, 107, 204, 0.07) 100%);
}

.reflection-box-large h3 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.reflection-box-large p { font-size: 1.2rem; color: var(--text-muted); line-height: 1.8; max-width: 900px; margin: 0 auto; transition: color 0.3s ease; }

/* ============================================
   PPORA SPECIFIC STYLES
   ============================================ */
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.research-context-section { background: var(--section-alt-bg); transition: background 0.3s ease; }

.stats-header { text-align: center; margin-bottom: 3rem; }
.stats-header h3 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: 1rem; transition: color 0.3s ease; }
.stats-header p { font-size: 1.2rem; color: var(--text-muted); transition: color 0.3s ease; }

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

.context-card {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.05) 0%, rgba(255, 105, 180, 0.05) 100%);
  border: 2px solid rgba(77, 166, 255, 0.2);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.context-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-pink) 100%); transform: scaleX(0); transition: transform 0.4s ease; }
.context-card:hover { transform: translateY(-8px); border-color: var(--accent-blue); box-shadow: 0 20px 50px rgba(77, 166, 255, 0.2); }
.context-card:hover::before { transform: scaleX(1); }

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.stat-label { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.5rem; transition: color 0.3s ease; }
.stat-year { font-size: 0.9rem; color: var(--text-faint); font-style: italic; transition: color 0.3s ease; }

.opportunity-box { padding: 3rem; background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(77, 166, 255, 0.1) 100%); border: 2px solid rgba(255, 105, 180, 0.3); border-radius: 16px; position: relative; }

[data-theme="light"] .opportunity-box { background: linear-gradient(135deg, rgba(194, 0, 90, 0.06) 0%, rgba(26, 107, 204, 0.06) 100%); }

.opportunity-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.icon-circle { width: 3.5rem; height: 3.5rem; background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-blue) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.opportunity-header h3 { font-size: 2rem; color: var(--text-primary); margin: 0; transition: color 0.3s ease; }
.opportunity-content p { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.8; transition: color 0.3s ease; }
.opportunity-content strong { color: var(--accent-blue); font-weight: 600; }

.personas-section { background: var(--bg-primary); transition: background 0.3s ease; }

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

.persona-card {
  background: var(--persona-card-bg);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.persona-card:hover { transform: translateY(-5px); border-color: var(--accent-pink); box-shadow: 0 20px 40px rgba(255, 105, 180, 0.15); }
.persona-image-container { width: 100%; aspect-ratio: 1; background: rgba(77, 166, 255, 0.1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.persona-image-container img { width: 100%; height: 100%; object-fit: cover; }
.persona-details { padding: 2rem; }
.persona-details h3 { font-size: 1.8rem; color: var(--accent-pink); margin-bottom: 0.5rem; transition: color 0.3s ease; }
.persona-role { font-size: 1rem; color: var(--accent-blue); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s ease; }
.persona-description { font-size: 1rem; color: var(--text-muted); line-height: 1.8; transition: color 0.3s ease; }

.journey-section { background: var(--section-alt-bg); transition: background 0.3s ease; }
.journey-intro { max-width: 900px; margin: 0 auto 3rem; text-align: center; }
.journey-intro p { font-size: 1.2rem; color: var(--text-muted); line-height: 1.8; transition: color 0.3s ease; }

.journey-map-container { margin: 3rem 0; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 12px; overflow: hidden; transition: background 0.3s ease, border-color 0.3s ease; }
.journey-map-container img { width: 100%; height: auto; display: block; }

.journey-insights { margin-top: 4rem; }
.journey-insights h3 { font-size: 2rem; color: var(--text-primary); margin-bottom: 2rem; text-align: center; transition: color 0.3s ease; }

.pain-points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.pain-point-card {
  padding: 2rem;
  background: var(--pain-card-bg);
  border: 1px solid var(--pain-card-border);
  border-radius: 12px;
  text-align: center;
}

.pain-icon { font-size: 3rem; margin-bottom: 1rem; }
.pain-point-card h4 { font-size: 1.3rem; color: #ff5f56; margin-bottom: 1rem; }
.pain-point-card p { color: var(--text-muted); line-height: 1.6; transition: color 0.3s ease; }

.testing-section { background: var(--bg-primary); transition: background 0.3s ease; }

.testing-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }

.testing-method-card, .testing-stats-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.05) 0%, rgba(77, 166, 255, 0.05) 100%);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 16px;
}

[data-theme="light"] .testing-method-card,
[data-theme="light"] .testing-stats-card {
  background: linear-gradient(135deg, rgba(194, 0, 90, 0.04) 0%, rgba(26, 107, 204, 0.04) 100%);
}

.method-icon { font-size: 3rem; margin-bottom: 1rem; }
.testing-method-card h3, .testing-stats-card h3 { font-size: 1.8rem; color: var(--accent-pink); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.testing-method-card p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; transition: color 0.3s ease; }

.mini-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }

.mini-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(77, 166, 255, 0.1);
  border: 1px solid rgba(77, 166, 255, 0.3);
  border-radius: 12px;
}

.mini-stat-number { font-size: 2rem; font-weight: bold; color: var(--accent-blue); margin-bottom: 0.5rem; transition: color 0.3s ease; }
.mini-stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s ease; }

.findings-header { text-align: center; margin-bottom: 3rem; }
.findings-header h3 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: 1rem; transition: color 0.3s ease; }
.findings-header p { font-size: 1.1rem; color: var(--text-muted); transition: color 0.3s ease; }

.findings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.finding-card {
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.finding-card.high-severity { background: var(--finding-high-bg); border: 2px solid rgba(255, 95, 86, 0.4); }
.finding-card.medium-severity { background: var(--finding-medium-bg); border: 2px solid rgba(255, 189, 46, 0.4); }
.finding-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }

.finding-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }

.severity-badge { display: inline-block; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.severity-badge.high { background: rgba(255, 95, 86, 0.2); color: #ff5f56; border: 1px solid rgba(255, 95, 86, 0.5); }
.severity-badge.medium { background: rgba(255, 189, 46, 0.2); color: #ffbd2e; border: 1px solid rgba(255, 189, 46, 0.5); }

.finding-card h4 { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.5rem; transition: color 0.3s ease; }
.finding-body { display: flex; flex-direction: column; gap: 1.2rem; }
.finding-point { display: flex; flex-direction: column; gap: 0.5rem; }
.point-label { font-size: 0.9rem; font-weight: bold; color: var(--accent-blue); display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease; }
.finding-point p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin: 0; padding-left: 2rem; transition: color 0.3s ease; }
.finding-point .user-quote { margin: 0; padding: 1rem 1.5rem; padding-left: 2rem; background: rgba(0, 0, 0, 0.2); border-left: 3px solid var(--accent-blue); border-radius: 8px; }
[data-theme="light"] .finding-point .user-quote { background: rgba(0, 0, 0, 0.05); }
.finding-point .user-quote p { color: var(--text-secondary); font-style: italic; padding-left: 0; transition: color 0.3s ease; }

.recommendations-section { background: var(--section-alt-bg); transition: background 0.3s ease; }

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

.recommendation-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.recommendation-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); background: var(--bg-card-hover); }
.recommendation-card.priority-1 { border-color: var(--accent-pink); }
.recommendation-card.priority-2 { border-color: var(--accent-blue); }
.recommendation-card.priority-3 { border-color: var(--accent-purple); }
.recommendation-card.priority-4 { border-color: #27c93f; }

.rec-number { position: absolute; top: -1rem; left: 2rem; width: 3rem; height: 3rem; background: linear-gradient(135deg, #142cdc 0%, var(--accent-blue) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; color: #ffffff; }
.recommendation-card h3 { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.5rem; margin-top: 1rem; transition: color 0.3s ease; }
.rec-description { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }
.expected-benefit { padding: 1rem; background: rgba(77, 166, 255, 0.1); border-left: 3px solid var(--accent-blue); border-radius: 4px; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; transition: color 0.3s ease; }
.expected-benefit strong { color: var(--accent-blue); transition: color 0.3s ease; }

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

.step-card { padding: 2rem; background: var(--steps-bg); border: 1px solid var(--border-card); border-radius: 12px; text-align: center; transition: background 0.3s ease, border-color 0.3s ease; }
.step-number { width: 3rem; height: 3rem; background: linear-gradient(135deg, #f51b88 0%, #eb70b4 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; color: #ffffff; margin: 0 auto 1.5rem; }
.step-card h4 { font-size: 1.3rem; color: var(--accent-pink); margin-bottom: 1rem; transition: color 0.3s ease; }
.step-card p { color: var(--text-muted); line-height: 1.6; transition: color 0.3s ease; }

/* ============================================
   CONTENT STRATEGY SPECIFIC STYLES
   ============================================ */
.analytics-visual-container { margin: 3rem 0; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 16px; transition: background 0.3s ease, border-color 0.3s ease; }

.analytics-diagram-placeholder { width: 100%; max-width: 800px; margin: 0 auto; padding: 2rem; background: rgba(0, 0, 0, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; min-height: 400px; }

[data-theme="light"] .analytics-diagram-placeholder { background: rgba(0, 0, 0, 0.04); }

.diagram-image { width: 100%; height: auto; border-radius: 8px; }

.ecosystem-diagram-placeholder { width: 100%; margin: 0 auto; padding: 3rem; background: rgba(0, 0, 0, 0.2); border-radius: 16px; display: flex; align-items: center; justify-content: center; min-height: 600px; }
[data-theme="light"] .ecosystem-diagram-placeholder { background: rgba(0, 0, 0, 0.04); }

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

.template-example-card {
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.template-example-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); box-shadow: 0 15px 40px rgba(77, 166, 255, 0.15); }
.template-preview { width: 100%; height: 400px; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; justify-content: center; padding: 2rem; }
[data-theme="light"] .template-preview { background: rgba(0, 0, 0, 0.06); }
.template-image { width: 100%; height: 100%; object-fit: contain; }
.template-details { padding: 2rem; }
.template-details h3 { font-size: 1.5rem; color: var(--accent-pink); margin-bottom: 1rem; transition: color 0.3s ease; }
.template-description { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; transition: color 0.3s ease; }
.template-specs { padding: 1rem; background: rgba(77, 166, 255, 0.1); border-left: 3px solid var(--accent-blue); border-radius: 4px; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; transition: color 0.3s ease; }
.template-specs strong { color: var(--accent-blue); transition: color 0.3s ease; }

/* ============================================
   RESUME SPECIFIC STYLES
   ============================================ */
.resume-preview-section { background: var(--section-alt-bg); transition: background 0.3s ease; }
.resume-pages-container { display: flex; flex-direction: column; gap: 3rem; margin: 4rem 0; align-items: center; }
.resume-page-wrapper { width: 100%; max-width: 850px; margin: 0 auto; }
.page-label { text-align: center; font-size: 0.9rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 600; transition: color 0.3s ease; }

.resume-page-card {
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.resume-page-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); box-shadow: 0 20px 60px rgba(77, 166, 255, 0.15); }
.resume-page-image { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); display: block; }

.download-cta-section { text-align: center; margin-top: 5rem; padding: 3rem; background: rgba(255, 105, 180, 0.05); border: 2px solid rgba(255, 105, 180, 0.2); border-radius: 16px; }
.download-cta-section h3 { font-size: 2rem; color: var(--text-primary); margin-bottom: 1rem; transition: color 0.3s ease; }
.download-cta-section p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; transition: color 0.3s ease; }

/* ============================================
   STICKY SECTION NAV (BOTTOM)
   ============================================ */
.section-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: var(--bg-navbar);
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, border-color 0.3s ease;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-nav::-webkit-scrollbar { display: none; }

.section-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.75rem 1.4rem;
  color: var(--text-faint);
  text-decoration: none;
  font-size: 0.7rem;
  font-family: 'Georgia', serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-right: 1px solid var(--border-subtle);
  transition: color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.section-nav-link:last-child { border-right: none; }

.section-nav-link .nav-index {
  font-size: 0.65rem;
  color: var(--text-faint);
  opacity: 0.6;
  transition: color 0.25s ease;
}

.section-nav-link:hover {
  color: var(--accent-blue);
  background: rgba(77, 166, 255, 0.06);
}

.section-nav-link:hover .nav-index { color: var(--accent-blue); }

.section-nav-link.active {
  color: var(--accent-pink);
  border-bottom: 2px solid var(--accent-pink);
}

.section-nav-link.active .nav-index { color: var(--accent-pink); }

/* push page content up so it doesn't hide behind the nav */
body.has-section-nav { padding-bottom: 4rem; }
/* also push theme toggle above the section nav */
body.has-section-nav #theme-toggle { bottom: 5.5rem; }

@media (max-width: 600px) {
  .section-nav { flex-wrap: wrap; justify-content: flex-start; }
  .section-nav-link { padding: 0.5rem 0.7rem; font-size: 0.58rem; flex-shrink: 1; min-width: 0; }
  .section-nav-link .nav-index { display: none; }
  body.has-section-nav #theme-toggle { bottom: 5rem; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
  .project-hero h1 { font-size: 3rem; }
  .content-grid, .outcome-grid { grid-template-columns: 1fr; gap: 3rem; }
  .content-grid.reverse { direction: ltr; }
  .tech-grid, .principles-grid, .tech-stack-grid, .context-grid,
  .personas-grid, .pain-points-grid, .recommendations-grid,
  .next-steps-grid, .sketches-gallery, .discovery-content,
  .persona-content, .screenshots-row, .implementation-grid, .quiz-row,
  .testing-overview-grid, .findings-grid, .template-examples-grid { grid-template-columns: 1fr; }
  .screenshots-row.two-col { grid-template-columns: 1fr; }
  .game-showcase, .game-showcase.reverse { grid-template-columns: 1fr; gap: 3rem; direction: ltr; }
  .section-title { font-size: 2.5rem; }
  .prototype-screens { grid-template-columns: repeat(2, 1fr); }
  .mini-stats-grid { grid-template-columns: 1fr; }
  .outcome-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .project-hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .project-meta { grid-template-columns: 1fr; }
  .section-title { font-size: 2rem; }
  .cta-section { flex-direction: column; }
  .cta-button { width: 100%; text-align: center; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .cta-button { width: 100%; text-align: center; }
  .prototype-screens { grid-template-columns: 1fr; }
  .resume-page-card { padding: 1rem; }
  .reflection-box-large { padding: 2.5rem; }
  .reflection-box-large h3 { font-size: 2rem; }
  #theme-toggle { bottom: 1.5rem; right: 1.5rem; }
  .navbar { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1rem 5%; }
  .nav-links { gap: 1rem; font-size: 0.85rem; }
}