:root {
  --bg: #131313;
  --surface: #1d1d1d;
  --surface-2: #262626;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --text-dim: #b9b9b9;
  --accent: #3557f0;
  --accent-hover: #274ae8;
  --purple: #5b5bf0;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.bg-glow--orange {
  width: 900px; height: 900px;
  left: -320px; top: -60px;
  background: radial-gradient(circle, rgba(224, 122, 34, 0.38), transparent 62%);
}
.bg-glow--blue {
  width: 820px; height: 820px;
  right: -300px; top: -160px;
  background: radial-gradient(circle, rgba(41, 72, 214, 0.35), transparent 62%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn--lg { padding: 13px 26px; font-size: 15px; }
.btn--block { width: 100%; margin-top: auto; }
.chev { font-size: 18px; line-height: 1; }

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand__logo { width: 26px; height: 26px; display: block; }
.brand__name {
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 24px 140px;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.03);
}
.avatars { display: flex; }
.avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: inline-block;
}
.avatar + .avatar { margin-left: -9px; }
.avatar--1 { background: linear-gradient(135deg, #e08a3c, #a04f18); }
.avatar--2 { background: linear-gradient(135deg, #4f6bec, #2a3fae); }
.avatar--3 { background: linear-gradient(135deg, #4cae72, #1f6b41); }

.hero__title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero__subtitle {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Video showcase ---------- */
.showcase { padding-top: 0; }
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 20%, rgba(91, 91, 240, 0.18), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(224, 122, 34, 0.12), transparent 55%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  padding: 0;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 91, 240, 0.6);
  box-shadow: 0 0 34px rgba(91, 91, 240, 0.22);
}
.video-card {
  overflow: hidden;
}
.video-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.video-card__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.14) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.video-card__glass::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -85%;
  width: 55%;
  height: 160%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 45%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.28) 55%,
    transparent 100%
  );
  transform: rotate(12deg);
  transition: left 0.55s ease;
}
.video-card:hover .video-card__glass::before { left: 135%; }
.video-card__play {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s;
  pointer-events: none;
}
.video-card:hover .video-card__play { transform: scale(1.1); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}
.lightbox__inner {
  position: relative;
  width: min(920px, 92vw);
}
.lightbox__inner video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  display: block;
  border-radius: 14px;
  background: #000;
}
.lightbox__error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  padding: 20px;
  pointer-events: none;
}
.lightbox__error[hidden] { display: none; }
.lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: #e5e5e5; }
@media (max-width: 720px) {
  .lightbox__close { top: -50px; right: 0; }
}

/* ---------- Sections ---------- */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 24px;
}
.section__eyebrow {
  text-align: center;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.section__title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section__subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 20px;
}

/* ---------- Grid & cards ---------- */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.card h3 { font-size: 17px; font-weight: 600; }
.card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

/* Steps */
.step__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* Quotes */
.quote p { color: var(--text); font-size: 15px; }
.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.quote__author .avatar { width: 38px; height: 38px; border: none; }
.quote__author strong { display: block; font-size: 14px; }
.quote__author small { color: var(--text-dim); font-size: 12.5px; }

/* Enterprise */
.enterprise-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(53, 87, 240, 0.16), rgba(91, 91, 240, 0.05));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.enterprise-banner .section__eyebrow,
.enterprise-banner .section__title { text-align: left; }
.enterprise-banner__text {
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}
.enterprise-banner__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.enterprise-banner__list li {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
}
.enterprise-banner__list li::before {
  content: "\2713";
  color: var(--purple);
  font-weight: 700;
  margin-right: 10px;
}

/* Pricing */
.pricing-single {
  max-width: 400px;
  margin: 52px auto 0;
}
.pricing-single .plan { padding: 34px; }
.plan { position: relative; }
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(53, 87, 240, 0.25);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__price { font-size: 40px; font-weight: 700; color: var(--text); }
.plan__price span { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.plan ul li { color: var(--text-dim); font-size: 14.5px; }
.plan ul li::before { content: "\2713"; color: var(--purple); font-weight: 700; margin-right: 9px; }

/* Blog */
.post { padding: 0; overflow: hidden; }
.post h3 { padding: 18px 22px 6px; font-size: 16px; line-height: 1.4; }
.post small { padding: 0 22px 22px; color: var(--text-dim); font-size: 12.5px; }
.post__thumb { height: 160px; }
.post__thumb--a { background: linear-gradient(135deg, #e08a3c33, #3557f044), var(--surface-2); }
.post__thumb--b { background: linear-gradient(135deg, #5b5bf044, #1f6b4133), var(--surface-2); }
.post__thumb--c { background: linear-gradient(135deg, #2948d644, #a04f1833), var(--surface-2); }

/* Download page */
.download-hero { padding-bottom: 90px; }
.download-hero__logo {
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
}
.btn--download { gap: 11px; padding: 15px 30px; font-size: 16px; }
.win-icon { width: 20px; height: 20px; }
.download-note {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 13.5px;
}
.download-features { margin-top: 70px; text-align: left; }

/* CTA */
.cta { text-align: center; padding-bottom: 110px; }
.cta .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer__bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .enterprise-banner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .navbar { padding: 16px 20px; }
  .nav-links { display: none; }
  .navbar .btn--primary { display: none; }
  .nav-toggle { display: block; }
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 18px;
    z-index: 50;
  }
  .grid--3 { grid-template-columns: 1fr; }
  .hero { padding: 64px 20px 90px; }
  .footer { padding: 32px 20px; }
  .footer__top .nav-links { display: flex; flex-wrap: wrap; }
}
