/* ========================================
   泰古神 TAIGUSHEN — 品牌官網
   黑金奢華 · 台灣市場繁中版
   ======================================== */

/* ----- CSS Variables ----- */
:root {
  --black: #0a0a0a;
  --black-2: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #a8882e;
  --green-deep: #1a3c2e;
  --green-mid: #2d5a4a;
  --gray-100: #f5f5f0;
  --gray-200: #e0ddd5;
  --gray-400: #8a867e;
  --gray-600: #5a5750;
  --white: #ffffff;
  --bg-dark: #0d0d0b;
  --bg-card: #141412;
  --font-cn: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-en: 'Inter', 'Helvetica Neue', sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  background: var(--bg-dark);
  color: var(--gray-100);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark { background: var(--bg-dark); }
.section-card { background: var(--bg-card); }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  margin-bottom: 16px;
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-400);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

.gold-text { color: var(--gold); }
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-cn);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

/* ----- Header / Nav ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 24px;
  font-size: 0.85rem;
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-2) 50%, var(--green-deep) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(26, 60, 46, 0.15) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-5%, 5%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  opacity: 0.6;
  pointer-events: none;
}

/* ----- Products Grid ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}
.product-card:hover::before { opacity: 1; }

.product-card .product-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  border-radius: var(--radius-sm);
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.product-card .product-desc {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.product-card .product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.product-card .product-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ----- Features / Brand Story ----- */
.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-story-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 24px;
}

.brand-story-text p {
  color: var(--gray-400);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.brand-story-visual {
  background: var(--bg-card);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.1);
  position: relative;
  overflow: hidden;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.value-item .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.value-item p {
  color: var(--gray-400);
  font-size: 0.85rem;
}

/* ----- Testimonials ----- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-card .author {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ----- FAQ ----- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
}

.faq-question .arrow {
  transition: var(--transition);
  color: var(--gold);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}

/* ----- CTA ----- */
.cta-section {
  background: linear-gradient(135deg, var(--black), var(--green-deep));
  text-align: center;
  padding: 120px 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--gray-400);
  max-width: 500px;
  margin: 0 auto 40px;
}

/* ----- Footer ----- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--gray-400);
  font-size: 1.3rem;
}

.footer-social a:hover { color: var(--gold); }

/* ----- Product Page ----- */
.product-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--black), var(--black-2));
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  background: var(--bg-card);
  border-radius: var(--radius);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.product-info h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 24px;
}

.product-info .desc {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-info .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.spec-item {
  background: var(--bg-card);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.spec-item .label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-item .value {
  font-weight: 600;
  margin-top: 4px;
}

.product-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50px;
  overflow: hidden;
}

.qty-selector button {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.qty-selector button:hover { background: rgba(201, 168, 76, 0.1); }

.qty-selector input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-cn);
}

/* ----- Blog Page ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}

.blog-card-img {
  height: 200px;
  background: var(--black-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body .tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.blog-card-body p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-card-body .read-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  
  .brand-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .section { padding: 60px 0; }

  .hero-visual { display: none; }

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
