:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #475569;
  --line: #e5e7eb;
  --teal: #0f766e;
  --blue: #2563eb;
  --amber: #f59e0b;
  --green-soft: #dcfce7;
  --blue-soft: #dbeafe;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  isolation: isolate;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: url("logo-mark-v2.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  filter: drop-shadow(0 7px 12px rgba(15, 23, 42, 0.14));
  transition: transform 220ms ease, filter 220ms ease;
  animation: brandIntro 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand-text {
  color: #0f172a;
  font-weight: 850;
  transition: color 180ms ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
  opacity: 0;
}

.menu-button.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, 84vh);
  padding: 96px clamp(18px, 5vw, 72px) 88px;
  overflow: hidden;
  background: #eef7f5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.68);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

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

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

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions,
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
}

.button-secondary {
  background: var(--panel);
  color: var(--text);
  border-color: var(--line);
}

.trust-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.trust-list li {
  padding: 8px 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.scene-window {
  position: absolute;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.scene-window-a {
  right: 8%;
  top: 16%;
  width: 340px;
  padding: 18px;
}

.scene-window-b {
  right: 7%;
  bottom: 8%;
  width: 350px;
  padding: 18px;
}

.scene-window-c {
  right: 4%;
  bottom: 40%;
  width: 190px;
  padding: 16px;
}

.window-bar {
  width: 86px;
  height: 8px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--blue-soft);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.metric-row strong,
.scene-window strong {
  color: var(--text);
}

.progress-line {
  height: 10px;
  margin-top: 16px;
  border-radius: 8px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-line span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.compact {
  max-width: 720px;
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

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

.problem-band,
.pricing-band,
.faq-band {
  background: #fff;
}

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

.feature-card,
.solution-card,
.pricing-card,
.result-card,
.lead-form,
.process-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.feature-card,
.solution-card,
.pricing-card {
  padding: 22px;
}

.card-kicker,
.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3,
.solution-card h3,
.pricing-card h3 {
  font-size: 21px;
  line-height: 1.2;
}

.feature-card p,
.solution-card p,
.pricing-card p {
  color: var(--muted);
}

.solution-card a {
  color: var(--teal);
  font-weight: 800;
}

.demo-section {
  background: #f1f7ff;
}

.demo-shell {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button.active {
  background: #fff;
  color: var(--blue);
}

.demo-panel {
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  padding: 24px;
}

.demo-panel.active {
  display: grid;
}

.form-stack,
.calculator-grid,
.lead-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 108px;
  resize: vertical;
}

.result-card {
  min-height: 260px;
  padding: 22px;
}

.result-card h3 {
  margin-bottom: 10px;
}

.result-card p,
.result-card li {
  color: var(--muted);
}

.result-card ul {
  padding-left: 20px;
}

.calculator-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.savings-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.savings-metrics strong {
  display: block;
  padding: 16px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 28px;
}

.price {
  color: var(--amber);
  font-size: 30px;
  font-weight: 900;
}

.pricing-card.highlighted {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.14);
  animation: pricingGlow 4.8s ease-in-out infinite;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.process-list article {
  padding: 20px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.process-list p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-section {
  background: #eef7f5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.contact-layout h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

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

.contact-facts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-facts span {
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.lead-form {
  padding: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 38px clamp(18px, 5vw, 72px);
  background: #0f172a;
  color: #fff;
}

.site-footer a {
  color: #a7f3d0;
  font-weight: 800;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(94, 234, 212, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(147, 197, 253, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.7;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.38);
  outline-offset: 3px;
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.32), transparent 80%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.button:hover::after {
  transform: translateX(130%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--teal);
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #94a3b8;
}

.mobile-sticky-cta,
.scroll-top {
  position: fixed;
  z-index: 80;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
}

.mobile-sticky-cta {
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: none;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.scroll-top {
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.section-note {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
}

.trust-strip,
.case-grid,
.comparison-table-wrap,
.quiz-card,
.accordion-list,
.demo-history,
.copy-toolbar {
  max-width: 1180px;
  margin: 0 auto;
}

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

.trust-item,
.case-card,
.quiz-card,
.comparison-table-wrap,
.accordion-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.trust-item,
.case-card {
  padding: 20px;
}

.trust-item strong,
.case-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.trust-item span,
.case-card p {
  color: var(--muted);
}

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

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f8fafc;
  color: var(--text);
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table strong {
  color: var(--teal);
}

.quiz-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.quiz-options,
.faq-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-chip-row {
  margin-top: 18px;
}

.quiz-options button,
.faq-chip-row button,
.copy-button,
.history-clear {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
}

.quiz-options button,
.faq-chip-row button {
  padding: 9px 13px;
}

.quiz-options button.active,
.faq-chip-row button.active {
  border-color: var(--teal);
  background: var(--green-soft);
  color: var(--teal);
}

.quiz-result {
  padding: 16px;
  border-radius: 8px;
  background: #eef7f5;
  color: var(--text);
}

.accordion-list {
  display: grid;
  gap: 12px;
}

.accordion-list details {
  padding: 18px 20px;
}

.accordion-list summary {
  cursor: pointer;
  font-weight: 850;
}

.accordion-list p {
  color: var(--muted);
}

.copy-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.copy-button,
.history-clear {
  padding: 8px 12px;
}

.demo-history {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.history-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.history-item strong {
  color: var(--text);
}

.result-card.loading {
  position: relative;
  color: transparent;
  overflow: hidden;
}

.result-card.loading::before,
.result-card.loading::after {
  content: "";
  display: block;
  height: 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e5e7eb, #f8fafc, #e5e7eb);
  background-size: 220% 100%;
  animation: skeleton 1.1s ease-in-out infinite;
}

.result-card.loading::before {
  width: 70%;
}

.result-card.loading::after {
  width: 92%;
}

@keyframes skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.brief-steps {
  display: grid;
  gap: 18px;
}

.step-indicator {
  display: flex;
  gap: 8px;
}

.step-indicator span {
  flex: 1;
  height: 8px;
  border-radius: 8px;
  background: #e2e8f0;
}

.step-indicator span.active {
  background: var(--teal);
}

.brief-step {
  display: none;
  gap: 14px;
}

.brief-step.active {
  display: grid;
}

.form-error {
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 750;
}

.form-error.visible {
  display: block;
}

.success-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

@media print {
  .site-header,
  .portal-header,
  .dashboard-sidebar,
  .mobile-sticky-cta,
  .scroll-top,
  .hero-actions,
  .button,
  script {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .page-hero,
  .hero {
    padding: 24px 0;
    background: #fff !important;
  }
}

.main-nav a.active {
  color: var(--text);
}

.site-header.scrolled {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  padding: 96px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    #eef7f5;
  background-size: 58px 58px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.03;
}

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

.page-hero-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.comparison-mini,
.console-line {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.comparison-mini:last-child,
.console-line:last-child {
  border-bottom: 0;
}

.comparison-mini span,
.console-line {
  color: var(--muted);
}

.console-line span {
  color: var(--blue);
  font-weight: 900;
}

.price-large {
  margin: 8px 0 10px;
  color: var(--amber);
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 44px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}

.split-layout h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

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

.stacked-cards {
  display: grid;
  gap: 14px;
}

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

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

.process-list.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cta-band {
  background: #0f172a;
  color: #fff;
}

.cta-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.cta-inner p {
  color: #cbd5e1;
  font-size: 18px;
}

.cta-inner .eyebrow {
  color: #5eead4;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.billing-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: -18px auto 32px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.billing-toggle button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}

.billing-toggle button.active {
  background: var(--teal);
  color: #fff;
}

.quick-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.quick-choice-grid span,
.form-note {
  color: var(--muted);
}

.quick-choice-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.faq-hero .page-hero-panel {
  align-self: stretch;
  display: grid;
  align-content: center;
}

.faq-search-label {
  margin-top: 12px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.faq-count {
  margin: 10px 0 0;
  font-size: 14px;
}

.faq-page-section {
  background: #fff;
}

.faq-category {
  max-width: 960px;
  margin: 0 auto 42px;
}

.faq-category h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 34px);
}

.faq-page-list details {
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.faq-page-list details:hover {
  border-color: rgba(15, 118, 110, 0.32);
  transform: translateY(-1px);
}

.faq-page-list details[hidden] {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

.feature-card,
.solution-card,
.pricing-card,
.process-list article,
.page-hero-panel {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.solution-card:hover,
.pricing-card:hover,
.process-list article:hover,
.page-hero-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.scene-window-a {
  animation: floatPanel 6s ease-in-out infinite;
  animation-delay: -1.2s;
}

.scene-window-b {
  animation: floatPanel 7.5s ease-in-out infinite;
  animation-delay: -3.4s;
}

.scene-window-c {
  animation: floatPanel 5.6s ease-in-out infinite;
  animation-delay: -2.1s;
}

.progress-line span {
  transform-origin: left center;
  animation: progressGrow 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) both, progressPulse 2.6s ease-in-out 1.15s infinite;
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-11px) rotate(0.35deg);
  }
}

@keyframes progressPulse {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pricingGlow {
  0%,
  100% {
    box-shadow: 0 18px 46px rgba(15, 118, 110, 0.14);
  }
  50% {
    box-shadow: 0 22px 58px rgba(37, 99, 235, 0.18);
  }
}

main {
  animation: pageIn 420ms ease-out both;
}

.hero-scene,
.page-hero {
  animation: gridDrift 24s linear infinite;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-2deg) scale(1.04);
  filter: drop-shadow(0 10px 16px rgba(15, 118, 110, 0.22));
}

.brand:hover .brand-text {
  color: var(--teal);
}

.site-header.scrolled .brand-mark {
  transform: scale(0.96);
}

.main-nav a:not(.nav-cta) {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.faq-chip-row button,
.billing-toggle button,
.tab-button {
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.faq-chip-row button:hover,
.billing-toggle button:hover,
.tab-button:hover {
  transform: translateY(-1px);
}

.faq-chip-row button.active,
.billing-toggle button.active,
.tab-button.active {
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.13);
}

.faq-list details[open],
.accordion-list details[open] {
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.faq-list details[open] > p,
.accordion-list details[open] > p {
  animation: accordionIn 240ms ease-out both;
}

.feature-card,
.solution-card,
.pricing-card,
.trust-item,
.case-card,
.process-list article,
.page-hero-panel {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.solution-card::before,
.pricing-card::before,
.trust-item::before,
.case-card::before,
.process-list article::before,
.page-hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

@media (hover: hover) {
  .feature-card:hover::before,
  .solution-card:hover::before,
  .pricing-card:hover::before,
  .trust-item:hover::before,
  .case-card:hover::before,
  .process-list article:hover::before,
  .page-hero-panel:hover::before {
    transform: scaleX(1);
  }
}

@keyframes brandIntro {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.06) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 58px 58px;
  }
}

@keyframes progressGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes accordionIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.portal-body,
.dashboard-body {
  background: #f6f8fb;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(16px);
}

.portal-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 42px;
  align-items: center;
  min-height: 690px;
  padding: 88px clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 22%, rgba(37, 99, 235, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    #eef7f5;
  background-size: auto, 58px 58px, 58px 58px, auto;
}

.portal-hero-copy {
  max-width: 760px;
}

.portal-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
}

.portal-hero-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.portal-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.portal-status-row span,
.portal-status-row strong {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.portal-status-row strong {
  color: var(--teal);
}

.login-card {
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.login-card h2 {
  font-size: 32px;
}

.login-card p,
.login-links a {
  color: var(--muted);
}

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

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-weight: 750;
}

.portal-section {
  background: #fff;
}

.portal-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.portal-action {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portal-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.portal-action span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 950;
}

.portal-action p {
  color: var(--muted);
}

.portal-preview-band {
  background: #0f172a;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 240px 1fr;
  max-width: 980px;
  min-height: 360px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: #0b1220;
  color: #cbd5e1;
}

.preview-sidebar strong {
  color: #fff;
}

.preview-main {
  padding: 28px;
  background: #f8fafc;
}

.preview-topline,
.preview-cards {
  display: grid;
  gap: 14px;
}

.preview-topline {
  margin-bottom: 24px;
  color: var(--muted);
}

.preview-topline strong {
  color: var(--text);
  font-size: 28px;
}

.preview-cards {
  grid-template-columns: repeat(3, 1fr);
}

.preview-cards span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

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

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  align-content: start;
  gap: 26px;
  padding: 22px;
  background: #0f172a;
  color: #fff;
}

.dashboard-brand {
  color: #fff;
}

.dashboard-menu {
  display: grid;
  gap: 8px;
}

.dashboard-menu a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #cbd5e1;
  font-weight: 800;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-card p {
  color: #cbd5e1;
}

.dashboard-main {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.dashboard-topbar h1 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dashboard-grid,
.dashboard-columns,
.order-grid {
  display: grid;
  gap: 18px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.metric-card {
  padding: 20px;
}

.metric-card span,
.metric-card p {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin: 6px 0;
  color: var(--teal);
  font-size: 42px;
  line-height: 1;
}

.dashboard-panel {
  padding: 22px;
}

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

.panel-head h2 {
  margin: 0;
  font-size: 24px;
}

.service-table,
.invoice-list,
.domain-list,
.assistant-actions,
.ticket-form {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: 16px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.service-row p,
.invoice-list span,
.domain-list span {
  margin: 2px 0 0;
  color: var(--muted);
}

.service-row button,
.assistant-actions button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.status-dot.ok {
  background: #22c55e;
}

.status-dot.warn {
  background: var(--amber);
}

.invoice-list div,
.domain-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.assistant-card {
  background: #eef7f5;
}

.assistant-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistant-actions button {
  padding: 13px;
  text-align: left;
}

.ticket-form textarea {
  min-height: 120px;
}

.order-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.order-grid p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .scene-window-a,
  .scene-window-b,
  .scene-window-c {
    opacity: 0.28;
  }

  .feature-grid,
  .solution-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-panel,
  .contact-layout,
  .page-hero,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

  .service-matrix,
  .pricing-grid.three,
  .process-list.four,
  .portal-action-grid,
  .dashboard-grid,
  .dashboard-columns,
  .order-grid,
  .preview-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .dashboard-sidebar {
    position: relative;
    height: auto;
  }

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

  .dashboard-topbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    background: #f8fafc;
    backdrop-filter: none;
  }

  .brand-text {
    font-size: 15px;
  }

  .hero {
    min-height: 760px;
    padding-top: 78px;
    padding-bottom: 54px;
  }

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

  .button {
    text-align: center;
  }

  .trust-list li {
    width: 100%;
  }

  .scene-window {
    display: none;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .feature-grid,
  .solution-grid,
  .pricing-grid,
  .pricing-grid.three,
  .trust-strip,
  .case-grid,
  .process-list,
  .process-list.four,
  .calculator-grid,
  .savings-metrics,
  .service-matrix,
  .quick-choice-grid,
  .portal-action-grid,
  .dashboard-grid,
  .dashboard-columns,
  .order-grid,
  .preview-cards,
  .assistant-actions,
  .dashboard-menu {
    grid-template-columns: 1fr;
  }

  .portal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-nav {
    flex-wrap: wrap;
  }

  .portal-hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
    grid-template-columns: 1fr;
  }

  .login-links,
  .portal-status-row,
  .topbar-actions {
    flex-direction: column;
  }

  .dashboard-main {
    padding: 18px;
  }

  .service-row {
    grid-template-columns: 16px 1fr;
  }

  .service-row button,
  .service-row > span:not(.status-dot) {
    grid-column: 2;
  }

  .page-hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 56px;
  }

  .page-hero-panel {
    padding: 18px;
  }

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

  .tab-button {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 86px;
  }

  .mobile-sticky-cta {
    display: flex;
  }

  .scroll-top {
    bottom: 76px;
  }
}
