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

:root {
  --base: #020408;
  --surface: rgba(6, 10, 18, 0.95);
  --elevated: rgba(10, 16, 28, 0.98);
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --purple: #a855f7;
  --purple-light: #c084fc;
  --purple-glow: rgba(168, 85, 247, 0.15);
  --white: #f8fafc;
  --text: #e2e8f0;
  --text-muted: rgba(226, 232, 240, 0.6);
  --text-subtle: rgba(226, 232, 240, 0.35);
  --border: rgba(6, 182, 212, 0.25);
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.cyber-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(2, 4, 8, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--cyan-light);
}

.header-cta {
  display: flex;
  gap: 12px;
}

.cta-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  color: var(--base);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--cyan-glow);
}

.cta-secondary {
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 60px 60px 120px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  width: 100%;
}

.hero-left {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--white);
  text-align: left;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 0 48px;
  line-height: 1.7;
  text-align: left;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  margin-bottom: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin-top: -2px;
}

.cube {
  width: 150px;
  height: 150px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 12s linear infinite;
}

.cube-face {
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(168, 85, 247, 0.95));
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 40px var(--cyan-glow),
    0 0 80px var(--purple-glow),
    inset 0 0 40px rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.cube-face::before {
  content: "";
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.9;
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(75px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(75px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(75px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(75px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(75px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(75px); }

@keyframes cubeRotate {
  0% { transform: rotateX(-25deg) rotateY(0deg) rotateZ(0deg); }
  50% { transform: rotateX(-20deg) rotateY(180deg) rotateZ(5deg); }
  100% { transform: rotateX(-25deg) rotateY(360deg) rotateZ(0deg); }
}

.orb-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.2;
  animation: ringRotate 10s linear infinite;
}

.orb-ring:nth-child(2) {
  width: 320px;
  height: 320px;
  border-color: var(--purple);
  animation-duration: 15s;
  animation-direction: reverse;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-large {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  color: var(--base);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--cyan-glow);
}

.cta-outline {
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-outline:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
}

/* Quote Section */
.section-quote {
  padding: 120px 48px;
  background: linear-gradient(180deg, var(--base) 0%, rgba(6, 182, 212, 0.05) 50%, var(--base) 100%);
  text-align: center;
}

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

.quote-text {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
  margin-bottom: 32px;
}

.quote-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0 auto 24px;
}

.quote-attribution {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Panels */
.panel {
  padding: 100px 48px;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--cyan-glow), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.panel-container {
  max-width: 1200px;
  margin: 0 auto;
}

.panel-header {
  text-align: center;
  margin-bottom: 64px;
}

.panel-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 16px;
}

.panel-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.panel-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.panel-dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 40px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--cyan-glow);
}

.about-card.featured {
  border-color: var(--cyan);
  box-shadow: 0 0 40px var(--cyan-glow);
}

.about-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--cyan);
}

.about-icon svg {
  width: 100%;
  height: 100%;
}

.about-card h3 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tech-item {
  padding: 32px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 10px 40px var(--cyan-glow);
}

.tech-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 12px;
  display: block;
}

.tech-item h3 {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.tech-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  padding: 32px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--cyan-glow);
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--cyan);
}

.solution-icon svg {
  width: 100%;
  height: 100%;
}

.solution-card h3 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.solution-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.solution-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-card li {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding-left: 16px;
  position: relative;
}

.solution-card li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* Roadmap */
.roadmap-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.roadmap-orbit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
}

.roadmap-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}

.roadmap-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
}

.roadmap-phase {
  position: relative;
  padding: 32px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.roadmap-phase:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--cyan-glow), 0 0 40px rgba(168, 85, 247, 0.1);
  border-color: var(--cyan);
}

.roadmap-phase:nth-child(1) {
  border-top-right-radius: 60px;
}

.roadmap-phase:nth-child(2) {
  border-top-left-radius: 60px;
}

.roadmap-phase:nth-child(3) {
  border-bottom-right-radius: 60px;
}

.roadmap-phase:nth-child(4) {
  border-bottom-left-radius: 60px;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.phase-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--base);
  box-shadow: 0 8px 30px var(--cyan-glow);
}

.phase-content h3 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.phase-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phase-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.phase-content li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.75rem;
  top: 4px;
}

/* CTA Section */
.section-cta {
  padding: 120px 48px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-subtitle {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--cyan);
  margin-bottom: 16px;
}

.cta-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.waitlist-input {
  flex: 1;
  padding: 16px 20px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.waitlist-input:focus {
  border-color: var(--cyan);
}

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

.cta-note {
  font-size: 0.875rem;
  color: var(--text-subtle);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 48px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
}
.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

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

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
  margin-bottom: 4px;
}

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

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
  .about-grid,
  .solutions-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-header {
    padding: 16px 24px;
    flex-direction: column;
    gap: 16px;
  }
  .main-nav { gap: 20px; }
  .hero { padding: 140px 24px 60px; }
  .panel { padding: 80px 24px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .waitlist-form { flex-direction: column; }
  .footer-container { flex-direction: column; gap: 40px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
