/* ============================================================
   DevTrace — Landing Page Styles
   Clean, modern vanilla CSS derived from the design export.
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: #F5F6F4;
  color: #0E1512;
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

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

/* Page Layout */
.landing-root {
  background: #F5F6F4;
  color: #0E1512;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

.landing-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* Navigation */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: #0E1512;
}

.brand-mark {
  width: 22px;
  height: 22px;
  background: #15803D;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: #55605A;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #0E1512;
}

/* Buttons */
.btn-pill-dark {
  background: #0E1512;
  color: #F5F6F4;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 999px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}

.btn-pill-dark:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-pill-dark-lg {
  background: #0E1512;
  color: #F5F6F4;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}

.btn-pill-dark-lg:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-pill-outline {
  border: 1.5px solid #0E1512;
  color: #0E1512;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  background: transparent;
}

.btn-pill-outline:hover {
  background: #0E1512;
  color: #F5F6F4;
  transform: translateY(-1px);
}

.btn-pill-accent {
  background: #15803D;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 999px;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
}

.btn-pill-accent:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Badges */
.badge-pill {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #15803D;
  background: #DCFCE7;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 64px 0 48px;
}

.hero-title {
  margin: 0 auto;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -2.5px;
  font-weight: 800;
  max-width: 860px;
  color: #0E1512;
}

.hero-subtitle {
  color: #55605A;
  font-size: 19px;
  line-height: 1.55;
  margin: 26px auto 36px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Profile Preview Card */
.profile-card {
  background: #FFFFFF;
  border: 1px solid #DDE2DE;
  border-radius: 28px;
  padding: 36px;
  box-sizing: border-box;
  box-shadow: 0 24px 60px -30px rgba(14,21,18,0.25);
  margin-bottom: 24px;
}

.profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.profile-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0E1512;
  color: #F5F6F4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.profile-handle {
  font-weight: 700;
  font-size: 20px;
}

.profile-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #55605A;
}

.score-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #55605A;
}

.score-value {
  font-size: 44px;
  font-weight: 800;
  color: #15803D;
  line-height: 1;
}

/* Timeline & Chart */
.timeline-labels {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #55605A;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.timeline-track {
  position: relative;
  height: 84px;
  background: #F5F6F4;
  border-radius: 14px;
  overflow: hidden;
}

.timeline-legend {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #55605A;
  margin: 12px 0 28px;
  flex-wrap: wrap;
  align-items: center;
}

.legend-dot-square {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #0E1512;
  border-radius: 2px;
  margin-right: 6px;
}

.legend-dot-circle {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2.5px solid #0E1512;
  border-radius: 50%;
  margin-right: 6px;
}

.legend-dot-green {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #16A34A;
  border-radius: 2px;
  margin-right: 6px;
}

.stats-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1 1 200px;
  border: 1px solid #DDE2DE;
  border-radius: 16px;
  padding: 18px;
}

.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 500;
}

.stat-desc {
  color: #55605A;
  font-size: 14px;
}

/* Steps Section (#how) */
.section-how {
  padding: 96px 0 56px;
}

.section-h2 {
  margin: 0 0 40px;
  font-size: 40px;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.steps-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.step-card {
  flex: 1 1 280px;
  border-top: 3px solid #0E1512;
  padding-top: 20px;
}

.step-num {
  font-family: 'IBM Plex Mono', monospace;
  color: #15803D;
  font-size: 14px;
  font-weight: 500;
}

.step-title {
  font-weight: 700;
  font-size: 22px;
  margin: 8px 0;
}

.step-desc {
  color: #55605A;
  line-height: 1.55;
}

/* Integrations Section (#integrations) */
.section-integrations {
  padding: 0 0 88px;
}

.section-subhead {
  margin: 0 0 36px;
  color: #55605A;
  font-size: 18px;
  max-width: 560px;
  line-height: 1.55;
}

.integrations-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.integrations-card-live {
  flex: 1 1 440px;
  background: #FFFFFF;
  border: 1px solid #DDE2DE;
  border-radius: 24px;
  padding: 28px;
  box-sizing: border-box;
}

.integrations-card-next {
  flex: 1 1 440px;
  border: 1.5px dashed #AEB8B2;
  border-radius: 24px;
  padding: 28px;
  box-sizing: border-box;
}

.card-category-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  margin-bottom: 18px;
}

