/* ============================================
   CODEON LANDING PAGE STYLES
   Modern, Dark Theme with Orange Accents
   ============================================ */

/* CSS Variables */
:root {
  /* Colors */
  --bg-base: #09090b;
  --bg-elevated: #0c0c0e;
  --bg-surface: #131316;
  --bg-card: rgba(19, 19, 22, 0.7);
  --bg-card-hover: rgba(26, 26, 30, 0.8);
  
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  
  --accent: #D97757;
  --accent-light: #E6A08A;
  --accent-dark: #C85F3E;
  --accent-glow: rgba(217, 119, 87, 0.4);
  
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  /* Code Colors */
  --code-keyword: #C792EA;
  --code-string: #C3E88D;
  --code-function: #82AAFF;
  --code-variable: #F78C6C;
  --code-property: #FFCB6B;
  --code-comment: #546E7A;
  --code-number: #F78C6C;
  
  /* Spacing */
  --nav-height: 72px;
  --section-padding: 120px;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px var(--accent-glow);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(217, 119, 87, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(200, 95, 62, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(217, 119, 87, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Floating Orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 87, 0.2), transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 95, 62, 0.15), transparent 70%);
  bottom: 20%;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 160, 138, 0.1), transparent 70%);
  top: 60%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stats-label {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual - App Window */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-top: 60px;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.app-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

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

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28c840; }

.window-title {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.window-content {
  display: flex;
  min-height: 400px;
}

.editor-sidebar {
  width: 48px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sidebar-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sidebar-icon:hover {
  background: var(--bg-card);
  color: var(--text-secondary);
}

.sidebar-icon.active {
  background: rgba(217, 119, 87, 0.15);
  color: var(--accent);
}

.sidebar-icon svg {
  width: 18px;
  height: 18px;
}

.editor-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.code-content {
  flex: 1;
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
}

.code-line {
  display: flex;
  align-items: center;
  padding: 2px 0;
}

.line-num {
  width: 32px;
  color: var(--text-muted);
  text-align: right;
  margin-right: 16px;
  user-select: none;
}

.keyword { color: var(--code-keyword); }
.string { color: var(--code-string); }
.function { color: var(--code-function); }
.variable { color: var(--code-variable); }
.property { color: var(--code-property); }
.comment { color: var(--code-comment); font-style: italic; }
.number { color: var(--code-number); }

.ai-suggestion {
  background: rgba(217, 119, 87, 0.08);
  border-radius: 4px;
  margin: 4px 0;
}

.ai-generated {
  background: rgba(217, 119, 87, 0.05);
  animation: typeIn 0.5s ease;
}

.ai-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
}

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.ai-chat {
  border-top: 1px solid var(--border);
  padding: 16px;
  background: var(--bg-surface);
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.chat-message .avatar {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-secondary);
}

.chat-message.ai .avatar {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base);
}

.chat-message .text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 8px;
  width: fit-content;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* ============================================
   CODEON APP MOCKUP
   ============================================ */

.codeon-app-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Codeon Header */
.codeon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #0c0c0e;
  border-bottom: 1px solid var(--border);
}

.codeon-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.codeon-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.codeon-logo-small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.codeon-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.codeon-tabs {
  display: flex;
  gap: 4px;
}

