:root {
  --blue-900: #0a2540;
  --blue-800: #0d3a63;
  --blue-700: #115588;
  --blue-600: #006699;
  --orange-500: #f59e0b;
  --orange-600: #ea580c;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(10, 37, 64, 0.12);
  --radius: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  color: var(--orange-600);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 37, 64, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  height: 56px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.55rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 55%, #1a7fb8 100%);
  color: var(--white);
  padding: 4rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-card li {
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--gray-600);
  max-width: 40rem;
  margin-inline: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--blue-700);
  font-weight: 800;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--blue-900);
}

.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.bg-white {
  background: var(--white);
}

.bg-muted {
  background: var(--gray-100);
}

/* Page header */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 3rem 0;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 42rem;
}

/* Product lists */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.module-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
}

.module-list li {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
}

.panel {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.panel h3 {
  color: var(--blue-900);
  margin-bottom: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  color: var(--blue-900);
  margin-bottom: 0.15rem;
}

.contact-box {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-box a {
  color: #fde68a;
}

/* Downloads */
.download-list {
  display: grid;
  gap: 1rem;
}

.download-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.download-item h3 {
  color: var(--blue-900);
  margin-bottom: 0.25rem;
}

.download-item p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.video-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-card video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-card .video-body {
  padding: 1rem 1.25rem 1.25rem;
}

.note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.site-footer a {
  color: #fde68a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.tech-logos {
  margin-top: 1rem;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .site-header .container {
    position: relative;
  }
}
