:root {
  --bg: #0f1426;
  --bg-deep: #0b0e1a;
  --panel: #1a2138;
  --panel-soft: rgba(255, 255, 255, 0.045);
  --text: #f5f7fb;
  --muted: #b7c0d8;
  --line: rgba(255, 255, 255, 0.12);

  --cyan: #18c7d7;
  --blue: #2b83ff;
  --violet: #8957ff;
  --green: #72d65d;
  --pink: #d72c8b;
  --orange: #ffad1f;

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 26px;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Assistant", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(137, 87, 255, 0.20), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(24, 199, 215, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 58%, #0e1222);
  color: var(--text);
  line-height: 1.7;
}

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 20, 38, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
}

/* Logo - transparent version for dark site */
.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 78px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

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

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(24, 199, 215, 0.45);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(24, 199, 215, 0.08);
}

/* Hero */
.hero {
  padding: 88px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #9deeff;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 18px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(24, 199, 215, 0.22);
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  border-radius: var(--radius);
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-visual img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Problem */
.problem-list {
  display: grid;
  gap: 16px;
}

.problem-list p {
  margin: 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Services */
.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

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

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  min-height: 240px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
}

.card-num {
  display: block;
  margin-bottom: 38px;
  color: #8ee9ff;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.card h3 {
  font-size: 23px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* Example */
.example-box {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  padding: 44px;
  border-radius: 30px;
  border: 1px solid rgba(24, 199, 215, 0.22);
  background:
    radial-gradient(circle at 85% 20%, rgba(24, 199, 215, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

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

.example-text .strong {
  color: var(--text);
  font-weight: 800;
}

/* Audience */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-grid span {
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: var(--text);
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  padding: 28px;
  border-radius: 24px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-weight: 900;
  margin-bottom: 22px;
}

.step h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* Lead + Chatbot */
.lead-section {
  padding-bottom: 110px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.lead-grid p {
  color: var(--muted);
  font-size: 18px;
}

.chatbot {
  direction: rtl;
  overflow: hidden;
  border-radius: 26px;
  background: #f7f4ef;
  color: #151515;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.chat-header {
  min-height: 84px;
  padding: 20px 24px;
  border-bottom: 1px solid #ded8cf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.chat-header strong {
  display: block;
  font-size: 22px;
}

.chat-header span {
  color: #777777;
}

.online-dot {
  width: 12px;
  height: 12px;
  background: #70be6a;
  border-radius: 50%;
  display: block;
}

.chat-messages {
  height: 340px;
  overflow: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 16px;
  white-space: pre-wrap;
}

.bot {
  align-self: flex-start;
  background: #ebe6dd;
}

.user {
  align-self: flex-end;
  background: #111827;
  color: #ffffff;
}

.chat-options {
  border-top: 1px solid #ded8cf;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #ffffff;
}

.chat-options button,
.chat-options input,
.chat-options textarea {
  font: inherit;
  border-radius: 999px;
  border: 1px solid #d5cec4;
  background: #ffffff;
  padding: 12px 16px;
}

.chat-options textarea {
  border-radius: 18px;
  min-height: 88px;
  width: 100%;
  resize: vertical;
}

.chat-options input {
  width: 100%;
}

.chat-options button {
  cursor: pointer;
}

.chat-options .send {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
  background: #090c16;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    min-height: 74px;
  }

  .logo-card {
    width: 200px;
    height: 60px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 56px 0;
  }

  .hero-grid,
  .split,
  .example-box,
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

  .example-box {
    padding: 28px;
  }
}

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

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

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

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

  .chat-messages {
    height: 360px;
  }

  .footer-inner {
    display: block;
    text-align: center;
  }

  .footer-inner span {
    display: block;
    margin: 8px 0;
  }
}
