/* ARR clean stylesheet v2 - replaces legacy arr-style/arr-events/arr-placement for layout shell */

:root {
  --arr-header-bg: linear-gradient(120deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  --arr-footer-bg: linear-gradient(120deg, #0b1220 0%, #111827 55%, #1f2937 100%);
  --arr-text: #e2e8f0;
  --arr-text-strong: #ffffff;
  --arr-accent: #38bdf8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: #0f172a;
  background: #f8fafc;
}

body.with-fixed-header-offset {
  padding-top: 105px;
}

#header.arr-site-header {
  background: var(--arr-header-bg);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.28);
  z-index: 1030;
}

.arr-header-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.arr-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.arr-logo {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.arr-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--arr-text-strong);
  font-size: 30px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

.arr-top-nav {
  margin-right: 0;
  min-width: 0;
}

.arr-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px;
}

.arr-nav-list > li {
  margin: 0;
  padding: 0;
}

.arr-nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--arr-text);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.arr-nav-link:hover,
.arr-nav-link:focus {
  color: var(--arr-text-strong);
}

.arr-nav-link.active-nav {
  color: var(--arr-accent);
  text-decoration: underline;
}

.arr-user-link {
  color: var(--arr-text-strong);
}

/* Footer */
#footer {
  background: var(--arr-footer-bg);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #fff;
}

#footer .copyright-info {
  padding: 14px 0 8px;
}

#footer .copyright-info span {
  color: #dbeafe;
}

/* ARR index content (below header) */
.arrival-hero {
  min-height: 86vh;
  padding: 120px 0 70px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.arrival-hero::before,
.arrival-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.22;
}

.arrival-hero::before {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -120px;
  background: #22d3ee;
}

.arrival-hero::after {
  width: 320px;
  height: 320px;
  right: -100px;
  bottom: -120px;
  background: #f472b6;
}

.arrival-shell {
  position: relative;
  z-index: 2;
}

.arrival-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.arrival-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #ffffff;
}

.arrival-lead {
  max-width: 680px;
  font-size: 1.06rem;
  line-height: 1.85;
  color: #dbeafe;
  margin-bottom: 28px;
}

.arrival-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.arrival-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.arrival-btn.primary {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.arrival-btn.primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.42);
}

.arrival-btn.secondary {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.35);
  border-color: rgba(148, 163, 184, 0.45);
}

.arrival-btn.secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

.arrival-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.arrival-feature {
  background: rgba(15, 23, 42, 0.46);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 12px 15px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrival-panel {
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(4px);
}

.arrival-panel h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.arrival-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.arrival-panel li {
  color: #dbeafe;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrival-panel li:last-child {
  border-bottom: 0;
}

/* Mobile nav */
@media (max-width: 991px) {
  body.with-fixed-header-offset {
    padding-top: 92px;
  }

  .arr-header-shell {
    min-height: 64px;
  }

  .arr-brand-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .arr-logo {
    height: 34px;
    max-width: 120px;
  }

  .arr-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10012;
  }

  .arr-top-nav {
    display: none;
  }

  .arr-top-nav.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10010;
    background: rgba(2, 6, 23, 0.78);
  }

  .arr-top-nav.is-open .arr-nav-list {
    position: fixed;
    top: 62px;
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
    margin: 0;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-radius: 12px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.45);
  }

  .arr-top-nav.is-open .arr-nav-list > li {
    display: block;
    width: 100%;
    min-height: 52px;
  }

  .arr-top-nav.is-open .arr-nav-link {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    color: var(--arr-text);
    line-height: 1.35;
  }

  .arrival-hero {
    padding-top: 110px;
  }

  .arrival-panel {
    margin-top: 26px;
  }
}
