/* ===== BUILDRIGHT LANDING PAGE STYLES ===== */
/* Professional construction/contractor aesthetic — dark mode */

:root {
  --br-black: #0f0f0f;
  --br-dark: #1a1a1a;
  --br-gray: #2a2a2a;
  --br-border: #333333;
  --br-muted: #888888;
  --br-light: #c8c8c8;
  --br-white: #f5f5f5;
  --br-orange: #e8631a;
  --br-orange-light: #f07a3d;
  --br-orange-dim: rgba(232,99,26,0.15);
  --br-blue: #3a8bcc;
  --br-blue-dim: rgba(58,139,204,0.15);
  --br-green: #4caf50;
  --br-green-dim: rgba(76,175,80,0.15);
  --br-yellow: #f5a623;
  --br-yellow-dim: rgba(245,166,35,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--br-black);
  color: var(--br-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--br-orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15,15,15,0.95);
  border-bottom: 1px solid var(--br-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--br-white);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.navbar-logo span { color: var(--br-orange); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-nav a {
  color: var(--br-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-nav a:hover { color: var(--br-white); text-decoration: none; }

.navbar-cta {
  background: var(--br-orange) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s !important;
}
.navbar-cta:hover { background: var(--br-orange-light) !important; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,99,26,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(58,139,204,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--br-orange-dim);
  border: 1px solid rgba(232,99,26,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--br-orange-light);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--br-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--br-white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--br-orange);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--br-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--br-orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--br-orange-light); text-decoration: none; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--br-light);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 8px;
  border: 1px solid var(--br-border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--br-light); color: var(--br-white); text-decoration: none; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--br-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--br-border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  aspect-ratio: 16/10;
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,99,26,0.1) 0%, transparent 60%);
}

/* ===== WAITLIST BAR ===== */
.waitlist-bar {
  background: var(--br-dark);
  border-top: 1px solid var(--br-border);
  border-bottom: 1px solid var(--br-border);
  padding: 20px 24px;
}

.waitlist-bar-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.waitlist-bar-label {
  font-size: 0.9rem;
  color: var(--br-light);
  font-weight: 500;
  flex-shrink: 0;
}

.waitlist-form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 280px;
}

.waitlist-form input {
  flex: 1;
  background: var(--br-gray);
  border: 1px solid var(--br-border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--br-white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.waitlist-form input::placeholder { color: var(--br-muted); }
.waitlist-form input:focus { border-color: var(--br-orange); }

.waitlist-form button {
  background: var(--br-orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.waitlist-form button:hover { background: var(--br-orange-light); }
.waitlist-form button:disabled { opacity: 0.5; cursor: not-allowed; }

.waitlist-success {
  display: none;
  color: var(--br-green);
  font-size: 0.9rem;
  font-weight: 600;
}
.waitlist-success.show { display: block; }

.waitlist-error {
  display: none;
  color: #e05555;
  font-size: 0.85rem;
}
.waitlist-error.show { display: block; }

/* ===== SECTION COMMON ===== */
.section {
  padding: 96px 24px;
}

.section-dark { background: var(--br-dark); }
.section-black { background: var(--br-black); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--br-orange);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--br-light);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ===== VALUE PROPOSITION ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--br-gray);
  border: 1px solid var(--br-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { border-color: rgba(232,99,26,0.4); transform: translateY(-2px); }

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.value-icon.orange { background: var(--br-orange-dim); }
.value-icon.blue { background: var(--br-blue-dim); }
.value-icon.green { background: var(--br-green-dim); }
.value-icon.yellow { background: var(--br-yellow-dim); }

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--br-white);
}

.value-card p {
  color: var(--br-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.value-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--br-orange);
  letter-spacing: -1px;
  display: block;
  margin-bottom: 4px;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--br-orange), var(--br-blue));
  opacity: 0.4;
}

.step-card { text-align: center; }

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--br-orange-dim);
  border: 2px solid var(--br-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--br-orange);
  margin: 0 auto 24px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--br-white);
}

