:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-light: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --border: #e2e8f0;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
}
.logo-badge {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
}
.menu { display: flex; gap: 28px; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.menu a:hover, .menu a.active { color: var(--accent); }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn:hover { background: var(--accent-hover); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface-light); }

/* Hero */
.hero {
  padding: 84px 0 72px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: #e0f2fe; color: #0369a1; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.15;
  letter-spacing: -0.03em; max-width: 780px; margin-bottom: 20px;
}
.hero p {
  font-size: 1.12rem; color: var(--text-muted); max-width: 640px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: 1.85rem; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); margin-bottom: 40px; max-width: 620px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; background: #fff; transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-meta { margin-top: 16px; font-size: 0.85rem; color: var(--accent); font-weight: 600; }

/* Stats */
.stats {
  background: var(--bg); color: #fff; padding: 56px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: #38bdf8; }
.stat-label { color: #cbd5e1; font-size: 0.95rem; margin-top: 4px; }

/* Form */
.contact-box {
  background: var(--surface-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px;
}
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 10px 14px; border: 1px solid #cbd5e1;
  border-radius: 8px; font: inherit; font-size: 0.95rem; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid #bae6fd; border-color: var(--accent); }
.notice {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 8px;
  background: #dcfce7; color: #166534; font-size: 0.92rem; font-weight: 500;
}

/* Footer */
footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  color: var(--text-muted); font-size: 0.88rem;
}
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

@media (max-width: 720px) {
  .menu { display: none; }
}
