:root {
  --bg: #020617;
  --bg-alt: #020617;
  --card: #0f172a;
  --card-soft: #020617;
  --border: #1f2937;
  --accent: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.25);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --danger: #ef4444;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.8);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
  color: var(--text);
}

a {
  color: #38bdf8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout helpers */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.75)
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f9fafb;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #22c55e, #0ea5e9, #6366f1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
  font-size: 16px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.nav a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 4px 0;
}

.nav a:hover {
  color: #f9fafb;
}

/* Hero */

.hero {
  padding: 90px 0 40px;
  border-bottom: 1px solid #020617;
}

.gradient {
  background:
    radial-gradient(1100px 600px at 20% -10%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(800px 400px at 80% -20%, rgba(168, 85, 247, 0.22), transparent 60%),
    radial-gradient(900px 500px at 50% 0%, rgba(34, 197, 94, 0.18), transparent 60%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 780px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
}

.hero p {
  color: #cbd5e1;
  font-size: 17px;
  max-width: 740px;
  margin: 0 auto 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.4), #020617);
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 14px;
  border: 1px solid #334155;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, border-color 0.15s ease;
  background: radial-gradient(circle at top left, #020617, #020617);
  color: #e5e7eb;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, #06b6d4, #4f46e5);
  border: none;
  color: #f9fafb;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: #475569;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.8);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Sections */

.section {
  padding: 70px 0;
}

.section.alt {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
  border-top: 1px solid #020617;
  border-bottom: 1px solid #020617;
}

.section-title {
  text-align: center;
  font-size: 26px;
  margin: 0 0 16px;
  font-weight: 700;
}

.section-title-left {
  font-size: 24px;
  margin: 0 0 16px;
  font-weight: 700;
}

.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 15px;
}

/* Cards & grids */

.grid {
  display: grid;
  gap: 18px;
}

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .products-grid,
  .benefits-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Card */

.card {
  background: linear-gradient(145deg, #020617, #020617);
  border: 1px solid rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.card h3 {
  margin: 4px 0 4px;
  font-size: 18px;
}

.card-subtitle {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.card p {
  font-size: 14px;
  color: #cbd5e1;
}

.card .card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #22c55e;
  color: #052e16;
  font-weight: 700;
  font-size: 11px;
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 6px 14px rgba(34, 197, 94, 0.5);
}

.card.rainbow {
  border-image: linear-gradient(
      45deg,
      #22c55e,
      #0ea5e9,
      #a855f7,
      #f97316
    )
    1;
}

.card.aurora {
  border-image: linear-gradient(90deg, #a855f7, #06b6d4) 1;
}

.card.sunset {
  border-image: linear-gradient(90deg, #f97316, #ef4444) 1;
}

.card.ocean {
  border-image: linear-gradient(90deg, #22c55e, #0ea5e9) 1;
}

.card.galaxy {
  border-image: linear-gradient(120deg, #6366f1, #a855f7) 1;
}

/* Lists */

.bullets {
  padding-left: 18px;
  margin: 8px 0 0;
  font-size: 13px;
  color: #cbd5e1;
}

.bullets li {
  margin: 4px 0;
}

.meta-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.price-tag {
  font-size: 22px;
  font-weight: 700;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
}

.price-tag-small {
  font-size: 13px;
  color: var(--muted);
}

/* Docs (EULA & Manual) */

.doc-links {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.doc-label {
  font-weight: 500;
}

.doc-links a {
  color: #e5e7eb;
}

.doc-links a:hover {
  color: #38bdf8;
}

.dot {
  opacity: 0.5;
}

/* Inventory & Data Lab detail two-column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 26px;
  align-items: flex-start;
}

.panel {
  background: radial-gradient(circle at top left, #020617, #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30, 64, 175, 0.9);
  padding: 18px 18px 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 18px;
  font-size: 13px;
  color: #cbd5e1;
}

.meta-list li {
  margin: 6px 0;
}

@media (max-width: 860px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Steps */

.steps {
  max-width: 720px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 14px;
  padding-left: 18px;
}

.steps li {
  margin: 8px 0;
}

/* FAQ */

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 16px 16px 14px;
  background: radial-gradient(circle at top left, #020617, #020617);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.faq-item p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
}

/* Contact */

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.contact-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row {
  display: flex;
  gap: 12px;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #020617;
  padding: 8px 10px;
  font-size: 14px;
  color: #e5e7eb;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.6);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

@media (max-width: 860px) {
  .contact-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row {
    flex-direction: column;
  }
}

/* Muted */

.muted {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

/* Media overlays (CSS-only :target) */

.media-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 20px;
}

/* When URL fragment matches the overlay id (#media-...), show it */
.media-overlay:target {
  display: flex;
}

.media-dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: radial-gradient(circle at top left, #020617, #020617);
  border-radius: 18px;
  border: 1px solid #1f2937;
  padding: 20px 20px 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
}

.media-dialog h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.media-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-grid img,
.media-grid video {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #1f2937;
  display: block;
}

.media-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 22px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 999px;
  position: absolute;
  right: 16px;
  top: 12px;
}

.media-close:hover {
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

/* Data Lab slideshow */

.slideshow {
  margin-top: 8px;
}

.slides {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.slides img {
  flex: 0 0 auto;
  max-height: 360px;
  border-radius: 12px;
  border: 1px solid #1f2937;
  scroll-snap-align: center;
}

.slideshow-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 720px) {
  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .slides img {
    max-height: 260px;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid #020617;
  padding: 18px 0;
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a {
  margin-left: 12px;
  color: #9ca3af;
}

.footer-links a:hover {
  color: #f9fafb;
  text-decoration: none;
}

/* Small screen tweaks */

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 0 12px;
  }

  .nav {
    font-size: 13px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .cta-row {
    justify-content: flex-start;
  }

  .hero-note {
    text-align: left;
  }
}

/* ================================
   CYBER SECURITY SECTION STYLES
   ================================ */

.cyber-section {
  background: linear-gradient(135deg, #0d1117 0%, #1c1f26 100%);
  color: #f0f4ff;
  padding: 80px 0;
}

.cyber-section .section-title {
  color: #ffffff;
}

.cyber-card {
  background: #161b22;
  border: 1px solid #2d3748;
  color: #e2e8f0;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
}

.cyber-card h3 {
  color: #00c3ff;
}

.cyber-card .btn-primary {
  background: #00c3ff;
  border: none;
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px 22px;
  border-radius: 10px;
}

/* Fix spacing between badge (Desktop • ...) and card title */
.card-badge {
  display: inline-block;
  margin-bottom: 16px !important;  /* more space under badge */
}

.card h3 {
  display: block;
  margin-top: 2px !important;      /* ensure title starts a bit lower */
}

/* Highlighted style for Online Data Lab button */
.btn-online {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  border-color: transparent;
  color: #000;
  font-weight: 600;
}

/* Soft flashing / pulsing effect */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.btn-flash {
  animation: ctaPulse 1.8s infinite;
}

