:root {
  --bg-main: #d9d9d9;
  --bg-visual: #d0d0d0;
  --border-color: rgba(0, 0, 0, 0.1);
  --text-main: #000000;
  --text-muted: rgba(0, 0, 0, 0.54);
  --text-faint: rgba(0, 0, 0, 0.26);
  --font-mono: "Roboto Mono", monospace;
  --accent-yellow: #ffeb3b;
  --accent-light: rgba(255, 235, 59, 0.1);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

#app {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.spacer {
  flex: 1;
}

/* Nav */
nav.section-header {
  position: sticky;
  top: 0;
  background: rgba(217, 217, 217, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.row {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  gap: 12px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-left: 24px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 0.6;
}

.header-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--text-main);
}

.header-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  display: flex;
  padding: 80px 24px;
  gap: 60px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  flex: 1.2;
}

.hero-tagline {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-tagline .highlight {
  color: var(--text-main);
  background: #ffeb3b;
  padding: 2px 8px; /* Slightly more padding for a better 'marker' look */
  display: inline-block; /* Keeps the highlight together and allows margin/padding */
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: black;
  color: white;
  text-decoration: none;
  height: 60px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  width: fit-content;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.cta-note {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
}

.phone-frame {
  width: 320px;
  height: 580px;
  background: var(--bg-visual);
  border: 8px solid black;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

#radar-canvas {
  width: 100%;
  height: 100%;
}

.visual-label {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
}

/* Scenarios Grid */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border-color);
}

.scenario-card {
  padding: 48px 24px;
  border-right: 1px solid var(--border-color);
}

.scenario-card:last-child {
  border-right: none;
}

.scenario-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.scenario-card h3 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.scenario-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* How it Works / Steps */
.how-it-works {
  border-bottom: 1px solid var(--border-color);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  padding: 60px 40px;
  border-right: 1px solid var(--border-color);
}

.step-card:last-child {
  border-right: none;
}

.step-num {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.05);
  margin-bottom: -30px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 240px;
}

/* Pro Features */
.pro-features {
  border-bottom: 1px solid var(--border-color);
  background-color: #ececec;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-detail {
  padding: 48px 40px;
  border-right: 1px solid var(--border-color);
}

.feature-detail:last-child {
  border-right: none;
}

.feature-header {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.feature-detail p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Nudge Edge / Comparison */
.nudge-edge {
  border-bottom: 1px solid var(--border-color);
  background-color: #ffffff;
}

.edge-intro {
  padding: 80px 40px 40px;
  max-width: 800px;
}

.edge-intro p {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-color);
}

