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

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --border: #1f1f1f;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-subtle: #52525b;
  --accent: #2d8a5e;
  --accent-hover: #34d399;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 40% at 50% 30%,
    rgba(45, 138, 94, 0.08) 0%,
    transparent 60%
  );
  animation: heroGlow 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 160px;
  height: auto;
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.title {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -2px;
  color: var(--text);
  line-height: 1.1;
}

.subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #0a0a0a;
  background-color: var(--accent);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(45, 138, 94, 0.3);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-secondary:hover {
  color: var(--text);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-content {
  max-width: 680px;
}

.section-content .section-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-content .section-subheading {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.section-content p {
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.highlight {
  color: var(--text-muted) !important;
  font-weight: 400 !important;
  font-size: 17px !important;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }

.domains {
  list-style: none;
  margin: 16px 0 24px;
}

.domains li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 300;
  font-size: 15px;
  transition: color 0.2s ease;
}

.domains li:hover {
  color: var(--text-muted);
}

.domains li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
}

.domains li:last-child {
  margin-bottom: 0;
}

.insight-callout {
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background-color: var(--bg-card);
  border-radius: 0 6px 6px 0;
}

.insight-callout p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.5;
}

.paradigm-rows {
  margin: 20px 0;
}

.paradigm-row {
  margin-bottom: 14px;
}

.paradigm-row:last-child {
  margin-bottom: 0;
}

.row-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.flow-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-step,
.flow-inline .arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.paradigm-row.animate .flow-step,
.paradigm-row.animate .arrow {
  opacity: 1;
  transform: translateX(0);
}

.flow-inline .flow-step:nth-child(1) { transition-delay: 0.08s; }
.flow-inline .flow-step:nth-child(3) { transition-delay: 0.18s; }
.flow-inline .flow-step:nth-child(5) { transition-delay: 0.28s; }
.flow-inline .flow-step:nth-child(7) { transition-delay: 0.38s; }

.flow-inline .arrow:nth-child(2) { transition-delay: 0.13s; }
.flow-inline .arrow:nth-child(4) { transition-delay: 0.23s; }
.flow-inline .arrow:nth-child(6) { transition-delay: 0.33s; }

.flow-step {
  font-size: 13px;
  font-weight: 400;
  padding: 8px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: all 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}

.flow-step:hover {
  border-color: var(--text-subtle);
}

.flow-inline .arrow {
  font-size: 13px;
  color: var(--text-subtle);
  transition: color 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}

.paradigm-row.new .flow-step {
  color: var(--accent);
  border-color: rgba(45, 138, 94, 0.3);
  background-color: rgba(45, 138, 94, 0.06);
}

.paradigm-row.new .flow-step:hover {
  border-color: var(--accent);
}

.paradigm-row.new .arrow {
  color: var(--accent);
}

.callout {
  margin-top: 20px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
}

.benchmarks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 24px 0;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.benchmark {
  background-color: var(--bg-card);
  padding: 20px 16px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.benchmark:hover {
  background-color: rgba(45, 138, 94, 0.06);
}

.benchmark-value {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.benchmark-label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.see-it-in-action {
  margin-top: 32px;
}

.video-wrapper {
  margin-top: 16px;
}

.video-container {
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.smartsearch-video {
  display: block;
  width: 100%;
}

.video-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-subtle);
  text-align: center;
}

.paper-link-box {
  margin: 24px 0;
}

.paper-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.paper-link-btn svg {
  opacity: 0.6;
}

.paper-link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(45, 138, 94, 0.06);
}

.comparison-table {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.comparison-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.comparison-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-subtle);
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comparison-toggle:hover {
  color: var(--text-muted);
  border-color: var(--accent);
}

.toggle-icon {
  transition: transform 0.2s ease;
}

.comparison-table.expanded .toggle-icon {
  transform: rotate(180deg);
}

.comparison-body {
  display: none;
  background-color: var(--bg-card);
}

.comparison-table.expanded .comparison-body {
  display: block;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.15s ease;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.header {
  background-color: var(--bg);
  font-size: 9px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.comparison-row span {
  font-size: 13px;
  color: var(--text-muted);
}

.comparison-row.header span {
  color: var(--text-subtle);
}

.comparison-row.featured span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

.comparison-row.featured span:not(:first-child) {
  color: var(--accent);
  font-weight: 500;
}

.comparison-row:not(.header):not(.featured):hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.demo-card {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.demo-card:hover {
  border-color: rgba(45, 138, 94, 0.4);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.demo-header h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.demo-badge {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-subtle);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.demo-badge.accent {
  color: var(--accent);
  border-color: rgba(45, 138, 94, 0.3);
  background: rgba(45, 138, 94, 0.06);
}

.demo-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.demo-capabilities {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.demo-features {
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
}

.demo-features li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  padding-left: 12px;
  position: relative;
}

.demo-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.demo-caption {
  display: block;
  font-size: 11px;
  font-style: italic;
  color: var(--text-subtle);
  margin-top: auto;
}

.cta-section .section-content {
  max-width: 520px;
}

.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  max-width: 440px;
}

.waitlist-form input {
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
}

.waitlist-form input::placeholder {
  color: var(--text-subtle);
}

.waitlist-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(45, 138, 94, 0.1);
}

.waitlist-form button {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: #0a0a0a;
  background-color: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.waitlist-form button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.waitlist-form button:active {
  transform: translateY(0);
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.form-success {
  background-color: rgba(45, 138, 94, 0.1);
  border: 1px solid rgba(45, 138, 94, 0.2);
  color: var(--accent-hover);
}

.form-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.hidden {
  display: none !important;
}

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  width: 24px;
  height: auto;
  opacity: 0.3;
}

.copyright {
  font-size: 12px;
  color: var(--text-subtle);
}

@media (max-width: 1024px) {
  main, .footer-content {
    padding: 0 32px;
  }
  
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 768px) {
  main, .footer-content {
    padding: 0 24px;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .hero {
    min-height: 75vh;
    padding: 64px 0;
  }
  
  .logo {
    width: 120px;
  }
  
  .title {
    font-size: 42px;
  }
  
  .subtitle {
    font-size: 16px;
  }
  
  .section-content p {
    font-size: 15px;
  }
  
  .flow-inline {
    gap: 6px;
  }
  
  .flow-step {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .benchmarks {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benchmark {
    padding: 16px 12px;
  }
  
  .benchmark-value {
    font-size: 20px;
  }
  
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .demo-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  main, .footer-content {
    padding: 0 16px;
  }
  
  .hero {
    min-height: 70vh;
    padding: 56px 0;
  }
  
  .logo {
    width: 100px;
  }
  
  .title {
    font-size: 40px;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-content p {
    font-size: 15px;
  }
  
  .demo-grid {
    gap: 10px;
  }
  
  .demo-card {
    padding: 14px;
  }
  
  .demo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
  }
  
  .demo-desc {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .demo-features li {
    font-size: 12px;
  }
  
  .demo-capabilities {
    font-size: 12px;
  }
  
  .demo-caption {
    font-size: 10px;
  }
  
  .waitlist-form {
    flex-direction: column;
  }
  
  .waitlist-form button {
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
