/* ========================================
   Lin Creative Office — Premium Brand Site
   ======================================== */

/* CSS Variables */
:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --bg-elevated: #16161a;
  --bg-card: #1a1a20;
  --bg-card-hover: #1e1e26;

  --text-primary: #f4f2ee;
  --text-secondary: #a8a5a0;
  --text-muted: #6e6b66;

  --gold: #c9a96e;
  --gold-light: #dcc9a0;
  --gold-dark: #9a7d4a;
  --gold-glow: rgba(201, 169, 110, 0.15);

  --accent-violet: #7c6fae;
  --accent-cyan: #5fb4ca;
  --accent-blue: #6b9ac4;

  --border-subtle: rgba(244, 242, 238, 0.06);
  --border-medium: rgba(244, 242, 238, 0.10);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-serif: "Noto Serif TC", "Songti SC", serif;
  --font-sans: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1440px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* Section Base */
.section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

@media (min-width: 768px) {
  .section {
    padding-top: 140px;
    padding-bottom: 140px;
  }
}

.section-head {
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 72px;
  }
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  border: 1px solid var(--border-medium);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--border-subtle);
}

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

@media (min-width: 768px) {
  .header-inner {
    padding: 20px 40px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.42);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.brand-symbol {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  display: none;
}

@media (min-width: 430px) {
  .brand-name {
    display: inline;
  }
}

.brand-en {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 300;
  display: none;
}

@media (min-width: 768px) {
  .brand-en {
    display: inline;
  }
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--gold);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  border-radius: 1px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  z-index: 999;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--gold);
}

.mobile-cta {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg-primary);
  background: var(--gold);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.6) 0%, rgba(10,10,12,0.3) 40%, rgba(10,10,12,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

@media (min-width: 430px) {
  .hero-title {
    font-size: 2.4rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 16px;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.15rem;
  }
}

.hero-proof {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

@media (min-width: 430px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 36px;
  font-size: 1rem;
}

/* Hero Trust */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line {
    animation: none;
    opacity: 0.5;
  }
}
/* ========================================
   Pain Points
   ======================================== */
.painpoints {
  background: var(--bg-primary);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s;
}

.pain-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.pain-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.8;
}

.pain-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

/* ========================================
   Comparison
   ======================================== */
.comparison {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fit-card {
  min-height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s;
}

.fit-card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.fit-card.highlighted {
  border-color: rgba(201, 169, 110, 0.28);
  background: linear-gradient(145deg, rgba(201, 169, 110, 0.08), var(--bg-card) 52%);
}

.fit-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.fit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.fit-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ========================================
   Services
   ======================================== */
.services {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.service-card.featured {
  border-color: rgba(201, 169, 110, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 169, 110, 0.04) 100%);
}

@media (min-width: 1024px) {
  .service-card.featured {
    grid-column: span 2;
  }
}

.service-header {
  margin-bottom: 16px;
}

.service-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(95, 180, 202, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.service-body {
  margin-top: auto;
}

.service-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 6px;
}

.service-scene {
  color: var(--text-muted);
}

.service-deliver {
  color: var(--text-secondary);
}

.service-value {
  color: var(--gold-light);
  font-weight: 500;
}

/* ========================================
   Pricing
   ======================================== */
.pricing {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s;
}

.pricing-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(95, 180, 202, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.pricing-tag span {
  color: var(--text-muted);
  opacity: 0.75;
}

.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.pricing-en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

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

/* ========================================
   Risk Control
   ======================================== */
.risk-control {
  background: var(--bg-primary);
  padding-top: 90px;
  padding-bottom: 90px;
}

.risk-panel {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.09), var(--bg-card) 48%);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: var(--radius-lg);
  padding: 36px;
}

@media (min-width: 768px) {
  .risk-panel {
    padding: 48px;
  }
}

.risk-panel .section-title {
  margin-bottom: 16px;
}

.risk-panel p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* ========================================
   Method (The Lin Method)
   ======================================== */
