/* Base Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #f8fafc;
}
img { max-width: 100%; display: block; }

/* Layout */
.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 48px 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.nav { display: flex; gap: 14px; flex-wrap: wrap; }
.nav-link { text-decoration: none; color: #334155; padding: 8px 12px; border-radius: 10px; }
.nav-link.active, .nav-link:hover { background: #e2e8f0; color: #0f172a; }

.header-info { display: flex; align-items: center; gap: 16px; }
.online-indicator { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #0f172a; }
.online-indicator .dot { width: 10px; height: 10px; border-radius: 999px; background: #22c55e; display: inline-block; }

/* Hero */
.hero { background: linear-gradient(135deg, #dbeafe, #f5f3ff); padding: 64px 0; border-bottom: 1px solid #e2e8f0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
p { margin: 0 0 10px; }
.cta { display: flex; gap: 12px; margin-top: 10px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 12px; background: #e2e8f0; color: #0f172a; text-decoration: none; font-weight: 600; }
.btn.primary { background: #6366f1; color: #fff; }
.btn:hover { opacity: 0.95; }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px;
  box-shadow: 0 10px 20px rgba(15,23,42,0.04);
}
.card h3 { margin: 6px 0; font-size: 18px; }
.card .muted { color: #64748b; font-size: 14px; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.stat { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.stat-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; text-align: center; }
.stat-item span { font-size: 24px; font-weight: 700; display: block; }

/* Slider */
.slider { position: relative; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.slides { display: flex; transition: transform 0.4s ease; }
.slide { min-width: 100%; position: relative; }
.slide img, .slide video { width: 100%; height: 380px; object-fit: cover; border-radius: 16px 16px 0 0; }
.slide .caption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,0.5); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: none; padding: 8px 12px; border-radius: 10px; cursor: pointer; font-size: 22px; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* Lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { margin: 6px 0; }
.services { display: grid; gap: 10px; padding-left: 16px; }
.services li { list-style: disc; }

/* Footer */
.site-footer { margin-top: 48px; background: #0f172a; color: #e2e8f0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 26px 0; }
.footer-bottom { padding: 14px 0 18px; border-top: 1px solid #1f2937; font-size: 14px; color: #cbd5e1; }

/* Forms */
.form-card label { display: grid; gap: 6px; margin-bottom: 10px; }
.form-card input, .form-card select { padding: 10px 12px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; }
.form-card .log { background: #0f172a; color: #e2e8f0; padding: 10px; border-radius: 12px; max-height: 220px; overflow: auto; }

/* Badges & meta */
.badge { font-size: 12px; padding: 4px 8px; border-radius: 999px; border: 1px solid #e2e8f0; }
.meta { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #475569; }

/* Download row */
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.kpi { font-weight: 700; }


#gallery {
  padding: 40px;
  background: #f9f9f9;
  text-align: center;
}

#gallery h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  max-width: 100%;
  border-radius: 8px;
}

.download-btn {
  margin-top: 10px;
  display: inline-block;
  padding: 8px 12px;
  background: #007bff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.download-btn:hover {
  background: #0056b3;
}