.codeon-tab {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.codeon-tab:hover {
  color: var(--text-secondary);
}

.codeon-tab.active {
  background: rgba(217, 119, 87, 0.15);
  color: var(--accent);
}

.codeon-header-right {
  color: var(--text-muted);
  cursor: pointer;
}

.codeon-header-right:hover {
  color: var(--text-secondary);
}

/* Codeon Main Content */
.codeon-content {
  display: flex;
  height: 320px;
  background: var(--bg-base);
}

/* File Explorer */
.codeon-explorer {
  width: 180px;
  background: #0a0a0c;
  border-right: 1px solid var(--border);
  font-size: 12px;
}

.explorer-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.explorer-header .folder-icon {
  font-size: 14px;
}

.explorer-header .collapse-arrow {
  margin-left: auto;
  color: var(--text-muted);
  transform: rotate(-90deg);
}

.explorer-tree {
  padding: 8px 0;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.tree-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tree-item.active {
  background: rgba(217, 119, 87, 0.12);
  color: var(--accent);
}

.tree-item.indent { padding-left: 24px; }
.tree-item.indent-2 { padding-left: 36px; }

.tree-item .icon {
  font-size: 11px;
}

.tree-item .icon.file-tsx,
.tree-item .icon.file-ts {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  background: #3178c6;
  color: white;
}

/* Codeon Middle Section (Editor + Console) */
.codeon-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-base);
}

/* Codeon Editor */
.codeon-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-base);
}

.editor-tab-bar {
  display: flex;
  background: #0a0a0c;
  border-bottom: 1px solid var(--border);
}

.editor-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  background: transparent;
  border-right: 1px solid var(--border);
  cursor: pointer;
}

.editor-tab.active {
  background: var(--bg-base);
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent);
  margin-bottom: -1px;
}

.editor-tab .tab-icon {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  background: #3178c6;
  color: white;
}

.editor-tab .tab-close {
  margin-left: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

.code-area {
  flex: 1;
  padding: 12px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow: hidden;
}

.code-area .code-line {
  display: flex;
  padding: 1px 16px;
}

.code-area .ln {
  width: 24px;
  color: var(--text-muted);
  text-align: right;
  margin-right: 16px;
  user-select: none;
}

.code-area .ai-highlight {
  background: rgba(217, 119, 87, 0.08);
  border-radius: 4px;
}

.code-area .ai-gen {
  background: rgba(217, 119, 87, 0.05);
}

.code-area .ai-marker {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base);
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  margin-right: 8px;
}

/* Codeon AI Panel */
.codeon-ai-panel {
  width: 240px;
  background: #0a0a0c;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.ai-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.ai-panel-content {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}

.ai-message {
  margin-bottom: 12px;
}

.ai-message .msg-avatar {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-block;
  margin-bottom: 6px;
}

.ai-message.ai-msg .msg-avatar {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base);
}

.ai-message .msg-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-surface);
  border-radius: 8px;
  width: fit-content;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.ai-input-bar {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
}

.ai-input-bar input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-primary);
  outline: none;
}

.ai-input-bar input::placeholder {
  color: var(--text-muted);
}

.ai-input-bar .send-btn {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--bg-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Codeon Console */
.codeon-console {
  background: #0a0a0c;
  border-top: 1px solid var(--border);
}

.console-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
}

.ctab {
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  border-radius: 4px;
  cursor: pointer;
}

.ctab.active {
  background: rgba(217, 119, 87, 0.15);
  color: var(--accent);
}

.console-output {
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  max-height: 60px;
  overflow: hidden;
}

.cline {
  padding: 2px 0;
  color: var(--text-secondary);
}

.cline .time {
  color: var(--text-muted);
}

.cline .success {
  color: #10b981;
}

