:root {
  --front-blue: #183b83;
  --front-blue-dark: #10285a;
  --front-orange: #f4a21d;
  --front-red: #b7372f;
  --front-light: #f4f6fa;
  --front-text: #1f2937;
  --front-muted: #6b7280;
}

body {
  font-family: Arial, sans-serif;
  color: var(--front-text);
  background: #fff;
}

.front-topbar {
  background: var(--front-blue-dark);
  color: #fff;
  font-size: .9rem;
  padding: 8px 0;
}

.front-topbar a {
  color: #fff;
  text-decoration: none;
}

.front-navbar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.front-navbar .navbar-brand {
  color: var(--front-blue);
  font-weight: 800;
  font-size: 1.45rem;
}

.front-navbar .nav-link {
  font-weight: 600;
  color: #1f2937;
}

.front-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
}

.front-lang {
  color: var(--front-blue);
  font-weight: 800;
  text-decoration: none;
}

.front-btn-brand {
  background: var(--front-blue);
  border-color: var(--front-blue);
  color: #fff;
  font-weight: 700;
}

.front-btn-brand:hover,
.front-btn-brand:focus {
  background: var(--front-blue-dark);
  border-color: var(--front-blue-dark);
  color: #fff;
}

.front-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.front-hero-carousel,
.front-hero-carousel .carousel-inner,
.front-hero-carousel .carousel-item,
.front-hero-slide {
  height: 680px;
}

.front-hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.front-hero-panel {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  width: 52%;
  height: 100%;
  background: rgba(245, 247, 250, .78);
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  color: #1f2937;
  padding-left: max(30px, calc((100vw - 1140px) / 2));
  padding-right: 110px;
}

.front-hero h1 {
  color: var(--front-blue);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
}

.front-hero .lead {
  color: #4b5563;
  font-size: 1.25rem;
  max-width: 650px;
}

.front-hero .carousel-control-prev,
.front-hero .carousel-control-next {
  z-index: 10;
}

.front-section {
  padding: 80px 0;
}

.front-section-light {
  background: var(--front-light);
}

.front-section-dark {
  background:
    linear-gradient(rgba(16, 40, 90, .92), rgba(16, 40, 90, .92)),
    url("../images/plateformdark.avif");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.front-section-title {
  color: var(--front-blue);
  font-weight: 800;
}

.front-section-dark .front-section-title {
  color: #fff;
}

.front-subtitle {
  color: var(--front-muted);
  font-size: 1.1rem;
}

.front-picture-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  min-height: 260px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .14);
}

.front-picture-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .3s ease;
}

.front-picture-card:hover img {
  transform: scale(1.05);
}

.front-picture-title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(183, 55, 47, .92);
  color: #fff;
  padding: 18px 22px;
  font-size: 1.25rem;
  font-weight: 800;
}

.front-concern-card {
  background: #fff;
  padding: 28px;
  border-left: 5px solid var(--front-orange);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  height: 100%;
}

.front-concern-card i {
  color: var(--front-blue);
  font-size: 2.2rem;
  margin-right: 16px;
}

.front-round-service {
  text-align: center;
  color: #fff;
}

.front-round-service img {
  width: 185px;
  height: 185px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, .25);
  margin-bottom: 22px;
  background: #fff;
}

.front-round-service h5 {
  color: #fff;
  font-weight: 800;
}

.front-about-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .14);
}

.front-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.front-check-list li {
  margin-bottom: 16px;
  padding-left: 34px;
  position: relative;
  font-size: 1.05rem;
}

.front-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--front-orange);
  font-weight: 900;
  font-size: 1.25rem;
}

.front-step-card {
  text-align: center;
  padding: 30px 20px;
}

.front-step-icon {
  width: 88px;
  height: 88px;
  background: var(--front-orange);
  color: #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  margin-bottom: 22px;
}

.front-step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--front-blue);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.front-testimonial {
  background: var(--front-blue-dark);
  color: #fff;
  padding: 70px 0;
}

.front-testimonial-box {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.front-testimonial-box h3 {
  color: var(--front-orange);
  font-weight: 800;
}

.front-testimonial-box p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .9);
}

.front-footer {
  background: #111827;
  color: #d1d5db;
  padding: 55px 0;
}

.front-footer h5 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.front-footer a {
  color: #d1d5db;
  text-decoration: none;
}

.front-footer-bottom {
  background: #0b1120;
  color: #9ca3af;
  padding: 18px 0;
  font-size: .9rem;
}

.front-section,
.front-hero {
  scroll-margin-top: 60px;
}

