/* ==========================================================================
   THE GIG WEALTH PLAYBOOK — PRODUCTION STYLESHEET
   Design System: Authoritative Wealth Ledger
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Public+Sans:wght@600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* --- CSS Variables & Color Tokens --- */
:root {
  /* Brand Palette */
  --primary: #000000;
  --primary-container: #0d1c32;
  --primary-navy: #0a192f;
  --on-primary: #ffffff;
  --on-primary-container: #76849f;

  --secondary: #006c52;
  --secondary-container: #8ff6d0;
  --secondary-fixed: #8ff6d0;
  --secondary-fixed-dim: #73d9b5;
  --on-secondary-container: #007257;
  --mint-accent: #8ff6d0;

  /* Surfaces & Backgrounds */
  --background: #f7f9fb;
  --surface: #f7f9fb;
  --surface-dim: #d8dadc;
  --surface-bright: #f7f9fb;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f4f6;
  --surface-container: #eceef0;
  --surface-container-high: #e6e8ea;
  --surface-container-highest: #e0e3e5;

  /* Text & Outlines */
  --on-surface: #191c1e;
  --on-surface-variant: #44474d;
  --outline: #75777e;
  --outline-variant: #c5c6cd;
  --border-light: #e2e8f0;

  /* Status Colors */
  --error: #ba1a1a;
  --error-container: #ffdad6;
  --success: #16a34a;

  /* Typography */
  --font-heading: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 4px 14px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 25, 47, 0.12);
  --shadow-2xl: 0 25px 50px -12px rgba(10, 25, 47, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: var(--on-surface);
  line-height: 1.25;
}

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* --- Navigation Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-container-highest);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-container);
  font-family: var(--font-heading);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--primary-container);
  color: var(--mint-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover {
  color: var(--primary-container);
  background-color: var(--surface-container);
}

.nav-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background-color: var(--mint-accent);
  color: #002117;
  padding: 2px 6px;
  border-radius: 9999px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-container);
  color: var(--on-primary);
}

.btn-primary:hover {
  background-color: #1a2d4b;
  box-shadow: var(--shadow-md);
}

.btn-mint {
  background-color: var(--mint-accent);
  color: var(--primary-container);
  font-weight: 700;
}

.btn-mint:hover {
  background-color: #73d9b5;
  box-shadow: 0 4px 14px rgba(143, 246, 208, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-container);
  border: 1px solid var(--outline-variant);
}

.btn-secondary:hover {
  background-color: var(--surface-container-low);
  border-color: var(--outline);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 10px;
}

/* --- Cards & Glass Elevation --- */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- 1. HERO SECTION --- */
.hero-section {
  background-color: var(--primary-navy);
  color: var(--on-primary);
  padding-top: 100px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(143, 246, 208, 0.15);
  border: 1px solid rgba(143, 246, 208, 0.3);
  color: var(--mint-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 9999px;
  width: fit-content;
}

.hero-headline {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-primary);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3.25rem;
  }
}

.hero-subheadline {
  font-size: 1.125rem;
  color: #b9c7e4;
  line-height: 1.6;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

@media (min-width: 576px) {
  .hero-form {
    flex-direction: row;
  }
}

.hero-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
}

.hero-input::placeholder {
  color: #76849f;
}

.hero-input:focus {
  outline: none;
  border-color: var(--mint-accent);
  box-shadow: 0 0 0 2px rgba(143, 246, 208, 0.25);
}

.hero-trust-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #b9c7e4;
  margin-top: 4px;
}

.hero-trust-bullets span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Hero Interactive Mockup Graphic --- */
.hero-visual-frame {
  position: relative;
  width: 100%;
  background: white;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 198, 205, 0.3);
  user-select: none;
}

.visual-inner-canvas {
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
}

.visual-sidebar {
  width: 48px;
  border-right: 1px solid var(--surface-container-low);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
}

.visual-sidebar-active {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(143, 246, 208, 0.25);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-sidebar-icon {
  color: var(--outline-variant);
  font-size: 18px;
}

.visual-chart-panel {
  flex: 1;
  background-color: var(--primary-navy);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.chart-metric-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-heading);
}

.chart-metric-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mint-accent);
}

.chart-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 180px;
  gap: 6px;
  margin: 12px 0;
  position: relative;
}

