:root {
  --ink: #152033;
  --ink-2: #24364f;
  --muted: #657184;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --teal: #087f7a;
  --teal-dark: #075f5a;
  --blue: #2457a6;
  --amber: #c47a18;
  --red: #b42318;
  --green: #087443;
  --shadow: 0 18px 55px rgba(21, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans TC", Arial, sans-serif;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  margin: 0;
}

h3 {
  font-size: 22px;
  margin: 0;
}

p {
  line-height: 1.75;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 234, 0.9);
  display: flex;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(18px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 11px;
}

.brand__mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand__text {
  white-space: nowrap;
}

.brand__logo {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 26px);
}

.site-nav a,
.admin-nav a {
  color: #32445f;
  font-size: 15px;
  font-weight: 750;
}

.site-nav a.is-active,
.site-nav a:hover,
.admin-nav a.is-active,
.admin-nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px auto;
  width: 24px;
}

.btn,
button.btn {
  align-items: center;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

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

.btn--ghost {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(21, 32, 51, 0.18);
  color: var(--ink);
}

.btn--light {
  background: #fff;
  color: var(--teal-dark);
}

.text-link {
  color: var(--teal);
  font-weight: 850;
}

.hero {
  min-height: calc(100vh - 74px);
  overflow: hidden;
  position: relative;
}

.hero__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(244, 247, 250, 0.98) 0%, rgba(244, 247, 250, 0.9) 38%, rgba(244, 247, 250, 0.22) 78%);
  inset: 0;
  position: absolute;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 74px);
  padding: 70px clamp(20px, 7vw, 92px) 110px;
  position: relative;
  width: min(790px, 100%);
}

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

.hero__content p:not(.eyebrow),
.page-hero p,
.intro-grid p,
.rich-text p,
.geo-feature p,
.cta-band p {
  color: var(--muted);
  font-size: 18px;
}

.hero__content p:not(.eyebrow) {
  color: #344054;
  font-size: 20px;
  margin: 24px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  margin: 0 auto;
  padding: 82px clamp(18px, 5vw, 72px);
  width: min(1240px, 100%);
}

.intro-grid,
.two-col,
.contact-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-head a {
  color: var(--teal);
  font-weight: 850;
}

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

.service-card,
.service-row,
.feature-box,
.contact-card,
.form-panel,
.values article,
.admin-panel,
.lead-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(21, 32, 51, 0.06);
}

.service-card {
  min-height: 300px;
  padding: 24px;
}

.service-card__badge {
  align-items: center;
  background: #e8f4f2;
  border: 1px solid #c8e8e4;
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
  min-height: 28px;
  padding: 0 10px;
}

.service-card p,
.service-row p {
  color: var(--muted);
}

.service-card a {
  color: var(--teal);
  font-weight: 850;
}

.geo-feature {
  background: #142033;
  color: #fff;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  padding: 84px clamp(18px, 5vw, 72px);
}

.geo-feature > div {
  margin: 0 auto;
  max-width: 620px;
}

.geo-feature h2,
.cta-band h2 {
  color: #fff;
}

.geo-feature p {
  color: #ced7e3;
}

.geo-stack {
  display: grid;
  gap: 14px;
}

.geo-stack article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
}

.geo-stack strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.geo-stack span {
  color: #ced7e3;
}

