/* === LASIUS LANDING PAGE — DESIGN SYSTEM === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --orange: #D95400;
  --orange-light: #FF6B1A;
  --orange-bg: rgba(217,84,0,0.08);
  --dark: #111827;
  --gray-900: #1F2937;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --bg: #f8f9fa;
  --white: #ffffff;
  --blue: #3B82F6;
  --green: #10B981;
  --purple: #8B5CF6;
  --teal: #14B8A6;
  --red: #EF4444;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* === TYPOGRAPHY === */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--gray-500); font-size: 1.05rem; }

/* === BADGES === */
.badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--orange-bg);
  color: var(--orange);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(217,84,0,0.3);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,84,0,0.4); }
.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--gray-300);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

/* === SECTION BASE === */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header p { margin-top: 16px; }
.section-header .badge { margin-bottom: 16px; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-dark p { color: #9CA3AF; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
  transition: all 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; width: 36px; border-radius: 50%; }
.nav-logo span { font-size: 1.4rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--gray-700); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { padding: 10px 24px; font-size: 0.9rem; }

/* === HERO === */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, #f0f4ff 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(217,84,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text p { font-size: 1.15rem; margin-bottom: 32px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Orbit Diagram */
.orbit-container {
  position: relative; width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute; border: 1.5px dashed rgba(217,84,0,0.15);
  border-radius: 50%;
  animation: orbit-spin 60s linear infinite;
}
.orbit-ring-1 { width: 70%; height: 70%; }
.orbit-ring-2 { width: 95%; height: 95%; animation-direction: reverse; animation-duration: 80s; }
.orbit-center {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(217,84,0,0.3);
  z-index: 2;
}
.orbit-center img { width: 48px; height: 48px; filter: brightness(10); }
.orbit-node {
  position: absolute;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  transition: all 0.3s;
  z-index: 3;
}
.orbit-node:hover { border-color: var(--orange); transform: scale(1.08); box-shadow: var(--shadow-lg); }
.orbit-node small { display: block; font-weight: 400; color: var(--gray-500); font-size: 0.72rem; max-width: 160px; white-space: normal; }
.orbit-node-1 { top: 5%; left: 50%; transform: translateX(-50%); }
.orbit-node-2 { top: 25%; right: 0%; }
.orbit-node-3 { bottom: 20%; right: 2%; }
.orbit-node-4 { bottom: 2%; left: 50%; transform: translateX(-50%); }
.orbit-node-5 { bottom: 20%; left: 2%; }
.orbit-node-6 { top: 25%; left: 0%; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* === PARTNERS === */
.partners { padding: 50px 0; border-bottom: 1px solid var(--gray-100); }
.partners-label { text-align: center; font-size: 0.85rem; color: var(--gray-500); font-weight: 500; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 0.1em; }
.partners-logos {
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
  opacity: 0.5; filter: grayscale(1);
}
.partners-logos span { font-size: 1.1rem; font-weight: 700; color: var(--gray-700); }

/* === ARCHITECTURE ("What's In The Box") === */
.arch-section { padding: 100px 0; background: var(--gray-900); color: var(--white); overflow: hidden; }
.arch-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 48px; }
.arch-diagram {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
}
.arch-boundary-label {
  position: absolute; top: -14px; left: 32px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.arch-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.arch-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}
.arch-box:hover { border-color: var(--orange); background: rgba(217,84,0,0.08); }
.arch-box h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.arch-box .arch-subtitle { color: var(--orange); font-size: 0.78rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; }
.arch-box ul { list-style: none; }
.arch-box ul li { color: #9CA3AF; font-size: 0.88rem; padding: 3px 0; }
.arch-box ul li::before { content: '→ '; color: var(--orange); }
.arch-connector {
  text-align: center; padding: 8px 0; color: rgba(255,255,255,0.2);
  font-size: 1.8rem; letter-spacing: 8px;
}
.arch-guardrails {
  background: linear-gradient(90deg, rgba(217,84,0,0.15), rgba(217,84,0,0.05));
  border: 1px solid rgba(217,84,0,0.3);
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 24px;
}
.arch-guardrails h4 { color: var(--orange); display: flex; align-items: center; gap: 8px; }
.arch-guardrails p { color: #9CA3AF; font-size: 0.88rem; margin-top: 4px; }
.arch-llm-row {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 16px; background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1); border-radius: 12px;
}
.arch-llm-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: #D1D5DB;
  font-weight: 500;
}
.arch-callouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.arch-callout {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.arch-callout .icon { font-size: 1.8rem; margin-bottom: 8px; }
.arch-callout h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.arch-callout p { font-size: 0.82rem; color: #9CA3AF; }

/* === COMPARISON TABLE === */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 48px;
}
.compare-table thead th {
  background: var(--gray-900);
  color: var(--white);
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
}
.compare-table thead th:last-child { background: var(--orange); }
.compare-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child { font-weight: 600; color: var(--dark); }
.compare-table tbody td:nth-child(2) { color: var(--gray-500); }
.compare-table tbody td:last-child { color: var(--dark); font-weight: 500; background: rgba(217,84,0,0.03); }
.compare-table tbody tr:hover td { background: var(--gray-100); }
.compare-table tbody tr:hover td:last-child { background: rgba(217,84,0,0.08); }
.compare-callout {
  margin-top: 32px;
  padding: 24px 32px;
  background: var(--orange-bg);
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  font-size: 1rem;
  color: var(--dark);
  font-style: italic;
  line-height: 1.6;
}

/* === GATEWAY / PHASES === */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.phase-card {
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.phase-card:hover { transform: translateY(-4px); }
.phase-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.phase-1 { background: #FFF7ED; border: 1px solid #FDBA74; }
.phase-1::before { background: var(--orange); }
.phase-1 .phase-num { background: var(--orange); }
.phase-2 { background: #EFF6FF; border: 1px solid #93C5FD; }
.phase-2::before { background: var(--blue); }
.phase-2 .phase-num { background: var(--blue); }
.phase-3 { background: #ECFDF5; border: 1px solid #6EE7B7; }
.phase-3::before { background: var(--green); }
.phase-3 .phase-num { background: var(--green); }
.phase-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--white); font-weight: 800; font-size: 0.9rem;
  margin-bottom: 16px;
}
.phase-card h3 { margin-bottom: 12px; }
.phase-card ul { list-style: none; margin-top: 12px; }
.phase-card ul li { padding: 6px 0; font-size: 0.92rem; color: var(--gray-700); }
.phase-card ul li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.phase-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}
.phase-1 .phase-tag { background: var(--orange); color: var(--white); }
.phase-2 .phase-tag { background: rgba(59,130,246,0.1); color: var(--blue); }
.phase-3 .phase-tag { background: rgba(16,185,129,0.1); color: var(--green); }

/* === FEATURES GRID === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; margin-bottom: 16px; }
.feature-stats { display: flex; gap: 16px; }
.feature-stat {
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  background: var(--gray-100); color: var(--gray-700);
}

/* Feature color themes */
.fc-orange .feature-icon { background: #FFF7ED; }
.fc-blue .feature-icon { background: #EFF6FF; }
.fc-green .feature-icon { background: #ECFDF5; }
.fc-purple .feature-icon { background: #F5F3FF; }
.fc-teal .feature-icon { background: #F0FDFA; }
.fc-red .feature-icon { background: #FEF2F2; }

/* === PROCESS TABS === */
.process-tabs { display: flex; gap: 0; margin-bottom: 40px; background: var(--gray-100); border-radius: 12px; padding: 4px; max-width: 600px; margin-left: auto; margin-right: auto; }
.process-tab {
  flex: 1; padding: 14px 20px; text-align: center;
  border-radius: 10px; cursor: pointer;
  font-weight: 600; font-size: 0.92rem;
  color: var(--gray-500); background: transparent;
  border: none; transition: all 0.3s;
}
.process-tab.active { background: var(--orange); color: var(--white); box-shadow: 0 2px 8px rgba(217,84,0,0.3); }
.process-content { display: none; }
.process-content.active { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.process-content h3 { margin-bottom: 12px; }
.process-content p { font-size: 0.95rem; }
.process-img {
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 24px;
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: #6B7280; font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* === SECURITY SECTION === */
.security-logos { display: flex; gap: 48px; justify-content: center; margin-bottom: 48px; align-items: center; }
.security-logos span { font-weight: 700; font-size: 1.1rem; color: var(--gray-700); padding: 12px 24px; border: 1px solid var(--gray-300); border-radius: 10px; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.security-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}
.security-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.security-card .icon { font-size: 1.6rem; margin-bottom: 12px; }
.security-card h4 { margin-bottom: 6px; }
.security-card p { font-size: 0.88rem; }

/* === BENEFITS === */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { text-align: center; padding: 32px; }
.benefit-card .icon { font-size: 2rem; margin-bottom: 12px; }
.benefit-card h4 { margin-bottom: 8px; }
.benefit-card p { font-size: 0.9rem; }

/* === CTA === */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, var(--gray-900) 100%);
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: #9CA3AF; max-width: 500px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* === FOOTER === */
.footer { padding: 24px 0; border-top: 1px solid var(--gray-100); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-inner p { font-size: 0.85rem; color: var(--gray-500); }
.footer-links a { color: var(--gray-500); text-decoration: none; font-size: 0.85rem; margin-left: 20px; }
.footer-links a:hover { color: var(--orange); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid, .process-content.active { grid-template-columns: 1fr; }
  .orbit-container { max-width: 500px; margin: 0 auto; }
  .arch-row, .arch-callouts, .features-grid, .phases, .security-grid, .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .arch-row, .arch-callouts, .features-grid, .phases, .security-grid, .benefits-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 0.82rem; }
  .compare-table thead th, .compare-table tbody td { padding: 12px 14px; }
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
