/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-logo span {
  color: var(--gold);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-70);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s var(--ease-out);
  border-radius: 1px;
}

.navbar-links a:hover {
  color: var(--gold);
}

.navbar-links a:hover::after {
  width: 100%;
}

/* Mobile hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 1px;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.navbar-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 14, 39, 0.97);
  backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navbar-mobile.open {
  display: flex;
}

.navbar-mobile a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.navbar-mobile a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px) scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white-20);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), 0 8px 25px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px) scale(1.05);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* Ripple effect container */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--white-10);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s var(--ease-out);
}

.card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-card), 0 0 30px rgba(212, 175, 55, 0.08);
  transform: translateY(-8px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.card p {
  font-size: 0.9375rem;
  color: var(--white-70);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--white-05);
  padding: 60px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .navbar-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--white-50);
  line-height: 1.7;
}

.footer-links-group h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-50);
  margin-bottom: 16px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  font-size: 0.875rem;
  color: var(--white-70);
  transition: color 0.3s;
}

.footer-links-group a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--white-05);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--white-50);
}

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

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white-50);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-indicator-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--white-20);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gradient-gold);
  border-radius: 2px;
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   READING PROGRESS BAR (for legal pages)
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 1001;
  transition: width 0.1s linear;
}
