/* ===== CatTunnel — 北欧侘寂风电商站 ===== */
/* === Reset & Base === */
::selection { background: #C9A96E33; color: #2C2420; }
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #F5F0EB;
  color: #2C2420;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Noise Texture Overlay === */
.noise-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* === Typography === */
h1, h2, h3, .display-font {
  font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* === Nav === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(245, 240, 235, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 125, 114, 0.12);
  transition: all 0.4s ease;
}
.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem; letter-spacing: 0.08em;
  color: #2C2420; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo span { color: #C9A96E; font-size: 1.1rem; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #6B5D52;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #C9A96E;
  transition: width 0.4s ease;
}
.nav-links a:hover { color: #2C2420; }
.nav-links a:hover::after { width: 100%; }
.nav-cart {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: #6B5D52; cursor: pointer; transition: color 0.3s;
}
.nav-cart:hover { color: #2C2420; }
.nav-cart svg { width: 18px; height: 18px; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; cursor: pointer; }
.menu-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: #2C2420; margin: 5px 0;
  transition: all 0.3s;
}

/* === Sections Common === */
section { position: relative; }
.section-label {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: #B8A99A;
  margin-bottom: 0.75rem;
}
.container {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}

/* === Hero === */
.hero {
  height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-video-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #EDE5DC 0%, #D4C5B2 100%);
}
.hero-video-bg video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, transparent 30%, rgba(245,240,235,0.8) 80%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 2rem;
}
.hero-sub {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: #8B7D72; margin-bottom: 1.5rem;
  animation: fadeUp 1s 0.2s both;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  color: #2C2420; margin-bottom: 1rem;
  animation: fadeUp 1s 0.4s both;
}
.hero h1 .gold { color: #C9A96E; font-style: italic; }
.hero-desc {
  font-size: 1.05rem; color: #6B5D52;
  max-width: 440px; margin: 0 auto 2.5rem;
  animation: fadeUp 1s 0.6s both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: #2C2420; color: #F5F0EB;
  border: none; border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.4s;
  animation: fadeUp 1s 0.8s both;
}
.hero-cta:hover {
  background: #C9A96E; color: #2C2420;
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: #8B7D72; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  animation: fadeUp 1s 1.2s both;
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, #8B7D72, transparent);
  animation: scrollPulse 2s infinite;
}

/* === Philosophy Section === */
.philosophy {
  padding: 10rem 0 8rem;
  background: #F5F0EB;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.philosophy-image {
  position: relative; height: 500px;
  background: linear-gradient(145deg, #EDE5DC, #D4C5B2);
  overflow: hidden;
}
.phil-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #B8A99A; font-size: 0.8rem; letter-spacing: 0.1em;
}
.philosophy-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.philosophy-text p {
  color: #6B5D52; font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1.2rem;
}
.phil-signature {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid #D4C5B2;
  display: flex; align-items: center; gap: 1rem;
}
.phil-signature span {
  font-family: 'Instrument Serif', serif;
  font-size: 1.1rem; color: #8B7D72;
}

/* === Products — Asymmetric Grid === */
.products {
  padding: 8rem 0;
  background: #EDE5DC;
}
.products-header {
  text-align: center; margin-bottom: 5rem;
}
.products-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}
.products-header p {
  color: #6B5D52; max-width: 480px; margin: 0 auto;
}
.asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  grid-auto-rows: 320px;
}
.product-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: #F5F0EB; border-radius: 2px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.product-card:hover { transform: translateY(-8px); }
.product-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.product-card:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.product-card:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.product-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 4; }
.product-card-image {
  height: 100%; width: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #F5F0EB, #E8DFD5);
  position: relative;
}
.card-bg-shape {
  position: absolute; width: 80%; height: 80%;
  border: 1px solid #D4C5B2; border-radius: 50%;
  opacity: 0.3;
}
.product-card:nth-child(1) .card-bg-shape {
  width: 70%; height: 70%; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.product-card:nth-child(2) .card-bg-shape {
  width: 60%; height: 60%; border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.product-card:nth-child(3) .card-bg-shape {
  width: 50%; height: 70%; border-radius: 80% 20% 50% 50% / 20% 80% 20% 80%;
}
.product-card:nth-child(4) .card-bg-shape {
  width: 40%; height: 80%; border-radius: 40% 60% 20% 80% / 30% 40% 60% 70%;
}
.product-card-label {
  position: relative; z-index: 2;
  text-align: center;
}
.product-card-label h3 {
  font-size: 1.2rem; margin-bottom: 0.25rem;
}
.product-card-label p {
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: #8B7D72; text-transform: uppercase;
}
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.4), transparent);
  opacity: 0; transition: opacity 0.5s;
  display: flex; align-items: flex-end; padding: 2rem;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay span {
  color: #F5F0EB; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* === 3D Configurator Section === */
.configurator {
  padding: 8rem 0;
  background: #F5F0EB;
}
.configurator-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: center;
}
.config-3d-preview {
  height: 500px;
  background: linear-gradient(135deg, #EDE5DC 0%, #D4C5B2 100%);
  border-radius: 2px; position: relative; overflow: hidden;
}
.config-3d-preview .placeholder-3d {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #8B7D72;
}
.config-3d-preview .placeholder-3d .orbit-icon {
  width: 80px; height: 80px; border: 2px solid #B8A99A; border-radius: 50%;
  position: relative; margin-bottom: 1.5rem;
  animation: orbitSpin 12s linear infinite;
}
.config-3d-preview .placeholder-3d .orbit-icon::before {
  content: ''; position: absolute; width: 12px; height: 12px;
  background: #C9A96E; border-radius: 50%; top: -6px; left: 50%; transform: translateX(-50%);
}
.config-3d-preview .placeholder-3d p {
  font-size: 0.7rem; letter-spacing: 0.15em; color: #B8A99A;
}
.config-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.2rem;
}
.config-info p {
  color: #6B5D52; font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem;
}
.config-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 2rem;
  border: 1px solid #2C2420; color: #2C2420;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: all 0.4s; border-radius: 2px;
}
.config-cta:hover {
  background: #2C2420; color: #F5F0EB;
}

