/* EMPERIA Technologies – Custom styles (charter: black, gold, minimal) */

:root {
  --emperia-black: #000000;
  --emperia-gold: #C6A84A;
  --emperia-anthracite: #1C1C1C;
  --emperia-light-gold: #D8C27A;
}

/* Header: transparent initially, solid on scroll */
.header-transparent {
  background: transparent;
}
.header-scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(198, 168, 74, 0.15);
}

/* Hero network lines (subtle) */
.hero-network {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(198, 168, 74, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(198, 168, 74, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Section fade-in on scroll */
.section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gold divider (1px) */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emperia-gold), transparent);
  opacity: 0.4;
}

/* Cards: anthracite, gold border on hover, subtle lift */
.card-emperia {
  background: var(--emperia-anthracite);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.card-emperia:hover {
  border-color: rgba(198, 168, 74, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -12px rgba(198, 168, 74, 0.08);
}

/* Button primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--emperia-black);
  border: 1px solid var(--emperia-gold);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--emperia-gold);
  color: var(--emperia-black);
  border-color: var(--emperia-gold);
}

/* Form inputs */
.input-emperia {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--emperia-anthracite);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-emperia::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.input-emperia:focus {
  outline: none;
  border-color: var(--emperia-gold);
  box-shadow: 0 0 0 3px rgba(198, 168, 74, 0.15);
}
.input-emperia.input-error {
  border-color: #b91c1c;
}

/* RTL: ensure flex and text direction where needed */
[dir="rtl"] .max-w-7xl {
  margin-left: auto;
  margin-right: auto;
}

/* Watermark symbol (low opacity) */
.watermark-symbol {
  opacity: 0.06;
  pointer-events: none;
}

/* About preview section: logo symbol (alpha) – full opacity, force transparent background */
.about-preview-logo {
  opacity: 1;
  pointer-events: none;
  background: transparent !important;
  /* If PNG has white pixels instead of alpha: blend so white disappears on dark background */
  mix-blend-mode: multiply;
}
/* Container: no background so PNG transparency shows */
.about-preview-logo-wrap {
  background: transparent !important;
}

/* Hide honey-pot from users */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
