@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.15);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Gradients & Glow Orbs */
.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Navigation Bar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 80px 8%;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

.cmd-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111827;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 28px;
  max-width: 100%;
}

.cmd-symbol {
  color: var(--accent);
  font-weight: 700;
}

.cmd-text {
  color: #e5e7eb;
}

.cmd-copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.cmd-copy-btn:hover {
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-subtext {
  font-size: 12px;
  color: var(--text-muted);
}

/* Live Demo Visual Simulator */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.mockup-container {
  width: 100%;
  max-width: 440px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.mockup-screen {
  background: #090d16;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  height: 160px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #f3f4f6;
  overflow-y: auto;
}

.editor-area {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.prompt-symbol {
  color: var(--accent);
  font-weight: bold;
}

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

.cursor {
  color: var(--accent);
  animation: blink 1s infinite;
  margin-left: 2px;
}

.demo-controls {
  display: flex;
  gap: 12px;
}

.demo-controls .btn-primary {
  flex: 1;
}

/* Features Grid */
.section-padding {
  padding: 100px 8%;
  position: relative;
  z-index: 10;
}

.bg-alt {
  background-color: #080d16;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  letter-spacing: -0.5px;
}

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

.feature-card {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* Specifications Table */
.table-container {
  overflow-x: auto;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-secondary);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.specs-table th {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 600;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  color: #fff;
  background: rgba(255, 255, 255, 0.01);
}

/* Downloads Section */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-card {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.os-icon {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.download-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.download-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  flex-grow: 1;
}

.download-card .btn-primary, .download-card .btn-secondary {
  width: 100%;
  margin-bottom: 12px;
}

.os-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

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

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 8% 40px 8%;
  background: #090d16;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer-text {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 600px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.footer-copyright {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* Animations */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

/* Responsive adjustments */
@media(max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 5%;
  }
  .hero-content {
    align-items: center;
  }
  .hero-visual {
    justify-content: center;
  }
  header {
    padding: 16px 5%;
  }
  nav {
    display: none; /* hidden on tablet/mobile for simplicity */
  }
}
