:root {
  --ldx-black: #000000;
  --ldx-white: #FFFFFF;
  --ldx-text: #424242;
  --ldx-red: #FF3131;
  --ldx-peach: #FFBC7D;
  --ldx-light-bg: #F7F7F8;
  --ldx-border: #E8E8E9;
  --ldx-max-width: 1140px;
  --ldx-radius: 10px;
  --ldx-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --ldx-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ldx-text);
  background: var(--ldx-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Screen-reader-only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--ldx-red);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ldx-red);
  outline-offset: 2px;
}

/* Cursor for interactive elements */
a,
button,
.btn,
.card,
.card-link,
.logo,
.mobile-menu-btn {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--ldx-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ldx-white);
  border-bottom: 1px solid var(--ldx-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 140px;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ldx-black);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ldx-red);
}

.nav-cta {
  background: var(--ldx-black);
  color: var(--ldx-white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--ldx-red);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ldx-black);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--ldx-red);
  outline-offset: 2px;
}

/* Mega Menu */
.has-mega-menu {
  position: static;
}

.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ldx-black);
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mega-toggle:hover,
.mega-toggle:focus-visible,
.mega-toggle.active {
  color: var(--ldx-red);
}

.mega-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.has-mega-menu.open .mega-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ldx-white);
  border-bottom: 1px solid var(--ldx-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 99;
  padding: 32px 0;
}

.has-mega-menu.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mega-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--ldx-radius);
  background: var(--ldx-white);
  border: 1px solid var(--ldx-border);
  box-shadow: var(--ldx-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.mega-card:hover,
.mega-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--ldx-shadow-hover);
  border-color: var(--ldx-red);
  outline: none;
}

.mega-card:focus-visible {
  outline: 2px solid var(--ldx-red);
  outline-offset: 2px;
}

.mega-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--ldx-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ldx-red);
}

.mega-card.veri .mega-icon {
  color: #1a2b3c;
}

.mega-card.plus .mega-icon {
  color: #5B7A99;
}

.mega-card.safe .mega-icon {
  color: #c97a32;
}

.mega-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ldx-black);
  margin-bottom: 6px;
}

.mega-content p {
  font-size: 0.9rem;
  color: var(--ldx-text);
  line-height: 1.5;
  margin-bottom: 10px;
}

.mega-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ldx-red);
}

.mega-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ldx-border);
  text-align: center;
}

.mega-footer-link {
  font-weight: 500;
  color: var(--ldx-black);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.mega-footer-link:hover,
.mega-footer-link:focus-visible {
  color: var(--ldx-red);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ldx-black);
  color: var(--ldx-white);
}

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

.btn-accent {
  background: var(--ldx-red);
  color: var(--ldx-white);
}

.btn-accent:hover {
  background: #e62b2b;
}

.btn-outline {
  background: transparent;
  color: var(--ldx-black);
  border: 2px solid var(--ldx-black);
}

.btn-outline:hover {
  background: var(--ldx-black);
  color: var(--ldx-white);
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--ldx-white) 0%, var(--ldx-light-bg) 100%);
}

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

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ldx-black);
  margin-bottom: 20px;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--ldx-red);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  border-radius: var(--ldx-radius);
  box-shadow: var(--ldx-shadow);
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section-header {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ldx-red);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ldx-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

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

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

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

.card {
  background: var(--ldx-white);
  border-radius: var(--ldx-radius);
  box-shadow: var(--ldx-shadow);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ldx-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--ldx-red);
  flex-shrink: 0;
}

.product-card.veri .card-icon svg {
  color: #1a2b3c;
}

.product-card.plus .card-icon svg {
  color: #5B7A99;
}

