/* 
   photocolors Website Stylesheet - Editorial Magazine Theme
   Author: Antigravity
   Aesthetics: Fine-Art Print Magazine layout, Left-fixed Desktop Navigation Sidebar, 
   Asymmetric Editorial Spreads, 3D Layered Mood-Board Collage, 
   Classical Serif Fonts & Vertical Asian Typography, Pastel Paint accents.
*/

@font-face {
  font-family: 'Noto Sans SC';
  src: local('Noto Sans SC'), local('NotoSansSC'), local('Microsoft YaHei'), local('PingFang SC');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --bg-primary: #FAF8F4;      /* Pure linen/cream matte paper background */
  --bg-secondary: #F1F4F0;    /* Muted sage tint */
  --bg-tertiary: #E6EDE5;     /* Soft canvas background */
  --bg-card: rgba(255, 255, 255, 0.88); /* Clean opaque paper card */
  --border-color: rgba(58, 84, 64, 0.09); /* Soft charcoal-green divider */
  --border-hover: rgba(58, 84, 64, 0.25);
  
  --text-primary: #19271C;    /* Ink charcoal */
  --text-secondary: #485A4B;  /* Moss charcoal */
  --text-muted: #809283;      /* Faded lichen gray */
  
  --primary-color: #3A5440;   /* Brand Forest Green */
  --accent-color: #688768;    /* Brand Sage Green */
  --accent-bright: #D39B36;   /* Artistic Ochre Gold */
  
  --font-sans: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --shadow-sm: 0 4px 20px rgba(58, 84, 64, 0.03);
  --shadow-md: 0 16px 40px rgba(58, 84, 64, 0.05);
  --shadow-lg: 0 40px 90px rgba(58, 84, 64, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a, a:hover, a:active, a:focus {
  text-decoration: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  line-height: 1.7;
  background: var(--bg-primary);
  background-image: radial-gradient(rgba(58, 84, 64, 0.02) 1.5px, transparent 0);
  background-size: 32px 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Background Watercolor/Paint blobs for Artistic Style */
.artistic-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.6;
}

.blob-1 {
  top: 5%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(104, 135, 104, 0.14) 0%, rgba(211, 155, 54, 0.04) 70%, transparent 100%);
}

.blob-2 {
  top: 45%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(211, 155, 54, 0.09) 0%, rgba(104, 135, 104, 0.03) 70%, transparent 100%);
}

.blob-3 {
  bottom: 5%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(58, 84, 64, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 3px;
}

/* Left-fixed Navigation & Main Layout (Desktop) */
.site-layout {
  width: 100%;
  min-height: 100vh;
  position: relative;
}

@media (min-width: 769px) {
  .site-navigation {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid var(--border-color);
    background: var(--bg-primary);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
  }
  
  .main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    min-height: 100vh;
    position: relative;
    z-index: 5;
  }
}

/* Navigation Elements */
.logo-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #FFF;
  border: 1px solid var(--border-color);
}

.brand-slogan {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-item a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
  padding: 8px 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-item a::before {
  content: '— ';
  opacity: 0;
  transition: var(--transition-fast);
}

.nav-item a:hover::before,
.nav-item a.active::before {
  opacity: 1;
  color: var(--accent-bright);
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--text-primary);
  transform: translateX(6px);
}

.nav-footer-info {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mobile-header {
  display: none;
}

/* Typography & Visual Accents */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-primary);
}

.seo-h1-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.serif-font {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: normal;
  color: var(--accent-bright);
  -webkit-text-fill-color: var(--accent-bright);
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary-color);
  color: #FFF;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background: #FFF;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: #FFF;
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border-color);
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* Hero Section: Editorial Asymmetric Layout */
.hero-section {
  padding-top: 100px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--border-color);
  content-visibility: visible;
  contain-intrinsic-size: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--accent-color);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* 3D Layered Mood-Board Collage */
