/**
 * AAOT Core — Phase 1 shell styles.
 * Intentional AAOT behaviors Elementor cannot express cleanly.
 * Not a Tailwind utility framework. Do not load output.css.
 */

:root {
  --aaot-navy: #031126;
  --aaot-navy-mid: #061a35;
  --aaot-navy-light: #0a274a;
  --aaot-gold: #c8943c;
  --aaot-gold-light: #e3b45d;
  --aaot-cream: #f8f6f1;
  --aaot-white: #ffffff;
  --aaot-font: "Manrope", sans-serif;
  --aaot-header-height: 96px;
  --aaot-header-inner: 1440px;
  --aaot-content: 1180px;
  --aaot-nav-desktop: 1280px;
}

html {
  scroll-behavior: smooth;
}

body.aaot-shell {
  font-family: var(--aaot-font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--aaot-gold);
  color: var(--aaot-navy);
}

/* --------------------------------------------------------------------------
   Gold CTA — assign class `aaot-btn` on an Elementor Button widget
   -------------------------------------------------------------------------- */

.aaot-btn .elementor-button,
a.aaot-btn,
button.aaot-btn,
.elementor-button.aaot-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, #a86f1f 0%, #d9a448 45%, #efcb7f 100%);
  color: var(--aaot-navy);
  font-family: var(--aaot-font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 15px 45px rgba(200, 148, 60, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

.aaot-btn .elementor-button:hover,
.aaot-btn .elementor-button:focus,
a.aaot-btn:hover,
a.aaot-btn:focus,
button.aaot-btn:hover,
button.aaot-btn:focus,
.elementor-button.aaot-btn:hover,
.elementor-button.aaot-btn:focus {
  color: var(--aaot-navy);
  transform: translateY(-2px);
  box-shadow:
    0 22px 65px rgba(200, 148, 60, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.aaot-btn .elementor-button:focus-visible,
a.aaot-btn:focus-visible,
button.aaot-btn:focus-visible {
  outline: 2px solid var(--aaot-gold-light);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Header shell
   -------------------------------------------------------------------------- */

.aaot-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 500ms ease,
    border-color 500ms ease,
    box-shadow 500ms ease,
    backdrop-filter 500ms ease;
}

.aaot-header .aaot-header__inner,
.aaot-header .e-con.aaot-header__inner {
  max-width: var(--aaot-header-inner);
  min-height: var(--aaot-header-height);
}

.aaot-header--scrolled,
.aaot-header.aaot-header--scrolled {
  background: rgba(3, 17, 38, 0.88);
  border-bottom: 1px solid rgba(227, 180, 93, 0.13);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12);
}

.aaot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--aaot-white);
}

.aaot-brand__mark {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(227, 180, 93, 0.4);
  background: rgba(200, 148, 60, 0.1);
  color: var(--aaot-gold);
  font-size: 1.25rem;
  font-weight: 800;
}

.aaot-brand__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.aaot-brand__subtitle {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Navigation — gold underline + 1280 architecture
   -------------------------------------------------------------------------- */

.aaot-nav a,
.aaot-nav .elementor-nav-menu--main .elementor-item,
.aaot-nav .e-n-menu-item a {
  position: relative;
  font-family: var(--aaot-font);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.aaot-nav a:hover,
.aaot-nav .elementor-nav-menu--main .elementor-item:hover,
.aaot-nav .e-n-menu-item a:hover {
  color: var(--aaot-white);
}

.aaot-nav a::after,
.aaot-nav .elementor-nav-menu--main .elementor-item::after,
.aaot-nav .e-n-menu-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: var(--aaot-gold-light);
  transform: translateX(-50%);
  transition: width 250ms ease;
}

.aaot-nav a:hover::after,
.aaot-nav .elementor-item.elementor-item-active::after,
.aaot-nav .elementor-nav-menu--main .elementor-item:hover::after,
.aaot-nav .e-n-menu-item a:hover::after {
  width: 100%;
}

.aaot-nav .elementor-item.elementor-item-active,
.aaot-nav .current-menu-item > a {
  color: var(--aaot-gold-light);
}

/*
 * HARD RULE: desktop navigation at min-width 1280px.
 * Do not let Elementor 1024/1025 defaults change this.
 */
@media (max-width: 1279px) {
  .aaot-header .aaot-nav--desktop,
  .aaot-header .aaot-countdown--header {
    display: none !important;
  }

  .aaot-header .aaot-mobile-trigger {
    display: flex !important;
  }
}

@media (min-width: 1280px) {
  .aaot-header .aaot-nav--desktop {
    display: flex !important;
  }

  .aaot-header .aaot-mobile-trigger,
  .aaot-header .aaot-mobile-panel,
  .aaot-header .aaot-mobile-panel.is-open {
    display: none !important;
  }

  .aaot-header .aaot-countdown--header {
    display: inline-flex !important;
  }
}

.aaot-header .aaot-register--bar {
  display: none;
}

@media (min-width: 768px) {
  .aaot-header .aaot-register--bar {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   Mobile trigger + panel
   -------------------------------------------------------------------------- */

.aaot-mobile-trigger {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--aaot-white);
  cursor: pointer;
}

.aaot-mobile-trigger:hover,
.aaot-mobile-trigger[aria-expanded="true"] {
  border-color: rgba(227, 180, 93, 0.5);
}

.aaot-mobile-panel {
  display: none;
  margin: 0 1rem 1rem;
  max-height: calc(100vh - 6.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: rgba(7, 27, 54, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.aaot-mobile-panel.is-open {
  display: block;
}

body.aaot-mobile-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Countdown
   -------------------------------------------------------------------------- */

.aaot-countdown--header {
  display: none;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(6, 26, 53, 0.72);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.aaot-countdown__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.aaot-countdown__days {
  color: var(--aaot-gold-light);
}

.aaot-countdown__time {
  color: rgba(255, 255, 255, 0.88);
}

.aaot-countdown__label {
  display: none;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.aaot-countdown__live {
  color: var(--aaot-gold-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.aaot-countdown__live[hidden],
.aaot-countdown__inner[hidden],
[data-countdown-nav-timer][hidden],
[data-countdown-mobile-timer][hidden] {
  display: none !important;
}

.aaot-countdown--mobile {
  margin-top: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(3, 17, 38, 0.45);
}

.aaot-countdown__eyebrow {
  margin: 0 0 0.55rem;
  color: rgba(227, 180, 93, 0.75);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.aaot-countdown__mobile-days {
  margin: 0;
  color: var(--aaot-cream);
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.aaot-countdown__mobile-days span {
  color: var(--aaot-gold-light);
}

.aaot-countdown__mobile-time {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.aaot-countdown__live--mobile {
  margin: 0;
  font-size: 0.82rem;
}

@media (min-width: 1440px) {
  .aaot-countdown--header {
    padding: 0 1.1rem;
  }

  .aaot-countdown__inner {
    gap: 0.65rem;
    font-size: 0.75rem;
  }

  .aaot-countdown__label {
    display: inline;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .aaot-nav--desktop {
    font-size: 0.75rem;
  }

  .aaot-countdown--header {
    padding: 0 0.8rem;
  }

  .aaot-countdown__inner {
    gap: 0.45rem;
    font-size: 0.68rem;
  }
}

/* --------------------------------------------------------------------------
   Footer helpers (native widgets + classes)
   -------------------------------------------------------------------------- */

.aaot-footer {
  background:
    radial-gradient(circle at 85% 0%, rgba(14, 67, 112, 0.18), transparent 34%),
    linear-gradient(180deg, #031126 0%, #020b19 100%);
  color: var(--aaot-white);
}

.aaot-footer a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.aaot-footer-title,
.aaot-footer .aaot-footer-title {
  color: var(--aaot-gold-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.aaot-footer-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 600;
}

.aaot-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--aaot-gold-light);
  transition: width 280ms ease;
}

.aaot-footer-link:hover {
  color: var(--aaot-white);
}

.aaot-footer-link:hover::after {
  width: 100%;
}

.aaot-footer-link--accent {
  color: var(--aaot-gold-light);
}

.aaot-footer-social a,
.aaot-footer .aaot-footer-social .elementor-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    color 300ms ease;
}

.aaot-footer-social a:hover,
.aaot-footer .aaot-footer-social .elementor-icon:hover {
  transform: translateY(-2px);
  border-color: var(--aaot-gold);
  color: var(--aaot-gold-light);
}

.aaot-footer-copyright {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.75rem;
  font-weight: 500;
}

.aaot-footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 180, 93, 0.22), transparent);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aaot-header,
  .aaot-btn .elementor-button,
  a.aaot-btn,
  .aaot-footer-social a,
  .aaot-nav a::after,
  .aaot-footer-link::after {
    transition: none !important;
  }

  .aaot-btn .elementor-button:hover,
  a.aaot-btn:hover {
    transform: none;
  }
}
