/* KOZUMUWAN - SUO Life 完全模仿 */
:root {
  --color-bg: #ffffff;
  --color-banner: #6b6b6b;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-border: #e5e5e5;
  --color-cta-border: #8b7355;
  --color-cta-text: #8b7355;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* 顶部促销横幅 */
.top-banner {
  background: var(--color-banner);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Header - 左导航、中Logo、右链接 */
.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-left {
  display: flex;
  gap: 2rem;
}

.nav-left a,
.nav-right a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-left a:hover,
.nav-right a:hover {
  opacity: 0.7;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text);
  text-decoration: none;
}

.nav-right {
  margin-left: auto;
}

/* Hero - 全屏视频背景 */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.3;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  border: 1px solid var(--color-cta-border);
  color: var(--color-cta-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.hero-cta:hover {
  background: var(--color-cta-border);
  color: white;
}

/* 产品网格 - SUO 风格 */
.collection {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 2.5rem;
}

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

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.product-card {
  background: white;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f8f8;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 第二张 10m 防雨型：图片缩小以与其他产品协调 */
.product-card-10m .product-image img {
  object-fit: contain;
  padding: 12%;
}

.product-logo {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 70px;
  height: 24px;
  background: url(assets/logo.png) no-repeat center;
  background-size: contain;
  opacity: 0.95;
}

.product-dots {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-text);
  line-height: 1;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.product-rating {
  font-size: 0.8rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.product-price {
  font-size: 0.95rem;
  font-weight: 500;
}

.collection-link {
  display: block;
  text-align: center;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.collection-link:hover {
  opacity: 0.7;
}

/* VCT CABLE 产品图 - 同一图片横向平铺铺满 */
.vct-section {
  padding: 0;
  background: var(--color-bg);
  overflow: hidden;
}

.vct-link {
  display: block;
  width: 100%;
  height: clamp(320px, 45vh, 500px);
  background: url(assets/vct-cable.png) repeat-x left center;
  background-size: auto 100%;
}

/* 大图+产品卡 两栏布局 */
.featured-layout {
  padding: 4rem 2rem;
  background: var(--color-bg);
}

.featured-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .featured-inner {
    grid-template-columns: 1fr;
  }
}

.featured-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}

.featured-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-product {
  padding: 1rem 0;
}

.featured-product-image {
  aspect-ratio: 1;
  max-width: 320px;
  overflow: hidden;
  background: #f8f8f8;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-product h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.featured-product .product-rating {
  margin-bottom: 0.5rem;
}

.featured-product .product-price {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.product-link {
  display: inline-block;
  color: var(--color-text);
  text-decoration: underline;
  font-size: 0.9rem;
}

.product-link:hover {
  opacity: 0.7;
}

/* 全宽 Hero 区块 - 视频背景 */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section-video {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
}

.hero-section-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.hero-section-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-section-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.hero-section-desc {
  font-size: 1rem;
  color: white;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.featured-layout-alt .featured-inner {
  direction: rtl;
}

.featured-layout-alt .featured-inner > * {
  direction: ltr;
}

.featured-layout-alt .featured-media {
  order: 2;
}

.featured-layout-alt .featured-product {
  order: 1;
}

/* About - 背景图 + 左对齐文字（SUO 风格） */
.about {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 3rem 4rem;
  text-align: left;
}

.about-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: white;
  margin-bottom: 0.5rem;
}

.about-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.about-desc {
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-content .hero-cta {
  display: inline-block;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 1.5rem 0;
  background: var(--color-text);
  color: white;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-inner span {
  flex-shrink: 0;
  padding-right: 4rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Footer */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--color-text);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
