:root {
  color-scheme: dark;
  --primary: #4f7cff;
  --primary-dark: #2c4bd9;
  --secondary: #0b1220;
  --accent: #f9b21d;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --bg: #0b1020;
  --card: #111827;
  --border: #1f2937;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(11, 16, 32, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 84px;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.brand-logo {
  width: auto;
  height: 96px;
  object-fit: contain;
  transform: none;
  transform-origin: left center;
  border-radius: 8px;
  background: transparent;
  margin-top: -6px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.brand h1 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.brand p {
  font-size: 12px;
  color: #e5e7eb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  flex-wrap: wrap;
  color: #ffffff;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text);
  cursor: pointer;
}

.btn {
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 26px rgba(79, 124, 255, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(79, 124, 255, 0.15);
  color: #c7d2fe;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: #e2e8f0;
}

.hero {
  padding: 80px 0 40px;
  background:
    linear-gradient(120deg, rgba(11, 16, 32, 0.6) 0%, rgba(11, 16, 32, 0.35) 100%),
    url("https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.2);
  color: #c7d2fe;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}

.hero-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content h2 span {
  color: var(--primary);
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-stats h3 {
  font-size: 24px;
}

.hero-stats p {
  font-size: 13px;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-illustration {
  width: 100%;
  border-radius: 18px;
  background: #0f172a;
  object-fit: cover;
  max-height: 240px;
  min-height: 200px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.progress {
  background: #1f2937;
  border-radius: 999px;
  overflow: hidden;
  height: 8px;
}

.progress-bar {
  background: var(--primary);
  height: 100%;
}

.card-body h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.card-list {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.card-list strong {
  color: var(--text);
  display: block;
  font-size: 15px;
}


.trusted {
  background: #0f172a;
  padding: 24px 0 36px;
}

.trusted p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 12px;
}

.logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 600;
  color: #cbd5f5;
}

section {
  padding: 70px 0;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.section-heading p {
  color: var(--muted);
  max-width: 420px;
}

.services {
  background: #0b1220;
}

.service-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-grid article,
.testimonial-grid article {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.review-list {
  margin-top: 24px;
}

.review-card {
  background: #0b1020;
  border: 1px solid var(--border);
  min-height: 0;
}

.review-card p {
  color: var(--text);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.review-name,
.testimonial-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(79, 124, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-avatar::before {
  content: "\2713";
  font-size: 14px;
  color: #c7d2fe;
}

.review-stars {
  color: #fbbf24;
  letter-spacing: 1px;
  font-size: 13px;
}

.review-form-card {
  margin-top: 28px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 12px;
}

.review-form-card h3 {
  margin-bottom: 4px;
}

.review-form-card p {
  color: var(--muted);
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.review-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.review-page-actions.is-hidden {
  display: none;
}

.review-note {
  font-size: 12px;
  color: var(--muted);
}

.review-success {
  margin-top: 8px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  padding: 12px;
  border-radius: 12px;
  color: #166534;
  font-size: 13px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: block;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  object-fit: contain;
}

.service-grid h3 {
  margin-bottom: 12px;
}

.service-grid p,
.testimonial-grid p {
  color: var(--muted);
}

.process {
  background: #0f172a;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step {
  background: #0b1020;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: grid;
  gap: 10px;
  min-height: 190px;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  object-fit: contain;
}

.step span {
  font-weight: 700;
  color: var(--primary);
}

.step h3 {
  margin: 12px 0 8px;
}

.testimonials {
  background: #0b1020;
}

.case-study {
  background: #0f172a;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.case-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
}

.case-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 8px;
}

.case-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.case-metrics {
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.case-metrics strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-top: 4px;
}

.resources {
  background: #0b1020;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.resource-grid article {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 12px;
}

.faq {
  background: #0f172a;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.faq-grid article {
  background: #0b1020;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  gap: 10px;
}

.cta {
  background:
    linear-gradient(120deg, rgba(13, 20, 40, 0.7) 0%, rgba(13, 20, 40, 0.35) 100%),
    url("https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.cta-info {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.cta-card {
  background: #fff;
  color: #0f172a;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cta-card h3 {
  margin-bottom: 8px;
}

.cta-card p {
  color: #475569;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
select,
textarea {
  border: 1px solid #cbd5f5;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  font-weight: 400;
}

.form-note {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

.form-success {
  margin-top: 16px;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  padding: 16px;
  border-radius: 12px;
}

.site-footer {
  background: #080c16;
  color: #cbd5f5;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a,
.site-footer span {
  color: #cbd5f5;
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
}

.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20;
}

.chatbot-toggle {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 20px rgba(31, 75, 255, 0.3);
  cursor: pointer;
}

.chatbot-window {
  width: 320px;
  background: #0f172a;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-top: 12px;
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  background: var(--secondary);
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.chatbot-messages {
  padding: 16px;
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  background: #0b1020;
}

.message {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.message.bot {
  background: #111827;
  color: #e5e7eb;
}

.message.user {
  background: var(--primary);
  color: #fff;
  justify-self: end;
}

.message.agent-options {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(17, 24, 39, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.agent-options-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.agent-options-actions .btn {
  padding: 6px 10px;
  font-size: 11px;
  flex: 1 1 120px;
  border-radius: 10px;
}

.chatbot-input {
  display: flex;
  border-top: 1px solid var(--border);
}

.chatbot-input input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  background: #0f172a;
  color: #e5e7eb;
}

.chatbot-input button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
}

.admin {
  padding: 40px 0 80px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.admin-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-table,
.chat-admin {
  display: grid;
  gap: 16px;
}

.chat-admin {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-row {
  background: #0b1020;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.admin-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 124, 255, 0.2);
  color: #c7d2fe;
  font-size: 12px;
  margin-bottom: 6px;
}

.admin-summary {
  color: var(--text);
  font-size: 14px;
}

.review-row .admin-summary {
  margin-top: 8px;
}

.review-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-empty {
  color: var(--muted);
}

.chat-row {
  background: #0b1020;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.chat-visitor {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: #0f172a;
  display: grid;
  gap: 12px;
}

.chat-visitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.chat-visitor-header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.chat-visitor-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
}

.chat-row span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.chat-row p {
  color: var(--text);
}

.chat-row small {
  color: var(--muted);
}

.admin-reply {
  display: flex;
  gap: 12px;
}

.inline-reply {
  margin-top: 10px;
}

.inline-reply-input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: #0f172a;
  color: #e5e7eb;
}

.admin-reply input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #0f172a;
  color: #e5e7eb;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    right: 4%;
    top: 70px;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    width: min(280px, 92vw);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 40px;
  }


  section {
    padding: 56px 0;
  }

  .cta-inner {
    gap: 20px;
  }

  .cta-card {
    padding: 20px;
  }

  .cta-info {
    margin-top: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .chatbot {
    right: 14px;
    left: 14px;
  }

  .chatbot-window {
    width: 100%;
  }
}
