/* ===== HERO HEADER ===== */
header {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
}

header::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.slogan {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.slogan::before,
.slogan::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.5), transparent);
}

.logo-video {
  width: 100%;
  max-width: 280px;
  margin: 0 auto var(--space-lg);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(201,162,39,.2), 0 0 60px rgba(201,162,39,.1);
  transition: all 0.5s ease;
}

.logo-video:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(201,162,39,.3), 0 0 80px rgba(201,162,39,.2);
}

.logo-video::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--border-gold);
  border-radius: calc(var(--radius-lg) + 4px);
  opacity: 0.4;
  pointer-events: none;
}

.logo-video video {
  width: 100%;
  height: auto;
  display: block;
}

.traffic-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-lg);
}

.traffic-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.8;
}

.traffic-dots .green  { background: var(--green);  box-shadow: 0 0 10px var(--green); }
.traffic-dots .yellow { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.traffic-dots .red    { background: var(--red);    box-shadow: 0 0 10px var(--red); }

.site-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, #5C4D35, #8B7355, #D4AF37, #F4E4A6, #D4AF37, #8B7355, #D4AF37, #F4E4A6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldFlow 5s linear infinite, titlePulse 4s ease-in-out infinite;
  margin-bottom: var(--space-sm);
}

/* ===== BUSINESS CARD ===== */
.business-card-wrapper {
  margin: 0 0 var(--space-xl);
  perspective: 1200px;
}

.business-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.5) 0%, transparent 50%),
    linear-gradient(170deg, #101418 0%, #0a0f14 40%, #050608 100%);
  border: 1px solid rgba(201,162,39,.15);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0,0,0,.7),
    0 0 100px rgba(201,162,39,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
  cursor: pointer;
  transition: all 0.5s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}

.business-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(201,162,39,.03) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.business-card:hover {
  transform: translateY(-12px) rotateX(3deg) scale(1.01);
  border-color: rgba(201,162,39,.4);
  box-shadow:
    0 40px 100px rgba(0,0,0,.8),
    0 0 150px rgba(201,162,39,.15);
  animation: none;
}

.business-card:hover::after { opacity: 1; }

.card-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(201,162,39,.2);
  transition: all 0.5s ease;
}

.business-card:hover .card-logo {
  transform: scale(1.08);
  box-shadow: 0 12px 48px rgba(201,162,39,.3);
}

.card-logo .monogram {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
}

.card-brand {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.card-brand-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #6B5B3D, #D4AF37, #F4E4A6, #D4AF37, #6B5B3D);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cardShimmer 6s linear infinite;
  margin-bottom: var(--space-sm);
}

.card-tagline {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 1.8;
}

.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.25), rgba(201,162,39,.4), rgba(201,162,39,.25), transparent);
  margin: var(--space-lg) 0;
  position: relative;
  z-index: 1;
}

.card-quote {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.card-quote span {
  color: var(--gold);
  font-weight: 500;
  text-shadow: 0 0 30px rgba(201,162,39,.3);
}

.card-contact {
  text-align: center;
  position: relative;
  z-index: 1;
}

.card-contact-item {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.card-contact-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.card-contact-item a:hover { color: var(--gold); }

.card-contact-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.card-contact-item a:hover .card-contact-icon { opacity: 1; }

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid rgba(201,162,39,.35);
  border-radius: var(--radius-md);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.card-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.card-btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0A0A0A;
  border-color: transparent;
  font-weight: 700;
}

.card-btn.primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* 사업자등록증 */
.card-license-section {
  margin-top: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.card-license-toggle {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
}

.card-license-toggle:hover { color: var(--gold); }

.license-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.license-modal.show { display: flex; }

.license-modal-content {
  position: relative;
  max-width: 500px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.license-modal-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.license-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.license-close:hover { transform: scale(1.1); }

.card-footer-note {
  text-align: center;
  margin-top: var(--space-md);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.business-card-wrapper:hover .card-footer-note {
  opacity: 1;
  color: var(--text-muted);
}

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
  margin-bottom: var(--space-xl);
  background: linear-gradient(165deg, var(--bg-elevated) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.services-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 4px 4px;
  opacity: 0.6;
}

.showcase-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.showcase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  color: var(--gold);
}

.showcase-title {
  font-family: var(--font-accent);
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.showcase-subtitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.service-item:hover {
  background: var(--gold-dim);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.service-item:hover::before { transform: scaleY(1); }

.service-spine {
  width: 6px;
  background: linear-gradient(180deg, var(--gold), #B8962E);
  border-radius: 3px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.service-item:hover .service-spine { opacity: 1; }

.service-content { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.service-title { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; margin-bottom: 4px; transition: color 0.2s; }
.service-item:hover .service-title { color: var(--gold-light); }
.service-meta { font-size: 12px; color: var(--text-muted); letter-spacing: 0.03em; }

/* ===== SECRET OFFICE ENTRY ===== */
.secret-entry-bottom {
  display: flex;
  justify-content: center;
  padding: var(--space-xl) 0;
}

.secret-door-mini {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(20,20,20,.9), rgba(10,10,10,.95));
  border: 1px solid rgba(201,162,39,.25);
  border-radius: var(--radius-lg);
  color: var(--gold);
  transition: all 0.5s ease;
  animation: goldPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.secret-door-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,162,39,.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.secret-door-mini:hover {
  border-color: var(--gold);
  transform: scale(1.05);
  animation: none;
  box-shadow: var(--shadow-gold);
}

.secret-door-mini:hover::before { opacity: 1; }

.fingerprint-icon {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease;
}

.secret-door-mini:hover .fingerprint-icon { transform: scale(1.1); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border-gold);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(201,162,39,.15);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
