/* ============================================
   我的幸福人生 - Warm Life Theme
   Sunrise orange + Gentle sky blue on cream
   ============================================ */

:root {
  /* Primary palette */
  --cream: #FFF8F0;
  --cream-dark: #F5EDE0;
  --cream-darker: #EBE0D0;
  --sunrise: #FF7B42;
  --sunrise-light: #FFA275;
  --sunrise-dark: #E8692E;
  --sky: #87CEEB;
  --sky-light: #B8E4F5;
  --sky-dark: #5BA4C9;

  /* Accent & neutral */
  --warm-gold: #F4A950;
  --soft-green: #7BC67E;
  --soft-pink: #F2A7B3;
  --text-primary: #3D2E28;
  --text-secondary: #6B5D55;
  --text-muted: #9B8D85;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(61, 46, 40, 0.08);
  --shadow-md: 0 4px 16px rgba(61, 46, 40, 0.12);
  --shadow-lg: 0 8px 32px rgba(61, 46, 40, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--sunrise);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sunrise-dark);
}

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

ul, ol {
  padding-left: 1.5rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-darker);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--sunrise), var(--warm-gold));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.site-logo:hover {
  color: var(--sunrise);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--sunrise);
  background: rgba(255, 123, 66, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--sunrise), var(--sunrise-dark));
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.95rem;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 12px rgba(255, 123, 66, 0.3);
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--sunrise-dark), var(--sunrise-dark));
  box-shadow: 0 4px 20px rgba(255, 123, 66, 0.4);
  transform: translateY(-1px);
  color: var(--white) !important;
}

.nav-cta .cta-icon {
  font-size: 1.1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
  font-size: 1.5rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF0E5 0%, #E8F4FB 50%, #FFF5EC 100%);
  padding: 4rem 0 3rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 123, 66, 0.12);
  color: var(--sunrise-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--sunrise), var(--warm-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--white);
  border: 1px solid var(--cream-darker);
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
}

.hero-tag .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sunrise);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 3px dashed var(--sky-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 1;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 4rem 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--sunrise), var(--warm-gold));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ============================================
   Feature Cards
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cream-darker);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon.orange {
  background: rgba(255, 123, 66, 0.1);
  color: var(--sunrise);
}

.feature-icon.blue {
  background: rgba(135, 206, 235, 0.2);
  color: var(--sky-dark);
}

.feature-icon.gold {
  background: rgba(244, 169, 80, 0.15);
  color: var(--warm-gold);
}

.feature-icon.green {
  background: rgba(123, 198, 126, 0.15);
  color: var(--soft-green);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Screenshot Gallery
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   Info Cards (Character / Story pages)
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-darker);
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card-img {
  height: 240px;
  overflow: hidden;
}

.info-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.info-card:hover .info-card-img img {
  transform: scale(1.05);
}

.info-card-body {
  padding: 1.5rem;
}

.info-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.info-card-body .card-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: rgba(135, 206, 235, 0.15);
  color: var(--sky-dark);
  margin-bottom: 0.75rem;
}

.info-card-body p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Story Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sunrise), var(--sky));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--sunrise);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   Guide Steps
   ============================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sunrise), var(--warm-gold));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 123, 66, 0.25);
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--sunrise);
}

.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--sunrise);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================
   System Requirements Table
   ============================================ */
.specs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-darker);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.specs-table th,
.specs-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-darker);
  font-size: 0.95rem;
}

.specs-table th {
  background: linear-gradient(135deg, #FFF0E5, #FFF5EC);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.specs-table td {
  color: var(--text-secondary);
}

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

.specs-table .spec-category {
  font-weight: 700;
  color: var(--sunrise-dark);
  background: rgba(255, 123, 66, 0.04);
}

/* ============================================
   CTA Box
   ============================================ */
.cta-box {
  background: linear-gradient(135deg, #FFF0E5, #E8F4FB);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--sunrise), var(--sunrise-dark));
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 123, 66, 0.35);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 123, 66, 0.45);
  color: var(--white);
}

/* ============================================
   Page Hero (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, #FFF0E5 0%, #E8F4FB 100%);
  padding: 3rem 0 2rem;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--sunrise);
}

.breadcrumb .breadcrumb-sep {
  color: var(--cream-darker);
}

/* ============================================
   Content Card (generic)
   ============================================ */
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-darker);
  margin-bottom: 2rem;
}

.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream-darker);
}

.content-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.content-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-card ul,
.content-card ol {
  margin-bottom: 1rem;
}

.content-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

/* ============================================
   Highlight Boxes
   ============================================ */
.highlight-box {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.highlight-box.tip {
  background: rgba(123, 198, 126, 0.1);
  border-left: 4px solid var(--soft-green);
  color: #3D5A3E;
}

.highlight-box.warning {
  background: rgba(255, 123, 66, 0.08);
  border-left: 4px solid var(--sunrise);
  color: var(--text-primary);
}

.highlight-box.info {
  background: rgba(135, 206, 235, 0.12);
  border-left: 4px solid var(--sky);
  color: #2D5A6E;
}

/* ============================================
   Character Stat bars
   ============================================ */
.char-stat-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.char-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.char-stat-label {
  width: 60px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.char-stat-bar {
  flex: 1;
  height: 8px;
  background: var(--cream-darker);
  border-radius: 4px;
  overflow: hidden;
}

.char-stat-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sunrise), var(--warm-gold));
  transition: width 0.6s ease;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--cream-darker);
  padding: 1.5rem;
  text-align: center;
  margin-top: auto;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ============================================
   Go Top Button
   ============================================ */
.go-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sunrise);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  z-index: 50;
}

.go-top.visible {
  opacity: 1;
  visibility: visible;
}

.go-top:hover {
  background: var(--sunrise-dark);
  transform: translateY(-2px);
}

/* ============================================
   Utility Classes
   ============================================ */
.bg-white {
  background: var(--white);
}

.intro-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.intro-text-sm {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.char-stat-fill-90 { width: 90%; }
.char-stat-fill-85 { width: 85%; }
.char-stat-fill-80 { width: 80%; }
.char-stat-fill-78 { width: 78%; }
.char-stat-fill-75 { width: 75%; }
.char-stat-fill-70 { width: 70%; }
.char-stat-fill-65 { width: 65%; }
.char-stat-fill-60 { width: 60%; }
.char-stat-fill-55 { width: 55%; }
.char-stat-fill-50 { width: 50%; }
.char-stat-fill-40 { width: 40%; }
.char-stat-fill-35 { width: 35%; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-desc {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--cream-darker);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .content-card {
    padding: 1.25rem;
  }

  .step-item {
    flex-direction: column;
    gap: 0.75rem;
  }
}
