/* ── RIVA Software / Pulse ── Global Styles ───────────────────────────── */

:root {
  --terracotta: #D47E5D;
  --terracotta-dark: #B8643F;
  --dark: #2C2C2C;
  --mid: #555555;
  --light: #888888;
  --bg: #F8F5F2;
  --white: #FFFFFF;
  --border: #E8E0D8;
  --score-green:  #2ECC71;
  --score-orange: #F39C12;
  --score-red:    #E74C3C;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

/* ── NAV ─────────────────────────────────────────────────────────────── */
nav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-company {
  font-size: 10px;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-product {
  font-size: 18px;
  font-weight: 700;
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }

.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--terracotta-dark) !important; color: var(--white) !important; }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,126,93,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--terracotta);
}

.btn-white:hover {
  background: var(--bg);
  color: var(--terracotta-dark);
  transform: translateY(-1px);
}

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--terracotta) 0%, #C06840 100%);
  color: var(--white);
  padding: 80px 2rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  margin-top: 40px;
  opacity: 0.75;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ── SCORE RING (CSS only) ───────────────────────────────────────────── */
.score-demo {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 48px 0 0;
}

.score-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 7px solid;
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.score-ring.green  { border-color: var(--score-green); }
.score-ring.orange { border-color: var(--score-orange); }
.score-ring.red    { border-color: var(--score-red); }

.score-ring .score-num  { font-size: 22px; font-weight: 800; line-height: 1; }
.score-ring .score-sub  { font-size: 9px; opacity: 0.8; }
.score-ring .score-label { font-size: 11px; margin-top: 6px; opacity: 0.9; font-weight: 600; }

/* ── SECTIONS ────────────────────────────────────────────────────────── */
section { padding: 72px 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--mid);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── CHECKS GRID ─────────────────────────────────────────────────────── */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.check-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.check-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.check-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.check-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.check-card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

.check-weight {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--terracotta);
  background: rgba(212,126,93,0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── FEATURES LIST ───────────────────────────────────────────────────── */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(212,126,93,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.6;
}

/* ── SCREENSHOTS ─────────────────────────────────────────────────────── */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.screenshot-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.screenshot-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}

.screenshot-card img {
  width: 100%;
  display: block;
}

.screenshot-card .caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--mid);
  font-weight: 500;
}

/* ── PRICING ─────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card.featured {
  border-color: var(--terracotta);
  box-shadow: 0 8px 32px rgba(212,126,93,0.2);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--terracotta);
  margin: 16px 0 4px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--light);
}

.pricing-desc {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pricing-features li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CTA BAND ────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--terracotta) 0%, #C06840 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 2rem;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT FORM ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--mid);
}

.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: rgba(212,126,93,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── PAGE HEADER ─────────────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--terracotta) 0%, #C06840 100%);
  color: var(--white);
  padding: 56px 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto;
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 2rem 28px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

.footer-brand { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.footer-company { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--terracotta); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── UTILS ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.bg-white { background: var(--white); }
.bg-bg { background: var(--bg); }
.mt-4 { margin-top: 16px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── REVIT BADGE ─────────────────────────────────────────────────────── */
.revit-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.revit-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
