/* The Cash Flow Scout – One-Page Hub
   Color scheme from CashFlowScout-Color-Mockup
*/

:root {
  --bg: #222629;
  --surface: #2A2E32;
  --surface-2: #474B4F;
  --primary: #86C232;
  --primary-dark: #61892F;
  --positive: #059669;
  --negative: #DC2626;
  --text: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B6E70;
  --radius: 12px;
  --shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1a1d1f;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 80px;
  overflow: hidden;
}

/* Subtle grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(134, 194, 50, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 194, 50, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ========== HEADER ========== */
.header {
  position: relative;
  z-index: 20;
  padding: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #1a1d1f;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px rgba(134, 194, 50, 0.35);
}

.logo-mark.small {
  width: 32px;
  height: 32px;
  font-size: 11px;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.3px;
  color: var(--text);
}

.tag {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  z-index: 10;
  padding: 36px 0 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(134, 194, 50, 0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  border: 1px solid rgba(134, 194, 50, 0.28);
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.1px;
  margin-bottom: 20px;
}

.highlight {
  color: var(--primary);
}

.lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #1a1d1f;
  box-shadow: 0 4px 16px rgba(134, 194, 50, 0.35);
}

.btn-primary:hover {
  background: #97d13a;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(134, 194, 50, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-2);
}

.btn-ghost:hover {
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

/* Advisor image – sized like a typical brand mascot */
.hero-advisor {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advisor-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;          /* circular mascot style */
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  border: 3px solid var(--primary);
  background: var(--surface);
  display: block;
}

.advisor-caption {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 200px;
  line-height: 1.4;
}

/* ========== MEET THE SCOUT ========== */
.scout-section {
  position: relative;
  z-index: 10;
  padding: 20px 0 60px;
}

.scout-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 18px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.scout-text h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  color: var(--primary);
}

.scout-intro {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.65;
}

.scout-text p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.scout-text p:last-child {
  margin-bottom: 0;
}

/* ========== JOURNEY ========== */
.journey {
  position: relative;
  z-index: 10;
  padding: 30px 0 70px;
}

.journey h2,
.tools h2,
.content-section h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 42px;
  font-size: 1.05rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.journey-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.journey-card:hover {
  border-color: rgba(134, 194, 50, 0.45);
  transform: translateY(-2px);
}

.journey-card .icon {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.journey-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.journey-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ========== TOOLS ========== */
.tools {
  position: relative;
  z-index: 10;
  padding: 20px 0 70px;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.tool-item {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 24px 26px;
  position: relative;
}

.tool-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.tool-status.coming {
  background: rgba(134, 194, 50, 0.18);
  color: var(--primary);
}

.tool-status.soon {
  background: rgba(156, 163, 175, 0.15);
  color: var(--text-secondary);
}

.tool-status.later {
  background: rgba(107, 110, 112, 0.2);
  color: var(--text-muted);
}

.tool-item h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tool-item p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ========== CONTENT ========== */
.content-section {
  position: relative;
  z-index: 10;
  padding: 20px 0 70px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.content-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.content-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ========== NOTIFY ========== */
.notify {
  position: relative;
  z-index: 10;
  padding: 10px 0 60px;
}

.notify-card {
  background: linear-gradient(160deg, var(--surface), #1e2225);
  border: 1px solid var(--surface-2);
  border-radius: 20px;
  padding: 44px 36px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.notify-card h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.notify-card > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.notify-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--surface-2);
  background: #1a1d1f;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input[type="email"]:focus {
  border-color: var(--primary);
}

.notify-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.notify-form .btn {
  white-space: nowrap;
}

.form-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.fallback {
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--surface-2);
  padding-top: 18px;
  margin-top: 6px;
}

.fallback a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.fallback a:hover {
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--surface-2);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.05rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--primary);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-advisor {
    order: -1;
  }

  .advisor-img {
    width: 180px;
    height: 180px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 24px 0 40px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .advisor-img {
    width: 150px;
    height: 150px;
  }

  .scout-card,
  .notify-card {
    padding: 28px 20px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form input[type="email"],
  .notify-form .btn {
    width: 100%;
  }

  .journey-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
}
