/* ------------------------------
   GLOBAL RESET + VARIABLES
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --panel-blue: #071533;
  --top-black: #000000;
  --card-bg: rgba(4, 10, 25, 0.92);
  --text-light: #ffffff;
  --text-dark: #111111;
  --text-muted: #cccccc;
  --accent: #2f7fff;
  --radius: 14px;
  --transition: 0.25s ease;
  --max-width: 1000px;
  --nav-height: 70px;
  --vr: 1.5rem; /* vertical rhythm unit */
    font-family: "Segoe UI", sans-serif;

}

/* ------------------------------
   BACKGROUND BEHIND PANEL
--------------------------------*/
body {
  background-color: #e6e7eb;
  background-image:
    linear-gradient(#e6e7eb 0%, rgba(230,231,235,0.0) 40%, rgba(230,231,235,0.0) 60%, #e6e7eb 100%),
    url("images/mazacam.png");
  background-repeat: no-repeat;
  background-position: center 360px;
  background-size: 420px auto;
  background-blend-mode: normal;
}

/* ------------------------------
   HERO VIDEO BAND
--------------------------------*/
.hero-video-band {
  width: 100%;
  background: var(--top-black);
  padding: 0 2rem;
  margin-bottom: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  padding: 3rem 2rem;
  align-items: center;
}

.hero-video {
  position: relative;
  height: 285px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-bullets li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 1.6rem;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
   NAVIGATION
--------------------------------*/
.nav {
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  background: var(--top-black);
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 40;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
}

.nav-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-links a {
  margin-left: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: black !important;
  border-radius: var(--radius);
}

/* ------------------------------
   LOGO BLOCK
--------------------------------*/
.logo-block {
  background: #e6e7eb;
  padding: 0;
  text-align: center;
}

.logo-block .logo-img {
  max-width: 560px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0.4rem auto;
}

/* ------------------------------
   CENTER PANEL
--------------------------------*/
.center-panel {
  max-width: var(--max-width); 1100px;
  margin: 4rem auto var(--vr);
  padding: 3rem;
  border-radius: var(--radius);
  background: var(--panel-blue);
  color: var(--text-light);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  position: relative;
  z-index: 5;
}

.center-panel,
.center-panel h1,
.center-panel h2,
.center-panel h3,
.center-panel p,
.center-panel li {
  color: #d8d9e0;
}

/* ------------------------------
   MODULES SECTION
--------------------------------*/
.modules-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.module-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: var(--radius);
  transition: var(--transition);
  color: #ffffff;
}

.module-card:hover {
  background: rgba(10, 20, 45, 0.95);
  transform: translateY(-4px);
}

.module-card p {
  color: #d0d0d0;
}

/* ------------------------------
   PRODUCT GRID
--------------------------------*/
.product-grid {
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

/* ------------------------------
   PRODUCT CARD (FIXED + UNIFIED)
--------------------------------*/
.product-card {
  display: block; /* IMPORTANT FIX */
  position: relative;
  background: var(--card-bg);
  padding: 1.5rem 1.5rem 2.5rem;
  border-radius: var(--radius);
  text-align: left;
  transition: var(--transition);
  color: #ffffff;
  margin-bottom: var(--vr);
}

.product-card:hover {
  background: rgba(10, 20, 45, 0.95);
  transform: translateY(-4px);
}

/* Horizontal divider */
.product-card:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 11;              /* anchor to the bottom */
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
}


/* Inner row: text left, image right */
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.product-text {
  flex: 1;
  text-align: left;
}

.product-image {
  flex: 0 0 auto;
}

.product-image img {
  width: 140px;
  height: auto;
  border: 2px solid #cfd1d5;
  border-radius: 10px;
  padding: 6px;
  background: #ffffff10;
}

.product-card p {
  color: #d0d0d0;
}

.product-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* ------------------------------
   CUSTOMER SUCCESS
--------------------------------*/
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.success-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: var(--radius);
  transition: var(--transition);
  color: #ffffff;
}

.success-card:hover {
  background: rgba(10, 20, 45, 0.95);
  transform: translateY(-4px);
}

.success-card p {
  color: #d0d0d0;
}
.success-footer {
  margin-top: var(--vr);
}

/* ------------------------------
   FOOTER
--------------------------------*/
.footer {
  background: #f5f5f7;
  text-align: center;
  padding: 2rem;
  color: #555;
}

/* ------------------------------
   VIDEO WRAPPER
--------------------------------*/
.video-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.video-wrapper video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.video-intro {
  margin-bottom: var(--vr);
}

/* ------------------------------
   MODULE FLEX LAYOUT
--------------------------------*/
.module-row,
.module-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 40px 0;
}

.module-text {
  flex: 1;
}

.module-image {
  flex: 1;
  text-align: center;
}

.module-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border: 1px solid #cfd1d5;
  border-radius: 10px;
}

.convert-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.convert-text {
  flex: 1;
}

.convert-image {
  flex: 0 0 300px;
  text-align: right;
}

.convert-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.product-img-large {
  width: 420px;
  height: auto;
}

.product-img-centered {
  width: 520px;
  height: auto;
  display: block;
  margin: 20px auto 1rem;
  border: 2px solid #cfd1d5;
  border-radius: 10px;
  padding: 6px;
  background: #ffffff10;
}

/* ------------------------------
   TWO IMAGE ROW
--------------------------------*/
.two-image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
}

.two-image-row .two-img {
  width: auto;
  height: 240px;
  border: 2px solid #cfd1d5;
  border-radius: 10px;
  padding: 6px;
  background: #ffffff10;
  display: block;
}
