:root {
  --bg: #0b0b0b;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --brand: #f7e56f;
  --speak: #10a4e8;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 70% 10%, rgba(16, 164, 232, 0.18), transparent 50%),
    radial-gradient(900px 500px at 20% 20%, rgba(247, 229, 111, 0.12), transparent 55%),
    var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  font-weight: 700;
  font-size: 18px;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
  text-decoration: none;
}

.nav-cta {
  background: var(--brand);
  color: #111 !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  opacity: 0.9;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 24px;
  cursor: pointer;
}

/* Logo */
.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(247, 229, 111, 0.12);
  border: 1px solid rgba(247, 229, 111, 0.3);
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
}

/* Hero */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(247, 229, 111, 0.12);
  border: 1px solid rgba(247, 229, 111, 0.3);
  color: var(--brand);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--brand);
  color: #111;
}

.btn-primary:hover {
  opacity: 0.9;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--card);
  text-decoration: none;
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Sections */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--card);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 48px;
  font-size: 18px;
}

/* Page Header */
.page-header {
  padding: 60px 24px 40px;
  text-align: center;
}

.page-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
}

.page-sub {
  color: var(--muted);
  font-size: 20px;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

/* Feature List (Features Page) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}

.feature-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.feature-content h3 {
  font-size: 24px;
  margin: 0 0 16px;
}

.feature-content p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
}

.feature-content ul {
  margin: 0;
  padding-left: 20px;
}

.feature-content li {
  color: var(--muted);
  margin-bottom: 8px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: #111;
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  margin: 0 0 12px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand);
}

.stat-label {
  color: var(--muted);
  font-size: 16px;
}

/* CTA Block */
.cta-block {
  text-align: center;
  margin-top: 48px;
}

/* YO Creator Styles */
.section-yo {
  background: linear-gradient(180deg, rgba(16, 164, 232, 0.05) 0%, transparent 100%);
  padding: 80px 24px;
}

.yo-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-top: 16px;
}

.yo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.yo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.yo-content {
  padding: 32px;
}

.yo-content h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--fg);
}

.yo-content p {
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.yo-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yo-features li {
  color: var(--muted);
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.yo-features li:last-child {
  border-bottom: none;
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 700;
}

.section-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(247, 229, 111, 0.08), rgba(16, 164, 232, 0.08));
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
}

.cta-sub {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.pricing-featured {
  border-color: var(--brand);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand);
  color: #111;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 0 0 0 12px;
}

.pricing-header {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 24px;
  margin: 0 0 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
}

.price-period {
  color: var(--muted);
}

.pricing-body {
  padding: 24px 32px 32px;
}

.pricing-desc {
  color: var(--muted);
  text-align: center;
  margin: 0 0 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li.muted {
  color: var(--muted);
  opacity: 0.5;
}

/* Add-ons */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.addon {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.addon h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.addon p {
  margin: 0;
  color: var(--brand);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 32px auto 0;
}

.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.faq h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.faq p {
  margin: 0;
  color: var(--muted);
}

/* Integrations */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.integration {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  font-weight: 600;
}

/* Demo Page */
.demo-page {
  min-height: calc(100vh - 200px);
  padding: 40px 24px;
}

.demo-inner {
  max-width: 700px;
  margin: 0 auto;
}

.demo-header {
  text-align: center;
  margin-bottom: 40px;
}

.demo-header h1 {
  font-size: 42px;
  margin: 0 0 16px;
}

.demo-sub {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.demo-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.demo-agent {
  text-align: center;
  margin-bottom: 32px;
}

.agent-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.avatar-circle {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--brand), var(--speak));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 48px;
}

.demo-agent h2 {
  font-size: 28px;
  margin: 0 0 4px;
}

.agent-role {
  color: var(--muted);
  margin: 0;
}

.demo-controls {
  text-align: center;
  margin-bottom: 32px;
}

.demo-hint {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-log-container {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.demo-log-container h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--muted);
}

.demo-cta {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.demo-cta h3 {
  margin: 0 0 8px;
}

.demo-cta p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* Log */
.log {
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  padding: 16px;
  min-height: 120px;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-family: ui-monospace, monospace;
}

/* Pill */
.pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.pill.speaking {
  border-color: rgba(16, 164, 232, 0.5);
  color: var(--speak);
  background: rgba(16, 164, 232, 0.1);
  animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 164, 232, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 164, 232, 0); }
}

/* Orb */
.orb {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 20px rgba(247, 229, 111, 0.55);
  display: grid;
  place-items: center;
}

.orb.speaking {
  background: var(--speak);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 10px rgba(16, 164, 232, 0.35); }
  50% { box-shadow: 0 0 34px rgba(16, 164, 232, 0.6); }
  100% { box-shadow: 0 0 10px rgba(16, 164, 232, 0.35); }
}

/* Floating Orb CTA */
.floating-orb {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--brand);
  color: #111;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(247, 229, 111, 0.4);
  transition: all 0.2s;
  z-index: 90;
}

.floating-orb:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.orb-icon {
  font-size: 24px;
}

.orb-label {
  font-size: 15px;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-brand strong {
  font-size: 18px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  color: var(--fg);
  padding: 6px 0;
  font-size: 15px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero {
    padding: 60px 20px 50px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 50px 20px;
  }
  
  .pricing-featured {
    transform: none;
  }
  
  .floating-orb .orb-label {
    display: none;
  }
  
  .floating-orb {
    padding: 16px;
    border-radius: 50%;
  }
}
