:root {
  --brand: #0ea5e9;
  --brand-2: #0284c7;
  --txt: #0f172a;
  --muted: #64748b;
  --bg: #f7fbff;
  --footer: #0b1220;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt)
}

img {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

.container {
  width: min(1200px, 92vw);
  margin: auto
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #041d31, #0a4d6e)
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,29,49,.6), rgba(6,61,92,.25));
  z-index: -1
}

.hero-inner {
  padding: 0;
  color: #fff;
  text-align: left
}

.pill {
  display: inline-flex;
  justify-content: center; /* fix */
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 12px
}

.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

.hero .lead {
  color: #e6f6ff;
  max-width: 780px;
  margin-bottom: 16px
}

.hero-actions {
  display: flex;
  gap: 10px
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  flex-wrap: wrap
}

.hero-stats div {
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .32);
  padding: 10px 14px;
  border-radius: 12px;
  color: #0b3045;
}

.hero-stats strong {
  display: block;
  font-size: 22px;
  color: #0b3045
}

.hero-stats span {
  font-size: 14px;
  color: #094063
}

/* Sections */
.section {
  padding: 10px 0
}

.section-title {
  font-size: 28px;
  margin-bottom: 16px;
  color: #0b3045
}

.lead {
  color: var(--brand-2)
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: all .45s
}

.appear {
  opacity: 1;
  transform: none
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, .08)
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e0f3ff, #f0fbff);
  display: grid;
  place-items: center;
  color: var(--brand-2);
  margin-bottom: 10px
}

.card h3 {
  margin-bottom: 6px
}

/* Use cases */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px
}

@media (max-width:900px) {
  .grid-2 {
    grid-template-columns: 1fr
  }
}

.checklist {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px
}

.checklist li {
  list-style: none;
  position: relative;
  padding-left: 24px
}

.checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #16a34a;
  position: absolute;
  left: 0
}

/* Image helpers */
.img-box {
  position: relative;
  background: linear-gradient(135deg, #e6f7fd, #dff5fb);
  border: 1px solid #c9eaf7;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-box:hover img {
  transform: scale(1.15);
}

.img-box.no-img {
  background: linear-gradient(135deg, #e6f7fd, #ffffff);
  cursor: default;
}

.ratio-4x3 {
  aspect-ratio: 4/3
}

.ratio-16x9 {
  aspect-ratio: 16/9
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px
}

.gallery figure {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 132, 199, .08)
}

.gallery figcaption {
  padding: 10px 12px;
  color: #0b3045;
  font-weight: 600;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  background: #fff;
}

/* SPEC TABLE */
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border)
}

.spec-table th {
  color: #0b3045;
  text-align: left;
  font-weight: 700
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0
}

/* DOWNLOAD BOX */
.download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  flex-wrap: wrap;
  gap: 20px;
}

.download-content h3 {
  margin: 0 0 5px 0;
  color: var(--brand-2);
  font-size: 18px;
}

.download-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 600px) {
  .download-box {
    flex-direction: column;
    text-align: center;
  }
}







.callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1fcff;
  border: 1px dashed #9bd9f7;
  border-radius: 12px;
  padding: 10px 12px;
  color: #0b3045;
  margin-top: 10px
}



.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px
}















/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  animation: fadeIn 0.2s ease-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  cursor: default;
  transform: scale(0.9);
  transition: transform 0.2s;
}

.lightbox.active img {
  transform: scale(1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fix sticky navbar */
html { overflow-x: visible !important; }