.mood-board {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Polaroid Mockup */
.mood-polaroid {
  position: absolute;
  top: 12%;
  left: 2%;
  width: 220px;
  background: #FFF;
  padding: 12px 12px 32px 12px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(58, 84, 64, 0.07);
  transform: rotate(-8deg);
  border: 1px solid rgba(0, 0, 0, 0.02);
  z-index: 1;
}

.mood-polaroid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 1px;
}

.mood-polaroid::after {
  content: '西湖晚照 提取';
  position: absolute;
  bottom: 8px;
  left: 12px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Overlapping Color card fan-out */
.mood-swatches {
  position: absolute;
  bottom: 10%;
  right: 4%;
  width: 180px;
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 15px 40px rgba(58, 84, 64, 0.08);
  transform: rotate(6deg);
  border: 1px solid var(--border-color);
  z-index: 3; /* Higher z-index to overlap the logo card naturally */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swatch-strip {
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-family: monospace;
  font-size: 0.72rem;
  color: #FFF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Brand Logo Polaroid Card */
.mood-logo-card {
  top: auto;
  bottom: 4%;
  left: 15%; /* Shifted further left and down to clear overlap with right card */
  z-index: 4; /* Keep the brand logo card above the swatches stack */
  transform: rotate(3deg) translateY(0);
  box-shadow: 0 15px 35px rgba(58, 84, 64, 0.10);
}

.mood-logo-card::after {
  content: 'PhotoColors 标志' !important;
}

.mood-logo-card:hover {
  transform: rotate(0deg) translateY(-20px) scale(1.05);
}

.mood-logo-img-inside {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: 1px;
  padding: 24px;
}

/* Editorial Spreads (Replacing standard Bento cards) */
.section-header {
  margin-bottom: 80px;
}

.section-header .sub-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.editorial-spread {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}

.editorial-spread:last-child {
  margin-bottom: 0;
}

.editorial-spread.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

/* Huge faint layout numbers in background */
.spread-num {
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(58, 84, 64, 0.05);
  position: absolute;
  top: -60px;
  left: -20px;
  line-height: 1;
  user-select: none;
}

.spread-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.spread-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
}

.spread-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Vertical Slogan layout for Asian Artistic look */
.spread-slogan-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.3em;
  opacity: 0.65;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--border-color);
  padding-left: 20px;
}

