:root {
  --bg-color: #f4f8ff;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fbff;
  --border-color: rgba(37, 99, 235, 0.12);
  --border-glow: rgba(37, 99, 235, 0.25);
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #0ea5e9;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #f0f5ff 0%, #e6f0ff 50%, #f8fbff 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Prototype Banner */
.prototype-banner {
  background: linear-gradient(90deg, #dbeafe, #eff6ff);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  color: #1e40af;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.prototype-banner span {
  color: #1d4ed8;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.3rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
}

.logo-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.btn-subtle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.btn-subtle:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
}

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

.pill-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
}

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

/* 3D Canvas Wrapper */
.canvas-3d-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12);
}

.canvas-3d-wrapper canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.canvas-3d-wrapper canvas:active {
  cursor: grabbing;
}

.canvas-overlay-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Demo Section */
.demo-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.5);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.sub-heading {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.demo-frame-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.browser-chrome {
  background: #e2e8f0;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
}

.url-bar {
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.25rem 1.5rem;
  border-radius: 6px;
  margin-left: 1.5rem;
  flex-grow: 1;
  max-width: 350px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
}

.demo-viewport {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pulse-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

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

.demo-viewport h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.demo-viewport p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background-color: transparent;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
  background: var(--bg-card-hover);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Vision Section */
.vision-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--border-color);
}

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

.vision-text-block h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.vision-text-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.quote-box {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
}

.quote-primary {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.quote-secondary {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-graphic-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}

.vision-graphic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.badge-tech {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.vision-graphic-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.vision-graphic-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Investor Section */
.investor-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), #eef5ff);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.investor-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.investor-section p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

.footer-flex {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-desc a {
  color: var(--primary);
  text-decoration: underline;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media(max-width: 900px) {
  .hero-grid, .vision-container, .footer-flex {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
}