.card-category-label.live {
  color: #15803D;
}

.card-category-label.next {
  color: #55605A;
}

.pills-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-active {
  background: #DCFCE7;
  color: #14532D;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
}

.pill-muted {
  border: 1px solid #AEB8B2;
  color: #55605A;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
}

/* Proof Section (#proof) */
.section-proof-box {
  background: #0E1512;
  color: #F5F6F4;
  border-radius: 28px;
  padding: 56px 48px;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.proof-left {
  flex: 1 1 380px;
}

.proof-h2 {
  margin: 0 0 16px;
  font-size: 38px;
  letter-spacing: -1.5px;
  font-weight: 800;
  line-height: 1.1;
  color: #F5F6F4;
}

.proof-desc {
  margin: 0;
  color: #B7C2BB;
  line-height: 1.6;
  font-size: 17px;
}

.proof-right {
  flex: 1 1 380px;
  background: #17211C;
  border-radius: 20px;
  padding: 28px;
}

.proof-right-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #B7C2BB;
  margin-bottom: 14px;
}

.proof-bar {
  display: flex;
  height: 22px;
  border-radius: 8px;
  overflow: hidden;
}

.proof-bar-human {
  width: 82%;
  background: #4ADE80;
}

.proof-bar-ai {
  width: 18%;
  background: #52615A;
}

.proof-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 14px;
  color: #F5F6F4;
}

/* Community Section (#community) */
.section-community {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 0 88px;
}

.community-left {
  flex: 1 1 380px;
}

.community-badge {
  margin-bottom: 20px;
}

.community-h2 {
  margin: 0 0 16px;
  font-size: 40px;
  letter-spacing: -1.5px;
  font-weight: 800;
  line-height: 1.1;
}

.community-desc {
  margin: 0;
  color: #55605A;
  font-size: 18px;
  line-height: 1.6;
}

.community-card {
  flex: 1 1 400px;
  background: #FFFFFF;
  border: 1px solid #DDE2DE;
  border-radius: 24px;
  padding: 28px;
  box-sizing: border-box;
}

.community-card-header {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #55605A;
  margin-bottom: 20px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.leaderboard-row:last-child {
  margin-bottom: 0;
}

.lb-rank {
  font-family: 'IBM Plex Mono', monospace;
  width: 20px;
  font-weight: 500;
}

.lb-user {
  width: 110px;
  font-size: 15px;
}

.lb-user.current-user {
  font-weight: 700;
}

.lb-bar-track {
  flex: 1;
  height: 14px;
  background: #F5F6F4;
  border-radius: 7px;
  overflow: hidden;
}

.lb-bar-fill {
  height: 100%;
}

.lb-hours {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  width: 44px;
  text-align: right;
}

/* CTA Start Section (#start) */
.section-start {
  text-align: center;
  padding: 24px 0 72px;
}

.start-h2 {
  margin: 0 0 14px;
  font-size: 44px;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.start-desc {
  color: #55605A;
  font-size: 18px;
  margin: 0 0 28px;
}

/* Footer */
.landing-footer {
  border-top: 1px solid #DDE2DE;
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand-col {
  flex: 1 1 280px;
  max-width: 340px;
}

.footer-brand-desc {
  color: #55605A;
  font-size: 15px;
  line-height: 1.6;
  margin: 16px 0 0;
}

.footer-nav-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: #55605A;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-link {
  display: block;
  color: #0E1512;
  font-size: 15px;
  padding: 10px 0;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #15803D;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #DDE2DE;
  color: #55605A;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  color: #55605A;
  transition: color 0.15s ease;
}

.footer-legal-link:hover {
  color: #0E1512;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .landing-container {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 42px;
    letter-spacing: -1px;
  }
  
  .hero-subtitle {
    font-size: 17px;
  }
  
  .section-h2, .proof-h2, .community-h2, .start-h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  
  .profile-card {
    padding: 24px;
  }
  
  .section-proof-box {
    padding: 36px 24px;
    gap: 32px;
  }
  
  .footer-nav-cols {
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  
  .hero-cta-group {
    flex-direction: column;
  }
  
  .hero-cta-group .btn-pill-dark-lg,
  .hero-cta-group .btn-pill-outline {
    width: 100%;
  }
  
  .brand-logo {
    font-size: 20px;
  }
  
  .nav-links {
    gap: 16px;
  }
}
