﻿/* === Layout === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--section-padding); position: relative; }
.section-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--gray); }
.font-heading { font-family: var(--font-heading); }
.uppercase { text-transform: uppercase; letter-spacing: 0.12em; }

/* === Typography === */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  color: var(--gray);
  text-transform: none;
  letter-spacing: normal;
  max-width: 720px;
  margin: 0 auto 3rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--black-obsidian);
}
.btn-primary:hover {
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
  color: var(--black-obsidian);
}
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.08);
  color: var(--gold);
}

/* === Navigation === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 0;
}
.navbar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.nav-links {
  display: flex; gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black-soft);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* === Cards === */
.card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--gold-glow);
  transform: translateY(-4px);
}
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.card-desc { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* === Footer === */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--gray); font-size: 0.85rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* === Animations === */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.8s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Service Card (Services Page) === */
.service-card {
  background: var(--black-soft);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--gold-glow);
}
.service-icon-wrap { display: flex; align-items: center; justify-content: center; }

/* === Ritual / Product Cards === */
.ritual-card, .product-card {
  overflow: hidden;
}
.ritual-img, .product-img {
  background: radial-gradient(ellipse at center, rgba(197,160,89,0.12) 0%, var(--black-soft) 70%);
  display: flex; align-items: center; justify-content: center;
}

/* === FAQ === */
.faq-item h4 { cursor: pointer; }
.faq-item h4::after { content: ' +'; float: right; color: var(--gold-dim); font-size: 1.2rem; }
.faq-item h4.active::after { content: ' −'; }

/* === Hero === */
.hero { position: relative; overflow: hidden; }
.hero-particles {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(197,160,89,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-scroll { position: absolute; bottom: 2rem; }

/* === About === */
.about-grid, .master-jin-grid { display: grid; gap: 4rem; }
.portrait-placeholder {
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, rgba(197,160,89,0.08) 0%, var(--black-soft) 70%);
}

/* === Pillars Grid === */
.pillars-grid { display: grid; gap: 2rem; }

/* === Services Preview === */
.services-preview-grid { display: grid; gap: 2rem; }

/* === Period 9 === */
.period9-visual {
  width: 100%; max-width: 400px; aspect-ratio: 1;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.period9-visual > div:nth-child(2) { position: absolute; width: 85%; height: 85%; border: 1px solid rgba(197,160,89,0.1); border-radius: 50%; }
.period9-visual > div:nth-child(3) { position: absolute; width: 70%; height: 70%; border: 1px solid rgba(197,160,89,0.08); border-radius: 50%; }

/* === QR Placeholder === */
.qr-placeholder {
  width: 120px; height: 120px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}

/* === Content Grid === */
.content-grid { display: grid; gap: 2rem; }

/* === Testimonials === */
.testimonials-carousel { overflow: hidden; position: relative; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide { min-width: 100%; padding: 2rem; }

/* === Articles List === */
.articles-list { display: flex; flex-direction: column; gap: 1.5rem; }
.article-card { padding: 2rem; }

/* === Free Tool === */
.free-tool-card { display: grid; gap: 4rem; }
.element-preview { width: 100%; max-width: 350px; aspect-ratio: 1; border: 1px solid var(--border); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }

/* === Products Grid === */
.products-grid { display: grid; gap: 2rem; }

/* === Mobile: All grids stack === */
@media (max-width: 768px) {
  .pillars-grid,
  .services-preview-grid,
  .products-grid,
  .content-grid {
    grid-template-columns: 1fr !important;
  }
  .about-grid,
  .master-jin-grid,
  .free-tool-card,
  .period9-grid,
  .service-card,
  .ritual-card,
  .product-card,
  .article-card {
    grid-template-columns: 1fr !important;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links a { padding: 1rem 0; font-size: 0.9rem; }
  .card { padding: 1.5rem; }
  .service-card { padding: 1.5rem; }
  section { padding: 3rem 0; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; }
  .btn { padding: 0.7rem 1.5rem; font-size: 0.7rem; }
  .testimonial-slide { padding: 1rem; }
  .testimonial-slide .card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem !important; }
  .section-title { font-size: 1.5rem; }
  .card-title { font-size: 0.95rem; }
}
