/* Voxelbridge Labs — brand: #0891B2 primary, #22D3EE accent, #0F172A bg */

:root {
  --primary: #0891B2;
  --primary-dark: #0e7490;
  --accent: #22D3EE;
  --accent-soft: rgba(34, 211, 238, 0.15);
  --bg: #0F172A;
  --bg-elevated: #1E293B;
  --bg-card: rgba(30, 41, 59, 0.6);
  --border: rgba(148, 163, 184, 0.12);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --gradient: linear-gradient(135deg, #0891B2 0%, #22D3EE 100%);
  --gradient-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(8, 145, 178, 0.35), transparent),
                   radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.12), transparent),
                   radial-gradient(ellipse 50% 30% at 0% 100%, rgba(8, 145, 178, 0.08), transparent);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 60px rgba(34, 211, 238, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #67E8F9; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ── Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: var(--gradient);
  color: var(--bg) !important;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  color: var(--bg) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 6rem;
  background: var(--gradient-mesh);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34, 211, 238, 0.25); color: var(--bg); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.15rem; }

.hero-visual {
  position: relative;
}
.hero-dashboard {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow), var(--shadow-glow);
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #EF4444; }
.dot-y { background: #F59E0B; }
.dot-g { background: #22C55E; }
.dashboard-title { font-size: 0.75rem; color: var(--text-dim); margin-left: auto; }

.voxel-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: #0c1222;
}
.voxel-cell {
  background: rgba(8, 145, 178, 0.15);
  border-radius: 2px;
  transition: background 0.3s;
}
.voxel-cell.hot { background: rgba(34, 211, 238, 0.55); }
.voxel-cell.warm { background: rgba(8, 145, 178, 0.45); }
.voxel-cell.cool { background: rgba(8, 145, 178, 0.2); }

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.metric-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}
.metric-card .label { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.metric-card .value { font-size: 1.1rem; font-weight: 700; color: var(--accent); }

.trusted-by {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
}
.trusted-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.trusted-logos span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ── Sections ── */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* How it works */
.how-section { background: rgba(30, 41, 59, 0.3); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--bg);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* Use cases */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.use-case {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.use-case-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 10px;
  color: var(--accent);
}
.use-case h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.use-case p { font-size: 0.875rem; color: var(--text-muted); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.value-item {
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.value-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.value-item span { font-size: 0.8rem; color: var(--text-dim); }

.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.team-avatar {
  width: 64px; height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--bg);
}
.team-card h4 { font-size: 0.95rem; font-weight: 700; }
.team-card .role { font-size: 0.8rem; color: var(--accent); margin-bottom: 0.4rem; }
.team-card p { font-size: 0.78rem; color: var(--text-dim); }

/* Pricing */
.pricing-section {
  background: var(--gradient-mesh);
}
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.pricing-card .price-note { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: #FBBF24; font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial blockquote {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
  font-style: normal;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--bg);
}
.author-info .name { font-size: 0.875rem; font-weight: 600; }
.author-info .title { font-size: 0.75rem; color: var(--text-dim); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; color: var(--accent); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* CTA */
.cta-section {
  padding: 4rem 0;
}
.cta-box {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--bg);
}
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-box p { opacity: 0.85; margin-bottom: 1.75rem; max-width: 480px; margin-inline: auto; }
.cta-box .btn {
  background: var(--bg);
  color: var(--text);
}
.cta-box .btn:hover { color: var(--text); transform: translateY(-2px); }

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 28ch;
}
.footer-brand p { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.75rem; }
.footer-social {
  display: flex;
  align-self: flex-start;
  margin-top: 1rem;
  margin-left: 0;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.social-icon-x {
  width: 54px;
  height: 54px;
  background: var(--bg-elevated);
  border: 2px solid rgba(8, 145, 178, 0.6);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.32);
}
.social-icon-x:hover {
  color: var(--accent);
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.3),
    0 6px 18px rgba(8, 145, 178, 0.28);
}
.social-icon svg { flex-shrink: 0; width: 24px; height: 24px; }
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-dim); font-size: 0.875rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Legal pages */
.legal-page {
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
  max-width: 720px;
}
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--text-dim); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.925rem; margin-bottom: 0.75rem; line-height: 1.7; }
.legal-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .team-cards { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
