:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --darker: #020617;
  --accent: #f97316;
  --gray: #f8fafc;
  --line: #e5e7eb;
  --muted: #64748b;
  --text: #1f2937;
  --white: #ffffff;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --shadow-dropdown: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.top-strip {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-strip .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.top-strip a {
  text-decoration: none;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.brand strong {
  color: var(--dark);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand > span:not(.brand-row) {
  margin-left: 44px;
  color: #6b7280;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #374151;
  font-size: 0.91rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--primary);
}

.nav-menu {
  position: relative;
}

.nav-menu > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1.6rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.nav-menu-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  transform: scale(0.97);
  transform-origin: top left;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-menu:hover .nav-menu-content,
.nav-menu:focus-within .nav-menu-content {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.nav-menu-content a {
  display: block;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  font-size: 0.88rem;
}

.nav-menu-content a:last-child {
  border-bottom: 0;
}

.hero-bg {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.84) 52%, rgba(2, 6, 23, 0.58) 100%), url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80");
  background-size: cover;
  background-position: center;
}

.circle-mask {
  clip-path: circle(50% at 50% 50%);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.play-btn-pulse {
  animation: pulse-ring 2s infinite;
}

.trapezoid-top {
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
}

.trapezoid-bottom {
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.partner-bg {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.overlap-cards {
  transform: translateY(50%);
}

.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(130% + 1.3px);
  height: 80px;
}

.custom-shape-divider-bottom .shape-fill {
  fill: var(--darker);
}

.hero-content {
  max-width: 780px;
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-bg .eyebrow {
  color: #93c5fd;
}

h1,
h2,
h3,
h4 {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.hero-bg h1 {
  margin: 0 0 1.4rem;
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.12;
  font-weight: 900;
}

.text-primary {
  color: var(--primary);
}

.lead {
  max-width: 720px;
  margin: 0 0 2rem;
  color: #d1d5db;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  font-weight: 650;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.28);
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  color: var(--dark);
  background: var(--white);
  border-color: var(--line);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section.alt {
  background: var(--gray);
}

.section.dark {
  color: var(--white);
  background: var(--dark);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section.dark .card h3 {
  color: var(--dark);
}

.section.dark .card p {
  color: var(--muted);
}

.section-head {
  max-width: 830px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.7;
}

.section.dark .section-head p {
  color: #cbd5e1;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.48);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.62;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.85;
}

.tag {
  width: fit-content;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 1.1rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.24);
}

.feature p {
  margin: 0;
  color: #4b5563;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.7;
}

.visual-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--dark-light);
  box-shadow: 0 24px 50px rgba(2, 6, 23, 0.22);
}

.visual-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: 0.88;
}

.product-hero {
  padding: clamp(4rem, 8vw, 6rem) 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--darker), var(--dark) 55%, #1d4ed8);
}

.product-hero h1 {
  max-width: 780px;
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 900;
}

.product-hero .lead {
  color: #dbeafe;
}

.content-page {
  background: var(--gray);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.content-wrap {
  max-width: 940px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.content-wrap h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 900;
}

.content-wrap h2 {
  margin: 2rem 0 0.6rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.content-wrap p,
.content-wrap li {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.75;
}

.content-wrap ul {
  padding-left: 1.2rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-table th,
.info-table td {
  padding: 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 34%;
  color: var(--dark);
  background: var(--gray);
  font-family: Montserrat, Arial, sans-serif;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
}

.form-card {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: var(--white);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.footer {
  padding: 3.5rem 0 1.4rem;
  color: #cbd5e1;
  background: var(--darker);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  margin: 0 0 1rem;
  color: #e5e7eb;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.7;
}

.footer a {
  display: block;
  text-decoration: none;
  margin: 0.45rem 0;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
}

.footer-bottom a {
  display: inline;
  margin-left: 1rem;
  font-size: 0.75rem;
}

@media (max-width: 980px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .nav-menu > button {
    padding: 0;
  }

  .nav-menu-content {
    position: static;
    display: none;
    margin-top: 0.65rem;
  }

  .nav-menu:hover .nav-menu-content,
  .nav-menu:focus-within .nav-menu-content {
    display: block;
  }

  .grid.four,
  .grid.three,
  .grid.two,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-strip {
    display: none;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .hero-bg {
    min-height: auto;
  }

  .button {
    width: 100%;
  }
}
