:root {
  --color-bg: #0f0b1e;
  --color-bg-alt: #16112b;
  --color-surface: #1c1735;
  --color-text: #f5f3ff;
  --color-text-muted: #b8b2d6;
  --color-primary: #7c3aed;
  --color-secondary: #ec4899;
  --color-accent: #f59e0b;
  --gradient: linear-gradient(120deg, var(--color-primary), var(--color-secondary) 55%, var(--color-accent));
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --radius: 16px;
  --container-width: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: #ffffff;
  color: #1a1530;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 11, 30, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: #e5e0ff;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover { color: #fff; }

.nav-highlight {
  color: var(--color-accent) !important;
  font-weight: 700 !important;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.6);
}

.btn-ghost {
  background: transparent;
  color: #1a1530;
  border: 2px solid #e2ddf7;
}

.btn-nav {
  padding: 10px 22px;
}

.btn-block {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, #241a45, #0f0b1e 60%);
  color: #fff;
  padding: 110px 0 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-content { max-width: 620px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 32px 0 56px;
  flex-wrap: wrap;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.hero-stats {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 28px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Hero dashboard panel */
.hero-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  overflow: hidden;
}

.panel-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-amber { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.chrome-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.panel-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.panel-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #ece9fb;
}

.panel-footnote {
  padding: 12px 16px;
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

/* Status pill */
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #f1eefb;
  color: #6b6489;
  border: 1px solid #e2ddf7;
  white-space: nowrap;
}

.status-pill.on-dark {
  background: rgba(255,255,255,0.08);
  color: var(--color-text-muted);
  border-color: rgba(255,255,255,0.12);
}

.status-pill.status-live {
  background: #e7f8ee;
  color: #1a8a4a;
  border-color: #c6ecd6;
}

.status-pill.on-dark.status-live {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b0;
  border-color: rgba(52, 211, 153, 0.3);
}

.status-pill.status-pitch {
  background: #fdecd6;
  color: #a15a12;
  border-color: #fad9ac;
}

.status-pill.on-dark.status-pitch {
  background: rgba(255, 193, 120, 0.15);
  color: #ffc178;
  border-color: rgba(255, 193, 120, 0.3);
}

.work-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f1eefb;
  border: 1px solid #e2ddf7;
  color: #6b6489;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.work-btn-pitch {
  background: #ffc178;
  border-color: #ffc178;
  color: #1a1206;
}

.work-card-pitch {
  outline: 2px solid #ffc178;
  outline-offset: -2px;
  border-radius: var(--radius);
}

.prospects-block { margin-top: 56px; }

.prospects-heading {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.prospects-sub {
  color: #5c5578;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* Sections */
.section { padding: 90px 0; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
}

.section-title.light { color: #fff; }

.section-sub {
  color: #5c5578;
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}

.section-sub.light { color: var(--color-text-muted); }

.grid {
  display: grid;
  gap: 28px;
}

/* Services */
.services { background: #faf9ff; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: #fff;
}

.icon-1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.icon-2 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.icon-3 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-4 { background: linear-gradient(135deg, #06b6d4, #67e8f9); }

/* Showcase (alternating service rows) */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 20px;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase.reverse .showcase-text { order: 2; }
.showcase.reverse .showcase-visual { order: 1; }

.showcase-text h3 { font-size: 1.5rem; margin: 4px 0 12px; }
.showcase-text p { color: #5c5578; font-size: 1.02rem; max-width: 420px; margin: 0; }

.showcase-visual {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 45px -25px rgba(20, 10, 60, 0.5);
}

/* Website Design mockup */
.mock-chrome { display: flex; gap: 6px; margin-bottom: 18px; }

.mock-line {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  margin-bottom: 10px;
}

.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-80 { width: 80%; }

.mock-block {
  height: 70px;
  border-radius: 10px;
  background: var(--gradient);
  opacity: 0.85;
  margin: 6px 0 14px;
}

/* E-Commerce mockup */
.mock-cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--color-text-muted);
}

.mock-cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #fff;
  padding-top: 12px;
}

.mock-cart-btn {
  margin-top: 16px;
  background: var(--gradient);
  text-align: center;
  padding: 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

/* Redesign before/after mockup */
.mock-before-after {
  display: flex;
  gap: 2px;
  border-radius: 10px;
  overflow: hidden;
  height: 180px;
  padding: 0;
}

.ba-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ba-before { background: #2a2440; color: rgba(255,255,255,0.5); }
.ba-after { background: var(--gradient); color: #fff; }

/* Care & Updates mockup */
.mock-updates { display: flex; flex-direction: column; gap: 12px; }

.mock-update-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.mock-update-row span:nth-child(2) { flex: 1; }

.mock-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.mock-date { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* Work */
.work-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.work-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #efecfc;
  box-shadow: 0 12px 30px -18px rgba(20, 10, 60, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(20, 10, 60, 0.35);
}

.work-card-featured {
  grid-column: 1 / -1;
}

.work-card-featured .work-thumb { height: 220px; }

.work-thumb {
  position: relative;
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}

.work-thumb span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.thumb-preview {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 400%;
  height: 400%;
  border: 0;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
}

.thumb-1 { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.thumb-2 { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.thumb-3 { background: linear-gradient(135deg, #f59e0b, #06b6d4); }
.thumb-4 { background: linear-gradient(135deg, #06b6d4, #7c3aed); }
.thumb-claire { background: linear-gradient(135deg, #1f150f, #b8480a); }
.thumb-rex { background: linear-gradient(135deg, #3d4a34, #b98a3d); }
.thumb-munch { background: linear-gradient(135deg, #c8102e, #ffc72c); }
.thumb-krc { background: linear-gradient(135deg, #101425, #2b3564); }

.work-meta { padding: 18px 20px 22px; background: #fff; }
.work-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.work-meta h3 { font-size: 1.05rem; margin: 0; }
.work-meta p { color: #5c5578; font-size: 0.9rem; margin: 0; }

/* Process */
.process { background: #faf9ff; }

.process-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.1rem; }
.step p { color: #5c5578; font-size: 0.95rem; }

/* About */
.about-inner { max-width: 880px; }

.about-lede { color: #3a3455; font-size: 1.05rem; max-width: 700px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid #efecfc;
  box-shadow: 0 12px 30px -18px rgba(20, 10, 60, 0.25);
}

.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: #5c5578; font-size: 0.92rem; margin: 0; }

/* Contact */
.contact {
  background: linear-gradient(160deg, #16112b, #0f0b1e 70%);
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }

.form-row label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.form-row input,
.form-row textarea {
  background: #241e42;
  border: 1px solid #352c5c;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
  text-align: center;
}

/* Footer */
.site-footer {
  background: #0f0b1e;
  color: var(--color-text-muted);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-inner a:last-child { color: var(--color-accent); font-weight: 600; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { max-width: 640px; }
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; }
  .showcase.reverse .showcase-text,
  .showcase.reverse .showcase-visual { order: initial; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0f0b1e;
    padding: 20px 24px 28px;
    gap: 18px;
  }
}