/* === Materials Section === */
.materials {
  padding: 8rem 0;
  background: #EDE5DC;
}
.materials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.material-item {
  background: #F5F0EB; padding: 3rem 2rem;
  text-align: center; border-radius: 2px;
  transition: transform 0.4s;
}
.material-item:hover { transform: translateY(-4px); }
.material-icon {
  width: 60px; height: 60px; margin: 0 auto 1.5rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.material-icon.wool { background: #D4C5B2; }
.material-icon.oak { background: #C9A96E33; color: #8B7D72; }
.material-icon.linen { background: #EDE5DC; }
.material-item h3 {
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.material-item p {
  font-size: 0.8rem; color: #8B7D72; line-height: 1.6;
}
/* === Lifestyle Section === */
.lifestyle {
  padding: 8rem 0;
  background: #F5F0EB;
}
.lifestyle-showcase {
  display: grid;
  grid-template-columns: 0.6fr 1fr 0.8fr;
  grid-template-rows: 300px 300px;
  gap: 1rem;
}
.lifestyle-item {
  background: linear-gradient(145deg, #EDE5DC, #D4C5B2);
  border-radius: 2px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #B8A99A; font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lifestyle-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.lifestyle-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.lifestyle-item:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.lifestyle-item:nth-child(4) { grid-column: 3 / 4; grid-row: 1 / 3; }

/* === Specs & Pricing === */
.specs {
  padding: 8rem 0;
  background: #2C2420; color: #EDE5DC;
}
.specs-header { text-align: center; margin-bottom: 4rem; }
.specs-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem;
}
.specs-header p { color: #B8A99A; }
.specs-table {
  max-width: 800px; margin: 0 auto;
  border-collapse: collapse; width: 100%;
}
.specs-table th, .specs-table td {
  padding: 1rem 1.5rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.specs-table th {
  font-family: 'Instrument Serif', serif;
  font-size: 0.9rem; font-weight: 400;
  color: #C9A96E; letter-spacing: 0.05em;
}
.specs-table td { color: #D4C5B2; }
.specs-table tr:last-child td, .specs-table tr:last-child th { border: none; }
.price-row td {
  padding-top: 2rem; font-size: 1.1rem;
  font-family: 'Instrument Serif', serif; color: #F5F0EB;
}

/* === Bottom CTA === */
.bottom-cta {
  padding: 6rem 0;
  background: #F5F0EB; text-align: center;
}
.bottom-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
}
.bottom-cta p {
  color: #6B5D52; max-width: 400px; margin: 0 auto 2rem;
  font-size: 0.95rem;
}
.cta-group {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.cta-primary {
  padding: 1rem 2.5rem; background: #2C2420; color: #F5F0EB;
  border: none; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
  transition: all 0.4s;
}
.cta-primary:hover { background: #C9A96E; color: #2C2420; }
.cta-secondary {
  padding: 1rem 2.5rem; background: transparent;
  border: 1px solid #2C2420; color: #2C2420; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
  transition: all 0.4s;
}
.cta-secondary:hover { background: #2C2420; color: #F5F0EB; }

/* === Footer === */
footer {
  padding: 3rem 2rem;
  background: #2C2420; color: #8B7D72;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
footer .footer-links { display: flex; gap: 2rem; }
footer .footer-links a {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: #B8A99A;
  transition: color 0.3s;
}
footer .footer-links a:hover { color: #C9A96E; }
footer .footer-copy {
  font-size: 0.7rem; letter-spacing: 0.05em;
}

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .configurator-inner { grid-template-columns: 1fr; }
  .config-3d-preview { height: 350px; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245,240,235,0.98);
    padding: 2rem; gap: 1.5rem;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139,125,114,0.12);
  }
  .asymmetric-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .product-card:nth-child(1),
  .product-card:nth-child(2),
  .product-card:nth-child(3),
  .product-card:nth-child(4) {
    grid-column: 1; grid-row: auto;
  }
  .materials-grid { grid-template-columns: 1fr; }
  .lifestyle-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }
  .lifestyle-item:nth-child(1),
  .lifestyle-item:nth-child(4) {
    grid-column: span 1;
  }
  .specs-table th, .specs-table td { padding: 0.75rem; }
  footer { flex-direction: column; text-align: center; }
}
