:root {
  --primary: #0da6f2;
  --bg: #fafcff;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 252, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary);
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

main {
  padding: 32px 0 40px;
}

.grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.section-title {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 700;
}

.section-desc {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(13, 166, 242, 0.4);
  background: #e9f2fb;
  color: var(--primary);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
}

h1 {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 800;
}

@media (min-width: 640px) {
  h1 {
    font-size: 32px;
  }
}

p.lead {
  margin-top: 8px;
  font-size: 14px;
  color: #475569;
}

.btn-primary {
  display: inline-block;
  margin-top: 16px;
  margin-right: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.btn-primary:hover {
  background: #0b8dd0;
}

.btn-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.btn-link:hover {
  text-decoration: underline;
}

.card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
  padding: 14px;
}

.stat-title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.stat-value {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.stat-desc {
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
}

.mockup {
  background: #020617;
  border-radius: 18px;
  padding: 12px;
  color: #e5e7eb;
  font-size: 11px;
}

.bars {
  margin-top: 8px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.bars div {
  flex: 1;
  border-radius: 3px;
  background: var(--primary);
}

.service-card {
  display: block;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  transition: 0.15s;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 166, 242, 0.7);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.service-head h3 {
  font-size: 14px;
  font-weight: 600;
}

.service-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}

.service-desc {
  margin-top: 6px;
  font-size: 12px;
  color: #475569;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

.section-block {
  margin-top: 20px;
}

.section-block h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-block p {
  font-size: 14px;
  color: #475569;
}

.section-block ul {
  margin-top: 6px;
  padding-left: 18px;
  font-size: 14px;
  color: #475569;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: inherit;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  font-size: 11px;
  color: #64748b;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.footer-links a {
  margin-left: 12px;
}

.footer-links a:hover {
  color: var(--primary);
}

.snackbar {
  visibility: hidden;
  min-width: 220px;
  background-color: #0f172a;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 10px 16px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 50;
  font-size: 13px;
}

.snackbar.show {
  visibility: visible;
  animation: fadein 0.3s, fadeout 0.3s 2.2s;
}

@keyframes fadein {
  from { bottom: 8px; opacity: 0; }
  to { bottom: 24px; opacity: 1; }
}
@keyframes fadeout {
  from { bottom: 24px; opacity: 1; }
  to { bottom: 8px; opacity: 0; }
}