@media (max-width: 991px) {
  .front-hero,
  .front-hero-carousel,
  .front-hero-carousel .carousel-inner,
  .front-hero-carousel .carousel-item,
  .front-hero-slide {
    min-height: 620px;
    height: 620px;
  }

  .front-hero-panel {
    width: 100%;
    clip-path: none;
    padding: 80px 30px;
    background: rgba(245, 247, 250, .72);
  }
}

@media (max-width: 575px) {
  .front-section {
    padding: 58px 0;
  }

  .front-hero-panel {
    padding: 60px 20px;
  }

  .front-hero h1 {
    font-size: 2.45rem;
  }
}

.workflow-page {
  width: 100%;
  background: #f4f7fb;
  color: #1f2937;
  line-height: 1.6;
}

.workflow-hero {
  background: linear-gradient(135deg, #0f172a, var(--front-blue));
  color: #fff;
  padding: 90px 20px;
  text-align: left;
  overflow: hidden;
}

.workflow-hero-content {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 36px;
}

.workflow-hero-text {
  position: relative;
  z-index: 2;
}

.workflow-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 22px;
}

.workflow-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 22px;
  font-weight: 800;
}

.workflow-hero p {
  font-size: 20px;
  max-width: 850px;
  margin: 0;
  color: #dbeafe;
}

.workflow-hero-screen {
  position: relative;
  z-index: 1;
  width: min(58vw, 700px);
  max-width: 100%;
  margin: -25px -30px -45px auto;
  display: block;
  object-fit: contain;
}

.workflow-section {
  padding: 70px 20px;
}

.workflow-section-title {
  text-align: center;
  margin-bottom: 45px;
}

.workflow-section-title h2 {
  font-size: 34px;
  margin: 0 0 12px;
  color: #111827;
  font-weight: 800;
}

.workflow-section-title p {
  max-width: 780px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 18px;
}

.workflow-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.workflow-comparison-card,
.workflow-step-card,
.workflow-feature-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

.workflow-comparison-card {
  padding: 32px;
}

.workflow-comparison-card h3 {
  margin-top: 0;
  font-size: 24px;
  font-weight: 800;
}

.workflow-old-way h3 {
  color: #991b1b;
}

.workflow-new-way h3 {
  color: #166534;
}

.workflow-comparison-card ul {
  padding-left: 22px;
  margin-bottom: 0;
}

.workflow-comparison-card li {
  margin-bottom: 12px;
}

.workflow-editor-preview {
  background: #0f172a;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .22);
  color: #fff;
}

.workflow-editor-grid {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 14px;
}

.workflow-editor-panel {
  background: #f8fafc;
  color: #1f2937;
  border-radius: 8px;
  padding: 18px;
  min-height: 330px;
}

.workflow-editor-panel h4 {
  margin-top: 0;
  color: var(--front-blue);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
}

.workflow-toc-item,
.workflow-meta-item {
  background: #e5e7eb;
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 9px;
  font-size: 14px;
}

.workflow-document-area {
  background: #fff;
  color: #111827;
  border-radius: 8px;
  padding: 24px;
  min-height: 330px;
}

.workflow-document-area h3 {
  margin-top: 0;
  color: #111827;
  font-weight: 800;
}

.workflow-doc-block {
  border-left: 5px solid #2563eb;
  background: #eff6ff;
  padding: 15px;
  border-radius: 8px;
  margin: 18px 0;
}

.workflow-band {
  background: linear-gradient(135deg, #eef2ff, #fff);
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.workflow-line-step {
  background: #fff;
  border-radius: 8px;
  padding: 24px 16px;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.workflow-line-step strong {
  display: block;
  color: var(--front-blue);
  margin-bottom: 8px;
  font-size: 18px;
}

.workflow-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workflow-feature-card {
  padding: 28px;
}

.workflow-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--front-blue);
  font-size: 26px;
  margin-bottom: 18px;
}

.workflow-feature-card h3,
.workflow-step-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.workflow-step-card {
  padding: 28px;
}

.workflow-step-number {
  width: 42px;
  height: 42px;
  background: var(--front-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.workflow-cta {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.workflow-cta h2 {
  font-size: 34px;
  margin: 0 0 16px;
  font-weight: 800;
}

.workflow-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #cbd5e1;
  font-size: 18px;
}

.workflow-cta-button {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
}

.workflow-cta-button:hover,
.workflow-cta-button:focus {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 950px) {
  .workflow-comparison,
  .workflow-steps,
  .workflow-features,
  .workflow-line,
  .workflow-editor-grid {
    grid-template-columns: 1fr;
  }

  .workflow-hero {
    padding: 70px 20px 0;
  }

  .workflow-hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .workflow-hero-screen {
    width: min(100%, 760px);
    margin: 0 auto -24px;
  }

  .workflow-hero h1 {
    font-size: 34px;
  }

  .workflow-hero p {
    font-size: 18px;
  }
}
