/* ==========================================================================
   AURĒA LUXURY THEME — INFOLOGICAL DIGITAL
   Inspired by the cinematic, scroll-driven aesthetic of AURĒA.
   Atmospheric Obsidian Void, Champagne Gold, Editorial Serif & Clean Sans.
   ========================================================================== */

:root {
  /* Core Obsidian Palette */
  --bg-void: #06070a;
  --bg-deep: #090b10;
  --bg-surface: #0e1118;
  --bg-elevated: rgba(18, 22, 32, 0.72);
  --bg-glass: rgba(14, 17, 24, 0.65);

  /* Metallic & Champagne Gold Accents */
  --gold-primary: #d4af37;
  --gold-bright: #f5dfa3;
  --gold-burnished: #b89035;
  --gold-deep: #785a18;
  --gold-border: rgba(212, 175, 55, 0.18);
  --gold-glow: rgba(212, 175, 55, 0.35);

  /* Subtle Botanical Emerald Whisper */
  --emerald-aura: rgba(16, 185, 129, 0.12);
  --emerald-accent: #34d399;

  /* Typography Colors */
  --text-primary: #f6f3ed;
  --text-secondary: #9ea5b6;
  --text-muted: #6b7280;
  --text-gold: #e5c07b;

  /* Structural Radii & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-void);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 15px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Atmospheric Noise Grain Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em, em.script {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 60%, var(--gold-burnished) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Containers */
.container {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

/* Ambient Radial Glows */
.aurora-ambient {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.15;
}

.aurora-gold {
  background: radial-gradient(circle, var(--gold-primary) 0%, rgba(212, 175, 55, 0) 70%);
}

.aurora-emerald {
  background: radial-gradient(circle, #059669 0%, rgba(5, 150, 105, 0) 70%);
}

/* Cinematic Navigation Header */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  z-index: 100;
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--transition-smooth);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #181c28 0%, #0c0e14 100%);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.brand-copy b span {
  color: var(--gold-primary);
}

.brand-copy small {
  font-size: 8px;
  letter-spacing: 3.2px;
  color: var(--text-muted);
}

/* Nav Links */
.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.navlinks a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--gold-bright);
}

.navlinks a:hover::after,
.navlinks a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.region-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-bright);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
}

.sound-toggle {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
  color: var(--gold-bright);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--gold-burnished) 100%);
  color: #06070a !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn.small {
  padding: 10px 20px;
  font-size: 11px;
}

.btn.secondary {
  background: transparent;
  color: var(--text-primary) !important;
  border: 1px solid var(--gold-border);
  box-shadow: none;
}

.btn.secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-bright) !important;
}

/* Mobile Menu Button */
.menu {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
}

/* Scene Labels & Eyebrows */
.scene-label, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.scene-label::before, .eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold-primary);
}

/* Magnetic Circle CTA */
.circle-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-primary);
  text-decoration: none;
}

.circle-cta span {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.circle-cta b {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-primary));
  color: #06070a;
  font-size: 24px;
  font-weight: 400;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.circle-cta:hover b {
  transform: rotate(45deg) scale(1.08);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.55);
}

/* Custom Magnetic Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.6);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  display: none;
}

.custom-cursor.active {
  width: 54px;
  height: 54px;
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
}

@media (pointer: fine) {
  .custom-cursor {
    display: block;
  }
}

/* Interior Page Hero */
.page-hero {
  padding: 180px 0 90px;
  background: radial-gradient(ellipse at 50% 10%, rgba(212, 175, 55, 0.1) 0%, transparent 65%), var(--bg-void);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
}

.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gold-bright);
}

.page-hero h1 {
  font-size: clamp(48px, 6.2vw, 84px);
  margin-bottom: 24px;
  max-width: 960px;
}

.page-hero p {
  font-size: 18px;
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

/* Section Foundation */
.section {
  padding: 120px 0;
  position: relative;
}

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

.section-head h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  margin-top: 12px;
}

.section-head p {
  font-size: 16px;
  max-width: 620px;
  margin-top: 18px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Footer Architecture */
.brand-footer {
  background: #040508;
  border-top: 1px solid var(--gold-border);
  padding: 90px 0 40px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  line-height: 1.25;
  margin: 20px 0 12px;
  color: var(--text-primary);
}

.footer-intro span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-column h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 24px;
}

.footer-column a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
}

.footer-column a:hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-secondary);
}

.footer-bottom a:hover {
  color: var(--gold-bright);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  .navlinks {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 12, 17, 0.98);
    border-bottom: 1px solid var(--gold-border);
    padding: 32px 28px;
    gap: 20px;
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    font-size: 16px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
  }

  .menu {
    display: grid;
    place-items: center;
  }

  .nav-actions .btn.small {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav-wrap {
    height: 72px;
  }

  .navlinks {
    top: 72px;
  }

  .section {
    padding: 80px 0;
  }

  .page-hero {
    padding: 130px 0 60px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