.process-grid,
.values,
.geo-method {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article,
.geo-method article {
  border-top: 3px solid var(--teal);
  padding: 18px 0 0;
}

.process-grid span,
.geo-method span {
  color: var(--amber);
  font-weight: 900;
}

.process-grid p,
.geo-method p,
.values p {
  color: var(--muted);
}

.cta-band {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto 80px;
  padding: 46px clamp(18px, 5vw, 72px);
  width: min(1240px, calc(100% - 36px));
}

.page-hero {
  background: var(--soft);
  padding: 86px clamp(18px, 5vw, 72px);
}

.page-hero > * {
  max-width: 900px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-row {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  padding: 26px;
}

.service-row ul,
.feature-box ul,
.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-row li,
.feature-box li,
.check-list li {
  border-bottom: 1px solid var(--line);
  color: #344054;
  padding: 0 0 12px 24px;
  position: relative;
}

.service-row li::before,
.feature-box li::before,
.check-list li::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 7px;
  left: 4px;
  position: absolute;
  top: 10px;
  width: 7px;
}

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

.feature-box,
.contact-card {
  padding: 24px;
}

.geo-method {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card p {
  border-bottom: 1px solid var(--line);
  color: #344054;
  margin: 0;
  padding: 14px 0;
}

.form-panel {
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 122, 0.12);
}

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

.form-grid--three {
  grid-template-columns: minmax(0, 1fr) 140px 150px;
}

.content-admin-section + .content-admin-section {
  margin-top: 18px;
}

.admin-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hp {
  display: none;
}

.alert {
  border-radius: 7px;
  font-weight: 750;
  line-height: 1.5;
  padding: 13px 14px;
}

.alert--success {
  background: #eaf8f0;
  color: var(--green);
}

.alert--error {
  background: #fff0ee;
  color: var(--red);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.login-body,
.admin-body {
  background: var(--soft);
}

.login-shell,
.install-shell {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.7fr);
  margin: 0 auto;
  min-height: 100vh;
  padding: 36px clamp(18px, 5vw, 72px);
  width: min(1120px, 100%);
}

.install-shell {
  align-items: start;
  grid-template-columns: minmax(0, 0.68fr) minmax(460px, 1fr);
}

.admin-body {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  background: #111d2f;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 22px;
  position: sticky;
  top: 0;
}

.admin-brand .brand__mark {
  background: var(--teal);
}

.admin-nav {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.admin-nav a {
  border-radius: 7px;
  color: #d7dee8;
  padding: 12px 13px;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-user {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.admin-user a {
  color: #9be2dc;
  font-weight: 800;
}

.admin-main {
  padding: 32px clamp(18px, 4vw, 44px);
}

.admin-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-heading h1 {
  font-size: clamp(30px, 4vw, 48px);
}

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

.metric-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.metric-grid span {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.metric-grid strong {
  font-size: 32px;
}

.admin-panel,
.lead-item {
  padding: 18px;
}

.panel-title,
.lead-item__head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

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

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

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  background: #eef5f5;
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 9px;
}

.admin-list,
.admin-editor-grid {
  display: grid;
  gap: 16px;
}

.lead-item__head span,
.lead-item dd {
  color: var(--muted);
}

.lead-item__body dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lead-item dt {
  color: var(--muted);
  font-size: 12px;
}

.lead-item dd {
  margin: 4px 0 0;
}

.inline-admin-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  margin-top: 16px;
}

.editor-form {
  display: grid;
  gap: 14px;
}

.editor-form--new {
  border-color: #b7dcd8;
}

.check-label {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 46px;
}

.check-label input {
  width: auto;
}

@media (max-width: 1060px) {
  .service-grid,
  .process-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-feature,
  .service-row,
  .intro-grid,
  .two-col,
  .contact-layout,
  .login-shell,
  .install-shell {
    grid-template-columns: 1fr;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: auto;
    position: static;
  }

  .admin-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    padding-top: 14px;
    position: static;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 18px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .hero__content {
    min-height: 720px;
  }

  .hero__shade {
    background: rgba(244, 247, 250, 0.9);
  }

  .section-head,
  .cta-band,
  .site-footer,
  .panel-title,
  .lead-item__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .process-grid,
  .values,
  .geo-method,
  .metric-grid,
  .form-grid,
  .lead-item__body dl,
  .inline-admin-form,
  .admin-nav {
    grid-template-columns: 1fr;
  }
}

/* DGAI refinement pass: clearer banner, less monochrome green, backend-managed assets */
.site-header .brand__mark,
.site-footer .brand__mark {
  display: none;
}

.site-header .brand,
.site-footer .brand {
  gap: 12px;
}

.site-header .brand__logo,
.site-footer .brand__logo {
  border-radius: 12px;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.home-hero {
  background: linear-gradient(112deg, #fff7dc 0%, #fafbf5 34%, #edf6ee 70%, #f3f8fb 100%);
}

.home-hero__content {
  max-width: 720px;
}

.home-hero h1 {
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1.28;
  margin-bottom: 14px;
}

.home-hero h1 span {
  display: inline-block;
  white-space: nowrap;
}

.home-hero p:not(.eyebrow) {
  font-size: 22px;
  line-height: 1.72;
  max-width: 650px;
}

.solution-overview {
  background: #fff;
  padding: 88px 20px 78px;
}

.section-title p:not(.section-kicker) {
  color: #5b6676;
  font-size: 20px;
  line-height: 1.7;
  margin: 18px auto 0;
  max-width: 860px;
  text-align: center;
}

.solution-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px auto 0;
  max-width: 1180px;
}

.solution-grid article {
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(24, 45, 74, 0.07);
  min-height: 250px;
  padding: 28px;
}

.solution-grid span {
  color: #c47a18;
  display: block;
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 18px;
}

.solution-grid h3 {
  color: #1f2937;
  font-size: 25px;
  margin-bottom: 12px;
}

.solution-grid p {
  color: #5b6676;
  font-size: 18px;
}

.keyword-map-section {
  align-items: center;
  background: linear-gradient(115deg, #f8fafc, #fff8df);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  padding: 74px clamp(20px, 12vw, 420px);
}

.keyword-map-section h2 {
  color: #1f2937;
  font-size: clamp(30px, 3.5vw, 46px);
}

.keyword-map-section p:not(.section-kicker) {
  color: #5b6676;
  font-size: 20px;
  line-height: 1.75;
}

.keyword-map {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.keyword-map span {
  background: #fff;
  border: 1px solid #d7e4ec;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(24, 45, 74, 0.07);
  color: #1f2937;
  font-size: 18px;
  font-weight: 800;
  padding: 12px 18px;
}

.feature-tabs-section {
  background: #f8fafc;
}

.tab-buttons {
  background: #e4f1e7;
}

.scenario-section {
  background: #f0f5f7;
}

.news-section {
  background: linear-gradient(115deg, #fff7d7, #edf7ee 70%, #f7fbff);
}

.security-section {
  background: linear-gradient(125deg, #fbfcfd, #edf5f7);
}

.play-button {
  text-decoration: none;
}

/* Latest service expansion overrides */
.highlight-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.solution-grid,
.scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tab-buttons {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.tab-buttons button {
  font-size: 21px;
}

.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 760px) {
  .highlight-row,
  .solution-grid,
  .scenario-grid,
  .tab-buttons,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Latest service expansion overrides */
.highlight-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.solution-grid,
.scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tab-buttons {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.tab-buttons button {
  font-size: 21px;
}

.highlight-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.solution-grid,
.scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tab-buttons {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.tab-buttons button {
  font-size: 21px;
}

.pricing-showcase {
  background:
    linear-gradient(115deg, #fff7d6 0%, #fbfcf7 45%, #edf6ef 100%);
  padding: 78px 20px 72px;
  text-align: center;
}

.pricing-showcase__head {
  margin: 0 auto 22px;
  max-width: 760px;
}

.pricing-showcase__head .section-kicker {
  font-size: 18px;
  font-weight: 850;
}

.pricing-showcase h2 {
  color: #1f2937;
  font-size: clamp(30px, 3vw, 42px);
}

.pricing-card-main {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe9dc;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(28, 94, 61, 0.14);
  margin: 24px auto 34px;
  max-width: 390px;
  padding: 30px 28px;
}

.pricing-card-main__name {
  color: #258552;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 6px;
}

.pricing-card-main__caption {
  color: #677383;
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 18px;
}

.pricing-card-main strong {
  color: #20242b;
  display: block;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 950;
  line-height: 1;
  margin-bottom: 14px;
}

.pricing-card-main > p:not(.pricing-card-main__name) {
  color: #4d5967;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.pricing-card-main__divider {
  background: #2fa562;
  height: 1px;
  margin: 22px 0 18px;
  width: 100%;
}

.pricing-card-main ul {
  display: grid;
  gap: 11px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
}

.pricing-card-main li {
  color: #324055;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  padding-left: 22px;
  position: relative;
}

.pricing-card-main li::before {
  align-items: center;
  background: #20a35b;
  border-radius: 999px;
  color: #fff;
  content: "✓";
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  height: 15px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 2px;
  width: 15px;
}

.pricing-card-main .btn {
  justify-content: center;
  min-height: 38px;
  width: 100%;
}

.pricing-addons {
  margin: 0 auto;
  max-width: 680px;
  text-align: left;
}

.pricing-addons h3 {
  color: #16613e;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 12px;
}

.pricing-addons__list {
  display: grid;
  gap: 0;
}

.pricing-addons__list article {
  border-top: 1px solid rgba(37, 133, 82, 0.45);
  display: grid;
  gap: 10px;
  grid-template-columns: 160px 1fr;
  padding: 15px 0;
}

.pricing-addons__list article:last-child {
  border-bottom: 1px solid rgba(37, 133, 82, 0.45);
}

.pricing-addons__list strong {
  color: #17623f;
  font-size: 15px;
  font-weight: 900;
}

.pricing-addons__list p {
  color: #3f4a59;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ai-helper {
  bottom: 88px;
  position: fixed;
  right: 32px;
  z-index: 70;
}

.ai-helper__toggle {
  align-items: center;
  background: #135d3e;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(16, 89, 55, 0.28);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px 10px 12px;
}

.ai-helper__toggle span {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: #135d3e;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.ai-helper__toggle strong {
  font-size: 16px;
  font-weight: 900;
}

.ai-helper__panel {
  background: #fff;
  border: 1px solid #dbe5df;
  border-radius: 8px;
  bottom: 62px;
  box-shadow: 0 24px 60px rgba(16, 35, 28, 0.2);
  display: none;
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(380px, calc(100vw - 32px));
}

.ai-helper.is-open .ai-helper__panel {
  display: block;
}

.ai-helper__panel header {
  align-items: center;
  background: linear-gradient(105deg, #f7fbf7, #eef7f0);
  border-bottom: 1px solid #dbe5df;
  display: flex;
  justify-content: space-between;
  padding: 15px 16px;
}

.ai-helper__panel header strong {
  color: #183226;
  display: block;
  font-size: 17px;
}

.ai-helper__panel header span {
  color: #667382;
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.ai-helper__panel header button {
  background: transparent;
  border: 0;
  color: #52606f;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.ai-helper__messages {
  display: grid;
  gap: 10px;
  max-height: 230px;
  overflow-y: auto;
  padding: 16px;
}

.ai-msg {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.65;
  max-width: 88%;
  padding: 10px 12px;
}

.ai-msg--bot {
  background: #f2f6f4;
  color: #273545;
}

.ai-msg--user {
  background: #135d3e;
  color: #fff;
  justify-self: end;
}

.ai-helper__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.ai-helper__chips button {
  background: #fff;
  border: 1px solid #cfe0d4;
  border-radius: 999px;
  color: #17623f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.ai-helper__form {
  border-top: 1px solid #e5ece8;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  padding: 14px 16px;
}

.ai-helper__form input {
  border: 1px solid #d7e1dc;
  border-radius: 8px;
  color: #253142;
  min-width: 0;
  padding: 10px 12px;
}

.ai-helper__form button,
.ai-helper__line {
  background: #135d3e;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
}

.ai-helper__line {
  background: #06c755;
  display: block;
  margin: 0 16px 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .pricing-addons__list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pricing-showcase {
    padding: 56px 16px 62px;
  }

  .pricing-card-main {
    max-width: 100%;
    padding: 26px 20px;
  }

  .pricing-card-main ul {
    grid-template-columns: 1fr;
  }

  .ai-helper {
    bottom: 76px;
    right: 14px;
  }

  .ai-helper__toggle {
    min-height: 44px;
    padding-right: 14px;
  }

  .ai-helper__panel {
    bottom: 56px;
    right: 0;
  }
}

.setting-preview {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 14px;
}

.setting-preview span {
  color: var(--muted);
  font-weight: 800;
}

.setting-preview img {
  max-height: 64px;
  max-width: 180px;
}

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

  .keyword-map-section {
    grid-template-columns: 1fr;
    padding: 64px 24px;
  }
}

@media (max-width: 760px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

/* Bright DGAI product landing page */
:root {
  --mint: #dff5df;
  --mint-2: #effaf0;
  --lime: #75d66c;
  --forest: #0b643c;
  --forest-2: #15985b;
  --cream: #fff7d7;
  --yellow: #f6bf4a;
  --dark: #242424;
  --soft-shadow: 0 18px 48px rgba(26, 86, 55, 0.14);
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  min-height: 68px;
  padding-left: clamp(20px, 8vw, 230px);
  padding-right: clamp(20px, 8vw, 230px);
}

.brand__mark {
  background: linear-gradient(135deg, #10b64f, #0b7d3c);
  border: 3px solid #d9f7d4;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px #fff;
  font-weight: 950;
}

.site-nav {
  gap: 24px;
}

.site-nav a {
  color: #1e1e1e;
  font-size: 18px;
  position: relative;
}

.site-nav a.is-active::after {
  background: var(--dark);
  bottom: -21px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.nav-new {
  background: #ff2020;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 5px;
  position: absolute;
  right: -20px;
  top: -17px;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-left: 10px;
}

.site-nav .nav-login,
.site-nav .nav-cta {
  border-radius: 999px;
  min-width: 132px;
  padding: 10px 20px;
  text-align: center;
}

.site-nav .nav-login {
  border: 1px solid #4f8f70;
  color: var(--forest);
}

.site-nav .nav-cta {
  background: var(--forest);
  color: #fff;
}

.btn {
  border-radius: 999px;
}

.btn--primary {
  background: var(--forest);
}

.btn--primary:hover {
  background: #084f2f;
}

.btn--large {
  font-size: 20px;
  min-height: 58px;
  min-width: 178px;
}

.home-hero {
  background: linear-gradient(112deg, #fff4bf 0%, #f4f6cf 35%, #cff0c9 72%, #e7f6ec 100%);
  min-height: 890px;
  overflow: hidden;
  position: relative;
}

.home-hero::before,
.home-hero::after {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.home-hero::before {
  height: 360px;
  left: -90px;
  top: 360px;
  width: 560px;
}

.home-hero::after {
  height: 480px;
  right: 130px;
  top: 150px;
  width: 620px;
}

.home-hero__image {
  bottom: 38px;
  height: min(650px, 72vw);
  object-fit: contain;
  object-position: center right;
  position: absolute;
  right: clamp(0px, 5vw, 170px);
  width: min(980px, 58vw);
  z-index: 1;
}

.home-hero__content {
  left: clamp(22px, 15vw, 470px);
  max-width: 650px;
  position: absolute;
  top: 170px;
  z-index: 2;
}

.home-hero h1 {
  color: #252525;
  font-size: clamp(42px, 4.3vw, 68px);
  letter-spacing: 0;
  line-height: 1.18;
}

.home-hero h1 span {
  color: #20ad69;
}

.home-hero p:not(.eyebrow) {
  color: #3e3e3e;
  font-size: 24px;
  line-height: 1.55;
  margin: 24px 0 0;
}

.home-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  position: relative;
  z-index: 5;
}

.hero-floating {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  color: var(--forest-2);
  display: flex;
  font-weight: 950;
  justify-content: center;
  position: absolute;
  z-index: 3;
}

.hero-floating--check {
  font-size: 44px;
  height: 86px;
  right: 36%;
  top: 330px;
  width: 86px;
}

.hero-floating--stars {
  font-size: 22px;
  letter-spacing: 3px;
  padding: 14px 20px;
  right: 42%;
  top: 480px;
}

.hero-floating--chat {
  font-size: 24px;
  height: 70px;
  right: 16%;
  top: 405px;
  width: 70px;
}

.highlight-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -86px auto 0;
  max-width: 1120px;
  padding: 0 20px 74px;
  position: relative;
  z-index: 4;
}

.highlight-row article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(24, 71, 42, 0.12);
  min-height: 172px;
  padding: 26px 24px;
  text-align: center;
}

.highlight-row span {
  align-items: center;
  border: 2px solid #9edf94;
  border-radius: 999px;
  color: var(--forest);
  display: inline-flex;
  font-weight: 950;
  height: 52px;
  justify-content: center;
  margin-bottom: 16px;
  width: 52px;
}

.highlight-row strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.highlight-row p {
  color: #555;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.section-kicker {
  color: #3f9361;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px;
  text-align: center;
}

.feature-tabs-section {
  background: #fbfbfb;
  padding: 76px 20px 92px;
  text-align: center;
}

.feature-tabs-section h2,
.scenario-section h2,
.news-section h2,
.security-section h2,
.pricing-section h2 {
  color: #2d2d2d;
  font-size: clamp(34px, 4vw, 52px);
  text-align: center;
}

.check-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 36px auto 34px;
  max-width: 1180px;
}

.check-strip span {
  color: #303030;
  font-size: 22px;
  position: relative;
  white-space: nowrap;
}

.check-strip span::before {
  border: 2px solid #12b94b;
  border-radius: 999px;
  color: #12b94b;
  content: "✓";
  display: inline-flex;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  margin-right: 8px;
  width: 30px;
}

.tabs {
  margin: 0 auto;
  max-width: 1180px;
}

.tab-buttons {
  background: #c9f0d0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 54px;
}

.tab-buttons button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #151515;
  cursor: pointer;
  font-size: 24px;
  font-weight: 700;
  min-height: 72px;
}

.tab-buttons button.is-active {
  background: #13a257;
  color: #fff;
}

.tab-panel {
  align-items: center;
  display: none;
  gap: 70px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  text-align: left;
}

.tab-panel.is-active {
  display: grid;
}

.tab-visual {
  position: relative;
}

.tab-visual::before {
  background: linear-gradient(135deg, #a7ed83, #ffe48f);
  border-radius: 50%;
  content: "";
  height: 320px;
  left: 60px;
  position: absolute;
  top: 80px;
  width: 320px;
  z-index: 0;
}

.tab-visual img {
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.tab-copy span {
  border: 1px solid #3d8d64;
  border-radius: 999px;
  color: var(--forest);
  display: inline-flex;
  font-size: 22px;
  padding: 8px 28px;
}

.tab-copy h3 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  margin: 24px 0 14px;
}

.tab-copy p,
.tab-copy li {
  color: #444;
  font-size: 21px;
}

.tab-copy ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
}

.tab-copy li::before {
  color: #12a85a;
  content: "•";
  font-weight: 900;
  margin-right: 10px;
}

.scenario-section {
  background: #eef5f1;
  padding: 82px 20px;
}

.section-title {
  margin: 0 auto 34px;
  max-width: 900px;
}

.scenario-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.scenario-grid article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(20, 82, 48, 0.08);
  min-height: 260px;
  padding: 28px;
}

.scenario-grid span,
.pricing-grid span,
.news-grid span {
  color: var(--forest-2);
  font-weight: 900;
}

.scenario-grid h3 {
  font-size: 27px;
  margin: 18px 0 10px;
}

.scenario-grid p {
  color: #555;
  font-size: 18px;
}

.video-section {
  background:
    radial-gradient(circle at 10% 30%, rgba(128, 226, 174, 0.35), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(157, 236, 190, 0.45), transparent 28%),
    #fff;
  padding: 90px 20px;
}

.video-card {
  margin: 0 auto;
  max-width: 980px;
  position: relative;
}

.video-card img {
  border-radius: 4px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
  width: 100%;
}

.play-button {
  align-items: center;
  background: #f01414;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 42px;
  height: 92px;
  justify-content: center;
  left: 50%;
  padding-left: 8px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
}

.news-section {
  background: linear-gradient(115deg, #fff7c9, #e7f7df 70%, #f5fff6);
  padding: 82px 20px;
  text-align: center;
}

.news-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px auto 34px;
  max-width: 1120px;
}

.news-grid article {
  background: #fff;
  box-shadow: 0 14px 35px rgba(20, 82, 48, 0.1);
  text-align: left;
}

.news-thumb {
  align-items: center;
  background: linear-gradient(135deg, #e8f6ef, #9ee391);
  color: #12633d;
  display: flex;
  font-size: 44px;
  font-weight: 950;
  height: 190px;
  justify-content: center;
}

.news-grid article > div:last-child {
  padding: 24px;
}

.news-grid h3 {
  font-size: 24px;
  line-height: 1.35;
  margin: 10px 0;
}

.news-grid p {
  color: #555;
}

.security-section {
  background: linear-gradient(125deg, #f8fffa, #eaf7ee);
  padding: 86px 20px;
}

.security-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 50px auto 0;
  max-width: 1050px;
}

.security-grid article {
  padding: 10px 20px;
}

.security-grid strong {
  color: #4a4a4a;
  display: block;
  font-size: 31px;
  margin-bottom: 16px;
}

.security-grid p {
  color: #555;
  font-size: 20px;
}

.security-grid a {
  color: var(--forest);
  font-size: 19px;
  font-weight: 850;
}

.offer-band {
  align-items: center;
  background:
    linear-gradient(rgba(10, 31, 26, 0.56), rgba(10, 31, 26, 0.56)),
    url("../img/dgai-hero.png") center/cover;
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  min-height: 460px;
  padding: 80px clamp(24px, 12vw, 420px);
  text-align: center;
}

.offer-band h2 {
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
}

.offer-band p {
  color: #fff;
  font-size: 22px;
}

.pricing-section {
  background: #fff;
  padding: 86px 20px;
}

.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px auto 0;
  max-width: 1120px;
}

.pricing-grid article {
  border: 1px solid #d7e8d6;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(20, 82, 48, 0.08);
  padding: 28px;
}

.pricing-grid h3 {
  font-size: 34px;
  margin: 12px 0 20px;
}

.pricing-grid ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.pricing-grid li::before {
  color: #12a85a;
  content: "✓";
  font-weight: 950;
  margin-right: 8px;
}

.faq-section {
  background: #f8fafc;
  padding: 86px 20px;
}

.faq-section h2 {
  color: #2d2d2d;
  font-size: clamp(34px, 4vw, 52px);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 18px;
  margin: 38px auto 0;
  max-width: 980px;
}

.faq-list article {
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(24, 45, 74, 0.06);
  padding: 24px 28px;
}

.faq-list h3 {
  color: #1f2937;
  font-size: 23px;
  margin-bottom: 8px;
}

.faq-list p {
  color: #5b6676;
  font-size: 18px;
  margin: 0;
}

.floating-contact {
  background: #db2727;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 14px 30px rgba(210, 25, 25, 0.25);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  padding: 15px 30px;
  position: fixed;
  right: 32px;
  z-index: 50;
}

.site-footer {
  align-items: start;
  background: #f7f7f7;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr 2fr;
  padding: 56px clamp(24px, 12vw, 430px);
}

.footer-brand p {
  color: #414141;
  font-size: 20px;
}

.social-dots {
  display: flex;
  gap: 13px;
  margin-top: 26px;
}

.social-dots span {
  align-items: center;
  background: #9b9b9b;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

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

.footer-columns div {
  display: grid;
  gap: 12px;
}

.footer-columns strong {
  color: #5b5b5b;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-columns a {
  color: #616161;
  font-size: 18px;
}

.footer-meta {
  color: #6a6a6a;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 16px;
  }

  .home-hero__content {
    left: 48px;
  }

  .home-hero__image {
    opacity: 0.88;
    width: 62vw;
  }
}

@media (max-width: 900px) {
  .home-hero {
    min-height: 900px;
  }

  .home-hero__content {
    left: 24px;
    right: 24px;
    top: 92px;
  }

  .home-hero__image {
    bottom: 10px;
    height: auto;
    left: 6%;
    right: auto;
    width: 108%;
  }

  .highlight-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .tab-buttons,
  .scenario-grid,
  .news-grid,
  .pricing-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .tab-panel,
  .security-grid,
  .offer-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .offer-band {
    padding: 72px 24px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .site-nav a.is-active::after,
  .nav-new {
    display: none;
  }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
    width: 100%;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .home-hero p:not(.eyebrow),
  .check-strip span,
  .tab-copy p,
  .tab-copy li {
    font-size: 18px;
  }

  .home-hero__actions,
  .check-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .highlight-row {
    grid-template-columns: 1fr;
  }

  .hero-floating {
    display: none;
  }

  .floating-contact {
    bottom: 14px;
    font-size: 18px;
    right: 14px;
  }

  .home-hero h1 span {
    white-space: normal;
  }
}

/* Final DGAI visual overrides */
.site-header .brand__mark,
.site-footer .brand__mark {
  display: none;
}

.site-header .brand__logo,
.site-footer .brand__logo {
  border-radius: 12px;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.home-hero {
  background: linear-gradient(112deg, #fff7dc 0%, #fafbf5 34%, #edf6ee 70%, #f3f8fb 100%);
}

.home-hero__content {
  max-width: 720px;
}

.home-hero h1 {
  font-size: clamp(40px, 3.9vw, 62px);
  line-height: 1.28;
  margin-bottom: 14px;
}

.home-hero p:not(.eyebrow) {
  font-size: 22px;
  line-height: 1.72;
  max-width: 650px;
}

.feature-tabs-section {
  background: #f8fafc;
}

.tab-buttons {
  background: #e4f1e7;
}

.scenario-section {
  background: #f0f5f7;
}

.news-section {
  background: linear-gradient(115deg, #fff7d7, #edf7ee 70%, #f7fbff);
}

.security-section {
  background: linear-gradient(125deg, #fbfcfd, #edf5f7);
}

.play-button {
  text-decoration: none;
}
/* Latest service expansion overrides */
.highlight-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.solution-grid,
.scenario-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.tab-buttons {
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.tab-buttons button {
  font-size: 21px;
}
@media (max-width: 760px) {
  .highlight-row,
  .solution-grid,
  .scenario-grid,
  .tab-buttons {
    grid-template-columns: 1fr;
  }
}
.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 760px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .home-hero {
    overflow: hidden;
  }

  .home-hero__content {
    max-width: calc(100vw - 48px);
    width: calc(100vw - 48px);
  }

  .home-hero h1 {
    font-size: 35px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .home-hero h1 span {
    display: inline;
    white-space: normal;
    word-break: break-all;
  }

  .home-hero p:not(.eyebrow) {
    font-size: 19px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .home-hero__image {
    left: 0;
    max-width: 100vw;
    width: 100%;
  }

  .home-hero__actions {
    max-width: 100%;
    width: 100%;
  }

  .home-hero__actions .btn {
    justify-content: center;
    min-width: 0;
    width: 100%;
  }
}
