:root {
  --background: #0f172a;
  --surface: #1e293b;
  --surface-hover: #334155;
  --border: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.2);
  --accent-secondary: #6366f1;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  background-image:
    radial-gradient(circle at 50% -20%, rgba(56, 189, 248, 0.3), transparent 70%),
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.12), transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

code {
  font-family: var(--font-mono);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9em;
  color: var(--text-primary);
  white-space: nowrap;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  background: #0f172a;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.brand-title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-sub {
  display: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

main {
  flex: 1;
  padding: 64px 40px 120px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 24px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(to bottom right, #fff 40%, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 0 0 32px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.button.primary {
  background: var(--text-primary);
  color: var(--background);
  position: relative;
  overflow: hidden;
}

.button.primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.button.primary:hover::after {
  opacity: 1;
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1), 0 0 15px var(--accent-glow);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-panel {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  background: #1e293b;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.hero-panel h2 {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.section {
  margin-top: 100px;
}

.section h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

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

.card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #1e293b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card:hover {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.list {
  display: grid;
  gap: 16px;
}

.list-item {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #1e293b;
  display: block;
  transition: all 0.2s ease;
}

.list-item:hover {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.3);
}

.list-item strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer {
  padding: 64px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

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

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

.feature-screenshot {
  margin: 40px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #1e293b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.screenshot-placeholder {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-panel {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 16px 20px;
  }

  main {
    padding: 40px 20px 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}