.method {
  background: var(--bg-primary);
}

.method-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .method-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
    gap: 80px;
  }
}

.method-head {
  position: sticky;
  top: 120px;
}

.method-head .section-subtitle {
  margin-top: 16px;
  color: var(--gold);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.method-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.method-icon {
  color: var(--gold);
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
}

.method-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

/* ========================================
   Process
   ======================================== */
.process {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-track {
  position: relative;
}

.process-line {
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--accent-violet), transparent);
  opacity: 0.3;
}

@media (min-width: 768px) {
  .process-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.process-steps {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .process-steps {
    gap: 48px;
  }
}

.step {
  display: flex;
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .step {
    align-items: center;
    gap: 40px;
  }
  .step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
  }
  .step:nth-child(even) .step-content {
    text-align: right;
  }
}

.step-marker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .step-marker {
    width: 48px;
    height: 48px;
  }
}

.step-num {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

@media (min-width: 768px) {
  .step-content {
    max-width: calc(50% - 60px);
    padding-top: 0;
  }
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Works
   ======================================== */
.works {
  background: var(--bg-primary);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

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

@media (min-width: 768px) {
  .work-card.large {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .work-card.large {
    grid-column: span 2;
  }
}

.work-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.work-card:hover .work-image img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.work-info {
  padding: 24px;
}

.work-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-violet);
  background: rgba(124, 111, 174, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.work-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.work-use, .work-format {
  font-size: 0.88rem;
  line-height: 1.6;
}

.work-use {
  color: var(--text-secondary);
}

.work-format {
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================
   Audience
   ======================================== */
.audience {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.audience-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .audience-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }
}

.audience-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}

.audience-block.good {
  border-color: rgba(201, 169, 110, 0.15);
}

.audience-block.bad {
  border-color: var(--border-subtle);
}

.audience-block h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.audience-block.good h3 {
  color: var(--gold-light);
}

.audience-block.bad h3 {
  color: var(--text-muted);
}

.audience-block ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audience-block li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.audience-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.audience-block.good li::before {
  background: var(--gold);
}

.audience-block.bad li::before {
  background: var(--text-muted);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item summary {
  padding: 24px 28px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gold);
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  color: var(--gold-light);
}

.faq-item p {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-box {
    padding: 64px 48px;
  }
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 430px) {
  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.line-contact-row {
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.cta-line-qr {
  width: 252px;
  height: 252px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

@media (min-width: 430px) {
  .line-contact-row {
    flex-direction: row;
  }
}

@media (max-width: 429px) {
  .cta-line-qr {
    width: 224px;
    height: 224px;
  }
}

.line-official-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  line-height: 0;
  transition: transform 0.2s var(--ease-out), filter 0.2s var(--ease-out);
}

.line-official-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.line-official-button img {
  width: auto;
  height: 36px;
}

.cta-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 4px;
}

.cta-tag {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

/* ========================================
   LINE Floating Widget
   ======================================== */
.line-floating-widget {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  width: 142px;
  pointer-events: none;
}

.line-floating-card {
  pointer-events: auto;
  background: rgba(17, 17, 20, 0.94);
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.line-floating-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 10px;
}

.line-floating-card .line-official-button {
  width: 100%;
}

@media (max-width: 1023px) {
  .line-floating-widget {
    right: 12px;
    bottom: 12px;
    top: auto;
    transform: none;
    width: 136px;
  }

  .line-floating-card {
    padding: 10px;
  }

  .line-floating-card strong {
    font-size: 0.86rem;
    margin-bottom: 8px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .line-floating-widget {
    width: 132px;
  }
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-brand .brand-logo {
  width: 32px;
  height: 32px;
}

.footer-brand .brand-name {
  font-size: 0.9rem;
  display: inline;
}

.footer-brand .brand-en {
  font-size: 0.65rem;
  display: inline;
}

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

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   Selection & Focus
   ======================================== */
::selection {
  background: rgba(201, 169, 110, 0.25);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========================================
   Utility
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
