@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&display=swap");

:root {
  --blue: #1f4fd1;
  --blue-dark: #163a9a;
  --text: #0d1b2a;
  --muted: #5f6b7a;
  --bg: #ffffff;
  --soft: #eef1f6;
  --soft-2: #f6f8fb;
  --shadow: 0 10px 30px rgba(15, 36, 73, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Rajdhani", "Syne", sans-serif;
  color: var(--text);
  background: #f0f2f6;
  text-align: left;
  zoom: 1.25;
}

body.dark {
  --text: #e7ecf4;
  --muted: #a8b3c7;
  --bg: #0f1420;
  --soft: #1b2333;
  --soft-2: #1f2a3d;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  background: #0f1420;
}

body.dark .topbar,
body.dark .section-block,
body.dark .what-we-do,
body.dark .site-footer,
body.dark .contact {
  background: #141b28;
  border-color: #1f2a3d;
}

body.dark .card,
body.dark .service-card,
body.dark .about-card,
body.dark .carousel-frame,
body.dark .why-card {
  background: #0f1726;
  border-color: #223149;
  box-shadow: none;
}

body.dark .nav,
body.dark .section-title p,
body.dark .card p,
body.dark .about-card p,
body.dark .service-card p,
body.dark .footer-brand p,
body.dark .footer-links,
body.dark .footer-meta,
body.dark .ghost,
body.dark .chip-desc {
  color: var(--muted);
}

body.dark .chip-sub {
  color: #ffffff;
}

body.dark .theme-toggle {
  background: #4ea1ff;
  box-shadow: 0 14px 22px rgba(35, 120, 255, 0.35);
}

body.dark .theme-label {
  color: #dfe6f4;
}

body.dark .theme-toggle .toggle-thumb {
  transform: translateX(22px);
}

body.dark .ghost::after {
  background: #2a3a54;
}

body.dark .dots .dot {
  background: #2a3a54;
}

body.dark .dots .dot.active {
  background: #7aa2ff;
}

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

button {
  font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 79, 209, 0.4);
  outline-offset: 3px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 28px;
  margin: 24px auto 10px;
  width: min(1400px, calc(98vw * 0.8));
  background: #F8FAFC;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 36, 73, 0.08);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.theme-toggle {
  width: 48px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: #c7cdd7;
  position: relative;
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2),
    0 12px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 18px;
  color: var(--muted);
  justify-self: center;
  margin-left: 96px;
}

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

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

.cta {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 18px;
  font-family: "Rajdhani", "Syne", sans-serif;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(31, 79, 209, 0.35);
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(480px, 1.5fr);
  gap: 42px;
  align-items: start;
  padding: 30px 6vw 20px;
}

.hero-text {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.product-chip {
  display: flex;
  align-items: center;
  gap: 18px;
}

.chip-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  box-shadow: none;
}

.chip-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}

.chip-sub {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  color: #000;
}

.chip-desc {
  margin: 0;
  color: #000;
  font-size: 20px;
  font-weight: 600;
  max-width: 420px;
  line-height: 1.5;
  margin-top: 6px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 72px;
}

.primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 18px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(31, 79, 209, 0.35);
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost {
  background: none;
  border: none;
  color: #6b7483;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 6px;
  font-size: 20px;
  text-decoration: none;
}

.ghost::after {
  content: "";
  position: absolute;
  left: 0;
  right: 26px;
  bottom: 0;
  height: 2px;
  background: #cfd6e2;
  border-radius: 999px;
}

.hero-media {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: 100%;
}

.carousel {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
}

.carousel-frame {
  background: var(--soft-2);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.droplet-shot {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e1e6ef;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dbe6;
  border: none;
  padding: 0;
  cursor: pointer;
}

.dots .dot.active {
  background: var(--blue);
}

.what-we-do {
  margin-top: 12px;
  background: #E2E8F0;
  padding: 30px 6vw 50px;
  border-top: 2px solid #cfd6e4;
}

.section-title span {
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  font-family: "Rajdhani", "Syne", sans-serif;
}

.section-title h2 {
  margin: 6px 0 8px;
  font-size: 40px;
}

.section-title p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 620px;
  font-size: 22px;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 26px 30px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 10px 22px rgba(15, 36, 73, 0.18);
  text-align: center;
  min-height: 140px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0;
  font-size: 18px;
  color: #8b8f97;
}

.card.bottom {
  grid-column: 2;
}

.section-block {
  padding: 60px 6vw;
  background: #f5f7fb;
  border-top: 1px solid #d7dde7;
}

.service-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.service-card,
.about-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 18px rgba(15, 36, 73, 0.08);
}

.service-card h3,
.about-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-card p,
.about-card p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.why-section {
  background: #ffffff;
}

.why-hexzile {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.why-hexzile .eyebrow {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.why-hexzile h3 {
  margin: 10px 0 14px;
  font-size: 36px;
}

.why-copy,
.why-media {
  min-width: 0;
}

.why-copy {
  max-width: 560px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.why-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.why-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e6efff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-top: 4px;
}

.why-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
  grid-column: 2;
}

.why-list span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  max-width: 560px;
  grid-column: 2;
}

.why-media {
  display: grid;
  place-items: center;
}

.why-card {
  width: 100%;
  min-height: 220px;
  background: #eef3ff;
  border: 1px solid #b9cdfa;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #a9bfe8;
  font-size: 14px;
}


.contact {
  background: #eef2f8;
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #d5dbe6;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
}

.site-footer {
  background: #0b0f14;
  border-top: 1px solid #0b0f14;
  padding: 40px 6vw;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0;
  color: #aeb6c5;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #c9d1e1;
  font-size: 16px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  display: grid;
  gap: 6px;
  color: #c9d1e1;
  font-size: 15px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    zoom: 1;
  }

  .topbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: calc(100% - 24px);
    margin: 16px 12px 10px;
  }

  .topbar-actions {
    width: 100%;
  }

  .theme-switch {
    width: 100%;
    justify-content: space-between;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 6vw 10px;
  }

  .hero-text {
    margin-top: 0;
  }

  .chip-logo {
    height: 72px;
  }

  .chip-sub {
    font-size: 26px;
  }

  .chip-desc {
    font-size: 18px;
  }

  .actions {
    width: 100%;
  }

  .primary,
  .ghost {
    width: 100%;
    justify-content: center;
  }

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

  .chevron {
    display: none;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title p {
    font-size: 18px;
  }

  .what-we-do,
  .section-block {
    padding: 40px 6vw;
  }

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

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

  .card.bottom {
    grid-column: auto;
  }

  .why-hexzile {
    grid-template-columns: 1fr;
  }
}
