.hero-section .hero-content .main-btn + .main-btn {
  margin-left: 12px;
}

@media (max-width: 575px) {
  .hero-section .hero-content .main-btn + .main-btn {
    margin-left: 0;
    margin-top: 12px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5864ff;
  margin-bottom: 12px;
}

.hero-product-preview {
  display: block;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(30, 36, 51, 0.12);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-product-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(30, 36, 51, 0.16);
  color: inherit;
}

.hero-product-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4f6fb;
  border-bottom: 1px solid #e6eaf2;
  padding: 10px 14px;
}

.hero-product-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7dde8;
}

.hero-product-chrome span:nth-child(1) { background: #ff5f57; }
.hero-product-chrome span:nth-child(2) { background: #febc2e; }
.hero-product-chrome span:nth-child(3) { background: #28c840; }

.hero-product-url {
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: #5b657e;
}

.hero-product-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}

.hero-product-side {
  background: #fafbff;
  border-right: 1px solid #e6eaf2;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.hero-product-side strong {
  color: #1e2433;
  margin-bottom: 8px;
}

.hero-product-side span {
  color: #5b657e;
  padding: 6px 8px;
  border-radius: 6px;
}

.hero-product-side span.active {
  background: #eef0ff;
  color: #5864ff;
  font-weight: 700;
}

.hero-product-main {
  padding: 16px;
}

.hero-product-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.hero-product-stats div {
  background: #f4f6fb;
  border-radius: 10px;
  padding: 10px;
}

.hero-product-stats small {
  display: block;
  font-size: 11px;
  color: #8a94a6;
  margin-bottom: 4px;
}

.hero-product-stats b {
  font-size: 20px;
  color: #1e2433;
}

.hero-product-row {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f6;
  font-size: 13px;
}

.hero-product-row strong {
  color: #1e2433;
}

.hero-product-row em {
  font-style: normal;
  color: #5b657e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-product-row .tag {
  display: inline-block;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.hero-product-row .tag.ceo {
  background: #e8f7ef;
  color: #1b7a45;
}

.hero-product-row .tag.cfo {
  background: #eef0ff;
  color: #5864ff;
}

.hero-product-row .tag.expansion {
  background: #fff4e5;
  color: #b76a00;
}

.hero-product-cta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #5864ff;
}

@media (max-width: 991px) {
  .hero-product-preview {
    margin-top: 28px;
  }
}

@media (max-width: 700px) {
  .hero-product-body {
    grid-template-columns: 1fr;
  }

  .hero-product-side {
    border-right: 0;
    border-bottom: 1px solid #e6eaf2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-product-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Demo product + auth pages */

.demo-app {
  min-height: 100vh;
  background: #f4f6fb;
  color: #1e2433;
}

.demo-banner {
  background: #1e2433;
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

.demo-banner a {
  color: #aeb6ff;
  text-decoration: underline;
}

.demo-shell {
  display: flex;
  min-height: calc(100vh - 36px);
}

.demo-sidebar {
  width: 240px;
  background: #fff;
  border-right: 1px solid #e6eaf2;
  padding: 24px 16px;
  flex-shrink: 0;
}

.demo-sidebar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0 8px;
}

.demo-sidebar .brand img {
  height: 28px;
}

.demo-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.demo-nav button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  color: #5b657e;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-nav button:hover,
.demo-nav button.active {
  background: #eef0ff;
  color: #5864ff;
}

.demo-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-topbar {
  background: #fff;
  border-bottom: 1px solid #e6eaf2;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-topbar h1 {
  font-size: 20px;
  margin: 0;
  color: #1e2433;
}

.demo-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.demo-user .badge-demo {
  background: #eef0ff;
  color: #5864ff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.demo-content {
  padding: 28px;
}

.demo-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.demo-card {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  padding: 18px 20px;
}

.demo-card .label {
  font-size: 13px;
  color: #5b657e;
  margin-bottom: 8px;
}

.demo-card .value {
  font-size: 28px;
  font-weight: 700;
  color: #1e2433;
  line-height: 1.1;
}

.demo-panel {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.demo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.demo-panel-header h2 {
  font-size: 18px;
  margin: 0;
  color: #1e2433;
}

.demo-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-filters button,
.demo-toolbar button,
.auth-card .main-btn {
  cursor: pointer;
}

.demo-chip {
  border: 1px solid #d7dde8;
  background: #fff;
  color: #5b657e;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.demo-chip.active {
  background: #5864ff;
  border-color: #5864ff;
  color: #fff;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
}

.demo-table th,
.demo-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #eef1f6;
  font-size: 14px;
  vertical-align: top;
}

.demo-table th {
  color: #8a94a6;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-tag {
  display: inline-block;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}

.demo-tag.ceo {
  background: #e8f7ef;
  color: #1b7a45;
}

.demo-tag.cfo {
  background: #eef0ff;
  color: #5864ff;
}

.demo-tag.expansion {
  background: #fff4e5;
  color: #b76a00;
}

.demo-tag.mna {
  background: #fdecef;
  color: #b42318;
}

.demo-tag.funding {
  background: #e8f4ff;
  color: #175cd3;
}

.demo-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.demo-toolbar input,
.demo-toolbar select,
.auth-card input {
  border: 1px solid #d7dde8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1e2433;
  background: #fff;
}

.demo-toolbar input {
  min-width: 220px;
}

.demo-empty {
  text-align: center;
  padding: 40px 16px;
  color: #8a94a6;
}

.demo-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-setting {
  border: 1px solid #e6eaf2;
  border-radius: 10px;
  padding: 16px;
}

.demo-setting label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}

.demo-setting strong {
  display: block;
  color: #1e2433;
  margin-bottom: 4px;
}

.demo-setting span {
  font-size: 13px;
  color: #5b657e;
}

.demo-view {
  display: none;
}

.demo-view.active {
  display: block;
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #eef0ff 0%, #f7f8fc 45%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(30, 36, 51, 0.06);
}

.auth-card .logo {
  height: 32px;
  margin-bottom: 20px;
}

.auth-card h1 {
  font-size: 24px;
  color: #1e2433;
  margin-bottom: 8px;
}

.auth-card .subtitle {
  color: #5b657e;
  margin-bottom: 24px;
}

.auth-card .form-group {
  margin-bottom: 14px;
}

.auth-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e2433;
  margin-bottom: 6px;
}

.auth-card input {
  width: 100%;
}

.auth-card .main-btn {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.auth-card .meta {
  margin-top: 18px;
  font-size: 14px;
  text-align: center;
}

.auth-card .meta a {
  color: #5864ff;
  font-weight: 600;
}

.auth-note {
  margin-top: 16px;
  font-size: 12px;
  color: #8a94a6;
  text-align: center;
}

.team-section .team-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 28px 24px;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  background: #fff;
}

.team-section .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #5864ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}

.team-section h3 {
  color: #1e2433;
  margin-bottom: 4px;
}

.team-section .role {
  color: #5864ff;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-section .bio {
  color: #5b657e;
  margin-bottom: 16px;
}

.team-section .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5864ff;
  font-weight: 600;
}

.nav-cta {
  margin-left: 8px;
}

@media (max-width: 992px) {
  .demo-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-settings-grid {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .demo-shell {
    flex-direction: column;
  }

  .demo-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e6eaf2;
  }

  .demo-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .demo-nav button {
    white-space: nowrap;
    margin-bottom: 0;
  }

  .demo-content {
    padding: 18px;
  }

  .demo-cards {
    grid-template-columns: 1fr 1fr;
  }

  .demo-table-wrap {
    overflow-x: auto;
  }
}
