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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background: #ffffff;
  --foreground: #141414;
  --card: #ffffff;
  --card-foreground: #141414;
  --primary: #262626;
  --primary-foreground: #ffffff;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --input: #f5f5f5;

  --gold: hsl(39 55% 52%);
  --gold-light: hsl(41 50% 65%);
  --gold-dark: hsl(35 55% 40%);
  --champagne: hsl(37 45% 75%);

  --fast-color: hsl(224 85% 58%);
  --fast-dark: hsl(224 78% 48%);
  --fast-darker: hsl(224 90% 38%);

  --core-color: hsl(160 80% 42%);
  --core-dark: hsl(160 84% 30%);
  --core-darker: hsl(160 90% 22%);

  --max-color: hsl(41 50% 65%);
  --max-mid: hsl(39 55% 52%);
  --max-dark: hsl(35 55% 40%);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Utility ── */
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.relative { position: relative; }
.absolute { position: absolute; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none; }

/* ── Hero Gradient ── */
.hero-gradient {
  background: linear-gradient(180deg, hsl(0 0% 6%) 0%, hsl(0 0% 12%) 50%, hsl(0 0% 8%) 100%);
}

/* ── Button Styles ── */
.btn-gold {
  display: inline-block;
  background: linear-gradient(180deg, hsl(41 50% 68%) 0%, hsl(39 55% 52%) 50%, hsl(35 55% 40%) 100%);
  color: hsl(35 30% 10%);
  transition: all 0.15s ease;
  box-shadow: 0 4px 0 hsl(35 55% 30%), 0 6px 12px hsl(35 55% 30% / 0.4), inset 0 1px 0 hsl(42 45% 78% / 0.6);
  text-shadow: 0 1px 0 hsl(42 40% 72% / 0.4);
  border-top: 1px solid hsl(42 50% 72% / 0.5);
  border-bottom: none;
  border-left: none;
  border-right: none;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.btn-gold:hover {
  background: linear-gradient(180deg, hsl(42 52% 72%) 0%, hsl(40 58% 55%) 50%, hsl(36 58% 43%) 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 hsl(35 55% 30%), 0 8px 16px hsl(35 55% 30% / 0.5), inset 0 1px 0 hsl(42 45% 78% / 0.7);
}
.btn-gold:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 hsl(35 55% 30%), 0 2px 4px hsl(35 55% 30% / 0.3), inset 0 1px 0 hsl(42 45% 78% / 0.4);
}

.btn-tier {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 0.375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}
.btn-tier:hover { filter: brightness(1.1); }

.btn-coral {
  background: linear-gradient(180deg, hsl(0 0% 18%) 0%, hsl(0 0% 8%) 100%);
  color: white;
  transition: all 0.15s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  box-shadow: 0 4px 0 hsl(0 0% 0%), 0 6px 12px hsl(0 0% 0% / 0.25);
  border-top: 1px solid hsl(0 0% 25%);
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.gold-chrome-bg {
  background: linear-gradient(135deg, hsl(41 50% 65%), hsl(39 55% 52%), hsl(35 55% 40%));
}

/* ── Glass ── */
.glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.4);
}

/* ── Video controls hide ── */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
video::-moz-media-controls { display: none !important; }

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-appearance: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 1rem 1.5rem 0.5rem;
}

.hero-spacer-top { flex: 2.2; }
.hero-spacer-bottom { flex: 1; }

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-seal {
  height: 108px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 12px hsl(38 70% 60% / 0.5));
}

.hero-cta {
  margin-top: 0.25rem;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.hero-login-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}
.hero-login-text a {
  color: white;
  text-decoration: underline;
  font-weight: 500;
}

.hero-logo {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  z-index: 20;
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 16px hsl(38 70% 60% / 0.4));
}

