:root {
  --primary: #1a56db;
  --primary-dark: #12429f;
  --primary-tint: #e8effc;
  --ink: #0f172a;
  --ink-soft: #475569;
  --paper: #ffffff;
  --bg: #f6f8fc;
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(26, 86, 219, 0.35); }
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--primary-tint); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-link { padding: 8px 0; color: var(--primary); font-weight: 600; background: none; }
.btn-link:hover { text-decoration: underline; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 76px; width: 281px; object-fit: fill; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--primary);
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.2px; }
.brand-text small { font-size: 11px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a { font-weight: 600; font-size: 15px; padding: 9px 14px; border-radius: 999px; color: #cbd5e1; transition: background 0.15s ease, color 0.15s ease; }
.main-nav ul a { display: inline-flex; align-items: center; gap: 6px; }
.nav-icon { width: 16px; height: 16px; }
.main-nav ul a:hover, .main-nav ul a.is-active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, #eef3ff 0%, #f6f8fc 55%, #eaf5f1 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 72px 0 96px; }

.hero-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.12);
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-copy h1 span { color: var(--primary); }
.hero-copy p { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.screen-wrap { position: relative; }
.screen {
  position: relative;
  background: #0f172a;
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.screen-shot { border-radius: 12px; }
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.floating-chip {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.floating-chip strong { display: block; color: var(--ink); font-size: 15px; }
.chip-usd { top: -22px; right: -14px; }
.chip-ok { bottom: -20px; left: -14px; animation-delay: 2.4s; }
.chip-ok strong { color: #059669; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ---------- Stats ---------- */
.stats-strip { background: var(--ink); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; text-align: center; }
.stat strong { font-family: var(--font-display); font-size: 40px; display: block; color: #fff; }
.stat span { color: #cbd5e1; font-size: 14px; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tinted { background: var(--paper); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.5px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }

/* ---------- Module grid / cards ---------- */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.module-grid-lg { grid-template-columns: repeat(2, 1fr); }

.module-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--primary-tint); overflow: hidden; }
.module-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.35s ease; }
.module-card:hover .module-card-media img { transform: scale(1.05); }
.module-card-dot {
  position: absolute;
  bottom: 12px; left: 12px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.module-card-body { display: block; padding: 22px; }
.module-card-category { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.module-card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; }
.module-card p { color: var(--ink-soft); font-size: 14.5px; }
.module-card-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--primary); font-size: 14px; }
.module-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.module-facts em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- Products ---------- */
.products-section { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--primary-tint); overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.35s ease; }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.product-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.product-card-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.product-card h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.product-card p { color: var(--ink-soft); font-size: 14.5px; }
.product-card-bullets { display: grid; gap: 7px; margin: 4px 0 12px; }
.product-card-bullets li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.product-card-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 12.5 2.5 9l1.4-1.4L6 9.7l6.1-6.1L13.5 5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 12.5 2.5 9l1.4-1.4L6 9.7l6.1-6.1L13.5 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.product-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Distributors ---------- */
.distributors { background: var(--paper); }
.distributor-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.distributor-form { display: flex; gap: 12px; align-items: end; justify-content: center; flex-wrap: wrap; }
.distributor-form label { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: left; display: block; margin-bottom: 6px; }
select, input, textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15); }
.distributor-form select { width: 320px; }
.distributor-ok { display: block; margin-top: 14px; color: #059669; font-weight: 600; }

/* ---------- About ---------- */
.about { background: linear-gradient(135deg, #f6f8fc, #eef3ff); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photos { position: relative; min-height: 320px; }
.about-photos img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: absolute;
  width: 72%;
  border: 6px solid #fff;
}
.about-photos img:first-child { top: 0; left: 0; z-index: 2; }
.about-photos img:last-child { bottom: 0; right: 0; z-index: 1; }
.about-photo-chip {
  position: absolute;
  bottom: -14px; left: 6px; z-index: 3;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}
.about-copy h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; letter-spacing: -0.5px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.about-copy ul { margin: 18px 0 24px; display: grid; gap: 10px; }
.about-copy ul li { padding-left: 28px; position: relative; font-weight: 500; }
.about-copy ul li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 12.5 2.5 9l1.4-1.4L6 9.7l6.1-6.1L13.5 5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 12.5 2.5 9l1.4-1.4L6 9.7l6.1-6.1L13.5 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 60px 0; }
.newsletter-box { text-align: center; color: #fff; max-width: 640px; margin: 0 auto; }
.newsletter-box h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 10px; }
.newsletter-box p { opacity: 0.9; margin-bottom: 26px; }
.newsletter-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; }
.newsletter-form input { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.75); }
.newsletter-ok { display: block; margin-top: 14px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand small { color: #94a3b8; }
.footer-brand p { font-size: 14px; margin-bottom: 20px; max-width: 300px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: background 0.2s ease;
}
.social a:hover { background: var(--primary); }
.social svg { width: 18px; height: 18px; }

.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { line-height: 1.4; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: #94a3b8;
}

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(135deg, #eef3ff, #f6f8fc 60%, #eaf5f1); text-align: center; padding: 64px 0 56px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.8px; margin-bottom: 12px; }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* ---------- Module detail ---------- */
.module-hero { text-align: left; }
.module-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.module-hero-copy .hero-actions { justify-content: flex-start; }
.module-hero-facts { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.module-hero-facts span { font-size: 14px; color: var(--ink-soft); }
.module-hero-facts strong { display: block; font-size: 22px; color: var(--ink); font-family: var(--font-display); }
.module-hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

.feature-list { display: grid; gap: 70px; margin-bottom: 70px; }
.feature-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.feature-row-reverse .feature-shot { order: 2; }
.feature-row-reverse .feature-copy { order: 1; }
.feature-shot img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: 100%;
}
.feature-copy .feature-num { font-family: var(--font-display); font-size: 30px; color: var(--primary); font-weight: 700; }
.feature-copy h3 { font-family: var(--font-display); font-size: 25px; margin: 6px 0 10px; }
.feature-copy p { color: var(--ink-soft); font-size: 16px; }

.module-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
}
.module-cta h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 6px; }
.module-cta p { opacity: 0.92; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-info h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico { font-size: 22px; line-height: 1.4; }
.contact-list strong { display: block; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.6px; }
.contact-list a, .contact-list span { font-weight: 600; }
.contact-list a:hover { color: var(--primary); }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-form h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-ok { display: block; margin-top: 14px; color: #059669; font-weight: 700; text-align: center; }

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card span { font-size: 30px; }
.value-card h3 { font-family: var(--font-display); font-size: 19px; margin: 12px 0 8px; }
.value-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .about-inner, .module-hero-inner, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .feature-row-reverse .feature-shot { order: 0; }
  .feature-row-reverse .feature-copy { order: 0; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    gap: 14px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { display: block; text-align: center; }
  .nav-cta { margin: 6px 0 0; text-align: center; }

  .module-grid, .module-grid-lg, .product-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .module-cta { padding: 28px 22px; }
  .floating-chip { display: none; }
  .section { padding: 56px 0; }
}