/* Spread Visual Containers */
.spread-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Smartphone Mockup Container - Aspect Ratio 1080x2200 */
.phone-mockup {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1080 / 2200;
  background: #19271C; /* Ink charcoal frame matching --text-primary */
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(25, 39, 28, 0.12),
              0 2px 5px rgba(25, 39, 28, 0.05),
              inset 0 0 2px 2px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(25, 39, 28, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.phone-mockup:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 30px 60px rgba(25, 39, 28, 0.18);
}

/* Smartphone notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 3.5%;
  background: #000;
  border-radius: 6px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--bg-primary);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Details page feature layout block */
.feature-block {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.feature-block-text {
  flex: 1.3;
}

.feature-block-visual {
  flex: 0.7;
  display: flex;
  justify-content: center;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

/* Visual elements inside spreads */
.color-swatch-fan {
  display: flex;
  gap: 12px;
  width: 100%;
}

.fan-card {
  flex: 1;
  height: 180px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.fan-card:hover {
  flex: 2.2;
  transform: translateY(-12px);
  box-shadow: 0 16px 36px rgba(58, 84, 64, 0.15);
}

.spread-geo-box {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 100%;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spread-convert-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* Season Mood Color Palette Switcher (Interactive Art Feature) */
.season-switcher-section {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.season-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.season-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.season-btn .btn-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.season-btn .season-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.season-btn .season-slogan {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.season-btn:hover,
.season-btn.active {
  background: #FFF;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.season-btn.active {
  border-width: 2px;
}

.season-palette-display {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.season-color-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.season-color-chip {
  flex: 1;
  height: 240px;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.season-color-chip:hover {
  transform: scale(1.05) translateY(-8px);
  z-index: 5;
}

.season-art-desc h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.season-art-desc p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* CTA Block (Artistic Paper Sheet) */
.cta-box {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Editorial Subpages Layout */
.subpage-header {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--border-color);
  content-visibility: visible;
  contain-intrinsic-size: none;
}

.subpage-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.subpage-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
}

.editorial-columns {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 60px;
  padding: 80px 0;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-secondary);
}

.article-content p {
  margin-bottom: 32px;
}

.article-content p::first-letter {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
}

/* Reset float drop cap on subheadings */
.article-content h2 + p::first-letter,
.article-content h3 + p::first-letter {
  float: none;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
}

.article-content h2 {
  font-size: 1.85rem;
  color: var(--text-primary);
  margin: 48px 0 24px;
  font-weight: 800;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 12px;
  display: inline-block;
}

.article-content h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin: 32px 0 16px;
  font-weight: 700;
}

.article-content ul, .article-content ol {
  margin: 0 0 32px 24px;
}

.article-content li {
  margin-bottom: 12px;
}

/* Postcard Sidebar Elements */
.postcard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.postcard-card {
  background: #FFF;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.postcard-card::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
}

.postcard-card h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.postcard-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.postcard-card li {
  font-size: 0.92rem;
}

.postcard-card a:not(.btn) {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.postcard-card a:not(.btn):hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Timeline Components (Versions Page) */
.timeline-editorial {
  position: relative;
  padding: 40px 0;
}

.timeline-editorial::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 1px;
  background: var(--border-color);
}

.timeline-editorial-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 80px;
}

.timeline-editorial-item:last-child {
  margin-bottom: 0;
}

.timeline-editorial-dot {
  position: absolute;
  left: 13px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--primary-color);
  z-index: 5;
}

.timeline-editorial-card {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.timeline-editorial-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.timeline-editorial-title {
  font-size: 1.45rem;
  font-weight: 800;
}

.timeline-editorial-date {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-bright);
}

/* Modal Windows */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 39, 28, 0.4);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  width: 90%;
  max-width: 720px;
  max-height: 80vh;
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 48px;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--primary-color);
  color: #FFF;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.modal-body {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.modal-body h4 {
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.modal-body p {
  margin-bottom: 16px;
}

/* Mobile Layout styles */
@media (max-width: 768px) {
  .artistic-blob {
    display: none;
  }

  .site-navigation {
    display: none;
  }
  
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 1000;
  }
  
  .mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
  }
  
  .mobile-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #FFF;
  }
  
  .mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
  }
  
  .mobile-nav-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(58, 84, 64, 0.05);
  }
  
  .mobile-nav-overlay.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .mobile-nav-menu a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
  }
  
  .mobile-nav-menu a.active {
    color: var(--primary-color);
  }
  
  .main-content {
    margin-left: 0;
    width: 100%;
    padding-top: 64px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-description {
    padding-left: 0;
    border-left: none;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .editorial-spread, 
  .editorial-spread.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .editorial-spread.reverse .spread-text {
    order: 2;
  }
  
  .spread-slogan-vertical {
    display: none;
  }
  
  .season-btn-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .season-palette-display {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .season-color-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }
  
  .season-color-chip {
    height: 120px;
    padding: 12px 16px;
    font-size: 0.8rem;
  }
  
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .subpage-header {
    padding: 40px 0 30px !important;
  }

  .editorial-columns {
    grid-template-columns: 1fr;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .feature-block {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .feature-block.reverse {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 32px;
  }

  .feature-block-text,
  .feature-block-visual {
    flex: none;
    width: 100%;
  }

  .timeline-editorial-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-index-card > div[style*="justify-content: space-between"] {
    flex-direction: column;
    align-items: flex-start !important;
  }

  /* Versions & FAQ Section columns collapse */
  .versions-faq-section .container {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

.read-more-link {
  transition: var(--transition-smooth);
}

.read-more-link:hover {
  color: var(--primary-color) !important;
  opacity: 0.8;
}

.read-more-link svg {
  transition: transform 0.3s ease;
}

.read-more-link:hover svg {
  transform: translateX(4px);
}

.article-index-card {
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth) !important;
}

.article-index-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
  border-color: var(--primary-color) !important;
}

.article-index-card h2 a {
  transition: color var(--transition-smooth);
}

.article-index-card h2 a:hover {
  color: var(--primary-color) !important;
}

/* Custom CSS Mockups for Article Detail Pages */
.mockup-app-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.75rem;
  color: var(--text-primary);
  background: var(--bg-primary);
}

.mockup-app-header {
  height: 36px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-weight: bold;
  background: var(--bg-secondary);
}

.mockup-app-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

/* Color Extractor Mockup */
.mockup-photo-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1E3F20 0%, #8FA882 50%, #E8D3A7 100%);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.mockup-photo-preview.warm {
  background: linear-gradient(135deg, #D1513B 0%, #E8D3A7 60%, #1E3F20 100%);
}

.mockup-photo-preview.polaroid {
  aspect-ratio: 1 / 1;
  border: 6px solid #FFF;
  border-bottom-width: 20px;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #2c3e50 0%, #bdc3c7 100%);
}

.mockup-color-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #FFF;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.mockup-palette-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-palette-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFF;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.mockup-color-swatch {
  width: 24px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.mockup-color-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.7rem;
}

.mockup-app-button {
  background: var(--primary-color);
  color: #FFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.mockup-app-button:hover {
  opacity: 0.9;
}

/* Live Photo Player Mockup */
.mockup-live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.5);
  color: #FFF;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.mockup-live-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #FFE600;
  border-radius: 50%;
}