.chart-bar-item {
  flex: 1;
  background-color: rgba(143, 246, 208, 0.85);
  border-radius: 3px 3px 0 0;
  transition: height 0.3s ease, background-color 0.2s ease;
  position: relative;
  cursor: pointer;
}

.chart-bar-item:hover {
  background-color: var(--mint-accent);
  box-shadow: 0 0 12px rgba(143, 246, 208, 0.6);
}

.chart-timeline {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: #76849f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
}

/* --- 2. VALUE PROPOSITION SECTION --- */
.section {
  padding: 80px 0;
}

.section-bg-surface {
  background-color: var(--surface);
}

.section-bg-low {
  background-color: var(--surface-container-low);
  border-top: 1px solid var(--surface-container-highest);
  border-bottom: 1px solid var(--surface-container-highest);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-container);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(143, 246, 208, 0.25);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.value-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-container);
}

.value-card-desc {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

/* --- 3. PROBLEM / SOLUTION SECTION --- */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .problem-solution-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.pitfall-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.pitfall-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  font-size: 0.9375rem;
  font-weight: 500;
}

.pitfall-icon {
  color: var(--error);
  font-size: 20px;
  margin-top: 2px;
}

.solution-box {
  background-color: var(--primary-navy);
  color: white;
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  border: 1px solid rgba(143, 246, 208, 0.2);
  box-shadow: var(--shadow-lg);
}

.solution-icon {
  font-size: 64px;
  color: var(--mint-accent);
  margin-bottom: 16px;
}

.solution-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

/* --- 4. BENTO: WEEKLY CONTENT & AUDIENCE --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.bento-card {
  padding: 32px;
  border-radius: 16px;
}

.numbered-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (min-width: 600px) {
  .numbered-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.numbered-item {
  display: flex;
  gap: 12px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-container-high);
  color: var(--primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.audience-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border-light);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary-container);
  transition: background-color 0.2s;
}

.audience-item:hover {
  background: var(--surface-container-highest);
}

.audience-icon {
  color: var(--on-surface-variant);
  font-size: 20px;
}

/* --- 5. BONUS SECTION --- */
.bonus-section {
  background-color: var(--primary-navy);
  color: white;
  padding: 80px 0;
  position: relative;
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .bonus-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.bonus-pill {
  display: inline-block;
  background-color: var(--mint-accent);
  color: var(--primary-container);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 12px;
}

.bonus-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .bonus-title {
    font-size: 2.25rem;
  }
}

.bonus-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 28px 0;
}

@media (min-width: 576px) {
  .bonus-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bonus-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: white;
}

.bonus-check-icon {
  color: var(--mint-accent);
  font-size: 20px;
}

/* Side Income Table Graphic inside Bonus */
.monitor-frame {
  background: #1e232a;
  padding: 16px;
  border-radius: 16px;
  border: 4px solid #2b303b;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.monitor-screen {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.monitor-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-container);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.dashboard-table th {
  background-color: var(--primary-navy);
  color: white;
  padding: 10px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--on-surface);
}

.dashboard-table td.text-right {
  text-align: right;
}

.dashboard-table td.profit-col {
  background-color: rgba(143, 246, 208, 0.25);
  font-weight: 700;
  color: var(--secondary);
}

/* --- 6. TRUST SECTION --- */
.trust-section {
  padding: 64px 0;
  background-color: var(--surface-container-low);
  text-align: center;
}

.trust-wrapper {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.trust-icon {
  font-size: 48px;
  color: var(--secondary);
}

/* --- 7. FINAL CTA SECTION --- */
.final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--surface);
}

.final-cta-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 32px;
  border-radius: 20px;
  border-top: 6px solid var(--secondary);
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--surface-container-lowest);
  border-top: 1px solid var(--outline-variant);
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-top: 8px;
}

.footer-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* --- MODAL DIALOGS --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 28, 50, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: white;
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--outline-variant);
  animation: modalEnter 0.25s ease-out;
}

.modal-card-lg {
  max-width: 860px;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  background-color: var(--primary-container);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  color: var(--outline-variant);
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: white;
}

.modal-body {
  padding: 24px;
  max-height: 75vh;
  overflow-y: auto;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-container);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--mint-accent);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  font-size: 0.875rem;
  font-weight: 500;
}

.toast-notification.active {
  display: flex;
  animation: toastSlide 0.3s ease-out;
}

@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
