:root {
  --bg: #0A0B10;
  --bg-2: #0D0E15;
  --surface: #13141D;
  --surface-2: #181926;
  --border: #24263A;
  --border-soft: rgba(255,255,255,0.07);
  --text: #F4F5F8;
  --muted: #9CA1B4;
  --muted-2: #71768A;
  --accent: #7C5CFF;
  --accent-2: #4EA8FF;
  --accent-soft: rgba(124,92,255,0.14);
  --accent-glow: rgba(124,92,255,0.40);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --shadow: 0 24px 60px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% -8%, rgba(124,92,255,0.18), transparent 70%),
    radial-gradient(50% 50% at 8% 8%, rgba(78,168,255,0.10), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

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

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

h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--accent-glow); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,11,16,0.72);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 22px -6px var(--accent-glow);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; }
.brand-mark.small svg { width: 18px; height: 18px; }
.brand-name span { color: var(--accent); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015)); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(124,92,255,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
.section-sub { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 90px; text-align: center; }
.hero-inner { max-width: 820px; }
.hero h1 { font-size: clamp(36px, 6.2vw, 64px); font-weight: 800; margin: 20px 0 0; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); margin: 22px auto 0; max-width: 660px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  padding: 0;
  margin: 56px 0 0;
}
.hero-stats li { text-align: center; }
.hero-stats strong { display: block; font-family: var(--head); font-size: 18px; }
.hero-stats span { color: var(--muted-2); font-size: 14px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,0.5); box-shadow: var(--shadow); }
.card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(124,92,255,0.25);
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding-top: 8px; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px -8px var(--accent-glow);
  margin-bottom: 18px;
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Work ---------- */
.work-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.work-thumb { position: relative; min-height: 320px; background: #08090d; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 40px 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.tag { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px; }
.work-body h3 { font-size: 26px; margin-bottom: 12px; }
.work-body p { color: var(--muted); margin: 0 0 24px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.price-card.featured { border-color: rgba(124,92,255,0.55); box-shadow: 0 24px 60px -20px var(--accent-glow); }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-family: var(--head); font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price { margin: 6px 0 22px; }
.price span { display: block; color: var(--muted-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.price strong { font-family: var(--head); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.price-card li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; }
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(124,92,255,0.4);
}
.price-card li::after {
  content: "";
  position: absolute; left: 6px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing-note { text-align: center; color: var(--muted-2); font-size: 15px; margin: 34px 0 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-intro p { color: var(--muted); margin: 18px 0 30px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid rgba(124,92,255,0.25); color: var(--accent);
}
.contact-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list strong { display: block; font-family: var(--head); font-size: 15px; }
.contact-list a, .contact-list span { color: var(--muted); font-size: 15px; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-family: var(--head); font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-status { text-align: center; font-size: 14px; color: var(--accent-2); margin: 4px 0 0; }
.form-status.error { color: #ff7a7a; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 54px 0 40px; margin-top: 20px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand .brand-name { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { color: var(--muted); font-size: 15px; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy { color: var(--muted-2); font-size: 14px; margin: 0; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .work-card { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 80px 0 64px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 14px; }
  .cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.portfolio {
  padding: 6rem 0;
  background: #0b0b0f;
}
.portfolio .lead {
  color: #9ca3af;
  margin-top: 0.5rem;
}
.portfolio .grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.portfolio .card {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(76, 29, 149, 0.25);
}
.portfolio .card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
}

