@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  --hop-blue: #1a6fc4;
  --hop-blue-light: #e8f1fb;
  --hop-blue-mid: #3d8fd6;
  --hop-blue-dark: #0d4a8a;
  --hop-bg: #f8f9fc;
  --hop-surface: #ffffff;
  --hop-border: rgba(26,111,196,0.12);
  --hop-text: #111827;
  --hop-muted: #6b7280;
  --hop-subtle: #9ca3af;
  --font: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

body {
  font-family: var(--font);
  background: var(--hop-bg);
  color: var(--hop-text);
  min-height: 100vh;
}

/* SPA PAGE VISIBILITY */
.page { display: none; }
.page.active { display: block; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,249,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hop-border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600; color: var(--hop-text);
  text-decoration: none;
}
.logo-mark {
  width: 28px; height: 28px; background: var(--hop-blue);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; gap: 0; }
.nav-link {
  padding: 6px 14px; font-size: 14px; color: var(--hop-muted);
  text-decoration: none; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--hop-text); background: var(--hop-blue-light); }
.nav-link.active { color: var(--hop-blue); font-weight: 500; }

/* HERO */
.hero {
  padding: 80px 2rem 64px;
  max-width: 680px; margin: 0 auto; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--hop-blue-light); color: var(--hop-blue-dark);
  font-size: 12px; font-weight: 500; padding: 4px 12px;
  border-radius: 100px; margin-bottom: 24px;
  border: 1px solid rgba(26,111,196,0.2);
}
.hero h1 {
  font-size: 42px; font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.hero h1 span { color: var(--hop-blue); }
.hero p {
  font-size: 17px; color: var(--hop-muted); line-height: 1.65;
  max-width: 520px; margin: 0 auto;
}

/* TOOLS GRID */
.tools-section { max-width: 900px; margin: 0 auto; padding: 0 2rem 80px; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--hop-subtle);
  margin-bottom: 20px;
}
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }

