/* ==========================================================================
   Voice Assistant — Modern iOS Liquid Glass & shadcn/ui Aesthetic
   ========================================================================== */

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette */
  --bg-dark: #07090e;
  --bg-card: rgba(18, 22, 34, 0.65);
  --bg-card-hover: rgba(26, 32, 48, 0.75);
  --bg-glass-inset: rgba(10, 14, 24, 0.6);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-highlight: rgba(255, 255, 255, 0.16);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
  --accent-violet: #818cf8;
  --accent-emerald: #34d399;
  --accent-rose: #f43f5e;

  --glow-cyan: rgba(56, 189, 248, 0.28);
  --glow-violet: rgba(129, 140, 248, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Ambient dynamic background lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, var(--glow-cyan), transparent 65%);
}

.glow-right {
  top: 30%;
  right: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--glow-violet), transparent 70%);
}

.glow-left {
  bottom: 10%;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.08); }
  100% { transform: translate(-25px, -15px) scale(0.95); }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Glass panel foundations (Liquid Glass) */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-glass);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 40px -15px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-glass-highlight);
}

.glass-panel-glow {
  background: rgba(15, 20, 32, 0.72);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.2),
    0 25px 60px -12px rgba(0, 0, 0, 0.6),
    0 0 50px -10px var(--glow-cyan);
  border-radius: 24px;
}

.glass-panel-inset {
  background: var(--bg-glass-inset);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  backdrop-filter: blur(16px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(14, 18, 29, 0.75);
}

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

.brand-logo-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-orb-mini {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #818cf8, #f43f5e);
  box-shadow: 0 0 12px var(--glow-cyan);
  animation: pulseMini 3s infinite alternate;
}

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

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

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

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

.nav-link:hover {
  color: var(--text-main);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost .icon {
  width: 16px;
  height: 16px;
}

.btn-primary-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #050811;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  padding: 7px 16px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-primary-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 75px 0 50px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-cyan);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: livePing 1.8s infinite;
}

@keyframes livePing {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 860px;
  margin-bottom: 22px;
}

.text-gradient {
  display: block;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* Primary CTA Button */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.cta-split-btn {
  display: inline-flex;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 
    0 20px 45px -10px rgba(56, 189, 248, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-split-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 24px 50px -8px rgba(56, 189, 248, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.cta-primary-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  text-decoration: none;
  color: #ffffff;
  background: transparent;
}

.cta-primary-btn .icon-lg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cta-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cta-btn-label {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cta-btn-meta {
  font-size: 11.5px;
  color: var(--accent-cyan);
  font-weight: 500;
}

.cta-dropdown-trigger {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 14px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cta-dropdown-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.chevron-icon {
  width: 18px;
  height: 18px;
}

.quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.link-chip {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.link-chip:hover {
  color: var(--accent-cyan);
}

.separator {
  color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Hero Preview: Liquid Glass Mockup & Interactive Orb
   ========================================================================== */
.preview-section {
  width: 100%;
  max-width: 820px;
}

.liquid-card {
  overflow: hidden;
  position: relative;
}

.liquid-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.window-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent-emerald);
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.pulse-mini {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.liquid-card-body {
  padding: 44px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Intelligent Orb Visualization */
.orb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.orb-core {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-inner {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #93c5fd, #38bdf8 30%, #818cf8 70%, #ec4899);
  box-shadow: 
    0 0 45px rgba(56, 189, 248, 0.6),
    0 0 85px rgba(129, 140, 248, 0.4);
  animation: orbBreathe 3s ease-in-out infinite alternate;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.ring-1 {
  width: 95px;
  height: 95px;
  border-color: rgba(56, 189, 248, 0.35);
  animation: orbRotate 8s linear infinite;
}

.ring-2 {
  width: 115px;
  height: 115px;
  border-color: rgba(129, 140, 248, 0.25);
  animation: orbRotate 12s linear infinite reverse;
}

.ring-3 {
  width: 135px;
  height: 135px;
  border-color: rgba(244, 63, 94, 0.15);
  animation: orbRotate 16s linear infinite;
}

@keyframes orbBreathe {
  0% { transform: scale(0.92); filter: brightness(0.95); }
  100% { transform: scale(1.08); filter: brightness(1.2); }
}

@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orb-status {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Interactive Prompt Pills */
.prompt-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 640px;
}

.prompt-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-main);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.prompt-icon {
  font-size: 14px;
}

/* Speech Log Stream Card */
.speech-log-card {
  width: 100%;
  max-width: 580px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.speech-log-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.line-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
}

.user-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.assistant-badge {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

.line-text {
  font-size: 13.5px;
  color: var(--text-main);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

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

.section-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.feature-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.icon-cyan { background: rgba(56, 189, 248, 0.1); color: var(--accent-cyan); border: 1px solid rgba(56, 189, 248, 0.2); }
.icon-violet { background: rgba(129, 140, 248, 0.1); color: var(--accent-violet); border: 1px solid rgba(129, 140, 248, 0.2); }
.icon-emerald { background: rgba(52, 211, 153, 0.1); color: var(--accent-emerald); border: 1px solid rgba(52, 211, 153, 0.2); }
.icon-amber { background: rgba(251, 191, 36, 0.1); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.2); }

.feature-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Platform Downloads Section
   ========================================================================== */
.section-platforms {
  background: linear-gradient(180deg, transparent, rgba(14, 18, 29, 0.5) 40%, transparent);
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

@media (max-width: 980px) {
  .platform-cards-grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.platform-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.win-box { background: rgba(56, 189, 248, 0.1); color: var(--accent-cyan); border: 1px solid rgba(56, 189, 248, 0.25); }
.deb-box { background: rgba(244, 63, 94, 0.1); color: var(--accent-rose); border: 1px solid rgba(244, 63, 94, 0.25); }
.appimage-box { background: rgba(52, 211, 153, 0.1); color: var(--accent-emerald); border: 1px solid rgba(52, 211, 153, 0.25); }

.platform-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.platform-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.platform-format-pill {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 500;
}

.platform-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.detail-label {
  color: var(--text-dim);
}

.detail-val {
  color: var(--text-main);
  font-weight: 500;
}

.platform-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-icon {
  width: 18px;
  height: 18px;
}

.win-btn {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: #030712;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

.win-btn:hover {
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.deb-btn {
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.35);
}

.deb-btn:hover {
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.5);
  transform: translateY(-1px);
}

.appimage-btn {
  background: linear-gradient(135deg, #34d399, #059669);
  color: #022c22;
  box-shadow: 0 4px 18px rgba(52, 211, 153, 0.35);
}

.appimage-btn:hover {
  box-shadow: 0 6px 24px rgba(52, 211, 153, 0.5);
  transform: translateY(-1px);
}

/* API Status banner */
.api-status-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 680px) {
  .api-status-banner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

.api-status-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.api-status-left code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 6px;
}

.api-status-right {
  font-size: 12px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 38px 0;
  margin-top: 40px;
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--text-main);
}
