* {
  box-sizing: border-box;
}

:root {
  --black: #000;
  --surface: #070707;
  --surface-alt: #111;
  --accent: #f23312;
  --text: #f6f6f6;
  --muted: #c0c0c0;
  --card-border: #2d2d2d;
  font-size: 16px;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  background: #020202;
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0;
  color: #fff;
}

p {
  margin: 0;
  line-height: 1.6;
}

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

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 32px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: #020202;
  z-index: 2;
}

.logo-mark {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
}

.btn {
  font-family: inherit;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 26px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn-solid {
  background: var(--accent);
  border-color: var(--accent);
}

.pill {
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.hero {
  text-align: center;
  padding: 16px 0 64px;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.3;
  max-width: 720px;
  margin: 0 auto 18px;
}

.lead {
  font-size: 0.95rem;
  color: #d5d5d5;
  max-width: 760px;
  margin: 0 auto 40px;
}

.hero-visual {
  border-radius: 20px;
  border: 3px solid transparent;
  background:
    linear-gradient(#050505, #050505) padding-box,
    linear-gradient(0deg, rgba(242, 51, 18, 0.15), rgba(242, 51, 18, 0.85)) border-box;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 15px 45px rgba(242, 51, 18, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-screen {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1;
}

.hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  pointer-events: none;
  z-index: 1;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 2, 2, 0) 30%,
    rgba(2, 2, 2, 0.7) 70%,
    rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

.collab {
  margin-top: 64px;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 48px 40px;
  border-radius: 12px;
  border: 1px solid #181818;
  background: rgba(6, 6, 6, 0.85);
}

.collab-text .eyebrow {
  text-transform: none;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 18px;
  max-width: 720px;
  font-weight: 600;
  color: #fff;
}

.body {
  color: #d9d9d9;
  margin-bottom: 16px;
}

.collab-card {
  width: 100%;
  max-width: 220px;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: #fdfdfd;
  text-align: center;
  color: #111;
  font-weight: 600;
}

.partner-logo {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.problems {
  margin-top: 72px;
  text-align: center;
}

.problems h2 {
  font-size: 1.45rem;
  line-height: 1.4;
}

.subhead {
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 36px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card {
  position: relative;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: left;
  background: #050505;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 0;
}

.problem-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.problem-card p {
  color: #dcdcdc;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(var(--accent), rgba(242, 51, 18, 0.2), var(--accent));
  animation: border-spin 6s linear infinite;
  z-index: -2;
  transform-origin: center;
}

.problem-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(12px - 1px);
  background: #050505;
  z-index: -1;
}

.why {
  margin-top: 80px;
  padding: 48px;
  border-radius: 12px;
  border: 1px solid #000;
  background: #050505;
  display: flex;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.accent {
  color: var(--accent);
}

.why-text .eyebrow {
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(90deg, #ff874f, #f23312);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.advantages .eyebrow {
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: -16px;
}

.why .body {
  margin-bottom: 24px;
}

.device-shot {
  flex: 0 0 45%;
  min-height: 220px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.device-image {
  width: 100%;
  height: auto;
  max-height: 320px;
  display: block;
  object-fit: contain;
}

.feature-cards {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 0;
  border: none;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  min-height: 420px;
}

.feature-card:first-child {
  min-height: 460px;
}

.feature-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 24px;
}

.how {
  margin-top: 88px;
}

.how .eyebrow {
  margin-bottom: 32px;
  color: var(--accent);
  font-size: 2.1rem;
  font-weight: 700;
}

.grid.four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.how-card {
  position: relative;
  border-radius: 12px;
  padding: 28px;
  background: #060606;
  overflow: hidden;
  z-index: 0;
}

.how-card p {
  color: #d5d5d5;
  margin-top: 12px;
}

.how-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(var(--accent), rgba(242, 51, 18, 0.2), var(--accent));
  animation: border-spin 6s linear infinite;
  z-index: -2;
  transform-origin: center;
}

.how-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(12px - 1px);
  background: #060606;
  z-index: -1;
}

.advantages {
  margin-top: 96px;
  padding: 64px 48px;
  border-radius: 12px;
  background: #fff;
  color: #111;
}

.advantages .adv-content {
  display: flex;
  gap: 32px;
  align-items: center;
}

.laptop-placeholder {
  flex: 1;
  min-height: 220px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: #fefefe;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.advantages-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.adv-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.adv-text h4 {
  color: #111;
  margin-bottom: 4px;
}

.center {
  text-align: center;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .collab,
  .why,
  .advantages .adv-content {
    flex-direction: column;
  }

}

@media (max-width: 520px) {
  .grid.six,
  .grid.four,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .why {
    padding: 32px;
  }

  .device-shot {
    flex: 1 1 auto;
    width: 100%;
  }

  .feature-card {
    min-height: 360px;
  }

  .grid.four {
    grid-template-columns: 1fr;
  }
}

@keyframes border-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Product page */
.product-hero {
  margin-top: 48px;
  border-radius: 20px;
  border: 1px solid #181818;
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  background: #050505;
}

.product-hero__text {
  flex: 1 1 420px;
  max-width: 520px;
  margin-top: 32px;
}

.product-hero__canvas {
  flex: 1;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 16px;
  border: 2px solid #000;
  background: #050505;
  padding: 4px 8px;
}

.product-hero__mockup {
  width: 120%;
  max-width: 560px;
  height: auto;
  display: block;
}

.product-hero__text h1 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 12px 0 18px;
}

.product-hero__text .lead {
  margin-bottom: 28px;
}


.product-workflow {
  margin-top: 64px;
  text-align: center;
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 48px 32px;
}

.product-workflow h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--accent);
}

.workflow-steps {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-weight: 600;
}

.workflow-steps span {
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  position: relative;
}

.workflow-steps span + span::before {
  content: ">";
  margin-right: 12px;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
}

.product-feature {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.product-feature.reverse {
  flex-direction: row-reverse;
}

.product-feature__text,
.product-feature__media {
  flex: 1 1 320px;
}

.product-feature__text h3 {
  font-size: 1.6rem;
  margin: 12px 0 16px;
  color: #fff;
}

.product-feature__text .eyebrow {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.product-feature__text ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #dcdcdc;
}

.product-feature__media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-placeholder {
  width: 100%;
  max-width: 360px;
  height: 220px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
}

.feature-image {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 14px;
  display: block;
}

.product-cta {
  margin: 96px 0;
  padding: 48px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.product-cta h4 {
  font-size: 2rem;
  color: var(--accent);
}

.product-cta__logo {
  width: 140px;
  height: auto;
}

@media (max-width: 760px) {
  .product-cta {
    flex-direction: column;
    text-align: center;
  }

  .product-cta__logo {
    margin-top: 24px;
  }
}


.site-footer {
  margin-top: 120px;
  padding: 64px 24px 40px;
  background: #fff;
  color: #111;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.footer-inner {
  display: flex;
  justify-content: flex-start;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 280px;
}

.footer-links {
  display: flex;
  flex: 2 1 360px;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links div {
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
}

.footer-links a {
  color: #555;
  font-size: 0.95rem;
}

.footer-copy {
  margin-top: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: #666;
  text-align: center;
}

@media (max-width: 760px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .product-hero,
  .product-feature,
  .product-feature.reverse,
  .product-cta {
    flex-direction: column;
    text-align: center;
  }

  .product-hero {
    padding: 32px;
  }

  .product-feature {
    padding: 32px 24px;
  }

  .product-feature__media,
  .product-hero__canvas {
    width: 100%;
    max-width: 100%;
  }

  .product-cta {
    padding: 32px;
  }
}
