:root {
  --ink: #13222b;
  --muted: #64737d;
  --line: #d9e1e5;
  --panel: #ffffff;
  --soft: #f5f8f7;
  --orange: #ff9147;
  --orange-dark: #df6d22;
  --teal: #0d5266;
  --green: #128c7e;
  --blue: #1b76d1;
  --dark: #0f2028;
  --cream: #fff8ee;
  --shadow: 0 20px 60px rgba(19, 34, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 176px;
  max-height: 54px;
  object-fit: contain;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #31444f;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--orange-dark);
}

.header-actions {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
}

.nav-cta,
.login-link,
.button,
.dash-top button,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta,
.button.primary,
.contact-form button {
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(255, 145, 71, 0.28);
}

.login-link {
  color: var(--teal);
  background: #edf7f5;
  border: 1px solid #cbe6e0;
  box-shadow: none;
}

.button.secondary {
  color: var(--teal);
  background: #e7f5f3;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 64px clamp(18px, 5vw, 76px) 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 145, 71, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f5fbfa 52%, #eef7f9 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 610px;
  color: #33454f;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 680px;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #25414a;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(19, 34, 43, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.api-orbit {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.api-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 44px;
  padding: 0 14px;
  color: #ffffff;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(19, 34, 43, 0.14);
}

.api-node.meta {
  background: var(--blue);
}

.api-node.cloud {
  background: var(--teal);
}

.api-node.bot {
  background: var(--orange);
}

.api-line {
  width: clamp(28px, 5vw, 72px);
  height: 2px;
  background: linear-gradient(90deg, rgba(13, 82, 102, 0.2), rgba(13, 82, 102, 0.7));
}

.phone-preview {
  width: min(390px, 94vw);
  min-height: 520px;
  padding: 18px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(15, 32, 40, 0.28);
}

.phone-top {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding-bottom: 14px;
  color: #ffffff;
}

.phone-top span {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
}

.phone-top strong,
.phone-top small {
  display: block;
}

.phone-top small {
  color: #82e1d5;
  font-weight: 800;
}

.bubble {
  width: fit-content;
  max-width: 86%;
  margin: 12px 0;
  padding: 13px 15px;
  border-radius: 16px;
  font-weight: 700;
}

.bubble.in {
  color: #d9e9ec;
  background: #213943;
}

.bubble.out {
  margin-left: auto;
  color: #ffffff;
  background: var(--green);
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  margin-top: 24px;
  padding: 8px 8px 8px 16px;
  color: #9ab1b8;
  background: #172d36;
  border-radius: 999px;
}

.composer button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 900;
}

.hero-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: min(260px, 52vw);
  display: grid;
  gap: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: var(--soft);
  border-radius: 8px;
}

.hero-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-panel strong {
  color: var(--teal);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 26px clamp(18px, 4vw, 56px);
  background: #ffffff;
}

.trust-band span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-band strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
}

.section,
.platform-section,
.contact-section {
  padding: 84px clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: #ffffff;
}

.quick-links a {
  min-height: 150px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(19, 34, 43, 0.05);
}

.quick-links a:hover {
  border-color: rgba(18, 140, 126, 0.45);
  transform: translateY(-2px);
}

.quick-links span,
.quick-links small {
  display: block;
}

.quick-links span {
  color: var(--orange-dark);
  font-weight: 900;
}

.quick-links strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 19px;
}

.quick-links small {
  color: var(--muted);
  line-height: 1.45;
}

.signup-flow {
  background: #f7faf9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flow-grid a {
  min-height: 178px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(19, 34, 43, 0.05);
}

.flow-grid span,
.flow-grid small {
  display: block;
}

.flow-grid span {
  color: #ffffff;
  background: var(--teal);
  width: 42px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.flow-grid strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 20px;
}

.flow-grid small {
  color: var(--muted);
}

.page-hero {
  padding: 92px clamp(18px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,251,250,0.96)),
    url("images/banner - mychatbot.pk.jpg") center/cover;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.page-hero p {
  max-width: 860px;
}

.page-hero p:not(.eyebrow) {
  color: #42535c;
  font-size: clamp(18px, 2vw, 22px);
}