.mockup-timeline-track {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  justify-content: space-between;
}

.mockup-timeline-frame {
  flex: 1;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
  border: 1px solid transparent;
  opacity: 0.6;
}

.mockup-timeline-frame.active {
  border-color: var(--primary-color);
  opacity: 1;
  box-shadow: 0 0 0 1px var(--primary-color);
}

/* Exif Location Mockup */
.mockup-poetry-box {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  line-height: 1.5;
}

.mockup-poetry-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.mockup-poetry-content {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--text-primary);
  text-align: center;
  padding: 8px 0;
}

.mockup-exif-badge {
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-family: monospace;
}

/* Stamp Overlay */
.mockup-stamp-sticker {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.mockup-stamp-dots {
  display: flex;
  gap: 4px;
}

.mockup-stamp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Article Navigation Subpages component */
.article-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.article-navigation .nav-btn {
  flex: 1;
  min-width: 0;
}

.article-navigation .nav-link {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  height: 100%;
  text-decoration: none !important;
}

.article-navigation .nav-link:hover {
  border-color: var(--primary-color);
  background: #FFF;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-navigation .nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  margin-bottom: 8px;
  display: block;
}

.article-navigation .nav-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: var(--transition-fast);
}

.article-navigation .nav-link:hover .nav-title {
  color: var(--primary-color);
}

.article-navigation .nav-disabled {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: transparent;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  height: 100%;
  opacity: 0.65;
}

.article-navigation .nav-disabled .nav-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.article-navigation .nav-disabled .nav-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 576px) {
  .article-navigation {
    flex-direction: column;
    gap: 16px;
  }
}

/* Homepage Insights Grid */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}





/* Floating Download Button */
.floating-download-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: var(--primary-color);
  color: #FFF !important;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(58, 84, 64, 0.25);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--primary-color);
  cursor: pointer;
  text-decoration: none !important;
}

.floating-download-btn svg {
  transition: transform 0.3s ease;
}

.floating-download-btn:hover {
  background-color: #FFF;
  color: var(--primary-color) !important;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(58, 84, 64, 0.35);
  border-color: var(--primary-color);
}

.floating-download-btn:hover svg {
  transform: translateY(2px);
}

@media (max-width: 768px) {
  .floating-download-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(58, 84, 64, 0.2);
  }
}
