/* ---------- Base ---------- */
:root {
  --bg: #161616;
  --bg-alt: #1d1d1d;
  --card: #212121;
  --border: #2f2f2f;
  --text: #f2f0ec;
  --text-muted: #a8a5a0;
  --accent-1: #6f7bff;
  --accent-2: #c65bd8;
  --accent-3: #ff7ab8;
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --radius: 14px;
  --max-width: 1120px;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

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

img { max-width: 100%; display: block; }

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

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-3);
  font-weight: 600;
  margin-bottom: 0.8em;
}
.section-kicker.center { text-align: center; }
h2.center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(198, 91, 216, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(198, 91, 216, 0.75); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(22, 22, 22, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(22, 22, 22, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { display: flex; align-items: center; line-height: 1; }
.logo-img { height: 48px; width: auto; display: block; }

.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 84px;
}
.hero-glow {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 25%, rgba(111, 123, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(198, 91, 216, 0.3), transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(255, 122, 184, 0.22), transparent 50%);
  filter: blur(40px);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent-3);
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--text);
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text { font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 2em; }

/* ---------- About ---------- */
.about { padding: 120px 0; background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-stats { display: grid; gap: 20px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Services ---------- */
.services { padding: 120px 0; }
.services h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.service-icon {
  width: 52px; height: 52px;
  color: var(--accent-3);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.15rem; color: var(--text); }
.service-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { padding: 120px 0; background: var(--bg-alt); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.contact-list a { font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent-3); }

.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { color: var(--accent-3); border-color: var(--accent-2); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.contact-form button { border: none; cursor: pointer; justify-self: start; }
.form-note { font-size: 0.85rem; color: var(--accent-3); margin: 0; min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-inner .social-links a { width: 34px; height: 34px; }
.footer-inner .social-links a svg { width: 15px; height: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: rgba(22, 22, 22, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 260px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-inner { height: 72px; }
  .hero { padding-top: 72px; }
  .nav { top: 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
}
