:root {
  --bg-color: #050508;
  --surface-color: #0d0e15;
  --surface-color-transparent: rgba(13, 14, 21, 0.7);
  --accent-color: #4f46e5;
  --accent-light: #818cf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --font-family: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Grid Background */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: -2;
  opacity: 0.3;
  pointer-events: none;
}

body {
  overflow-x: hidden;
  position: relative;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h1 span {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.max-w-lg {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Layout & Utils */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 12px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-color);
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: var(--glass-bg);
  border-color: var(--text-muted);
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--surface-color-transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.animated-hero-logo {
  animation: logoEntrance 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards, logoGlowPulse 4s infinite alternate ease-in-out;
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 5.3rem 0 5rem 0;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .subheadline {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Diagonal Section Separators */
.diagonal-top {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.diagonal-bottom {
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.abstract-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
  animation: float 10s infinite alternate ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background-color: var(--accent-color);
  top: 10%;
  right: 10%;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background-color: #7c3aed;
  bottom: 0;
  left: 20%;
  animation-delay: -5s;
}

/* AI Chat Simulation (Hero Visual) */
.chat-simulation {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 1;
  margin: 0 auto;
}

.chat-msg {
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: fit-content;
  max-width: 85%;
  position: relative;
  z-index: 1;
}

.user-msg {
  align-self: flex-end;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-bottom-right-radius: 4px;
  animation: chatSlideIn 0.3s ease-out forwards;
}

.ai-reply-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-thinking {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--glass-bg);
  border: 1px solid var(--accent-color);
  border-bottom-left-radius: 4px;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
  animation: chatSlideIn 0.3s ease-out 0.3s forwards, fadeOutThinkingNode 0.2s ease-out 0.8s forwards;
}

.thinking-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 20px;
}

.thinking-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--accent-light);
  border-radius: 50%;
  animation: dotBlink 0.8s infinite ease-in-out both;
}

.thinking-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.thinking-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.ai-response {
  background: linear-gradient(135deg, rgba(13, 14, 21, 0.9), rgba(13, 14, 21, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-bottom-left-radius: 4px;
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.1);
  animation: chatSlideIn 0.3s ease-out 0.9s forwards;
}

.ai-msg-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent-light);
  font-size: 0.85rem;
}

.ai-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-light);
}

.ai-response p {
  color: var(--text-main);
  margin: 0;
  font-size: 0.95rem;
}

@keyframes chatSlideIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutThinkingNode {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-5px);
    visibility: hidden;
  }
}

@keyframes dotBlink {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Product Vision: Support Diagram */
.support-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 350px;
  width: 100%;
}

.support-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.channel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInChannel 0.4s forwards ease-out;
  position: relative;
  z-index: 1;
}

.channel-1 {
  animation-delay: 0.1s;
}

.channel-2 {
  animation-delay: 0.2s;
}

.channel-3 {
  animation-delay: 0.3s;
}

.channel-4 {
  animation-delay: 0.4s;
}

/* Diagram Connections */
.diagram-connections {
  position: absolute;
  left: 170px;
  right: 170px;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.connection-path {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0;
  left: 0;
  transform-origin: left;
}

.connection-path::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-light);
  opacity: 0;
}

.conn-1 {
  top: 15%;
  width: 100%;
  transform: rotate(15deg);
  animation: showLine 2s infinite 0.5s;
}

.conn-2 {
  top: 35%;
  width: 100%;
  transform: rotate(5deg);
  animation: showLine 2s infinite 0.7s;
}

.conn-3 {
  top: 60%;
  width: 100%;
  transform: rotate(-5deg);
  animation: showLine 2s infinite 0.9s;
}

.conn-4 {
  top: 85%;
  width: 100%;
  transform: rotate(-15deg);
  animation: showLine 2s infinite 1.1s;
}

.conn-1::after {
  animation: travelDot 2s infinite 0.5s;
}

.conn-2::after {
  animation: travelDot 2s infinite 0.7s;
}

.conn-3::after {
  animation: travelDot 2s infinite 0.9s;
}

.conn-4::after {
  animation: travelDot 2s infinite 1.1s;
}

/* Central AI Hub */
.ai-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
  position: relative;
}