.hero-nav {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-nav a {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-nav a:hover { color: rgba(255,255,255,0.8); }
.hero-nav a + a::before {
  content: '|';
  margin-right: 1rem;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════
   HOW COOP WORKS SECTION
   ══════════════════════════════════════════ */
.how-section {
  padding: 3rem 1.5rem;
}
.how-section .container {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.how-section h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.how-section p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.how-section .tagline {
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
}

/* ══════════════════════════════════════════
   TIER CARDS SECTION (#join)
   ══════════════════════════════════════════ */
.join-section {
  padding: 5rem 1.5rem;
}
.join-section .container {
  max-width: 64rem;
  margin: 0 auto;
}
.join-section h2 {
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 4rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}

.tier-card {
  border: 2px solid;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  transition: all 0.3s ease;
}
.tier-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.tier-card-header {
  position: relative;
  margin-bottom: 0.75rem;
  text-align: center;
}
.tier-card-header img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  width: auto;
}
.tier-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.vault-cell {
  padding: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(245,245,245,0.2);
  text-align: center;
}
.vault-cell .contribution {
  font-size: 0.75rem;
  font-weight: 600;
}
.vault-cell .label {
  font-size: 9px;
  color: var(--muted-foreground);
}
.vault-cell .payout {
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 700;
}
.vault-cell .per {
  font-size: 9px;
  color: rgba(115,115,115,0.5);
  margin-top: 0.125rem;
}

.tier-total .total-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-right: 0.25rem;
}
.tier-total .total-amount {
  font-size: 1.25rem;
  font-weight: 700;
}
.tier-total .total-suffix {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 400;
  margin-left: 0.25rem;
}

.join-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
}
.join-footer p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.join-footer p a {
  color: var(--foreground);
  font-weight: 500;
}
.join-footer p a:hover { text-decoration: underline; }

.how-it-works-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s ease;
}
.how-it-works-link:hover {
  background: rgba(245,245,245,0.5);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.how-it-works-link .play-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-it-works-link .link-text {
  text-align: left;
}
.how-it-works-link .link-text span:first-child {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}
.how-it-works-link .link-text span:last-child {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ══════════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  background: var(--background);
}

.login-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s;
  padding: 1rem 0;
}
.login-navbar.scrolled {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}
.login-navbar .nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.login-navbar .nav-logo {
  height: 72px;
  width: auto;
}

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}
.login-card {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}
.login-card h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
}
.login-card .subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.login-form-card {
  border-radius: 0.75rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(245,245,245,0.3);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input::placeholder { color: var(--muted-foreground); }
.form-group input:focus { border-color: var(--primary); }

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  cursor: pointer;
}
.login-options a {
  font-size: 0.75rem;
  color: var(--primary);
}
.login-options a:hover { text-decoration: underline; }

.login-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}
.login-submit:hover { filter: brightness(1.1); }
.login-submit:active { transform: translateY(2px); }

.login-footer-text {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}
.login-footer-text a {
  color: var(--primary);
  font-weight: 500;
}
.login-footer-text a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   REGISTER PAGE
   ══════════════════════════════════════════ */
.register-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  background-size: cover;
  background-position: center;
}
.register-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.register-5050-text {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 10;
  text-align: right;
}
.register-5050-text span {
  display: block;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.register-5050-text .you-receive {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  text-transform: uppercase;
}
.register-5050-text .team-receive {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.register-nav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}
.register-nav .login-link {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.register-nav .login-link:hover { color: white; }
.register-nav .upgrade-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: filter 0.2s;
}
.register-nav .upgrade-btn:hover { filter: brightness(1.1); }

.register-form-panel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
}
.register-form-inner {
  flex: 1;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.register-card {
  border-radius: 1rem;
  padding: 2rem 2.5rem;
}

.register-card .logo-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.register-card .logo-center img {
  height: 3.5rem;
  width: auto;
}

.register-card h1 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  font-style: italic;
}
.register-card .register-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.register-form { display: flex; flex-direction: column; gap: 1.25rem; }

.section-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.input-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(20,20,20,0.9);
}
.input-wrapper {
  position: relative;
}
.input-wrapper .input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: rgba(115,115,115,0.4);
}
.input-wrapper input {
  width: 100%;
  padding: 0.6875rem 0.75rem 0.6875rem 2.5rem;
  border-radius: 0.375rem;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}
.input-wrapper input::placeholder { color: rgba(115,115,115,0.5); }

.input-wrapper .toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(115,115,115,0.4);
  padding: 0;
  cursor: pointer;
}
.input-wrapper .toggle-password:hover { color: var(--muted-foreground); }

/* Activity Info */
.licensing-fee label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.royalty-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.royalty-levels label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.royalty-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-top: 0.5rem;
}

