/* --- CSS Variables --- */
:root {
  --bg-color: #ffffff;
  --text-main: #111111;
  --text-muted: #52525B;
  --accent-purple: #7C3AED;
  --border-color: #F4F4F5;
  --btn-bg: #F4F4F5;
  --font-family: 'Inter', sans-serif;
  --max-width: 1200px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
}

/* --- Global Resets & Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Layout Components --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* --- Header / Navbar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  margin-top: 16px;
  background: var(--btn-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
}

.logo-icon {
  color: var(--accent-purple);
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 48px;
  margin-left: 24px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-launch {
  background-color: var(--btn-bg);
  color: var(--text-main);
  border: none;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-launch:hover {
  background-color: #e4e4e7;
}

.btn-icon {
  background-color: var(--btn-bg);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--accent-purple);
  transition: background-color 0.3s ease;
}

.btn-icon:hover {
  background-color: #e4e4e7;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 12px;
  padding-bottom: 12px;
  align-items: center;
  gap: 80px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img,
.hero-image video,
.hero-image iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 0;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* --- Feature / Accordion List --- */
.features-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--btn-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 8px 24px;
}

.feat-row:last-child {
  border-bottom: none;
}

.feat-row {
  padding: 20px 0 20px 16px;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 2px solid transparent; 
  cursor: pointer;
  transition: all 0.3s ease;
}

.feat-row.active {
  border-left: 2px solid var(--accent-purple);
}

.feat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
}

.feat-row.active .feat-header {
  color: var(--text-main);
}

.feat-header .title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feat-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 12px;
  display: none;
  max-width: 320px;
}

.feat-row.active .feat-desc {
  display: block;
}

.icon-small {
  color: #A1A1AA;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.feat-row:hover .icon-small {
  color: var(--text-main);
}

/* --- Footer --- */
.footer-content {
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--spacing-xl);
}

/* --- Bento Box Benefits Section --- */
.benefits {
  padding-top: 12px;
  padding-bottom: 12px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-align: left;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bento-card {
  background: var(--btn-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.bento-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-main);
}
.bento-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.card-chat { grid-column: span 1; }
.card-orbiting { grid-column: span 2; }
.card-floating { grid-column: span 2; }
.card-chart { grid-column: span 1; }

/* Card 1: Chat */
.card-chat .card-visual {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  max-width: 90%;
  animation: slideUpFade 0.6s ease forwards;
  opacity: 0;
  transform: translateY(10px);
  line-height: 1.4;
}
.chat-bubble.user {
  background: #E4E4E7;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  animation-delay: 0.2s;
}
.chat-bubble.bot {
  background: var(--bg-color);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  animation-delay: 0.8s;
  position: relative;
}
.bot-badge {
  position: absolute;
  bottom: -10px;
  left: -10px;
  background: var(--accent-purple);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}
@keyframes slideUpFade {
  to { opacity: 1; transform: translateY(0); }
}

/* Card 2: Orbiting */
.card-orbiting .card-visual {
  margin-top: 32px;
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(124,58,237,0.05) 0%, transparent 60%);
  border-radius: 24px;
}
.hub-logo {
  width: 64px;
  height: 64px;
  background: var(--accent-purple);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 5;
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
  animation: pulse 4s infinite;
}
.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  animation: floatNode 6s ease-in-out infinite;
}
.orbit-node.n1 { top: 15%; left: 10%; animation-delay: 0s; }
.orbit-node.n2 { top: 20%; right: 15%; animation-delay: 1.5s; }
.orbit-node.n3 { bottom: 20%; left: 15%; animation-delay: 3s; }
.orbit-node.n4 { bottom: 15%; right: 10%; animation-delay: 4.5s; }

@keyframes pulse { 0% {box-shadow: 0 0 0 0 rgba(124,58,237,0.4);} 70% {box-shadow: 0 0 0 15px rgba(124,58,237,0);} 100% {box-shadow: 0 0 0 0 rgba(124,58,237,0);} }
@keyframes floatNode { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Card 3: Floating */
.card-floating .card-visual {
  margin-top: 32px;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.central-avatar {
  width: 80px;
  height: 80px;
  background: var(--bg-color);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--accent-purple);
  z-index: 2;
  position: relative;
}
.status-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--accent-purple);
  border-radius: 50%;
  border: 3px solid var(--bg-color);
}
.float-pill {
  position: absolute;
  background: var(--bg-color);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  animation: floatPill 5s ease-in-out infinite;
}
.float-pill.p1 { left: 5%; top: 25%; animation-delay: 0.5s; }
.float-pill.p2 { right: 5%; top: 15%; animation-delay: 1.5s; }
.float-pill.p3 { bottom: 10%; right: 25%; animation-delay: 2.5s; }
@keyframes floatPill { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.02); } }

/* Card 4: Chart */
.card-chart .card-visual {
  margin-top: auto;
  padding-top: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.chart-stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat span { color: var(--text-muted); font-size: 0.85rem; }
.stat strong { font-size: 1.25rem; color: var(--text-main); font-weight: 600; }
.chart-arc {
  width: 220px;
  height: 110px;
  background: conic-gradient(from 270deg, #E4E4E7 0deg, #E4E4E7 60deg, #D4D4D8 60deg, #D4D4D8 120deg, var(--accent-purple) 120deg, var(--accent-purple) 180deg);
  border-top-left-radius: 110px;
  border-top-right-radius: 110px;
  position: relative;
}
.chart-arc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 70px;
  background: var(--btn-bg);
  border-top-left-radius: 70px;
  border-top-right-radius: 70px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .hero-content {
    display: contents;
  }
  .hero-title {
    order: 1;
  }
  .hero-image {
    order: 2;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-description {
    order: 3;
  }
  .features-container {
    order: 4;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card-chat, .card-orbiting, .card-floating, .card-chart {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  
  .nav-links, .btn-launch, .btn-icon {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
  
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    z-index: 50;
    margin-left: 0;
    align-items: center;
  }
}
