:root {
  --bg: #0f1115;
  --card: #1c1f26;
  --primary: #3b82f6;
  --primary-accent: #60a5fa;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

header {
  padding: clamp(2rem, 6vw, 4rem) 1.5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, .25), transparent 60%), radial-gradient(circle at 70% 60%, rgba(139, 92, 246, .2), transparent 65%);
  filter: blur(40px);
  opacity: .7;
}

.hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin: 0 auto 2rem;
  max-width: 720px;
  color: var(--muted);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  --btn-bg: var(--primary);
  --btn-bg-hover: var(--primary-accent);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.35rem;
  border-radius: .9rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
  text-decoration: none;
  background: var(--btn-bg);
  box-shadow: 0 4px 18px -4px rgba(59, 130, 246, .5);
  transition: all .25s;
}

.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px -6px rgba(96, 165, 250, .55);
}

.btn.secondary {
  --btn-bg: #334155;
  --btn-bg-hover: #475569;
  box-shadow: none;
}

.badge {
  display: inline-block;
  padding: .35rem .7rem;
  background: rgba(59, 130, 246, .15);
  border: 1px solid rgba(96, 165, 250, .4);
  border-radius: 1rem;
  font-size: .7rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

main {
  padding: 0 1.5rem 4rem;
}

section {
  max-width: 1080px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}

.feature-card {
  background: var(--card);
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: 1.1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #262b35;
  transition: .3s;
}

.feature-card:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
}

.feature-card h3 {
  margin: .2rem 0 .6rem;
  font-size: 1.05rem;
  letter-spacing: .5px;
}

.feature-card p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--muted);
}

.icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-accent);
  margin-bottom: .6rem;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, .25), 0 4px 12px -4px rgba(59, 130, 246, .35);
}

.showcase {
  margin-top: 4.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.mock {
  background: linear-gradient(145deg, #1d2128, #14171c);
  border: 1px solid #262b35;
  border-radius: 1.5rem;
  padding: 1.25rem;
  position: relative;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .6);
}

.mock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(59, 130, 246, .15), rgba(139, 92, 246, .1), transparent 70%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.mock-header {
  width: 100%;
  height: 26px;
  border-radius: 10px;
  background: #242a33;
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  box-sizing: border-box;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.screen {
  margin-top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.screen img {
  width: 100%;
  display: block;
  border-radius: 1rem;
}

.screenshot-gallery {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-thumb {
  width: 160px;
  border-radius: 1rem;
  border: 1px solid #262b35;
  overflow: hidden;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .4);
}

.screenshot-thumb:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(59, 130, 246, .35);
}

.screenshot-thumb img {
  width: 100%;
  display: block;
}

.screenshot-thumb .thumb-label {
  padding: .5rem;
  text-align: center;
  font-size: .7rem;
  color: var(--muted);
  background: var(--card);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps li {
  display: flex;
  gap: .9rem;
}

.step-index {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .5px;
}

.steps h4 {
  margin: .2rem 0 .4rem;
  font-size: .9rem;
  letter-spacing: .4px;
}

.steps p {
  margin: 0;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--muted);
}

.download-strip {
  margin-top: 4rem;
  background: linear-gradient(120deg, #1e2530, #15191f);
  border: 1px solid #262d38;
  border-radius: 1.4rem;
  padding: 2rem 1.5rem 2.3rem;
  position: relative;
  overflow: hidden;
}

.download-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(96, 165, 250, .25), transparent 55%), radial-gradient(circle at 20% 70%, rgba(139, 92, 246, .25), transparent 60%);
  filter: blur(60px);
  opacity: .55;
}

.download-strip .inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
}

.demo-section {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.demo-copy h2 {
  margin: 0 0 .8rem;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

.demo-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: .95rem;
}

.demo-points {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}

.demo-points li {
  background: rgba(255, 255, 255, .03);
  border: 1px solid #262b35;
  border-radius: .95rem;
  padding: .9rem 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: .9rem;
}

.demo-video-card {
  background: linear-gradient(145deg, #1d2128, #14171c);
  border: 1px solid #262b35;
  border-radius: 1.4rem;
  padding: 1rem;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .6);
}

.demo-video-frame {
  position: relative;
  width: 100%;
  padding-top: 177.78%;
  border-radius: 1rem;
  overflow: hidden;
  background: #0b1120;
}

.demo-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-caption {
  margin-top: .9rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.6;
}

footer {
  margin-top: 5rem;
  padding: 2.5rem 1.5rem 4rem;
  text-align: center;
  font-size: .65rem;
  color: #64748b;
}

a.inline {
  color: var(--primary-accent);
  text-decoration: none;
}

a.inline:hover {
  text-decoration: underline;
}

code {
  background: rgba(59, 130, 246, .1);
  padding: .2rem .4rem;
  border-radius: .3rem;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: .85em;
}

.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  font-size: .8rem;
  color: var(--muted);
}

.lang-switch a {
  color: var(--primary-accent);
  text-decoration: none;
}

.lang-switch a:hover {
  text-decoration: underline;
}

.lang-active {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 860px) {
  .download-strip .inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .download-strip h2 {
    margin: 0;
  }
}