.product-card.safe .card-icon svg {
  color: #c97a32;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ldx-black);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  font-weight: 500;
  color: var(--ldx-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  gap: 10px;
}

/* Product cards */
.product-card {
  border-top: 4px solid var(--ldx-red);
}

.product-card.veri {
  border-top-color: #1a2b3c;
}

.product-card.plus {
  border-top-color: #5B7A99;
}

.product-card.safe {
  border-top-color: var(--ldx-peach);
}

/* Feature lists */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ldx-red);
  font-weight: 700;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 32px;
  background: var(--ldx-white);
  border-radius: var(--ldx-radius);
  box-shadow: var(--ldx-shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 600;
  color: var(--ldx-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--ldx-text);
}

/* Client logos */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.logo-grid img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Country badge for flag replacement */
.country-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ldx-light-bg);
  color: var(--ldx-black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* CTA section */
.cta-section {
  background: var(--ldx-black);
  color: var(--ldx-white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .btn-outline {
  border-color: var(--ldx-white);
  color: var(--ldx-white);
}

.cta-section .btn-outline:hover {
  background: var(--ldx-white);
  color: var(--ldx-black);
}

/* Footer */
.site-footer {
  background: var(--ldx-black);
  color: var(--ldx-white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.75;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  opacity: 0.75;
  font-size: 0.95rem;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
  color: var(--ldx-red);
}

.footer-contact p {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Product page hero */
.product-hero {
  padding: 80px 0 60px;
  background: var(--ldx-light-bg);
}

.product-hero.mony {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--ldx-white);
}

.product-hero.veri {
  background: linear-gradient(135deg, #1a2b3c 0%, #2d4156 100%);
  color: var(--ldx-white);
}

.product-hero.plus {
  background: linear-gradient(135deg, #3d4f61 0%, #5B7A99 100%);
  color: var(--ldx-white);
}

.product-hero .section-label {
  color: var(--ldx-peach);
}

.product-hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 640px;
}

.product-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.product-stat {
  text-align: left;
}

.product-stat .number {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ldx-peach);
  line-height: 1;
}

.product-stat .label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* Content sections */
.content-section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ldx-black);
  margin-bottom: 20px;
}

.content-section p {
  margin-bottom: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.split-section {
  padding: 60px 0;
}

.split-section:nth-child(even) {
  background: var(--ldx-light-bg);
}

/* Case studies */
.case-card {
  background: var(--ldx-white);
  border-radius: var(--ldx-radius);
  overflow: hidden;
  box-shadow: var(--ldx-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.case-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 24px;
  background: var(--ldx-light-bg);
}

.case-card-content {
  padding: 24px;
}

.case-card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ldx-black);
  margin-bottom: 8px;
}

/* Contact form */
.contact-form {
  background: var(--ldx-white);
  border-radius: var(--ldx-radius);
  box-shadow: var(--ldx-shadow);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ldx-black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ldx-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ldx-text);
  background: var(--ldx-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ldx-red);
  box-shadow: 0 0 0 3px rgba(255, 49, 49, 0.15);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--ldx-text);
  background: var(--ldx-light-bg);
}

.breadcrumbs a:hover {
  color: var(--ldx-red);
}

.breadcrumbs span {
  color: var(--ldx-black);
  font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

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

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ldx-white);
    border-bottom: 1px solid var(--ldx-border);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: var(--ldx-shadow);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--ldx-border);
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.05rem;
  }

  .mega-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 1.05rem;
  }

  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 16px;
    display: none;
  }

  .has-mega-menu.open .mega-menu {
    display: block;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mega-card {
    padding: 16px;
  }

  .mega-icon {
    width: 44px;
    height: 44px;
  }

  .mega-icon svg {
    width: 22px;
    height: 22px;
  }

  .mega-footer {
    margin-top: 12px;
    padding-top: 12px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content .subtitle {
    font-size: 1.05rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .card-grid,
  .card-grid-2,
  .card-grid-4,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .product-hero h1 {
    font-size: 2rem;
  }

  .product-stats {
    gap: 24px;
  }

  .btn {
    width: 100%;
  }
}
