@import url("./assets/visual-tokens.css");

:root {
  color-scheme: dark;
  --bg: #05080f;
  --bg-soft: #060a12;
  --panel: rgba(8, 13, 23, 0.86);
  --panel-strong: #0a111d;
  --text: #f7fbff;
  --muted: #9aa6b8;
  --line: rgba(255, 255, 255, 0.09);
  --green: #78ff35;
  --green-2: #a8ff66;
  --cyan: #00d1ff;
  --purple: #7b33ff;
  --pink: #ff4fd8;
  --yellow: #ffd84a;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 10%, rgba(123, 51, 255, 0.34), transparent 31rem),
    radial-gradient(circle at 88% 23%, rgba(0, 209, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 7% 14%, rgba(120, 255, 53, 0.1), transparent 20rem),
    linear-gradient(180deg, #02040a 0%, #050912 43%, #03060c 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
a.button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 8, 15, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img,
.footer img {
  display: block;
  width: 164px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

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

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: #07110a;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(120, 255, 53, 0.25);
}

.button-ghost,
.button-secondary {
  color: #dbe7f4;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.button-large {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
}

.button-icon {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  min-height: 666px;
  display: grid;
  align-items: center;
  padding: 58px 0 66px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.02;
  font-weight: 900;
}

h1 span,
h2 span {
  color: var(--green);
}

.hero-description {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: #cdd8e7;
  font-size: 13px;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.channels span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8, 16, 28, 0.78);
  box-shadow: 0 0 16px rgba(120, 255, 53, 0.1);
}

.channels img {
  display: block;
  width: 42px;
  height: 42px;
}

.hero-visual {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 8%;
  background:
    radial-gradient(circle at 54% 48%, rgba(123, 51, 255, 0.24), transparent 35%),
    radial-gradient(circle at 82% 55%, rgba(0, 209, 255, 0.14), transparent 32%);
  filter: blur(14px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(690px, 112%);
  max-width: none;
  height: auto;
  transform: translateX(2%);
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.55));
}

.screen-top,
.kanban-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
}

.green { background: var(--green); }
.purple { background: var(--purple); }
.cyan { background: var(--cyan); }

.screen-title {
  color: #b9c5d5;
  font-size: 12px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.metric-card,
.feature-card,
.testimonial-grid article,
.kanban-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(5, 9, 16, 0.86));
}

.metric-card {
  padding: 14px;
}

.metric-card span,
.metric-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin: 7px 0 2px;
  font-size: 28px;
}

.metric-card small {
  color: var(--green);
}

.wide {
  grid-column: 1 / -1;
}

.bar {
  height: 9px;
  overflow: hidden;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.bar i {
  display: block;
  width: 74%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.mini-board div {
  min-height: 92px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.mini-board b {
  display: block;
  margin-bottom: 10px;
  color: #dce7f4;
  font-size: 11px;
}

.mini-board span {
  display: block;
  height: 22px;
  margin: 8px 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.base {
  width: 70%;
  height: 18px;
  margin: -1px auto 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #202d41, #101827);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  min-width: 172px;
  padding: 11px 13px;
  border: 1px solid rgba(120, 255, 53, 0.2);
  border-radius: 8px;
  background: rgba(8, 14, 25, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.floating-badge strong,
.floating-badge span {
  display: block;
}

.floating-badge strong {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.floating-badge span {
  margin-top: 3px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.badge-top { top: 46px; left: 33%; }
.badge-right { right: 10px; top: 205px; }
.badge-left { left: 0; bottom: 148px; }
.badge-bottom { right: 22%; bottom: 42px; }

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 30px 0;
}

.logo-strip p {
  margin-bottom: 18px;
  color: #a9b6c6;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 900;
}

.features,
.platform,
.testimonials,
.final-cta {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 236px;
  padding: 18px 18px 19px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-card:hover {
  border-color: rgba(120, 255, 53, 0.28);
  box-shadow: 0 0 38px rgba(120, 255, 53, 0.08);
}

.icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.feature-card p,
.platform-copy p,
.testimonial-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-card p {
  min-height: 78px;
  margin-bottom: 18px;
  font-size: 13px;
}

.feature-card a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.platform-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: center;
}

.platform-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 30px;
  list-style: none;
  color: #dce7f4;
  font-weight: 700;
}

.platform-copy li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

.kanban-panel {
  padding: 18px;
  background: rgba(8, 14, 25, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.kanban-top {
  margin-bottom: 18px;
}

.kanban-top button {
  min-height: 34px;
  margin-left: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe7f4;
  font-weight: 800;
}

.kanban-top .new-deal {
  background: var(--green);
  color: #07110a;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(132px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.kanban-col {
  min-height: 260px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.kanban-col h4 {
  margin: 0 0 12px;
  color: #dbe7f4;
  font-size: 12px;
}

.deal {
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--cyan);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
}

.deal.hot { border-left-color: var(--yellow); }
.deal.won { border-left-color: var(--green); }

.deal b,
.deal span {
  display: block;
}

.deal b {
  margin-bottom: 6px;
  font-size: 12px;
}

.deal span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-grid article {
  padding: 24px;
}

.stars {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 15px;
  letter-spacing: 0;
}

.testimonial-grid footer {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.testimonial-grid b {
  color: #fff;
}

.testimonial-grid span {
  color: var(--muted);
  font-size: 13px;
}

.final-cta {
  padding-top: 36px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(120, 255, 53, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 20%, rgba(120, 255, 53, 0.12), transparent 28rem),
    rgba(255, 255, 255, 0.04);
}

.cta-inner h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .header-actions {
    display: none;
  }

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

  .hero-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 74px 14px auto;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 8, 15, 0.96);
  }

  .nav-links.is-open {
    display: grid;
    justify-content: stretch;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .cta-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card p {
    min-height: 0;
  }

  .hero-visual img {
    width: min(620px, 118%);
    transform: translateX(0);
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 154px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    display: grid;
    min-height: 0;
    padding-top: 18px;
  }

  .hero-visual img {
    width: 128%;
  }
}
