/* Build: 2026.08.27.01 */
:root {
  --bg-dark: #090d16;
  --card-bg: rgba(18, 24, 38, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.3);
  --accent: #818cf8;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --terminal-bg: #050811;
  --success: #10b981;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.background-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.logo-text {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.version-tag {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn.pwa-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--primary);
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 20px;
}

.btn.pwa-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  transform: translateY(-1px);
}

.btn.pwa-hero-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn.pwa-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  z-index: 1;
  flex: 1;
}

.hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pill {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.45);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--card-border);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.demo-section {
  margin-bottom: 4rem;
}

.terminal-card {
  background: var(--terminal-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--card-border);
}

.dots {
  display: flex;
  gap: 6px;
}

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

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-left: 14px;
  flex: 1;
}

.status-ready {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
}

pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #38bdf8;
  line-height: 1.6;
  white-space: pre-wrap;
}

.terminal-footer {
  padding: 10px 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.3);
}

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

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  padding: 2rem;
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

footer {
  border-top: 1px solid var(--card-border);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  margin-top: auto;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.5rem;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .navbar { padding: 1rem; }
  .footer-content { flex-direction: column; text-align: center; }
}
