:root {
  --bg-dark: #09090b;
  --bg-card: rgba(24, 24, 27, 0.75);
  --bg-card-hover: rgba(39, 39, 42, 0.85);
  --border-mica: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.4);
  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --text-main: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Inter", sans-serif;
  --font-mono: "Cascadia Code", "Fira Code", Consolas, Monaco, monospace;
}

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

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

/* Background Mica Ambient Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, rgba(9, 9, 11, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 0;
  right: 10%;
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(9, 9, 11, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.8);
  border-bottom: 1px solid var(--border-mica);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.brand-tag {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-mica);
  transition: all 0.2s;
}

.btn-github:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid var(--border-mica);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Install Box */
.install-container {
  max-width: 700px;
  margin: 0 auto 60px;
  background: rgba(18, 18, 22, 0.95);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
  overflow: hidden;
}

.install-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(24, 24, 27, 0.7);
  border-bottom: 1px solid var(--border-mica);
}

.install-tabs {
  display: flex;
  gap: 8px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

.domain-pill {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.install-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #09090b;
}

.cmd-line {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #38bdf8;
  word-break: break-all;
  text-align: left;
}

.cmd-line .prompt {
  color: #71717a;
  user-select: none;
  margin-right: 8px;
}

.copy-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.copy-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: var(--accent-cyan);
}

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #4ade80;
}

/* Desktop Preview Mockup */
.preview-window {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  background: #18181b;
}

.preview-bar {
  background: #18181b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-mica);
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #eab308; }
.preview-dot.green { background: #22c55e; }

.preview-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-left: auto;
  margin-right: auto;
}

.preview-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature Cards Grid */
.section {
  padding: 90px 0;
}

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

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-mica);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* Apps Showcase */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.app-card {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-mica);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s;
}

.app-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.25);
}

.app-icon-img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.app-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Shortcuts Table */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mica);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.shortcuts-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.shortcuts-table th,
.shortcuts-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-mica);
  font-size: 0.92rem;
}

.shortcuts-table th {
  background: rgba(24, 24, 27, 0.9);
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

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

kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-mica);
  padding: 60px 0 40px;
  background: #09090b;
}

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

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-links {
    display: none;
  }
  .install-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .copy-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .features-grid,
  .apps-grid {
    grid-template-columns: 1fr;
  }
}
