/* Modern Web Design Custom Properties */
:root {
  --bg-primary: #1f3c6d;     /* Rich Navy Blue */
  --bg-dark: #0a192f;        /* Deep Navy Blue */
  --bg-darker: #020c1b;      /* Near Black Navy Blue */
  
  --gold-primary: #cbbd86;   /* Brand Champagne Gold */
  --gold-light: #e4dac2;     /* Gold hover color */
  --gold-dark: #9f9157;      /* Muted gold for borders */
  --gold-glow: rgba(203, 189, 134, 0.25);
  
  --text-light: #f2f4f3;     /* Off-White */
  --text-muted: #8c9996;     /* Slate-Gray */
  --text-dark: #020c1b;      /* High contrast dark text */
  
  --font-serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Outfit', 'Helvetica Neue', sans-serif;
  
  --glass-bg: rgba(10, 25, 47, 0.75);
  --glass-border: rgba(203, 189, 134, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.5);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-light);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Radial Background Glow (Deep Navy Blue & Gold Hints) */
.bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(31, 60, 109, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(203, 189, 134, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(10, 25, 47, 0.95) 0%, var(--bg-darker) 100%);
  z-index: -2;
}

/* Subtle Geometric Background Grid */
.bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(203, 189, 134, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 189, 134, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: -1;
  opacity: 0.8;
}

/* Main Container */
.container {
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
  z-index: 1;
}

/* -------------------------------------------------------------
 * HEADER
 * ------------------------------------------------------------- */
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  animation: slideDown 1s ease forwards;
}

.logo-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-light);
  opacity: 0.9;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 25, 47, 0.5);
  border: 1px solid rgba(203, 189, 134, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: pulse 2s infinite;
}

.status-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * MAIN CARD
 * ------------------------------------------------------------- */
.main-card {
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 60px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 55px var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: scaleFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Card subtle gold highlight border on top hover */
.main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.5;
}

/* -------------------------------------------------------------
 * EMBLEM & BRANDING
 * ------------------------------------------------------------- */
.brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.emblem-container {
  width: 130px;
  height: 130px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 15px rgba(203, 189, 134, 0.15));
  transition: transform 0.5s ease;
}

.emblem-container:hover {
  transform: scale(1.03);
}

/* SVG Line Drawing Keyframe Animation */
.draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
  animation: drawStroke 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.8s; }

.brand-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
  line-height: 1.2;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

/* -------------------------------------------------------------
 * DIVIDER
 * ------------------------------------------------------------- */
.gold-divider {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin: 35px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-dot {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background-color: var(--gold-primary);
  border: 1px solid var(--bg-dark);
}

/* -------------------------------------------------------------
 * PROMO / EXPLANATION
 * ------------------------------------------------------------- */
.promo-section {
  max-width: 580px;
  margin-bottom: 30px;
}

.promo-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.promo-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}

/* -------------------------------------------------------------
 * SERVICES CHIPS
 * ------------------------------------------------------------- */
.services-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 60, 109, 0.15);
  border: 1px solid rgba(203, 189, 134, 0.06);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.service-chip:hover {
  background: rgba(31, 60, 109, 0.3);
  border-color: rgba(203, 189, 134, 0.15);
  transform: translateY(-1px);
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--gold-primary);
}

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

/* -------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------- */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  animation: slideUp 1s ease forwards;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.contact-icon {
  color: var(--gold-primary);
  font-size: 14px;
}

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

.copyright {
  font-size: 11px;
  color: rgba(140, 153, 150, 0.5);
  font-weight: 300;
  line-height: 1.4;
  max-width: 650px;
}

/* -------------------------------------------------------------
 * ANIMATIONS
 * ------------------------------------------------------------- */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px var(--gold-primary); }
  50% { transform: scale(1.2); opacity: 0.7; box-shadow: 0 0 15px var(--gold-primary); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px var(--gold-primary); }
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleFadeIn {
  from {
    transform: scale(0.97);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* -------------------------------------------------------------
 * RESPONSIVENESS
 * ------------------------------------------------------------- */
@media (max-width: 600px) {
  .main-card {
    padding: 40px 20px;
  }
  
  .brand-title {
    font-size: 28px;
  }
  
  .brand-tagline {
    font-size: 12px;
    letter-spacing: 0.25em;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
