@import url('https://ext.same-assets.com/2973798705/183855828.ttf');

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Inter';
  src: url('https://ext.same-assets.com/2973798705/183855828.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --color-bg: #fbfbfb;
  --color-text: #1a261f;
  --color-text-muted: #98999b;
  --color-green: #409b65;
  --color-green-light: #e8f5ee;
  --color-purple: #9e47c0;
  --color-border: #c9d2ce;
  --color-white: #ffffff;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-inter);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(251, 251, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 28px;
  display: block;
}

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

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-green-light);
  border-radius: 20px;
  text-decoration: none;
  color: var(--color-green);
  font-size: 0.875rem;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--color-text);
  font-size: 0.875rem;
  font-family: var(--font-inter);
  transition: background 0.2s;
}

.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.03);
}

.btn {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-inter);
}

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

.btn-careers:hover {
  background: #8a3aa8;
  transform: translateY(-1px);
}

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

.btn-login:hover {
  background: #2a3630;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://ext.same-assets.com/2973798705/3862132923.png');
  background-size: 100px;
  opacity: 0.03;
  pointer-events: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.backed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 0.875rem;
  color: var(--color-text);
}

.ycomb-logo {
  height: 16px;
  width: 16px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.universities {
  margin-bottom: 4rem;
}

.universities-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.university-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.university-logos img {
  height: 40px;
  opacity: 0.6;
  filter: grayscale(1);
  transition: all 0.3s;
}

.university-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.email-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 1rem;
  padding: 0.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.email-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  font-family: var(--font-inter);
  outline: none;
}

.email-form input::placeholder {
  color: var(--color-text-muted);
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-green);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-primary:hover {
  background: #357d52;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64, 155, 101, 0.3);
}

.form-helper {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Sections */
.section {
  padding: 6rem 2rem;
}

.analysis-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, #f5f7f6 100%);
}

.demo-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.demo-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
}

.demo-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.demo-content {
  padding: 2rem;
}

.scan-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.scan-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.scan-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.fragment-stats {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.spectrum-placeholder {
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  min-height: 300px;
  position: relative;
}

.spectrum-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.spectrum-visual {
  height: 250px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-top: 2rem;
}

.spectrum-line {
  flex: 1;
  background: linear-gradient(to top, var(--color-green), var(--color-green) 70%, transparent);
  border-radius: 2px 2px 0 0;
  animation: grow 1s ease-out;
}

.spectrum-line:nth-child(1) { height: 60%; }
.spectrum-line:nth-child(2) { height: 85%; }
.spectrum-line:nth-child(3) { height: 45%; }

@keyframes grow {
  from { height: 0; }
}

.sequence-display {
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
}

.amino-sequence {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--color-text);
  word-spacing: 0.5rem;
}

/* Features Grid */
.features-section {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon img {
  height: 60px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Workflows Section */
.workflows-section {
  background: linear-gradient(180deg, white 0%, var(--color-bg) 100%);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.workflow-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.workflow-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.workflow-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.workflow-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.workflow-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.workflow-visual {
  background: #f9fafb;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1rem;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-visual img {
  max-width: 100%;
  height: auto;
}

.workflow-controls {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.feature-highlight {
  text-align: center;
  max-width: 700px;
  margin: 4rem auto 0;
}

.feature-highlight h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-highlight p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Vendor Section */
.vendor-section {
  background: white;
}

.vendor-visual {
  margin-top: 4rem;
  text-align: center;
}

.vendor-visual h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.vendor-visual img {
  max-width: 100%;
  height: auto;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.footer-tagline {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-copyright {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .email-form {
    flex-direction: column;
  }

  .nav {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }

  .university-logos {
    gap: 1.5rem;
  }

  .university-logos img {
    height: 30px;
  }

  .workflow-cards {
    grid-template-columns: 1fr;
  }

  .fragment-stats {
    gap: 1rem;
  }
}