/* Logos Section */
.logos {
  position: relative;
  padding: 60px 24px;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-title {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo-item {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.logo-item:hover {
  opacity: 0.8;
}

/* Features Section */
.features {
  position: relative;
  padding: var(--section-padding) 24px;
  z-index: 1;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card.feature-large {
  grid-column: span 2;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(217, 119, 87, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

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

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-visual {
  margin-top: 24px;
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 16px;
}

.file-tree {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.tree-item {
  padding: 4px 8px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tree-item.indent { padding-left: 24px; }
.tree-item.indent-2 { padding-left: 48px; }

.tree-item.highlight {
  background: rgba(217, 119, 87, 0.1);
  border-radius: 6px;
  color: var(--accent);
}

.tree-item .badge {
  font-size: 9px;
  background: var(--accent);
  color: var(--bg-base);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
}

.console-preview {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: #0a0a0c;
  border-radius: 8px;
  padding: 16px;
}

.console-line {
  padding: 3px 0;
  color: var(--text-secondary);
}

.console-line .prompt {
  color: var(--accent);
  margin-right: 8px;
}

.console-line.output {
  color: var(--text-muted);
}

.console-line.success {
  color: #10b981;
}

.console-line.error {
  color: #ef4444;
}

.cursor-blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pill.active {
  background: rgba(217, 119, 87, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Showcase Section */
.showcase {
  position: relative;
  padding: var(--section-padding) 24px;
  z-index: 1;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.tab {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.tab.active {
  background: rgba(217, 119, 87, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.showcase-content {
  max-width: 900px;
  margin: 0 auto;
}

.showcase-panel {
  display: none;
}

.showcase-panel.active {
  display: block;
}

.showcase-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.demo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.demo-icon {
  width: 64px;
  height: 64px;
  background: rgba(217, 119, 87, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  filter: drop-shadow(0 4px 12px rgba(217, 119, 87, 0.3));
}

.demo-icon svg {
  width: 28px;
  height: 28px;
}

.demo-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.demo-description {
  margin-bottom: 32px;
}

.demo-description p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.demo-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.demo-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(217, 119, 87, 0.1);
  border: 1px solid rgba(217, 119, 87, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: all var(--transition-base);
}

.demo-tag:hover {
  background: rgba(217, 119, 87, 0.2);
  border-color: rgba(217, 119, 87, 0.4);
}

/* Legacy demo styles (if still used) */
.demo-prompt {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.prompt-label, .response-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.demo-prompt p {
  font-size: 16px;
  color: var(--text-primary);
}

.demo-response {
  padding: 24px;
  background: var(--bg-surface);
}

.demo-response pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
}

.demo-response code {
  color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
  position: relative;
  padding: var(--section-padding) 24px;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-grid.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
}

.pricing-grid.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}

@media (max-width: 900px) {
  .pricing-grid.pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.1) 0%, var(--bg-card) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(217, 119, 87, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-base);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.price .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price .period {
  font-size: 14px;
  color: var(--text-muted);
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

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

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Download Section */
.download {
  position: relative;
  padding: var(--section-padding) 24px;
  z-index: 1;
}

.download-card {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.1) 0%, var(--bg-card) 50%, rgba(200, 95, 62, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.download-content {
  flex: 1;
}

.download-content h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.download-content > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.download-btn:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.download-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: transparent;
  color: var(--bg-base);
}

.download-btn.primary:hover {
  box-shadow: var(--shadow-glow);
}

.download-btn.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
  border-style: dashed;
}

.download-btn.coming-soon:hover {
  transform: none;
  border-color: var(--border);
}

.coming-soon-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: var(--bg-base);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

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

.btn-text .small {
  font-size: 11px;
  opacity: 0.8;
}

.btn-text .large {
  font-size: 15px;
  font-weight: 600;
}

.download-note {
  font-size: 13px;
  color: var(--text-muted);
}

.download-visual {
  flex-shrink: 0;
}

.code-window.small {
  width: 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.window-header.mini {
  padding: 10px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.window-content.mini {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.install-animation {
  text-align: center;
}

.progress-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.progress-ring svg {
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.progress-ring .bg {
  stroke: var(--bg-surface);
}

.progress-ring .progress {
  stroke: var(--accent);
  stroke-dasharray: 283;
  stroke-dashoffset: 0;
  animation: progressFill 2s ease-in-out infinite;
}

@keyframes progressFill {
  0% { stroke-dashoffset: 283; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.progress-ring .percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.install-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  position: relative;
  padding: 80px 24px 40px;
  border-top: 1px solid var(--border);
  z-index: 1;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

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

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card.feature-large {
    grid-column: span 1;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .download-card {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 48px;
  }
  
  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 80px;
  }
  
  .showcase-tabs {
    flex-wrap: wrap;
  }
  
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .download-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
