:root {
  --bg-darker: #0b0d17;
  --bg-main: #111424;
  --bg-card: #161b33;
  --bg-card-hover: #1c2342;
  --bg-input: #090a12;
  --border-color: #222b4c;
  --border-active: #384b80;
  --accent-green: #22c55e;
  --accent-green-glow: rgba(34, 197, 94, 0.25);
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.25);
  --accent-amber: #f59e0b;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darker);
  background-image: 
    radial-gradient(at 0% 0%, rgba(30, 41, 79, 0.5) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(15, 52, 96, 0.4) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(17, 20, 36, 0.8) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-blue-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 13, 23, 0.85);
  border-bottom: 1px solid rgba(34, 43, 76, 0.6);
  padding: 14px 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: #fff;
}

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

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 36px;
  color: #d1d5db;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.release-meta {
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.release-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Demo Showcase */
.demo-showcase {
  margin-top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(11, 13, 23, 0.6);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.demo-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.demo-tabs {
  display: flex;
  padding: 12px 24px 0;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(17, 20, 36, 0.4);
  overflow-x: auto;
}

.demo-tab-btn {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.demo-tab-btn:hover {
  color: #fff;
}

.demo-tab-btn.active {
  color: #60a5fa;
  border-bottom-color: #60a5fa;
}

.demo-body {
  padding: 32px 28px;
}

.chat-bubble-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bubble {
  max-width: 80%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.5;
  position: relative;
}

.bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  border: 1px solid #3b82f6;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble-user-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93c5fd;
  margin-bottom: 4px;
}

.bubble-ai {
  align-self: flex-start;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.bubble-ai-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bubble-ai-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-green);
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background: var(--accent-green);
  border-radius: 2px;
  animation: wave 1.2s infinite ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.bubble-data-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 10px;
}

/* Sections */
.section {
  padding: 96px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin-bottom: 12px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #60a5fa;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card p {
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.voice-quote {
  background: var(--bg-input);
  border-left: 3px solid var(--accent-green);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: #e5e7eb;
  font-style: italic;
}

/* Architecture & Safety Section */
.safety-box {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(17, 20, 36, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.safety-item {
  display: flex;
  gap: 16px;
}

.safety-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.safety-item-icon svg {
  width: 16px;
  height: 16px;
}

.safety-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.safety-item p {
  font-size: 14px;
  line-height: 1.5;
}

/* Setup Steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.step-tip {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #cbd5e1;
}

.step-tip code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-active);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: #60a5fa;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.6;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* CTA Download Banner */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.4) 0%, rgba(17, 20, 36, 0.9) 100%), var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 16px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  background: var(--bg-darker);
  font-size: 13px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
}

/* Screenshot Carousel Section */
.carousel-container {
  max-width: 860px;
  margin: 0 auto;
}

.carousel-window {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

.carousel-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(11, 13, 23, 0.7);
  border-bottom: 1px solid var(--border-color);
}

.carousel-window-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.carousel-tabs {
  display: flex;
  padding: 10px 16px;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(17, 20, 36, 0.5);
  overflow-x: auto;
  scrollbar-width: none;
}

.carousel-tabs::-webkit-scrollbar {
  display: none;
}

.carousel-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.carousel-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.carousel-tab-btn.active {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

.carousel-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg-darker);
}

.carousel-image-wrapper {
  max-width: 640px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  background: var(--bg-card);
}

.carousel-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 27, 51, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  z-index: 5;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.carousel-nav-btn:hover {
  background: var(--bg-card-hover);
  border-color: #60a5fa;
  color: #60a5fa;
  transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: 24px; }
.next-btn { right: 24px; }

.carousel-caption {
  padding: 16px 24px;
  background: rgba(17, 20, 36, 0.7);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-caption-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.carousel-caption p {
  font-size: 13.5px;
  color: var(--text-label);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 48px 0 36px;
  }
  
  .bubble {
    max-width: 92%;
  }
  
  .safety-box {
    padding: 28px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
