:root {
  --bg: #071521;
  --bg-2: #0b2232;
  --panel: rgba(12, 27, 39, 0.86);
  --panel-2: rgba(8, 18, 28, 0.9);
  --ink: #f3f8fc;
  --muted: #9db2c3;
  --line: rgba(113, 184, 232, 0.18);
  --accent: #45d2ff;
  --accent-2: #7cf4cf;
  --danger: #ff6d6d;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(69, 210, 255, 0.16), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(124, 244, 207, 0.1), transparent 22%),
    linear-gradient(180deg, #041019 0%, #081826 40%, #071521 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 95%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 300;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: rgba(4, 12, 20, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a,
.footer-links a,
.contact-card a {
  color: var(--ink);
  text-decoration: none;
}

.main-nav a {
  font-size: 14px;
  color: var(--muted);
}

.main-nav a:hover,
.footer-links a:hover,
.contact-card a:hover {
  color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-label {
  font-size: 13px;
  color: var(--muted);
}

.lang-select {
  background: var(--panel-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.hero-section,
.section,
.trust-strip,
.site-footer {
  position: relative;
  z-index: 2;
}

.hero-section {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding: 56px 48px 44px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 25, 0.92) 0%, rgba(4, 16, 25, 0.82) 42%, rgba(4, 16, 25, 0.6) 100%),
    radial-gradient(circle at 78% 28%, rgba(69, 210, 255, 0.24), transparent 24%);
}

.hero-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.52);
  transform: scale(1.03);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 1.02;
  max-width: 12ch;
}

h2 {
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1.08;
  max-width: 16ch;
}

.hero-text,
.section-head p,
.product-body p,
.solution-card p,
.blog-card p,
.faq-list p,
.contact-card span,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 42em;
  margin-top: 22px;
  font-size: 18px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1a88ff);
  color: #031018;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
}

.hero-points {
  margin-top: 22px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.hero-points li {
  color: var(--muted);
  line-height: 1.6;
}

.hero-media {
  display: flex;
  justify-content: end;
}

.video-card,
.product-video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.video-card video,
.product-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  width: min(100%, 580px);
  aspect-ratio: 4 / 5;
}

.hero-video-shell {
  position: relative;
}

.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(124, 244, 207, 0.2);
  pointer-events: none;
}

.hero-video-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(124, 244, 207, 0.24);
  border-radius: 999px;
  background: rgba(3, 13, 21, 0.72);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 13px;
}

.hero-video-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7cf4cf;
  box-shadow: 0 0 18px rgba(124, 244, 207, 0.8);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 48px 32px;
}

.trust-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.8);
}

.trust-item strong {
  display: block;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}

.trust-item span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 54px 48px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.product-grid,
.solution-grid,
.blog-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.solution-grid,
.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.product-card,
.solution-card,
.blog-card,
.contact-card,
.faq-list details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.78);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.product-media-frame,
.product-video-card {
  position: relative;
}

.product-media-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(69, 210, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 16, 25, 0.78);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.product-body,
.solution-card,
.blog-card,
.contact-card {
  padding: 20px;
}

.product-sub {
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-body ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.product-actions {
  margin-top: 18px;
}

.spec-grid,
.step-grid {
  display: grid;
  gap: 18px;
}

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

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.78);
  box-shadow: var(--shadow);
  padding: 20px;
}

.spec-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(69, 210, 255, 0.16);
  color: var(--accent);
  font-weight: 700;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.78);
  box-shadow: var(--shadow);
  padding: 24px;
}

.cta-panel p {
  margin-bottom: 0;
}

.detail-grid,
.faq-mini {
  display: grid;
  gap: 18px;
}

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

.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.78);
  box-shadow: var(--shadow);
  padding: 22px;
}

.detail-card ul {
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-mini details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.78);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.faq-mini summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-mini p {
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.motion-section {
  padding-top: 16px;
}

.motion-head h2 {
  max-width: 18ch;
}

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

.blog-feature-head,
.blog-list-head {
  margin-bottom: 18px;
}

.blog-feature-head h3,
.blog-list-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.featured-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.featured-blog-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 24, 35, 0.78);
  box-shadow: var(--shadow);
}

.featured-blog-media {
  position: relative;
  min-height: 220px;
}

.featured-blog-media img,
.featured-blog-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.featured-blog-body {
  padding: 20px;
}

.featured-blog-topic {
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.blog-filter {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.blog-filter.is-active,
.blog-filter:hover {
  color: var(--ink);
  border-color: rgba(69, 210, 255, 0.38);
  background: rgba(69, 210, 255, 0.12);
}

.blog-card a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card a:hover {
  color: var(--accent);
}

.blog-card.is-hidden {
  display: none;
}

.motion-card {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 24, 35, 0.78);
  box-shadow: var(--shadow);
}

.motion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 13, 21, 0.08) 0%, rgba(3, 13, 21, 0.84) 100%);
  pointer-events: none;
}

.motion-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.motion-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.motion-copy strong {
  font-size: 18px;
}

.motion-copy span {
  color: var(--muted);
  line-height: 1.5;
}

.faq-list details {
  padding: 18px 20px;
}

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

.faq-list p {
  margin-top: 14px;
}

.contact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form {
  margin-top: 20px;
  padding: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-message {
  margin-bottom: 18px;
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 24, 35, 0.78);
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px 52px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #19d16f, #0ca85a);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.rtl {
  direction: rtl;
}

.rtl .brand,
.rtl .header-tools,
.rtl .hero-actions,
.rtl .footer-links {
  flex-direction: row-reverse;
}

.rtl .main-nav {
  direction: rtl;
}

.rtl .hero-points,
.rtl .product-body ul {
  padding-left: 0;
  padding-right: 18px;
}

.rtl .contact-form label,
.rtl .contact-form input,
.rtl .contact-form textarea {
  text-align: right;
}

@media (max-width: 1080px) {
  .hero-section,
  .product-grid,
  .solution-grid,
  .blog-grid,
  .contact-grid,
  .trust-strip,
  .motion-grid,
  .spec-grid,
  .step-grid,
  .detail-grid,
  .featured-blog-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    justify-content: start;
  }

  .video-card {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .motion-card,
  .motion-card video {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .hero-section,
  .section,
  .trust-strip,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 90px;
  }

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

  h1 {
    max-width: none;
  }

  .hero-video-badge,
  .product-media-chip {
    font-size: 11px;
  }

  .whatsapp-float {
    right: 14px;
    left: 14px;
    min-width: 0;
  }
}
