*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --text: #101828;
  --text-secondary: #667085;
  --border: #e4e7ec;
  --bg-muted: #f9fafb;
  --white: #ffffff;
  --shadow: 0 24px 48px rgba(16, 24, 40, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--outline {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 16px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__login {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.header__login:hover {
  color: var(--blue);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-nav a {
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* Hero */

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08), transparent 40%),
    linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero__lead {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  fill: var(--blue);
}

/* App preview mockups */

.app-preview {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-preview__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #fcfcfd;
}

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

.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

.app-preview__title {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.app-preview__board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  min-height: 280px;
  background: #f8fafc;
}

.app-preview__board--compact {
  grid-template-columns: repeat(3, 1fr);
  min-height: 220px;
}

.kanban-col {
  background: #eef2f6;
  border-radius: 10px;
  padding: 10px;
}

.kanban-col__head {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.kanban-card {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.kanban-card--blue { border-left: 3px solid var(--blue); }
.kanban-card--orange { border-left: 3px solid #f79009; }
.kanban-card--green { border-left: 3px solid #12b76a; }

/* Sections */

.section {
  padding: 88px 0;
}

.section--muted {
  background: var(--bg-muted);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}

.section__head p {
  color: var(--text-secondary);
  font-size: 18px;
}

/* Features */

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

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-card__icon--blue { background: #eff6ff; color: #2563eb; }
.feature-card__icon--purple { background: #f4f3ff; color: #7c3aed; }
.feature-card__icon--cyan { background: #ecfeff; color: #0891b2; }
.feature-card__icon--green { background: #ecfdf3; color: #039855; }
.feature-card__icon--orange { background: #fffaeb; color: #dc6803; }
.feature-card__icon--indigo { background: #eef4ff; color: #444ce7; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}

.feature-card a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

/* Workflow */

.workflow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.workflow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 110px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.workflow__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.workflow__arrow {
  color: #cbd5e1;
  font-size: 20px;
  font-weight: 300;
}

.workflow__note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 500;
}

/* Product tabs */

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.product-tabs__btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.product-tabs__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.product-tabs__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.product-showcase__content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.product-showcase__content p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 24px;
}

.product-panel[hidden] {
  display: none;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  font-weight: 500;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-light);
}

.check-list li::after {
  content: '✓';
  position: absolute;
  left: 5px;
  top: 1px;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
}

.check-list--large li {
  font-size: 17px;
}

.is-hidden {
  display: none !important;
}

/* Mini previews */

.knowledge-preview,
.chat-preview,
.call-preview,
.employees-preview,
.spaces-preview {
  min-height: 220px;
  padding: 16px;
  background: #f8fafc;
}

.knowledge-preview {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.knowledge-preview__sidebar {
  display: grid;
  gap: 8px;
}

.knowledge-preview__item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.knowledge-preview__item.is-active {
  background: var(--blue-light);
  border-color: #bfdbfe;
  color: var(--blue);
  font-weight: 600;
}

.knowledge-preview__content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.knowledge-preview__line {
  height: 10px;
  border-radius: 999px;
  background: #e4e7ec;
}

.w-80 { width: 80%; }
.w-100 { width: 100%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-55 { width: 55%; }

.chat-preview {
  display: grid;
  gap: 10px;
  align-content: start;
}

.chat-preview__msg {
  max-width: 75%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--border);
}

.chat-preview__msg--self {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.call-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.call-preview__tile {
  aspect-ratio: 4/3;
  border-radius: 10px;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
}

.call-preview__tile--active {
  background: #1e40af;
  border-color: #1e40af;
}

.employees-preview {
  display: grid;
  gap: 12px;
}

.employees-preview__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  flex-shrink: 0;
}

.bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e4e7ec;
}

.spaces-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.spaces-preview__card {
  padding: 24px 12px;
  text-align: center;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}

/* Integration */

.integration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.integration__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.integration__tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tool-badge {
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
}

.integration__arrow {
  font-size: 32px;
  color: var(--blue);
  font-weight: 300;
}

.integration__logo {
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.integration__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

/* Audience */

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

.audience-card {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.audience-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stats banner */

.stats-banner {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: var(--white);
  padding: 48px 0;
}

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-banner strong {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.stats-banner span {
  font-size: 15px;
  opacity: 0.9;
}

/* CTA */

.cta {
  text-align: center;
}

.cta__inner {
  max-width: 760px;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 28px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer */

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}

.footer__brand img {
  height: 36px;
  width: auto;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: #94a3b8;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: #64748b;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero__inner,
  .product-showcase,
  .integration {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .burger {
    display: flex;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .features-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .workflow__arrow {
    display: none;
  }

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

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

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

@media (max-width: 480px) {
  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .stats-banner__grid {
    grid-template-columns: 1fr;
  }
}
