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

:root {
  --color-rational: #00d9a3;
  --color-intuition: #9945ff;
  --color-emotion: #ff6b35;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-border: #e5e5e5;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

.logo-svg {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-rational);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-rational), var(--color-intuition));
  color: #ffffff !important;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(77, 90, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--color-rational);
  color: var(--color-rational);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(157, 78, 221, 0.1));
  border: 1px solid var(--color-rational);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-rational);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-rational), var(--color-intuition));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-rational), var(--color-intuition));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.3;
  z-index: 1;
}

#neuralCanvas {
  width: 100%;
  height: 100%;
}

/* Philosophy Section */
.philosophy {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.philosophy-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-mark {
  font-size: 8rem;
  color: var(--color-rational);
  opacity: 0.2;
  position: absolute;
  top: -4rem;
  left: -2rem;
  font-family: Georgia, serif;
}

.philosophy-quote {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
}

.philosophy-text {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* How it Works Section */
.how-it-works {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
}

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

.feature-card {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-rational), var(--color-intuition));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--color-rational);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.feature-card[data-emotion='rational']:hover {
  border-color: var(--color-rational);
}

.feature-card[data-emotion='intuition']:hover {
  border-color: var(--color-intuition);
}

.feature-card[data-emotion='emotion']:hover {
  border-color: var(--color-emotion);
}

.feature-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-example {
  background: #f8f9ff;
  border-left: 3px solid var(--color-rational);
  padding: 1rem;
  border-radius: 8px;
}

.example-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-rational);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.example-text {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  margin-top: -2rem;
  margin-bottom: 4rem;
}

.timeline-wrapper {
  position: relative;
  padding: 4rem 0;
  margin: 4rem 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    var(--color-rational) 0%, 
    var(--color-intuition) 50%, 
    var(--color-emotion) 100%);
  opacity: 0.3;
}

.timeline-events {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-event {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.timeline-event:hover {
  transform: scale(1.2);
}

.event-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.event-dot.rational {
  background: var(--color-rational);
}

.event-dot.intuition {
  background: var(--color-intuition);
}

.event-dot.emotion {
  background: var(--color-emotion);
}

.event-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-1rem);
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  min-width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.timeline-event:hover .event-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-0.5rem);
}

.tooltip-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.tooltip-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tooltip-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.emotion-legend {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.legend-dot.rational {
  background: var(--color-rational);
}

.legend-dot.intuition {
  background: var(--color-intuition);
}

.legend-dot.emotion {
  background: var(--color-emotion);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Cognitive Section */
.cognitive-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5fb 100%);
}

.cognitive-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cognitive-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 4rem;
  line-height: 1.8;
}

.cognitive-pillars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.pillar {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem 2rem;
  min-width: 250px;
  transition: all 0.4s ease;
}

.pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: var(--color-intuition);
}

.pillar-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.pillar h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pillar-connector {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

/* Beta Form Section */
.beta-form-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.beta-form-content {
  max-width: 700px;
  margin: 0 auto;
}

.beta-access-form {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-rational);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.beta-access-form button {
  width: 100%;
  margin-top: 1rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-success {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border: 2px solid var(--color-rational);
  border-radius: 16px;
  margin-top: 3rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-rational), var(--color-intuition));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin: 0 auto 2rem;
}

.form-success h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-rational), var(--color-intuition));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

/* Footer */
.footer {
  background: #fafafa;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}

.footer-top {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-top .logo {
  justify-content: center;
  margin-bottom: 0.5rem;
}

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

.footer-middle {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-links-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links-horizontal a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links-horizontal a:hover {
  color: var(--color-rational);
}

.footer-links-horizontal .separator {
  color: var(--color-border);
  font-size: 0.875rem;
}

.footer-bottom {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

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

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cognitive-pillars {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .beta-access-form {
    padding: 2rem;
  }

  .footer-links-horizontal {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links-horizontal .separator {
    display: none;
  }
}

