* {
  font-family: 'Lato', sans-serif;
}

.banner-title {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.03em;
}

.section-title {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.submit-btn {
  padding: 12px 18px;
  border: 2px solid #d4af37;
  background: transparent;
  color: #d4af37;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  white-space: nowrap;
}

.submit-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.submit-btn:active {
  transform: translateY(1px);
}

.chat-window {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.08);
  border-radius: 12px;
  padding: 20px;
  height: 360px;
  overflow-y: auto;
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 24px));
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 6px 20px rgba(212, 175, 55, 0.16);
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  animation: panelPop 0.36s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 60;
}

@keyframes panelPop {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.chat-panel.minimized .chat-panel-body {
  display: none;
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.chat-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #f4d88a;
  text-transform: uppercase;
  font-weight: 700;
}

.notify-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
  display: none;
}

.notify-dot.show {
  display: inline-block;
}

.unread-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff6b6b;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
  display: none;
}

.unread-badge.show {
  display: inline-block;
}

.minimize-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 7px;
  background: rgba(212, 175, 55, 0.08);
  color: #f4d88a;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.minimize-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

.minimize-btn:active {
  transform: scale(0.96);
}

.chat-panel-body {
  padding: 14px;
}

.msg {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  margin: 8px 0;
  max-width: 78%;
  line-height: 1.4;
}

.msg.user {
  background: linear-gradient(90deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
  color: #fff;
  margin-left: auto;
  text-align: right;
}

.msg.agent {
  background: rgba(255,255,255,0.04);
  color: #ddd;
  margin-right: auto;
  text-align: left;
}

/* Hair texture SVG filter */
svg {
  display: none;
}

body {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='2' result='noise'/%3E%3C/filter%3E%3Crect width='100' height='100' fill='%23222222' filter='url(%23noise)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(90deg, rgba(51,51,51,0.3) 0px, rgba(51,51,51,0.1) 2px, rgba(51,51,51,0.2) 4px);
  background-size: 100px 100px, 4px 100%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.gold-accent {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gold {
  border: 2px solid #d4af37;
}

.service-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-5px);
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
  mix-blend-mode: multiply;
}

/* Logo Watermark */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  display: none;
}

.hero-headline {
  --hero-scale: 1;
  transform: scale(var(--hero-scale));
  transform-origin: center center;
  will-change: transform;
  margin-bottom: 2.75rem;
}

.hero-line-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), 0 4px 10px rgba(212, 175, 55, 0.2);
}

.hero-line-sub {
  margin-top: 0.75rem;
  font-size: clamp(1.05rem, 4.3vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: #f3e7bc;
  text-transform: uppercase;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.hero-contact-block {
  margin-top: 1.45rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(0, 0, 0, 0.24);
}

.hero-contact-line {
  font-family: 'Lucida Sans Typewriter', 'Courier New', monospace;
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  line-height: 1.65;
  letter-spacing: 0.06em;
  color: rgba(247, 236, 198, 0.95);
  text-align: center;
  text-wrap: balance;
}

.stats-section {
  padding: 26px 24px;
  margin: 0 auto 8px;
  max-width: 1200px;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26), 0 4px 14px rgba(212, 175, 55, 0.14);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f4d88a;
  text-shadow: 0 4px 14px rgba(212, 175, 55, 0.22);
  min-height: 1.1em;
}

.stat-number.is-running {
  animation: statFlicker 0.08s steps(2, end) infinite;
}

@keyframes statFlicker {
  0% { opacity: 0.88; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
  100% { opacity: 0.92; transform: translateY(1px); }
}

.stat-label {
  margin-top: 10px;
  color: #d2d2d2;
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* Fixed Logo - Bottom Left */
.fixed-logo {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 150px;
  height: 150px;
  background-image: url('./brand_assets/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 50;
}

/* Footer Section */
.footer-section {
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 24px 20px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  font-size: 13px;
  color: rgba(212, 175, 55, 0.8);
  letter-spacing: 0.05em;
  margin: 0;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
}

/* Dark overlay for text visibility */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Hero Logo */
.hero-logo {
  width: 400px;
  height: 400px;
  object-fit: contain;
  opacity: 0.8;
  margin: 0 auto 24px;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 280px;
    height: 280px;
  }

  .hero-headline {
    margin-bottom: 2rem;
  }

  .hero-line-sub {
    letter-spacing: 0.14em;
  }

  .hero-contact-block {
    margin-top: 1.1rem;
    padding: 0.78rem 0.86rem;
  }

  .hero-contact-line {
    letter-spacing: 0.04em;
  }

  .stats-section {
    padding-top: 18px;
  }
}

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

@media (max-width: 640px) {
  .chat-panel {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .chat-window {
    height: 300px;
  }
}
