:root {
  --bg: #e5e7eb;
  --panel: #ffffff;
  --panel-soft: #f3f4f6;
  --border: #d1d5db;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #22c55e;
  --accent-2: #0ea5e9;
  --gold: #f59e0b;
}

/* Reset & Base */
html { box-sizing: border-box; }
body, body *::before, body *::after { box-sizing: inherit; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffee;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 8px;
}
.logo .mark {
  width: 14px;
  height: 14px;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  border-radius: 50%;
}
nav a {
  color: var(--text);
  margin: 0 10px;
  text-decoration: none;
}
nav a.btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
}
nav a.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 10px;
}

/* Layout */
main {
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 32px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.card h1, .card h2, .card h3 { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #f9fafb, #e5e7eb);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
}
.hero .text { max-width: 720px; margin: 0 auto; }
.hero .text h1 { font-size: 36px; color: var(--accent); }
.hero .text p { color: var(--muted); margin-top: 12px; }
.hero-actions {
  display: flex; gap: 12px; margin-top: 16px; justify-content: center;
}

/* Buttons */
button {
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #06250e;
  font-weight: 700;
  cursor: pointer;
}
button.secondary {
  background: var(--panel-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
button.warn { background: var(--gold); color: #0a0a0a; }
.button-group {
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center;
}
.button-group button { flex:1; }

/* Forms */
label { display:block; margin-top:12px; font-weight:600; }
input, select, textarea {
  width:100%; padding:12px; margin-top:6px;
  border-radius:8px; border:1px solid var(--border);
  background: var(--panel-soft); color: var(--text);
  font-size:15px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin-top: 20px;
}
.service-card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  padding: 12px;
}
.service-card:hover { transform: translateY(-2px); }
.service-card img {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: 6px; margin: 0 auto 6px; display: block;
}
.service-card h3 { margin: 0; color: var(--accent); font-size: 14px; }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.feature {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.feature h3 { color: var(--accent-2); margin-bottom: 6px; }
.feature .desc { color: var(--muted); }

/* Tables */
table { width:100%; border-collapse:collapse; margin-top:10px; }
th, td { border:1px solid var(--border); padding:8px; text-align:left; }
th { background: var(--panel-soft); color: var(--accent); }
tr:nth-child(even){ background: var(--panel-soft); }

/* Footer */
footer {
  max-width: 1200px;
  margin: 40px auto;
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
footer a { color: var(--accent-2); text-decoration: none; margin: 0 12px; }
footer a:hover { text-decoration: underline; }
.footer-legal, .footer-social { margin-top: 10px; }

/* Modal */
.modal {
  display:none; position:fixed; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.6); z-index:9999;
  justify-content:center; align-items:center;
}
.modal-content {
  background: var(--panel);
  padding: 24px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.modal-content h2 { color: var(--accent); }
.modal-content .close {
  position:absolute; top:10px; right:15px;
  cursor:pointer; font-size:20px; font-weight:bold;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 32px 16px; }
  .hero .text h1 { font-size: 24px; }
  .features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  nav { flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .button-group { flex-direction: column; }
  .button-group button { width:100%; }
  table { display:block; overflow-x:auto; white-space:nowrap; }
}