/* NovaBuilder Landing — 2026. Light, primary #2563EB. */

:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: rgba(37, 99, 235, 0.07);
  --primary-border: rgba(37, 99, 235, 0.18);
  --bg: #FAFBFC;
  --bg-alt: #ffffff;
  --text: #0B1220;
  --text-muted: #4B5563;
  --border: #E8ECF0;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(37, 99, 235, 0.04);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Card accent palette — 6 distinct colors, no duplicates per section */
  --accent-blue: 37, 99, 235;
  --accent-green: 16, 185, 129;
  --accent-teal: 20, 184, 166;
  --accent-purple: 139, 92, 246;
  --accent-orange: 245, 158, 11;
  --accent-red: 244, 63, 94;
  --accent-indigo: 79, 70, 229;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ----- Answer-first (GEO/AEO: quotable summary at top) ----- */
.answer-first {
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

/* ----- Hero ----- */
.hero {
  padding: 5rem 1.5rem 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(37, 99, 235, 0.06), transparent 55%),
    linear-gradient(180deg, var(--card-bg) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 980px; margin: 0 auto; }
.hero-visual {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
.hero-visual-image {
  display: block;
  max-width: 100%;
  height: auto;
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero-brand .novabuilder-logo {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.1;
}
/* NovaBuilder Logo Animation */
.novabuilder-logo .nvb {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.novabuilder-logo .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: logo-draw 6s ease-in-out infinite;
}
.novabuilder-logo .frame { animation-delay: 0s; }
.novabuilder-logo .n1 { animation-delay: 0.8s; }
.novabuilder-logo .n2 { animation-delay: 1.6s; }
@keyframes logo-draw {
  0% { stroke-dashoffset: 1; opacity: 1; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  80% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 1; opacity: 0.8; }
}
.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--text);
}
.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
  border: none;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}
.btn-secondary {
  background: var(--card-bg);
  color: var(--primary);
  border: 1.5px solid var(--primary-border);
}
.btn-secondary:hover {
  background: var(--primary-light);
  border-color: rgba(37, 99, 235, 0.35);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; border-radius: 14px; }

/* ----- Pillars (replaces stats) ----- */
.pillars {
  padding: 3.5rem 1.5rem 2.5rem;
}
.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pillar {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.pillar:hover {
  border-color: var(--primary-border);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.pillar-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}
.pillar-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.pillar-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ----- Sections ----- */
.section { padding: 5rem 1.5rem; }
.section-alt {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-lead {
  text-align: center;
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 auto 3rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ----- Highlights (Key Features) ----- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.highlights-grid--three {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
}
.highlight-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-left-color 0.3s var(--ease);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03), inset 0 1px 0 0 rgba(255, 255, 255, 0.85);
}
.highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 28%, transparent 55%);
}
.highlight-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04), inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}
.highlight-card h3, .highlight-card p { position: relative; z-index: 1; }
.highlight-card--data { border-left: 3px solid rgba(var(--accent-green), 0.5); }
.highlight-card--data:hover { border-left-color: rgba(var(--accent-green), 0.65); }
.highlight-card--workflow { border-left: 3px solid rgba(var(--accent-blue), 0.45); }
.highlight-card--workflow:hover { border-left-color: rgba(var(--accent-blue), 0.6); }
.highlight-card--pages { border-left: 3px solid rgba(var(--accent-purple), 0.4); }
.highlight-card--pages:hover { border-left-color: rgba(var(--accent-purple), 0.55); }
.highlight-card--deploy { border-left: 3px solid rgba(var(--accent-orange), 0.45); }
.highlight-card--deploy:hover { border-left-color: rgba(var(--accent-orange), 0.6); }
.highlight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----- Features grid ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.feature-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.feature-card ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.feature-card li { margin-bottom: 0.25rem; }

/* ----- Audience grid ----- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.audience-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.audience-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}
.audience-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--text);
}
.audience-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----- CTA section ----- */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, var(--primary-light) 0%, rgba(255,255,255,0.4) 100%);
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.cta-desc {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

/* ----- Footer ----- */
.footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-copy {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- FAQ ----- */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}
.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.faq-a {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ----- Responsive ----- */
@media (min-width: 1024px) {
  .section { padding: 5.5rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 7rem; }
  .cta-section { padding: 6rem 1.5rem; }
}

@media (min-width: 960px) {
  .hero-main {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
  }
  .hero-copy {
    flex: 1;
  }
  .hero-desc {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-visual {
    margin-top: 0;
    flex: 1;
  }
}
@media (max-width: 960px) {
  .pillars-inner { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid--three { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-name { font-size: 1.5rem; }
  .hero-brand .novabuilder-logo { width: 3.25rem; height: 3.25rem; }
  .hero-brand { gap: 0.75rem; }
  .pillars-inner { grid-template-columns: 1fr; }
  .pillars { padding-top: 3rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid--three { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; max-width: 280px; }
  .section { padding: 3.5rem 1.25rem; }
  .hero { padding: 3.5rem 1.25rem 4.5rem; }
}
