:root {
  --bg: #0f172a;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2f6da6;
  --primary-dark: #255780;
  --yellow: #f3c623;
  --blue: #1f4972;
  --pink: #f7d7df;
  --border: #dbe3ee;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
}

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

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

.section {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  margin: 0 0 12px;
}

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

.site-header {
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
}


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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.2px;
  font-size: 1.18rem;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.hero {
  background-image: url("./images/hero-analyse.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 106px;
  padding-bottom: 86px;
}

.no-wave-bottom {
  padding-bottom: 72px;
}

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

.hero-grid-single {
  grid-template-columns: 1fr;
}

.pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  line-height: 1.08;
  margin: 14px 0 14px;
  max-width: 12ch;
}

.hero p {
  max-width: 62ch;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-blue {
  background: var(--blue);
  color: #fff;
}

.section-yellow {
  background: var(--yellow);
}

.section-blue .split-content p,
.section-blue .split-content h3 {
  color: rgba(255, 255, 255, 0.92);
}

.section-yellow .split-content p {
  color: #2f2f2f;
}

.section-blue .split-media img,
.section-yellow .split-media img {
  border: 0;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

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

.blog-grid .card {
  padding: 14px;
}

.blog-grid .card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-grid .card h3 {
  font-size: 1.02rem;
  min-height: 52px;
}

.card h3 {
  margin: 0 0 8px;
}

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

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split-content h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
}

.split-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.66;
}

.split-content h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f8fbff;
  padding: 40px 0 22px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.brand-foot {
  margin: 0;
  font-weight: 800;
  font-size: 1.08rem;
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-col {
  display: grid;
  gap: 8px;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom small {
  color: var(--muted);
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

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

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}

.request-demo-dark .btn-ghost {
  border-color: rgba(255, 255, 255, 0.8);
}

.site-footer .btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  line-height: 0;
}

.wave-bottom {
  bottom: -1px;
}

.section-alt .wave path {
  fill: #ffffff;
}

.wave-to-yellow path {
  fill: var(--yellow);
}

.wave-to-blue path {
  fill: var(--blue);
}

.wave svg {
  width: 100%;
  height: 88px;
}

.request-demo {
  padding: 56px 0 28px;
}

.how-it-works-section {
  background: #ffffff;
}

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

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e9f2fb;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 10px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.request-demo-dark {
  background: transparent;
  color: inherit;
}

.request-demo-wrap-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(150deg, #1a436a, #2a5e90);
  color: #fff;
  border-radius: 18px;
  padding: 48px 30px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

.request-demo-wrap-col h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.request-demo-wrap-col p {
  margin: 0;
  line-height: 1.6;
}

.request-demo-wrap-col .btn {
  margin-top: 6px;
}

.request-demo-wrap-col .contact-form {
  width: min(760px, 100%);
  margin-top: 14px;
}

.request-demo-wrap-col .contact-form label {
  color: rgba(255, 255, 255, 0.92);
}

.request-demo-wrap-col .contact-form input,
.request-demo-wrap-col .contact-form select,
.request-demo-wrap-col .contact-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.98);
}

.request-demo-wrap-col .contact-form button {
  justify-self: start;
  background: #ffffff;
  color: #1f4972;
  border-color: #ffffff;
}

.request-demo-wrap-col .contact-form button:hover {
  background: #eef5fb;
}

.request-demo-wrap-col .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.overline {
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

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

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: #334155;
}

.contact-form label:nth-child(5),
.contact-form label:nth-child(6),
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47, 109, 166, 0.26);
  border-color: #8cb5d9;
}

.reveal {
  opacity: 0;
  transition: opacity 550ms ease, transform 550ms ease;
  will-change: opacity, transform;
}

.reveal.slide-up { transform: translateY(24px); }
.reveal.slide-left { transform: translateX(24px); }
.reveal.slide-right { transform: translateX(-24px); }
.reveal.fade-in { transform: none; }

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* About page */
.about-hero {
  background: #f8fbff;
  padding: 72px 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.about-hero-media img {
  width: 100%;
}

.about-hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  max-width: 14ch;
  color: var(--text);
}

.about-hero-content p {
  margin: 0;
  max-width: 64ch;
  line-height: 1.65;
  color: var(--muted);
}

.about-section {
  padding: 78px 0;
}

.about-detail-section {
  padding: 72px 0;
}

.about-detail-section.alt {
  background: #f8fbff;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.about-detail-grid h2 {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.about-detail-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.about-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1f4972;
  font-weight: 700;
}

.about-points {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.about-points li + li {
  margin-top: 6px;
}

.contact-page-hero {
  background: #f8fbff;
  padding: 70px 0 44px;
  border-bottom: 1px solid var(--border);
}

.contact-page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.contact-page-hero p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.65;
}

.contact-page-section {
  padding: 48px 0 76px;
}

.legal-hero {
  background: #f8fbff;
  padding: 70px 0 40px;
  border-bottom: 1px solid var(--border);
}

.legal-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 74ch;
  line-height: 1.65;
}

.legal-meta {
  margin-top: 10px !important;
  font-size: 0.92rem;
}

.legal-section {
  padding: 42px 0 76px;
}

.legal-content {
  max-width: 860px;
}

.legal-content article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.legal-content article + article {
  margin-top: 12px;
}

.legal-content h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.62;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 22px;
}

.contact-info-card h2,
.contact-form-card h2 {
  margin: 0 0 10px;
}

.contact-info-card > p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

.contact-info-list h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.contact-info-list a,
.contact-info-list p {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.55;
}

.contact-info-list a:hover {
  color: var(--text);
}

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

.general-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: #334155;
}

.general-contact-form .full-width,
.general-contact-form button {
  grid-column: 1 / -1;
}

.general-contact-form input,
.general-contact-form select,
.general-contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.general-contact-form input:focus,
.general-contact-form select:focus,
.general-contact-form textarea:focus {
  outline: 2px solid rgba(47, 109, 166, 0.26);
  border-color: #8cb5d9;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: start;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.about-card h2,
.about-card h3 {
  margin: 0 0 12px;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

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

.value-item {
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.value-item strong {
  display: block;
  margin-bottom: 4px;
  color: #1f4972;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-highlights {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlight-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.highlight-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.highlight-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.about-cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-summary {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

@media (max-width: 920px) {
  .hero-grid,
  .feature-split {
    grid-template-columns: 1fr;
  }

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

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

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid,
  .about-detail-grid,
  .about-hero-grid,
  .about-highlights,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 56px 0;
  }

  .general-contact-form {
    grid-template-columns: 1fr;
  }

}

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

  .request-demo-wrap-col {
    padding: 36px 20px;
    border-radius: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

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