/* ==========================================================================
   ATELIER SURFACE - KITCHEN COUNTERTOP CARE GUIDE
   Theme: Architectural Luxury, Dark & Light Mode, Glassmorphism, Micro-interactions
   ========================================================================== */

/* --- CSS Root Variables --- */
:root {
  /* Dark Mode Palette (Default) */
  --bg-main: #0c1017;
  --bg-card: rgba(20, 27, 40, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-elevated: #151d2a;
  --bg-glass: rgba(12, 16, 23, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(217, 119, 6, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Luxury Accent Palette: Warm Bronze & Champagne Gold */
  --gold-primary: #e2b170;
  --gold-secondary: #d97706;
  --gold-glow: rgba(226, 177, 112, 0.2);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #e2b170 100%);
  
  /* Material Tone Badges */
  --steel-color: #38bdf8;
  --steel-bg: rgba(56, 189, 248, 0.12);
  --ceramic-color: #34d399;
  --ceramic-bg: rgba(52, 211, 153, 0.12);
  --quartz-color: #fbbf24;
  --quartz-bg: rgba(251, 191, 36, 0.12);
  --mma-color: #f472b6;
  --mma-bg: rgba(244, 114, 182, 0.12);

  /* Status Colors */
  --danger-color: #f43f5e;
  --danger-bg: rgba(244, 63, 94, 0.12);
  --success-color: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  
  /* Sizing & Transitions */
  --header-height: 74px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 25px rgba(226, 177, 112, 0.25);
}

/* Light Mode Palette */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-highlight: rgba(217, 119, 6, 0.4);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --gold-primary: #b45309;
  --gold-secondary: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.12);
  --gold-gradient: linear-gradient(135deg, #b45309 0%, #d97706 60%, #92400e 100%);

  --steel-color: #0284c7;
  --steel-bg: rgba(2, 132, 199, 0.08);
  --ceramic-color: #059669;
  --ceramic-bg: rgba(5, 150, 105, 0.08);
  --quartz-color: #d97706;
  --quartz-bg: rgba(217, 119, 6, 0.08);
  --mma-color: #db2777;
  --mma-bg: rgba(219, 39, 119, 0.08);

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.07);
  --shadow-gold: 0 0 20px rgba(217, 119, 6, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  font-family: "Pretendard", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle architectural marble pattern overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(var(--gold-glow) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

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

ul {
  list-style: none;
}

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold-gradient);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --- Layout Utility --- */
.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.tag-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: var(--gold-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid var(--border-highlight);
}

.tag-label.danger-tag {
  color: var(--danger-color);
  background: var(--danger-bg);
  border-color: rgba(244, 63, 94, 0.3);
}

.section-heading {
  font-family: "Playfair Display", "Pretendard", serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.25;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.logo-mark.mini {
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
}

.logo-title {
  color: var(--text-primary);
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.logo-sub {
  color: var(--gold-primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

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

.main-nav .nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
  padding: 6px 0;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
  color: #facc15;
}

.main-nav .nav-links a.active {
  font-weight: 700;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.45);
}

.main-nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #facc15;
  transition: width var(--transition), background-color var(--transition);
  border-radius: 2px;
}

.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
  width: 100%;
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.7);
}

[data-theme="light"] .main-nav .nav-links a:hover,
[data-theme="light"] .main-nav .nav-links a.active {
  color: #ca8a04;
  text-shadow: none;
}

[data-theme="light"] .main-nav .nav-links a:hover::after,
[data-theme="light"] .main-nav .nav-links a.active::after {
  background: #ca8a04;
  box-shadow: 0 0 8px rgba(202, 138, 4, 0.4);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.ctrl-btn:hover {
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--gold-glow);
}

.theme-btn {
  width: 40px;
  padding: 0;
}

.theme-btn .sun-icon {
  display: none;
}

.theme-btn .moon-icon {
  display: block;
}

[data-theme="light"] .theme-btn .sun-icon {
  display: block;
}

[data-theme="light"] .theme-btn .moon-icon {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section & Atmospheric Kitchen Backdrop --- */
.hero-section {
  position: relative;
  padding: 180px 0 110px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: -15px;
  background-image: url('kitchen-bg.jpg');
  background-size: cover;
  background-position: center 36%;
  filter: brightness(0.8) contrast(1.08);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 95% 75% at 50% 32%, rgba(12, 16, 23, 0.4) 0%, rgba(12, 16, 23, 0.85) 65%, var(--bg-main) 100%),
    linear-gradient(180deg, rgba(12, 16, 23, 0.82) 0%, rgba(12, 16, 23, 0.45) 35%, rgba(12, 16, 23, 0.88) 80%, var(--bg-main) 100%);
}

[data-theme="light"] .hero-bg-image {
  filter: brightness(1.02) contrast(0.95);
  opacity: 0.3;
}

[data-theme="light"] .hero-bg-overlay {
  background: 
    radial-gradient(ellipse 95% 75% at 50% 32%, rgba(248, 250, 252, 0.5) 0%, rgba(248, 250, 252, 0.88) 65%, var(--bg-main) 100%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.6) 35%, rgba(248, 250, 252, 0.96) 80%, var(--bg-main) 100%);
}

/* Warm Architectural LED Light Strip (Echoing Reference Image) */
.hero-light-strip {
  position: absolute;
  top: 36%;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0) 15%, 
    rgba(245, 158, 11, 0.5) 50%, 
    rgba(245, 158, 11, 0) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 35px 6px rgba(217, 119, 6, 0.3);
  opacity: 0.65;
}

