:root {
  color-scheme: dark;
  --bg: #0a0b10;
  --bg-soft: #10131c;
  --card: rgba(16, 18, 26, 0.88);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f7;
  --muted: rgba(244, 244, 247, 0.65);
  --accent: #ff0033;
  --accent-soft: rgba(255, 0, 51, 0.2);
  --accent-2: #37f8c6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(255, 0, 51, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(55, 248, 198, 0.18), transparent 40%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name,
.eyebrow {
  font-family: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
}

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.35;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 16, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(9, 11, 16, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

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

.brand-mark {
  width: 64px;
  height: 36px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 64px;
  height: auto;
}

.brand-name {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tag {
  margin: 2px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  padding: 120px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  position: relative;
}

.glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(255, 0, 51, 0.35), transparent 45%),
    radial-gradient(circle at 65% 15%, rgba(55, 248, 198, 0.3), transparent 40%);
  filter: blur(40px);
  opacity: 0.9;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1.6rem, 4.2rem);
  line-height: 1.1;
  margin: 0 0 20px;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

@media (min-width: 960px) {
  .hero-copy {
    margin-right: -80px;
  }

  .hero-copy h1 {
    max-width: 720px;
  }
}

.button {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 30px rgba(255, 0, 51, 0.4);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.button.small {
  padding: 8px 16px;
  font-size: 12px;
}

.button:hover {
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.meta-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 11px;
}

.meta-value {
  margin: 6px 0 0;
  font-weight: 600;
  color: var(--text);
}

.app-mock {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(12, 14, 22, 0.96));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-section {
  padding-top: 40px;
}

.app-mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  background: rgba(9, 11, 16, 0.6);
}

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

.app-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.app-live {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.app-mock-body {
  display: grid;
  grid-template-columns: minmax(160px, 32%) 1fr;
  min-height: 420px;
}

.hero-mock .app-mock-body {
  min-height: 360px;
}

.app-side {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-size: 13px;
}

.side-title {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.side-item.active {
  color: var(--text);
  background: rgba(255, 0, 51, 0.2);
  border: 1px solid rgba(255, 0, 51, 0.35);
}

.side-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.app-main {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-title {
  margin: 0;
  font-weight: 600;
}

.app-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.app-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.app-panel {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title {
  margin: 0;
  font-weight: 600;
}

.panel-meta {
  margin: 4px 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.panel-chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(55, 248, 198, 0.2);
  color: var(--accent-2);
}

.panel-chip.muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.app-editor {
  margin-top: 6px;
}

.app-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.template-list {
  display: grid;
  gap: 12px;
}

.template-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.template-title {
  margin: 0;
  font-weight: 600;
}

.template-desc {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(55, 248, 198, 0.2);
  color: var(--accent-2);
}

.status.muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.editor {
  margin-top: 20px;
}

.editor-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-bottom: 10px;
}

.editor-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.editor-muted {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}

.stats {
  padding: 40px 0 60px;
}

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

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-value {
  font-size: 28px;
  margin: 0;
}

.stat-label {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 36px;
}

.section-lead {
  color: var(--muted);
  max-width: 560px;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 240px;
}

.feature-card ul {
  padding-left: 16px;
  color: var(--muted);
}

.workflow {
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.12), rgba(16, 18, 26, 0.8));
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-index {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent-2);
}

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

.usecase {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.cta {
  padding: 80px 0 100px;
}

.cta-inner {
  background: linear-gradient(120deg, rgba(255, 0, 51, 0.2), rgba(55, 248, 198, 0.2));
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 96px;
  }

  .app-mock-body {
    grid-template-columns: 1fr;
  }

  .app-side {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .cta-inner {
    padding: 28px;
  }
}
