:root {
  --bg: #0d1117;
  --surface: #161c25;
  --text: #eef1f5;
  --text-muted: #a3adba;
  --accent: #14b8a6;
  --accent-2: #5eead4;
  --radius: 14px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 17, 23, 0.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid #ffffff14;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.5px; }

.btn {
  display: inline-block; border: none; border-radius: 999px; padding: 12px 26px;
  font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5eead4);
  color: #0d1117; box-shadow: 0 8px 24px -8px #14b8a680;
}
.btn-outline { background: transparent; color: var(--text); border: 1px solid #ffffff33; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #0d1117 20%, #0d1117aa 50%, #0d111740 100%),
              linear-gradient(0deg, #0d1117 5%, transparent 40%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; max-width: 640px; }
.hero-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: 2.6rem; margin: 0 0 6px; }
.tagline { color: var(--accent); font-weight: 600; margin: 0 0 18px; letter-spacing: 0.3px; }
.hero-desc { color: var(--text-muted); margin-bottom: 30px; max-width: 520px; }

.features { padding: 70px 24px; }
.features h2 { font-size: 1.8rem; margin-bottom: 30px; }
.features-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.features-list li { background: var(--surface); border: 1px solid #ffffff14; border-radius: var(--radius); padding: 20px; font-weight: 500; }
.features-list .icon { margin-right: 10px; }

.cta-section {
  background: radial-gradient(circle at 30% 20%, #14b8a633, transparent 60%),
              radial-gradient(circle at 80% 80%, #5eead433, transparent 60%),
              var(--surface);
  padding: 80px 24px; text-align: center;
  border-top: 1px solid #ffffff14; border-bottom: 1px solid #ffffff14;
}
.cta-section h2 { font-size: 1.9rem; margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; }

.site-footer { padding: 30px 24px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 0.9rem; }
.footer-inner a { color: var(--accent); text-decoration: none; }

.modal { position: fixed; inset: 0; z-index: 100; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: #000000b3; backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative; z-index: 1; max-width: 440px; margin: 8vh auto;
  background: var(--surface); border: 1px solid #ffffff1f; border-radius: var(--radius);
  padding: 32px; animation: modal-in 0.18s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.modal-dialog h3 { margin-top: 0; }
.modal-dialog p { color: var(--text-muted); }
#leadForm { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
#leadForm label { font-size: 0.9rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; }
#leadForm input, #leadForm textarea {
  background: #0d1117; border: 1px solid #ffffff26; border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit; resize: vertical;
}
#leadForm input:focus, #leadForm textarea:focus { outline: 2px solid var(--accent); }
#leadForm button { margin-top: 6px; }

@media (max-width: 640px) {
  .hero { min-height: 560px; }
  .hero h1 { font-size: 2rem; }
  .modal-dialog { margin: 6vh 16px; padding: 26px 22px; }
}