.step-card p {
  color: var(--br-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== DATA SOURCES ===== */
.sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.source-card {
  background: var(--br-gray);
  border: 1px solid var(--br-border);
  border-radius: 12px;
  padding: 32px;
}

.source-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--br-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-card p {
  color: var(--br-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.source-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.source-tag.free { background: var(--br-green-dim); color: var(--br-green); }
.source-tag.ai { background: var(--br-blue-dim); color: var(--br-blue); }

.data-note {
  background: var(--br-orange-dim);
  border: 1px solid rgba(232,99,26,0.25);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--br-light);
  margin-top: 32px;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--br-gray);
  border: 1px solid var(--br-border);
  border-radius: 12px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover { border-color: rgba(232,99,26,0.4); transform: translateY(-2px); }
.pricing-card.featured {
  border-color: var(--br-orange);
  background: rgba(232,99,26,0.05);
  position: relative;
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--br-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--br-orange);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--br-white);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--br-muted);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--br-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-divider {
  height: 1px;
  background: var(--br-border);
  margin: 16px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--br-light);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--br-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid var(--br-border);
  color: var(--br-light);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: 6px;
  margin-top: 16px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.pricing-cta:hover { border-color: var(--br-orange); color: var(--br-orange); text-decoration: none; }
.pricing-card.featured .pricing-cta {
  background: var(--br-orange);
  border-color: var(--br-orange);
  color: #fff;
}
.pricing-card.featured .pricing-cta:hover { background: var(--br-orange-light); }

/* ===== LAUNCH INFO ===== */
.launch-section {
  text-align: center;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--br-orange-dim);
  border: 1px solid rgba(232,99,26,0.3);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--br-orange-light);
  font-weight: 600;
  margin-bottom: 24px;
}

.launch-section .section-heading { margin-bottom: 12px; }
.launch-section .section-sub { margin: 0 auto 40px; }

/* ===== ROADMAP ===== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.roadmap-card {
  background: var(--br-gray);
  border: 1px solid var(--br-border);
  border-radius: 12px;
  padding: 28px;
}

.roadmap-phase {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}
.roadmap-phase.phase1 { background: var(--br-orange-dim); color: var(--br-orange); }
.roadmap-phase.phase2 { background: var(--br-blue-dim); color: var(--br-blue); }
.roadmap-phase.phase3 { background: var(--br-green-dim); color: var(--br-green); }

.roadmap-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--br-white);
  margin-bottom: 10px;
}

.roadmap-card p {
  color: var(--br-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== REVENUE STREAMS ===== */
.revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.revenue-card {
  background: var(--br-gray);
  border: 1px solid var(--br-border);
  border-radius: 12px;
  padding: 28px;
}

.revenue-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--br-white);
  margin-bottom: 8px;
}

.revenue-card .revenue-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--br-yellow-dim);
  color: var(--br-yellow);
  margin-bottom: 12px;
}

.revenue-card p {
  color: var(--br-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(232,99,26,0.12) 0%, rgba(58,139,204,0.08) 100%);
  border-top: 1px solid rgba(232,99,26,0.2);
  border-bottom: 1px solid rgba(232,99,26,0.2);
  text-align: center;
}

.cta-section .section-heading { color: var(--br-white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--br-dark);
  border-top: 1px solid var(--br-border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--br-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
  line-height: 1.6;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--br-muted);
  margin-top: 20px;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--br-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--br-light); }

.footer-bottom {
  border-top: 1px solid var(--br-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--br-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { max-width: 600px; }
  .hero { padding-top: 120px; }
  .value-grid, .steps-grid, .roadmap-grid, .revenue-grid { grid-template-columns: repeat(2, 1fr); }
  .sources-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .section { padding: 64px 20px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .value-grid, .steps-grid, .roadmap-grid, .revenue-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .steps-grid::before { display: none; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 20px; }
  .waitlist-bar-inner { flex-direction: column; }
  .waitlist-form { width: 100%; min-width: unset; }
}

/* Scroll to waitlist when clicking CTA */
#waitlist:focus-within { scroll-margin-top: 80px; }