@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

/* ===================================================================
   1. DESIGN SYSTEM & TOKENS
   =================================================================== */
:root {
  --bg-main:       #F8FAFC;
  --bg-surface:    #FFFFFF;
  --bg-hero:       #0F172A;
  --bg-hero-alt:   #1E293B;
  
  --primary-gold:  #F59E0B;
  --primary-hover: #D97706;
  --teal-free:     #0D9488;
  --coral-premium: #E11D48;

  --text-main:     #0F172A;
  --text-muted:    #64748B;
  --text-light:    #F8FAFC;
  --line-color:    #E2E8F0;

  --font-heading:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     18px;

  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md:     0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg:     0 12px 28px rgba(15, 23, 42, 0.12);

  --transition:    all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   2. GLOBAL RESETS
   =================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* ===================================================================
   3. NAVIGATION BAR (.topbar)
   =================================================================== */
.topbar {
  background: var(--bg-hero);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.topbar .logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-light);
}

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

.topbar .nav-group {
  display: flex;
  align-items: center;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar nav a {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.topbar nav a:hover {
  color: var(--text-light);
}

.account-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
  transition: var(--transition);
}

.account-btn:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--bg-hero);
  transform: translateY(-2px);
}

/* ===================================================================
   4. TERMS CONTENT & CARDS
   =================================================================== */
.container {
  margin: 0 auto;
  padding: 48px 24px 60px;
  flex: 1;
  width: 100%;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 6px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 36px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card p {
  color: #334155;
  font-size: 14.5px;
  line-height: 1.65;
}

/* ===================================================================
   5. SITE FOOTER (.site-footer)
   =================================================================== */
.site-footer {
  background: var(--bg-hero);
  color: #94A3B8;
  padding-top: 50px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 6px;
}

.footer-brand .logo span {
  color: var(--primary-gold);
}

.footer-brand p {
  font-size: 13.5px;
  max-width: 340px;
}

.footer-inner .btn {
  width: auto;
  background: transparent;
  border: 1px solid transparent;
  color: #94A3B8;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.footer-inner .btn:hover {
  background: var(--primary-gold);
  color: var(--bg-hero);
  border-color: var(--primary-gold);
  transform: translateY(-1px);
}

.footer-bottom {
  background: #090E1A;
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-legal a {
  margin-left: 20px;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--text-light);
}

.footer-disclaimer {
  font-size: 11.5px;
  color: #64748B;
  text-align: center;
  line-height: 1.5;
}



/* ===================================================================
   6. RESPONSIVE
   =================================================================== */
@media (max-width: 768px) {
  .topbar { padding: 14px 20px; }
  .container { padding-top: 36px; }
  .section-title { font-size: 26px; }
  .footer-inner, .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal a { margin: 0 10px; }
}