.tool-card {
  background: var(--hop-surface);
  border: 1px solid var(--hop-border);
  border-radius: 12px; padding: 28px;
  text-decoration: none; color: inherit;
  display: block;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.tool-card:hover {
  border-color: var(--hop-blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,111,196,0.1);
}
.tool-card.coming-soon { pointer-events: none; opacity: 0.65; }

.tool-icon {
  width: 44px; height: 44px; background: var(--hop-blue-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.tool-icon svg { width: 22px; height: 22px; color: var(--hop-blue); }
.tool-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.tool-card p { font-size: 14px; color: var(--hop-muted); line-height: 1.6; margin-bottom: 16px; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 500; padding: 3px 8px;
  border-radius: 4px; font-family: var(--mono);
}
.tag-macos { background: #f0f0f0; color: #555; }
.tag-free { background: #e8f5e9; color: #2e7d32; }
.tag-privacy { background: var(--hop-blue-light); color: var(--hop-blue-dark); }
.tag-soon { background: #fff8e1; color: #e65100; }
.tag-revit { background: #ede7f6; color: #4527a0; }
.card-arrow {
  position: absolute; top: 28px; right: 28px;
  color: var(--hop-subtle); font-size: 16px;
  transition: transform 0.2s, color 0.2s;
}
.tool-card:hover .card-arrow { transform: translate(2px,-2px); color: var(--hop-blue); }

/* TOOL DETAIL */
.tool-detail { max-width: 760px; margin: 0 auto; padding: 48px 2rem 80px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--hop-muted);
  margin-bottom: 40px; padding: 6px 0;
  text-decoration: none;
  transition: color 0.15s;
}
.back-btn:hover { color: var(--hop-blue); }
.back-btn svg { width: 14px; height: 14px; }

.detail-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
.detail-icon {
  width: 56px; height: 56px; background: var(--hop-blue-light);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.detail-icon svg { width: 28px; height: 28px; color: var(--hop-blue); }
.detail-header h1 { font-size: 28px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.detail-header p { font-size: 16px; color: var(--hop-muted); line-height: 1.6; }

.detail-desc {
  font-size: 15px; color: var(--hop-muted); line-height: 1.75;
  border-left: 2px solid var(--hop-blue-light); padding-left: 20px;
  margin-bottom: 36px;
}

.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hop-blue); color: white;
  font-size: 14px; font-weight: 500; padding: 10px 20px;
  border-radius: 8px; border: none; cursor: pointer;
  font-family: var(--font); text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--hop-blue-dark); transform: translateY(-1px); }
.btn-primary svg { width: 15px; height: 15px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hop-surface); color: var(--hop-text);
  font-size: 14px; font-weight: 500; padding: 10px 20px;
  border-radius: 8px; border: 1px solid var(--hop-border); cursor: pointer;
  font-family: var(--font); text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: var(--hop-blue-mid); background: var(--hop-blue-light); }
.btn-secondary svg { width: 15px; height: 15px; }

/* VIDEO */
.video-box {
  background: var(--hop-surface);
  border: 1px solid var(--hop-border);
  border-radius: 12px; aspect-ratio: 16/9;
  margin-bottom: 40px; overflow: hidden;
  position: relative;
}
.video-box iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.feature-item {
  background: var(--hop-surface); border: 1px solid var(--hop-border);
  border-radius: 10px; padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 12px;
}
.feature-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hop-blue); margin-top: 5px; flex-shrink: 0;
}
.feature-item p { font-size: 13px; color: var(--hop-muted); line-height: 1.5; }
.feature-item strong { font-size: 13px; display: block; margin-bottom: 2px; color: var(--hop-text); }

/* QUOTES */
.quotes-section { margin-bottom: 40px; }
.quotes-section h2 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.quotes-grid { display: grid; gap: 12px; }
.quote-card {
  background: var(--hop-surface); border: 1px solid var(--hop-border);
  border-radius: 10px; padding: 20px 24px;
}
.quote-text { font-size: 14px; line-height: 1.65; color: var(--hop-text); margin-bottom: 12px; font-style: italic; }
.quote-author { font-size: 12px; font-weight: 500; color: var(--hop-blue); font-family: var(--mono); }

/* CONTACT */
.contact-page { max-width: 560px; margin: 0 auto; padding: 64px 2rem 80px; }
.contact-page h1 { font-size: 28px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.contact-page > p { font-size: 15px; color: var(--hop-muted); line-height: 1.65; margin-bottom: 36px; }

.contact-card {
  background: var(--hop-surface); border: 1px solid var(--hop-border);
  border-radius: 12px; padding: 28px; margin-bottom: 16px;
}
.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--hop-border);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row:first-child { padding-top: 0; }
.contact-icon {
  width: 36px; height: 36px; background: var(--hop-blue-light);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; color: var(--hop-blue); }
.contact-label { font-size: 11px; font-weight: 500; color: var(--hop-subtle); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-value { font-size: 14px; color: var(--hop-text); }
.contact-value a { color: var(--hop-blue); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

.about-blurb {
  background: var(--hop-surface); border: 1px solid var(--hop-border);
  border-radius: 12px; padding: 24px 28px; margin-bottom: 16px;
  font-size: 15px; color: var(--hop-muted); line-height: 1.7;
}
.about-blurb strong { color: var(--hop-text); font-weight: 500; }

.legal-note {
  padding: 16px 20px;
  background: var(--hop-blue-light); border-radius: 8px;
  font-size: 12px; color: var(--hop-blue-dark); line-height: 1.6;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--hop-border); padding: 24px 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--hop-subtle);
}
footer a { color: var(--hop-subtle); text-decoration: none; }
footer a:hover { color: var(--hop-blue); }

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .detail-header { flex-direction: column; gap: 12px; }
  nav { padding: 0 1rem; }
  .hero { padding: 48px 1.5rem 40px; }
  .tools-section { padding: 0 1.5rem 60px; }
}