/* Legal Agreements */
.legal-box {
  border-radius: 0.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.legal-box label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.legal-box label .legal-link {
  font-weight: 500;
  text-decoration: underline;
}

/* Register Submit */
.register-submit-area {
  text-align: center;
  padding-top: 0.5rem;
}
.register-submit-area button {
  padding: 0.75rem 3rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.register-submit-area button:active { transform: translateY(2px); }
.register-submit-area p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}
.register-submit-area p a { font-weight: 500; }

/* ══════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════ */
.dashboard {
  display: flex;
  min-height: 100vh;
  background: var(--muted);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Sidebar */
.sidebar {
  width: 14rem;
  background: var(--foreground);
  color: var(--primary-foreground);
  display: flex;
  flex-direction: column;
  transition: width 0.3s;
  overflow: hidden;
}
.sidebar.collapsed { width: 0; }

.sidebar-logo {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo img { height: 3rem; width: auto; }

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.sidebar-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  background: none;
  transition: color 0.2s;
}
.sidebar-link:hover { color: rgba(255,255,255,0.9); }
.sidebar-link.active {
  font-weight: 500;
}
.sidebar-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 0 0.5rem 1rem;
}
.sidebar-link.logout { color: rgba(255,255,255,0.6); }

/* Main Content */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.dash-topbar .menu-toggle {
  background: none;
  color: var(--muted-foreground);
  padding: 0.25rem;
}
.dash-topbar .menu-toggle svg { width: 20px; height: 20px; }
.dash-topbar .user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.dash-topbar .user-name {
  font-weight: 600;
  color: var(--foreground);
}
.dash-topbar .user-url {
  font-size: 10px;
  color: var(--muted-foreground);
}

.dash-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Welcome Banner */
.welcome-banner {
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: hsl(0 0% 8%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.welcome-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}
.welcome-url {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
}
.welcome-greeting {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  font-family: 'Cormorant Garamond', serif;
}
.welcome-actions {
  display: flex;
  gap: 0.75rem;
}
.welcome-actions button {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.1s;
}
.welcome-actions button:active { transform: translateY(2px); }
.welcome-actions .btn-send { border: none; }
.welcome-actions .btn-receive {
  background: transparent;
  border: 2px solid;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
}
.quick-action {
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}
.quick-action:hover { background: rgba(245,245,245,0.5); }
.quick-action svg { width: 16px; height: 16px; }

/* My Levels */
.levels-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.levels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
}

.level-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border-top: 3px solid hsl(0 0% 80%);
}
.level-card.active-level { }
.level-amount {
  font-size: 1.5rem;
  font-weight: 700;
}
.level-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  align-items: flex-end;
}
.level-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  color: var(--muted-foreground);
}
.toggle-switch {
  width: 2.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: var(--muted);
  position: relative;
  cursor: pointer;
}
.toggle-switch .toggle-knob {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.level-status {
  font-size: 10px;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  width: fit-content;
  margin: 1rem 0;
}
.level-status.inactive {
  background: hsl(0 45% 50% / 0.10);
  color: hsl(0 50% 48%);
}
.level-status.active-status {
  background: hsl(152 60% 42% / 0.12);
  color: hsl(152 55% 38%);
}
.level-activate {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: auto;
  transition: transform 0.1s;
  border: none;
}
.level-activate:active { transform: translateY(1px); }

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-top: 3px solid;
}
.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.stat-header .stat-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat-icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon-box svg { width: 16px; height: 16px; }
.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
}
.stat-hide {
  color: rgba(115,115,115,0.4);
  cursor: pointer;
  background: none;
  border: none;
}
.stat-hide svg { width: 14px; height: 14px; }
.stat-value {
  font-size: 1.125rem;
  font-weight: 600;
}
.stat-link {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.25rem;
  background: none;
  border: none;
}

/* Dashboard Footer */
.dash-footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted-foreground);
  padding: 1.5rem 0 0.5rem;
}
.dash-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

/* ══════════════════════════════════════════
   SITE FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
}
.site-footer .footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-brand img {
  height: 60px;
  width: auto;
}
.footer-legal h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-legal a {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--foreground); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}
.footer-bottom .footer-quote {
  font-style: italic;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero-nav { gap: 0.5rem; }
  .hero-nav a { font-size: 0.75rem; }
  .hero-seal { height: 64px; }
  .register-5050-text { display: none; }
  .register-form-panel { max-width: 100%; }
  .register-form-inner { padding: 1.5rem; }
  .register-card { padding: 1.5rem; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .welcome-actions { display: none; }
  .sidebar { position: fixed; z-index: 40; height: 100vh; }
}
