:root {
  --bg: #0a0a0a;
  --bg-2: #0f141d;
  --panel: rgba(8, 8, 8, 0.9);
  --card: rgba(12, 12, 12, 0.92);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f4f6fb;
  --muted: #b8b8b8;
  --accent: #090c12;
  --accent-2: #090c12;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --container: min(1120px, 90vw);
  --font-heading: 'Mulish', sans-serif;
  --font-body: 'Quicksand', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 20%, rgba(5, 5, 5, 0.842), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(2, 2, 2, 0.6), transparent 40%),
              linear-gradient(140deg, #131313 0%, #050505 50%, #131313 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: var(--container); margin: 0 auto; }

section {
  min-height: 100vh;
  padding: 100px 0 80px;
  position: relative;
  scroll-margin-top: 110px;
  overflow: visible;
}
section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}
.section .container,
.hero .container {
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  padding: 12px 18px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  z-index: 1000;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text); padding: 8px 10px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }

/* Hero */
.hero {
  padding-top: 140px;
  background: linear-gradient(120deg, #0e0e0e, #000000 40%, transparent 60%);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-art {
  position: absolute;
  right: 50px;
  top: 110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7), 0 30px 80px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  opacity: 0.8;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}
.hero-art::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px);
  opacity: 0.4;
  mask: radial-gradient(circle, rgba(0, 0, 0, 0.7) 0 55%, transparent 65%);
  -webkit-mask: radial-gradient(circle, rgba(0, 0, 0, 0.7) 0 55%, transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.hero-copy { max-width: 720px; }
.hero-card { max-width: 520px; justify-self: end; }
.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.08;
  margin: 16px 0;
  letter-spacing: -0.04em;
}
.hero-copy p { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.hero-tags span { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.95rem; }

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
  margin-top: 0;
}
.hero-card h3 { margin: 6px 0 8px; font-family: var(--font-heading); font-size: 1.4rem; }
.hero-card p { color: var(--muted); }
.stats { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.stat { padding: 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: linear-gradient(140deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05)); }
.stat span { display: block; font-weight: 700; font-size: 1.2rem; color: var(--text); margin-bottom: 4px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}
.pill.muted { background: rgba(255, 255, 255, 0.04); color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn.primary { background: rgba(255, 255, 255, 0.06); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48); }
.btn.ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.lead { color: var(--muted); max-width: 720px; margin: 10px auto 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 8px 0; }

/* Services */
.services { background: transparent; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.service-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.767), rgba(10, 10, 10, 0.795));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }
.service-card h3 { font-family: var(--font-heading); font-size: 1.4rem; margin: 10px 0; }
.service-card p { color: var(--muted); }
.icon-badge {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.checklist { margin-top: 14px; display: grid; gap: 8px; padding-left: 0; }
.checklist li { position: relative; padding-left: 20px; color: var(--muted); }
.checklist li::before { content: '-'; position: absolute; left: 0; color: var(--accent); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.portfolio-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.767), rgba(10, 10, 10, 0.795));
  box-shadow: 0 16px 40px rgba(0,0,0,0.32);
  display: grid;
  gap: 10px;
}
.portfolio-item h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.portfolio-item p { color: var(--muted); }
.portfolio-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(0, 0, 0, 0.08); display: inline-flex; align-items: center; justify-content: center; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.2); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; color: var(--muted); }

/* Pricing */
.pricing { background: #0a0a0a}
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: start; }
.pricing-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.767), rgba(10, 10, 10, 0.795));
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  display: grid;
  gap: 10px;
}
.pricing-card h3 { font-family: var(--font-heading); display: flex; align-items: center; gap: 10px; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.desc { color: var(--muted); }
.pricing-card ul { display: grid; gap: 8px; padding: 0; }
.pricing-card li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.pricing-card li i { color: var(--text); }
.pricing-card.featured { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 18px 50px rgba(2, 2, 2, 0.4); background: linear-gradient(145deg, rgba(19, 19, 19, 0.767), rgba(22, 22, 22, 0.747)); }

/* Contact */
.contact {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  height: auto;
  min-height: 0;
  padding: 70px 0 60px;
}
.contact-grid.container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: center; min-height: auto; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { padding: 36px 0 28px; background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer .muted { color: var(--muted); max-width: 460px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: rgba(255,255,255,0.08); transition: all 0.2s ease; }
.social-links a:hover { background: rgba(255,255,255,0.14); color: var(--accent); }
.copy { text-align: center; color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* Animations */
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
.animate { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; will-change: opacity, transform; }
.animate.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .navbar { width: 94vw; }
  .nav-links { position: absolute; top: 58px; right: 16px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; background: rgba(10,10,10,0.95); border: 1px solid var(--border); border-radius: 12px; width: 220px; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all 0.2s ease; }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu-toggle { display: block; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-card { max-width: 100%; justify-self: start; }
  .hero-art { right: -140px; top: 40px; opacity: 0.45; }
  section { padding: 90px 0 70px; scroll-margin-top: 90px; min-height: 100vh; }
  .contact { padding: 60px 0 50px; }
}

@media (max-width: 640px) {
  .navbar { padding: 10px 14px; }
  .hero-copy h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .hero-actions { width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .hero-art { display: none; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  section { padding: 70px 0 50px; min-height: 100vh; }
  .contact { padding: 50px 0 40px; }
  .contact-grid { text-align: center; }
  .contact-actions { justify-content: center; }
}

@media (max-height: 760px) {
  section { padding: 80px 0 60px; }
  .section .container,
  .hero .container { min-height: calc(100vh - 170px); }
}