.hero-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}

.glow-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #d97706 0%, rgba(217, 119, 6, 0) 70%);
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
  top: 40%;
  left: 10%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  background: rgba(20, 27, 40, 0.65);
  border: 1px solid rgba(226, 177, 112, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero-eyebrow {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-secondary);
  box-shadow: 0 0 10px #f59e0b;
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px #f59e0b; }
  50% { opacity: 0.45; transform: scale(0.85); box-shadow: 0 0 4px #f59e0b; }
}

.eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold-gradient);
}

.hero-headline {
  font-family: "Playfair Display", "Pretendard", serif;
  font-size: 3.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .hero-headline {
  text-shadow: 0 1px 15px rgba(255, 255, 255, 0.8);
}

.luxury-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  max-width: 780px;
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 46px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-description {
  text-shadow: none;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-luxury {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(217, 119, 6, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(217, 119, 6, 0.55);
}

.btn-glass {
  background: rgba(20, 27, 40, 0.65);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .btn-glass {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.btn-glass:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .btn-glass:hover {
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Quick Summary Pill Bar - Sleek Frosted Glassmorphism */
.quick-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  max-width: 860px;
}

.summary-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(18, 24, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .summary-pill {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.08);
}

.summary-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 177, 112, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.summary-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 177, 112, 0.4);
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.6), 0 0 25px rgba(217, 119, 6, 0.2);
}

.summary-pill:hover::before {
  opacity: 1;
}

.pill-icon {
  font-size: 1.9rem;
}

.summary-pill strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.summary-pill p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Materials Section --- */
.materials-section {
  padding: 110px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.material-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.material-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
}

.material-card-header {
  margin-bottom: 14px;
}

.material-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.steel-badge { color: var(--steel-color); background: var(--steel-bg); }
.ceramic-badge { color: var(--ceramic-color); background: var(--ceramic-bg); }
.quartz-badge { color: var(--quartz-color); background: var(--quartz-bg); }
.mma-badge { color: var(--mma-color); background: var(--mma-bg); }

.material-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
  word-break: keep-all;
}

.material-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.material-intro {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  word-break: keep-all;
}

/* Spec Meters */
.spec-meters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.meter-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.meter-bar {
  width: 100%;
  height: 5px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.meter-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

/* Care Dos and Don'ts */
.care-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.care-dos strong,
.care-donts strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.care-dos strong { color: var(--success-color); }
.care-donts strong { color: var(--danger-color); }

.care-dos ul,
.care-donts ul {
  padding-left: 16px;
  list-style: disc;
}

.care-dos li,
.care-donts li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 5px;
  word-break: keep-all;
}

/* --- Stains Emergency Lab Section --- */
.stains-section {
  padding: 110px 0;
}

.stain-selector-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stain-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.stain-btn:hover {
  color: var(--text-primary);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.stain-btn.active {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.stain-emoji {
  font-size: 1.25rem;
}

/* Stain Dynamic Display Board */
.stain-dynamic-board {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.stain-meta-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.stain-danger-level {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--danger-color);
  background: var(--danger-bg);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.stain-board-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.stain-board-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.65;
}

.golden-time-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: right;
  min-width: 200px;
}

.time-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.time-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* 4-Material Response Grid */
.response-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.response-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.response-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.response-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.res-material-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  word-break: keep-all;
}

.res-risk-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.risk-safe { background: var(--success-bg); color: var(--success-color); }
.risk-warn { background: var(--quartz-bg); color: var(--quartz-color); }
.risk-danger { background: var(--danger-bg); color: var(--danger-color); }

.res-section-block {
  margin-bottom: 14px;
}

.res-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.label-cleaner { color: var(--ceramic-color); }
.label-action { color: var(--steel-color); }
.label-ban { color: var(--danger-color); }

.res-section-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Benchmark Table Section --- */
.compare-section {
  padding: 110px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.table-responsive-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 760px;
}

.benchmark-table th,
.benchmark-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-table th {
  background: var(--bg-elevated);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.benchmark-table tr:hover td {
  background: rgba(217, 119, 6, 0.03);
}

.metric-name {
  font-weight: 700;
  color: var(--gold-primary);
}

.badge-high {
  display: inline-block;
  font-weight: 800;
  color: var(--success-color);
}

.badge-mid {
  display: inline-block;
  font-weight: 800;
  color: var(--quartz-color);
}

.badge-low {
  display: inline-block;
  font-weight: 800;
  color: var(--danger-color);
}

/* --- Daily Care Rules Section --- */
.daily-section {
  padding: 110px 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.rule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.rule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.rule-card:hover::before {
  opacity: 1;
}

.rule-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-primary);
  opacity: 0.75;
  margin-bottom: 12px;
}

.rule-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* --- Footer --- */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand .logo {
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 2.8rem;
  }
  
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .quick-summary-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  
  .stain-meta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .golden-time-badge {
    width: 100%;
    text-align: left;
  }
}

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

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

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav.mobile-open {
    display: block;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
  }

  .main-nav.mobile-open .nav-links {
    flex-direction: column;
    gap: 16px;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .section-heading {
    font-size: 1.85rem;
  }

  .stain-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}