.hub-icon {
  width: 80px;
  height: 80px;
  background: var(--surface-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-icon svg {
  width: 40px;
  height: 40px;
}

.hub-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.hub-responses {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.response-pulse {
  width: 40px;
  height: 4px;
  background: var(--accent-light);
  border-radius: 2px;
  opacity: 0;
}

.resp-1 {
  animation: fireResponse 2s infinite 1.2s;
}

.resp-2 {
  animation: fireResponse 2s infinite 1.4s;
}

.resp-3 {
  animation: fireResponse 2s infinite 1.6s;
}

/* Animations */
@keyframes slideInChannel {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes showLine {

  0%,
  100% {
    opacity: 0;
  }

  20%,
  80% {
    opacity: 0.3;
  }
}

@keyframes travelDot {
  0% {
    left: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  80% {
    left: 100%;
    opacity: 0;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes hubPulse {
  0% {
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
  }

  100% {
    box-shadow: 0 0 45px rgba(79, 70, 229, 0.6);
  }
}

@keyframes fireResponse {
  0% {
    transform: translateX(0);
    opacity: 0;
    width: 0;
  }

  20% {
    opacity: 1;
    width: 40px;
  }

  80% {
    transform: translateX(30px);
    opacity: 0;
    width: 40px;
  }

  100% {
    opacity: 0;
  }
}

/* What We Do - Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  /* Hover glow is fully instant now */
  transition: none;
  z-index: 1;
  border-radius: 16px;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Split Layouts (Problem Solving) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.animated-diagram {
  position: relative;
  padding: 3rem;
  background: var(--surface-color);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node {
  padding: 1rem 1.5rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-weight: 600;
  z-index: 2;
  position: relative;
  transition: all 0.4s;
}

.node.active-node {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
  color: var(--accent-light);
}

.line {
  flex-grow: 1;
  height: 2px;
  background: var(--border-color);
  position: relative;
  z-index: 1;
  margin: 0 -10px;
}

.line::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent-light);
  animation: travelNode 2s infinite linear;
}

/* Mission Section */
.mission {
  position: relative;
  overflow: hidden;
}

.mission-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.floating-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseOrb 8s infinite alternate ease-in-out;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  animation-delay: -4s;
}

/* Product Vision / Stacked Cards */
.product-cards-stack {
  position: relative;
  height: 300px;
  width: 100%;
  perspective: 1000px;
}

.stacked-card {
  position: absolute;
  width: 90%;
  left: 5%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  transition: var(--transition);
}

.card-front {
  top: 0;
  z-index: 3;
  transform: translateZ(0);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-middle {
  top: 20px;
  z-index: 2;
  transform: translateZ(-50px) scale(0.95);
  opacity: 0.7;
  height: 100%;
}

.card-back {
  top: 40px;
  z-index: 1;
  transform: translateZ(-100px) scale(0.9);
  opacity: 0.4;
  height: 100%;
}

.product-cards-stack:hover .card-front {
  transform: translateZ(20px) translateY(-10px);
}

.product-cards-stack:hover .card-middle {
  transform: translateZ(-30px) translateY(-5px) scale(0.95);
}

/* Founder Page */
.founder {
  padding: 8rem 0;
}

.founder-profiles {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 3rem;
}

.founder-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 250px;
}

.founder-image {
  width: 150px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-profile h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
}

.founder-title {
  display: block;
  color: var(--accent-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.founder-mission-body {
  max-width: 850px;
  text-align: center;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

.founder-mission-body p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Call to Action */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--bg-color) 0%, #110f24 50%, var(--bg-color) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  z-index: -1;
}

.cta-container h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.cta-container p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.waitlist-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  justify-content: center;
}

.waitlist-input {
  flex-grow: 1;
  padding: 1rem 1.5rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  font-family: var(--font-family);
  transition: var(--transition);
  border-radius: 12px;
}

.waitlist-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

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

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 20px;
  height: 20px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.05em;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-muted);
  display: flex;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--surface-color);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--text-main);
  background: var(--accent-color);
  transform: translateY(-3px);
}

/* Animations & Interactions */
.cursor-glow {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 60%);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  mix-blend-mode: screen;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes dataStream {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes travelNode {
  0% {
    left: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes pulseOrb {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.4;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes logoGlowPulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  }

  100% {
    filter: drop-shadow(0 0 15px var(--accent-light));
  }
}

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .hero-container,
  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
    /* In a real app, add a hamburger menu */
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 5rem 0;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .founder-profiles {
    flex-direction: column;
    gap: 2.5rem;
  }

  .founder-image {
    width: 150px;
    height: 180px;
  }
}

/* ── Elevras Chat Widget ── */
#elevras-chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

#chat-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: auto;
}
#chat-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.7);
}

#chat-window {
  width: 360px;
  height: 500px;
  background: #0f0f1a;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#chat-window.chat-hidden {
  display: none;
}

#chat-header {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
#chat-title {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}
#chat-status {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
}
#chat-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.15s;
}
#chat-close-btn:hover { opacity: 1; }

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(99,102,241,0.3) transparent;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-bubble p { margin: 0; }

.ai-bubble {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-bubble {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.loading-bubble {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.6);
  animation: dotBounce 1.2s infinite ease-in-out;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

#chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  background: rgba(255,255,255,0.02);
}

#chat-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 10px;
  padding: 9px 13px;
  color: #e2e8f0;
  font-size: 0.88rem;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
#chat-input:focus { border-color: rgba(99,102,241,0.6); }
#chat-input::placeholder { color: rgba(255,255,255,0.3); }

#chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}
#chat-send-btn:hover { opacity: 0.9; transform: scale(1.05); }
#chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }