:root {
  --bg: #0F1E2B;
  --card: rgba(26, 43, 60, 0.75);
  --ink: #e8edf4;
  --ink-soft: #9aacbe;
  --line: rgba(255,255,255,0.06);
  --accent: #C5A059;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Top bar (identical to HOME styles.css) ── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem clamp(1.2rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(6,12,24,0.32), rgba(6,12,24,0.18));
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 30px rgba(0,0,0,0.18);
}

.top-bar-logo { display: inline-flex; align-items: center; text-decoration: none; }
.top-bar-logo img { height: 2.4rem; width: auto; opacity: 0.95; }

.top-bar-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.8rem); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.4rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 180ms ease;
}
.hamburger:hover { border-color: rgba(197,160,89,0.3); background: rgba(197,160,89,0.06); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: all 250ms ease;
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(3px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(3px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  padding: 5rem 1.5rem 2rem;
  background: rgba(15, 30, 43, 0.95);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  transition: all 180ms ease;
  text-align: center;
  width: 100%;
  max-width: 280px;
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.mobile-nav a.mobile-nav-cta {
  border: 1px solid rgba(197,160,89,0.35);
  background: rgba(197,160,89,0.06);
  color: var(--accent);
  margin-top: 0.5rem;
}
.mobile-nav a.mobile-nav-cta:hover {
  background: rgba(197,160,89,0.14);
  border-color: rgba(197,160,89,0.55);
}

.top-bar-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #dce4ed;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}
.top-bar-link:hover { color: var(--accent); }

/* ── Legacy header (hidden, replaced by top-bar) ── */
.legal-header { display: none; }
.legal-logo { display: none; }

.page {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 2rem;
  width: 100%;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  position: relative;
}


h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

p, li {
  line-height: 1.65;
  color: var(--ink-soft);
}

ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #fff;
}

/* ── Footer (matches styles.css Pro Footer) ── */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 2.5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
  background: linear-gradient(175deg, #1A2B3C 0%, #0F1E2B 40%, #0F1E2B 100%);
  border-top: 1px solid rgba(197,160,89,0.2);
  overflow: hidden;
  margin-top: auto;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197,160,89,0.5), transparent);
}
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 180ms ease; }
.site-footer a:hover { color: var(--accent); }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand-logo {
  height: 2.2rem;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}
.footer-brand-tagline {
  font-size: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.footer-social a.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  border: 1px solid rgba(197,160,89,0.2);
  background: rgba(197,160,89,0.06);
  color: rgba(255,255,255,0.7);
  transition: all 200ms ease;
}
.footer-social a.footer-icon:hover {
  border-color: rgba(197,160,89,0.5);
  color: var(--accent);
  background: rgba(197,160,89,0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197,160,89,0.15);
}
.footer-social svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

.footer-contact { text-align: center; }
.footer-mail {
  color: var(--accent) !important;
  font-weight: 600;
  font-size: clamp(0.95rem, 0.9rem + 0.15vw, 1.05rem);
  padding: 0.55rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(197,160,89,0.25);
  background: rgba(197,160,89,0.06);
  display: inline-flex;
  align-items: center;
  transition: all 200ms ease !important;
}
.footer-mail:hover {
  background: rgba(197,160,89,0.14);
  border-color: rgba(197,160,89,0.45);
  box-shadow: 0 4px 16px rgba(197,160,89,0.12);
}

.footer-divider {
  width: 100%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: clamp(0.92rem, 0.88rem + 0.15vw, 1rem) !important;
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500;
}
.footer-legal a:hover { color: var(--accent) !important; }
.footer-dot { color: rgba(255,255,255,0.3); font-size: clamp(0.85rem, 0.8rem + 0.1vw, 0.92rem); }

.footer-copyright {
  font-size: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  color: rgba(255,255,255,0.5);
}

/* Payment footer */
.footer-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-payment-label {
  font-size: clamp(0.78rem, 0.75rem + 0.1vw, 0.85rem);
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.stripe-logo-img {
  height: 1.6rem;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity 200ms ease;
}
.stripe-logo-img:hover { opacity: 0.9; }
.footer-payment-methods {
  font-size: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

@media (max-width: 480px) {
  .footer-payment-icons { flex-direction: column; align-items: center; gap: 0.3rem; }
  .site-footer { padding: 2rem 1rem 1.5rem; gap: 1.2rem; }
}

/* Nav button styles (identical to HOME) */
.top-bar-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.3rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 180ms ease;
}
.top-bar-login:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.top-bar-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1.4rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #B8904A);
  color: #0f172a;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 180ms ease;
  box-shadow: 0 2px 12px rgba(197,160,89,0.25);
}
.top-bar-cta:hover {
  box-shadow: 0 4px 20px rgba(197,160,89,0.4);
  transform: translateY(-1px);
}
.mobile-nav a.mobile-nav-login {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.mobile-nav a.mobile-nav-login:hover {
  background: rgba(255,255,255,0.12);
}

@media (max-width: 880px) {
  .top-bar-nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .card { padding: 1.5rem 1.2rem; }
  .top-bar { padding: 0.6rem 1rem; }
}