.edge-item {
  padding: 60px 40px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.edge-item:nth-child(2n) {
  border-right: none;
}

.edge-item.featured {
  grid-column: span 2;
  background-color: var(--text-main);
  color: white;
  border-right: none;
}

.edge-item.featured .edge-header {
  color: rgba(255, 255, 255, 0.4);
}

.edge-item.featured p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.edge-item.featured strong {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 600px) {
  .edge-item.featured {
    grid-column: span 1;
  }
}

.edge-header {
  font-size: 10px;
  font-weight: 900;
  color: var(--text-faint);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.edge-item h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.edge-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.edge-item strong {
  color: var(--text-main);
  background: var(--accent-light);
  padding: 0 2px;
}

.comparison-container {
  padding: 80px 40px;
  background-color: #f9f9f9;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.comparison-table th {
  text-align: left;
  padding: 20px;
  font-size: 10px;
  font-weight: 900;
  color: var(--text-faint);
  letter-spacing: 2px;
  border-bottom: 1px solid var(--text-main);
}

.comparison-table td {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table td:first-child {
  font-weight: 700;
  width: 25%;
}

.comparison-table td:nth-child(2) {
  width: 35%;
  color: var(--text-muted);
}

.comparison-table td.highlight {
  font-weight: 700;
  background: var(--accent-light);
  border-left: 4px solid var(--accent-yellow);
}

/* Social Proof */
.social-proof {
  padding: 100px 40px;
  background-color: black;
  color: white;
  text-align: center;
}

.quote-block {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -1px;
}

.quote-author {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
}

/* Audience Section */
.audience-section {
  border-bottom: 1px solid var(--border-color);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.audience-item {
  padding: 60px 40px;
  border-right: 1px solid var(--border-color);
}

.audience-item:last-child {
  border-right: none;
}

.audience-label {
  font-size: 10px;
  font-weight: 900;
  color: var(--text-faint);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.audience-item h3 {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.audience-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pro Tips Section */
.pro-tips {
  border-bottom: 1px solid var(--border-color);
  background-color: #f5f5f5;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.tip-card {
  padding: 0;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.tip-visual {
  height: 240px;
  background-color: #eee;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tip-visual canvas {
  width: 100%;
  height: 100%;
}

.tip-content {
  padding: 40px;
}

.tip-card:nth-child(2n) {
  border-right: none;
}

.tip-card:nth-last-child(-n + 2) {
  border-bottom: none;
}

.tip-num {
  font-size: 10px;
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.tip-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.tip-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pro Upgrade Section */
.pro-upgrade {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-main);
}

.pro-list-container {
  padding: 60px 40px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pro-feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.pro-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pro-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-main);
}

.pro-text h3 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pro-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 400px;
}

/* Footer Sections */
.footer-sections {
  display: flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.02);
}

.footer-col {
  flex: 1;
  min-width: 300px;
  border-right: 1px solid var(--border-color);
}

.footer-col:last-child {
  border-right: none;
}

.footer-content {
  padding: 32px 24px;
}

.footer-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-content a {
  color: var(--text-main);
  text-decoration: underline;
}

/* Section Header Minimal */
.section-header.minimal {
  border-bottom: 1px solid var(--border-color);
}

/* Bottom Bar */
.bottom-bar {
  padding: 40px 24px;
  border-top: 1px solid var(--border-color);
}

.copyright {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-visual {
    justify-content: center;
  }
  .steps-container,
  .features-grid,
  .scenarios-grid,
  .audience-grid,
  .edge-grid,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-card,
  .feature-detail,
  .scenario-card,
  .audience-item,
  .tip-card {
    border-bottom: 1px solid var(--border-color);
  }
  .step-card:nth-child(even),
  .feature-detail:nth-child(even),
  .scenario-card:nth-child(even),
  .audience-item:nth-child(even),
  .tip-card:nth-child(even) {
    border-right: none;
  }
  .pro-list-container {
    padding: 60px 24px;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero-tagline {
    font-size: 32px;
  }
  .steps-container,
  .features-grid,
  .scenarios-grid,
  .audience-grid,
  .edge-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .step-card,
  .feature-detail,
  .scenario-card,
  .audience-item,
  .tip-card {
    border-right: none;
  }
  .footer-col {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .step-card,
  .feature-detail,
  .scenario-card,
  .audience-item,
  .tip-content {
    padding: 32px 20px;
  }
  .hero-subtitle {
    font-size: 14px;
    padding: 0 20px;
  }
  .quote-text {
    font-size: 24px;
  }
  .row {
    padding: 16px;
    gap: 8px;
  }
  .nav-link {
    margin-left: 12px;
    font-size: 10px;
  }
  .phone-frame {
    width: 280px;
    height: 500px;
  }
  .hero {
    padding: 40px 16px;
  }
  .hero-tagline br {
    display: block; /* Force the break on mobile as requested */
    margin-bottom: 8px; /* Add some space between 'REMINDERS THAT' and 'GO WHERE YOU GO.' */
  }
  .btn-primary {
    width: 100%;
    padding: 0 16px;
  }
  .pro-list-container {
    padding: 40px 20px;
    gap: 24px;
  }
  .pro-feature-item {
    gap: 16px;
  }
  .pro-icon {
    width: 32px;
    height: 32px;
  }
  .pro-icon svg {
    width: 20px;
    height: 20px;
  }
}
