/* ============ Pixel Creatives — Design System ============ */
:root {
  --bg: #f6f7fc;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --border: rgba(18, 22, 38, 0.1);
  --text: #141824;
  --muted: #5a6376;
  --muted-2: #8b93a7;
  --violet: #7c3aed;
  --cyan: #0891b2;
  --grad: linear-gradient(135deg, #7c3aed 0%, #6d5cff 45%, #0891b2 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(8, 145, 178, 0.08));
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 20px 50px rgba(30, 35, 70, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px 400px at 15% 0%, rgba(124, 58, 237, 0.07), transparent 60%),
    radial-gradient(700px 500px at 90% 20%, rgba(8, 145, 178, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 96px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }

.section-title { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 14px; }
.section-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }
.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 58, 237, 0.45); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(18, 22, 38, 0.04); }
.btn-ghost:hover { border-color: var(--violet); background: rgba(124, 58, 237, 0.08); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--muted); border-radius: 10px; transition: color 0.2s, background 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); background: rgba(18, 22, 38, 0.05); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px; opacity: 0; visibility: hidden; transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  box-shadow: var(--shadow); display: block;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li { display: block; }
.dropdown a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 10px; width: 100%; }
.dropdown a span { font-weight: 600; color: var(--text); font-size: 15px; }
.dropdown a small { color: var(--muted); font-size: 12.5px; }
.dropdown a:hover { background: rgba(124, 58, 237, 0.08); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 100px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin-bottom: 20px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-head); font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat span { color: var(--muted); font-size: 13.5px; }

.hero-visual { position: relative; }
.dashboard-mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s;
}
.hero-visual:hover .dashboard-mock { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
.mock-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); }
.mock-bar i:first-child { background: #f87171; border-color: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; border-color: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; border-color: #34d399; }
.mock-body { padding: 22px; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.mock-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.mock-card small { color: var(--muted); font-size: 11px; display: block; margin-bottom: 6px; }
.mock-card b { font-family: var(--font-head); font-size: 20px; }
.mock-card .up { color: #059669; font-size: 12px; font-weight: 600; }
.mock-chart { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.float-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.float-badge b { font-family: var(--font-head); font-size: 18px; display: block; }
.float-badge small { color: var(--muted); font-size: 12px; }
.float-badge .dot { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; font-size: 20px; }
.badge-1 { top: -24px; right: 8%; }
.badge-2 { bottom: -24px; left: 4%; animation-delay: 2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.page-hero { padding: 170px 0 70px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.page-hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto 30px; }
.breadcrumb { display: inline-flex; gap: 8px; color: var(--muted-2); font-size: 13.5px; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--cyan); }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, 0.35); box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--grad-soft);
  display: grid; place-items: center; margin-bottom: 20px; font-size: 26px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card .card-link { font-weight: 600; font-size: 14.5px; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; }
.card .card-link:hover { gap: 12px; }
.card .card-link { transition: gap 0.2s; }
.card ul.tick { margin: 0 0 18px; }
.tick li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); font-size: 14.5px; }
.tick li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 700; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.split h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split p { color: var(--muted); margin-bottom: 16px; }
.check-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.check-list .n {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff;
}
.check-list b { display: block; margin-bottom: 2px; }
.check-list p { margin: 0; font-size: 14.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 44px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0.85; display: block; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: transform 0.25s, box-shadow 0.25s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-thumb { height: 190px; position: relative; overflow: hidden; display: grid; place-items: center; }
.work-thumb .mock-ui { width: 74%; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(18, 22, 38, 0.12); border-radius: 12px; padding: 12px; backdrop-filter: blur(4px); }
.work-thumb .mock-ui .l { height: 8px; border-radius: 4px; background: rgba(18, 22, 38, 0.16); margin-bottom: 8px; }
.work-thumb .mock-ui .l:last-child { margin-bottom: 0; }
.work-body { padding: 22px; }
.work-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.work-body h3 { font-size: 19px; margin-bottom: 6px; }
.work-body p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.work-metric { display: flex; gap: 18px; }
.work-metric div b { font-family: var(--font-head); font-size: 18px; color: #059669; display: block; }
.work-metric div span { font-size: 12px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.testi .stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.testi p { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 20px; }
.testi .who { display: flex; align-items: center; gap: 14px; }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); color: #fff; }
.testi .who b { display: block; font-size: 15px; }
.testi .who span { color: var(--muted-2); font-size: 13px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 32px; display: flex; flex-direction: column; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.price-card .pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 18px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .for { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price { font-family: var(--font-head); font-size: 44px; font-weight: 700; margin-bottom: 4px; }
.price small { font-size: 15px; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.price-card .tick { margin: 22px 0 28px; flex: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq button { width: 100%; background: none; border: none; color: var(--text); font-family: var(--font-head); font-size: 16.5px; font-weight: 600; text-align: left; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft); display: grid; place-items: center; font-size: 18px; transition: transform 0.3s; }
.faq.open .plus { transform: rotate(45deg); }
.faq .answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq .answer p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 70px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -60px; background: radial-gradient(400px 300px at 50% 50%, rgba(124, 58, 237, 0.18), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-band .hero-cta { justify-content: center; margin: 0; position: relative; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-family: var(--font-body); font-size: 15px; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 16px; display: flex; gap: 18px; align-items: flex-start; }
.contact-info-card .card-icon { margin: 0; width: 48px; height: 48px; font-size: 22px; }
.contact-info-card b { display: block; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { color: var(--muted); font-size: 14.5px; }
.contact-info-card a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 0; margin-top: 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a, .footer-grid ul span { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer-grid ul a:hover { color: var(--cyan); }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0 22px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: 0.2s; }
.socials a:hover { color: var(--violet); border-color: var(--violet); background: rgba(124, 58, 237, 0.08); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 13.5px; }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.logo-strip { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; opacity: 0.55; margin-top: 34px; }
.logo-strip span { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--muted); }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pill { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(18, 22, 38, 0.04); color: var(--muted); }
.kpi-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kpi { text-align: center; padding: 34px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.kpi b { font-family: var(--font-head); font-size: 40px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 6px; }
.kpi span { color: var(--muted); font-size: 14px; }
.mt-60 { margin-top: 60px; }
.prose h2 { font-size: 26px; margin: 34px 0 12px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.prose ul { margin: 0 0 14px 4px; }
.prose ul li { color: var(--muted); margin-bottom: 8px; padding-left: 22px; position: relative; font-size: 15.5px; }
.prose ul li::before { content: "•"; position: absolute; left: 6px; color: var(--violet); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .form-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 150px; }
  .grid-3, .testi-grid, .work-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .kpi-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; background: var(--bg-soft);
    border-bottom: 1px solid var(--border); padding: 12px 4%; max-height: 0; overflow: hidden;
    opacity: 0; transition: max-height 0.35s, opacity 0.3s, padding 0.3s;
  }
  .main-nav.open { max-height: 70vh; opacity: 1; padding: 12px 4% 20px; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { width: 100%; padding: 13px 12px; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: transparent; padding: 0 0 0 12px; min-width: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions .btn { display: none; }
  .grid-3, .grid-2, .testi-grid, .work-grid, .price-grid, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-badge { display: none; }
  .hero-stats { gap: 24px; }
}
