:root {
  --bg: #0b1119;
  --bg-soft: #131c29;
  --surface: #0f1f31;
  --text: #eff5ff;
  --muted: #a4b5cc;
  --primary: #26b7e6;
  --primary-dark: #1488b6;
  --line: #2a3f58;
  --success: #39d98a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: linear-gradient(180deg, #0d1622, var(--bg));
  color: var(--text);
  line-height: 1.55;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, #2f3f54, #223246);
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.top-bar a {
  color: #e8f8ff;
  font-weight: 700;
}

.hero {
  background: #ffffff;
  border-bottom: 1px solid #d9e1eb;
}

.nav-brand-bar {
  background: linear-gradient(180deg, #102438 0%, #102438 45%, #102438 100%);
  border-bottom: 1px solid #2a5f7a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-brand-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.35rem 0 1.45rem;
}

.brand-hero-logo img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.nav-toolbar {
  background: #ffffff;
  border-bottom: 1px solid #d9e1eb;
}

.nav-toolbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.7rem 0;
}

.nav-toolbar .nav-actions {
  justify-content: center;
}

.hero h1 {
  color: #102235;
  font-size: 30px;
}

.hero .overline {
  color: #2b648b;
}

.hero .hero-text {
  color: #566d86;
}

.hero .mini-note {
  color: #53718e;
}

.hero .btn-outline {
  border-color: #9db2c8;
  color: #1d3247;
}

.hero .btn-ghost {
  background: #e3edf6;
  color: #1c3146;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.hero-content {
  padding: 3.8rem 0 4.8rem;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1.3rem;
  align-items: start;
}

h1,
h2,
h3 {
  font-family: "Exo 2", sans-serif;
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.overline {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.hero-text,
.section-text {
  color: var(--muted);
  max-width: 65ch;
}

.mini-note {
  margin-top: 0.9rem;
  color: #8ac8df;
  font-size: 0.9rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 0.82rem 1.15rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #46caef, var(--primary-dark));
  color: #071923;
}

.btn-outline {
  border-color: #4f6684;
  color: var(--text);
}

.btn-ghost {
  background: #25364a;
  color: var(--text);
}

.section {
  padding: 4rem 0;
}

.legacy-cta-bar {
  background: linear-gradient(90deg, #2798aa, #2a7f95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.legacy-cta-content {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legacy-cta-content p {
  margin: 0;
  font-weight: 600;
  color: #ecf7fb;
}

.legacy-products {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.legacy-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.legacy-product-item {
  border: 1px solid #d5dfeb;
  border-radius: 0.75rem;
  padding: 0.8rem;
  background: #fdfefe;
}

.legacy-product-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.legacy-product-item p {
  margin: 0;
  color: #5a6f86;
  font-size: 0.86rem;
}

.section-dark {
  background: linear-gradient(180deg, #162131, #101a28);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-light {
  background: #f7f9fc;
  color: #1d2a3a;
}

.section-light h2,
.section-light h3 {
  color: #0f1e2f;
}

.section-light .section-text,
.section-light p,
.section-light li,
.section-light .mini-note {
  color: #4a5e75;
}

.section-light .overline {
  color: #2a6b94;
}

.section-light .btn-outline {
  border-color: #9db2c8;
  color: #1d3247;
}

.section-light .btn-ghost {
  background: #dfe9f3;
  color: #1c3146;
}

.section-light .check-list {
  color: #4a5e75;
}

.hero-panel {
  background: linear-gradient(180deg, #12263a, #101f31);
  border: 1px solid #2d567c;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  height: fit-content;
}

.hero-panel h3 {
  margin-bottom: 0.7rem;
}

.panel-list {
  margin: 0 0 1rem;
  padding-left: 1rem;
  color: #c4d5e9;
}

.panel-list li {
  margin: 0.42rem 0;
}

.trust {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.trust-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  background: #0f1e2e;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.9rem;
}

.trust-item strong {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 1.05rem;
}

.trust-item span {
  font-size: 0.92rem;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li {
  margin: 0.55rem 0;
}

.cards {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, #ffffff, #f2f6fb);
  border: 1px solid #d5dfeb;
  border-radius: 0.9rem;
  padding: 1.1rem;
  box-shadow: 0 8px 18px rgba(18, 34, 52, 0.08);
}

.card p {
  color: #51657c;
  margin-bottom: 0;
}

.section-dark .card h3 {
  color: #0f1e2f;
}

.video-section .section-text {
  margin-bottom: 0;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 1.25rem auto 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid #d5dfeb;
  background: #0d1117;
  box-shadow: 0 12px 28px rgba(18, 34, 52, 0.1);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-note {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.video-note a {
  color: #2a6b94;
  font-weight: 600;
}

.portfolio-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.portfolio-item {
  margin: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1b29;
  transition: 0.25s ease;
  cursor: zoom-in;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  border-color: #3876a6;
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.portfolio-item figcaption {
  padding: 0.55rem 0.65rem;
  color: #5a6f86;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  background: #f0f4f9;
  border-top: 1px solid #dce4ee;
}

.photo-copyright-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.35rem 0.4rem;
  font-size: 0.62rem;
  line-height: 1.25;
  text-align: center;
  color: #eef4fb;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 18, 28, 0.88) 55%
  );
  pointer-events: none;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial {
  background: linear-gradient(180deg, #ffffff, #f4f8fc);
  border: 1px solid #d5dfeb;
  border-radius: 0.9rem;
  padding: 1rem;
}

.testimonial p {
  margin-top: 0;
  color: #425a73;
}

.testimonial strong {
  color: #4d6f90;
  font-size: 0.9rem;
}

.partners {
  padding-top: 2.4rem;
}

.partner-list {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.partner-list span {
  border: 1px solid #ced8e5;
  background: #ffffff;
  color: #334a62;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.section-process {
  background: #0b1420;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legacy-showcase {
  background: linear-gradient(160deg, #102030, #132a40);
}

.legacy-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: center;
}

.legacy-showcase-copy p {
  color: #bfd0e3;
}

.legacy-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.legacy-mosaic-item {
  position: relative;
  border: 1px solid #426282;
  border-radius: 0.55rem;
  overflow: hidden;
  cursor: pointer;
  background: #0b1520;
}

.legacy-mosaic-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.faq-list details {
  background: #0f1d2c;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.7rem;
}

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

.faq-list p {
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
}

.step {
  background: #0f1e2f;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem;
}

.step span {
  display: inline-block;
  background: rgba(42, 200, 255, 0.15);
  color: #81ddff;
  border: 1px solid #2378a4;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.16rem 0.5rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-box {
  background: linear-gradient(180deg, #ffffff, #f2f6fb);
  border: 1px solid #d2deeb;
  border-radius: 0.9rem;
  padding: 1rem;
}

.full {
  width: 100%;
  text-align: center;
  margin-bottom: 0.6rem;
}

.site-link {
  color: #4f667f;
}

.footer {
  background: #f7f9fc;
  padding: 1.2rem 0;
  border-top: 1px solid #d4deea;
  color: #556c83;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: min(100%, 240px);
}

.footer-brand p {
  margin: 0;
}

.footer-logo {
  width: min(140px, 38vw);
  height: auto;
  border-radius: 0.35rem;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.footer-social a {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1d4a6e;
  text-decoration: none;
  border: 1px solid #c5d2e0;
  background: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  border-color: #2a6b94;
  color: #0f3d5c;
}

.tawk-open-chat {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  border: 1px solid #1e5d83;
  background: #0d1f31;
  color: #ecf5ff;
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.tawk-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3bd88a;
  box-shadow: 0 0 0 3px rgba(59, 216, 138, 0.2);
}

.tawk-open-chat.is-offline .tawk-status-dot {
  background: #f5b43a;
  box-shadow: 0 0 0 3px rgba(245, 180, 58, 0.2);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(2, 8, 14, 0.88);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: min(1100px, 95vw);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.8rem;
  border: 1px solid #3f6b92;
  background: #070c12;
}

.lightbox p {
  color: #dcecff;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid #497093;
  border-radius: 50%;
  background: #0c1a29;
  color: #d9ebff;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid #497093;
  border-radius: 50%;
  background: rgba(11, 24, 37, 0.9);
  color: #d9ebff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  border-color: #6ba6d6;
}

@media (max-width: 900px) {
  .hero-content,
  .legacy-product-grid,
  .legacy-showcase-grid,
  .trust-grid,
  .process-grid,
  .testimonials,
  .faq-wrap,
  .benefits,
  .contact,
  .cards {
    grid-template-columns: 1fr;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
  }

  .legacy-cta-content {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0;
  }

  .nav-actions {
    display: none;
  }

  .brand-hero-logo img {
    height: 58px;
  }

  .nav-brand-inner {
    padding: 1rem 0 1.1rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .tawk-open-chat {
    right: 12px;
    bottom: 12px;
    font-size: 0.85rem;
  }

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

  .footer-social {
    margin-left: 0;
    justify-content: flex-start;
    width: 100%;
  }
}