.coexistence-hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.97), rgba(237,248,246,0.96)),
    url("images/banner - mychatbot.pk.jpg") center/cover;
}

.pricing-hero {
  background:
    linear-gradient(135deg, rgba(255,248,238,0.98), rgba(255,255,255,0.92)),
    url("images/banner - mychatbot.pk.jpg") center/cover;
}

.feature-card,
.price-card {
  min-height: 230px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(19, 34, 43, 0.06);
}

.feature-card p,
.price-card p,
.split p,
.contact-section p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--teal);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.feature-card:nth-child(2n) .icon {
  background: var(--orange);
}

.feature-card:nth-child(3n) .icon {
  background: var(--green);
}

.platform-section {
  background: linear-gradient(180deg, #f4fbfa 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 620px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: #112a34;
  color: #d7e6e8;
}

.dash-sidebar img {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  object-fit: contain;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
}

.dash-sidebar a {
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.dash-sidebar a.active,
.dash-sidebar a:hover {
  color: #ffffff;
  background: rgba(255,145,71,0.22);
}

.dash-main {
  min-width: 0;
  padding: 24px;
  background: #f7faf9;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.dash-top span,
.metric-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dash-top h3 {
  margin: 4px 0 0;
}

.dash-top button {
  color: #ffffff;
  background: var(--green);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-row div {
  min-height: 110px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-row strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.work-area {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
}

.conversation-list,
.chat-panel {
  min-height: 350px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat {
  width: 100%;
  min-height: 72px;
  margin-bottom: 10px;
  padding: 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.chat.active {
  border-color: var(--green);
  background: #ebf8f6;
}

.chat span,
.chat small {
  display: block;
}

.chat span {
  font-weight: 900;
}

.chat small {
  color: var(--muted);
}

.message {
  max-width: 78%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 8px;
}

.incoming {
  background: #edf1f4;
}

.outgoing {
  margin-left: auto;
  color: #ffffff;
  background: var(--green);
}

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

.checklist {
  display: grid;
  gap: 12px;
}

.checklist div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.checklist strong {
  color: #ffffff;
  background: var(--teal);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.pricing {
  background: var(--cream);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: 24px;
  align-items: stretch;
}

.package-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 980px;
}

.addon-layout {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.plan {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 16px 0;
  font-size: 44px;
}

.price-card small {
  font-size: 18px;
  color: var(--muted);
}

.price-card ul {
  padding-left: 20px;
  margin: 20px 0 24px;
}

.price-card li {
  margin: 8px 0;
}

.addons {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.addon-grid span {
  min-height: 54px;
  padding: 15px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  gap: 34px;
  background: #102630;
  color: #ffffff;
}

.contact-section p {
  color: #c6d6da;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #32434b;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer img {
  width: 160px;
  max-height: 56px;
  object-fit: contain;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-weight: 800;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 70px 20px;
}

.legal-page h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-page p,
.legal-page li {
  color: #50616a;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-header.open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
  }

  .site-header.open .header-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .site-header.open .main-nav a {
    padding: 12px;
    background: var(--soft);
    border-radius: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .trust-band,
  .feature-grid,
  .quick-links,
  .flow-grid,
  .split,
  .package-layout,
  .price-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .dash-sidebar img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin: 0 8px 0 0;
  }

  .dash-sidebar a {
    white-space: nowrap;
  }

  .metric-row,
  .work-area {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .brand img {
    width: 150px;
  }

  .metric-row,
  .work-area,
  .addon-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .site-header.open .header-actions {
    grid-template-columns: 1fr;
  }

  .section,
  .platform-section,
  .contact-section {
    padding: 58px 18px;
  }

  .dashboard-preview {
    min-height: auto;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-visual {
    min-height: auto;
    display: block;
  }

  .api-orbit,
  .hero-panel {
    position: static;
    margin: 0 0 16px;
  }

  .api-orbit {
    flex-wrap: wrap;
  }

  .api-line {
    display: none;
  }

  .phone-preview {
    width: 100%;
    min-height: auto;
  }

  .hero-panel {
    width: 100%;
    margin-top: 16px;
  }

  .dash-main {
    padding: 16px;
  }

  .dash-top {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }
}
