:root {
  --bg: #050016;
  --bg-soft: #050016;
  --bg-muted: #050016;
  --surface: #0b0220;
  --surface-soft: #050016;
  --surface-muted: #050016;
  --accent: #a855f7;
  --accent-soft: rgba(168, 85, 247, 0.15);
  --accent-muted: rgba(168, 85, 247, 0.08);
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #111827;
  --border-strong: #1f2937;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 45px rgba(8, 12, 30, 0.85);
  --shadow-subtle: 0 12px 30px rgba(8, 12, 30, 0.8);
  --max-width: 1120px;
  --transition: 180ms ease;
  --nav-height: 72px;
}

/* RESET / BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #1e1035 0, #050016 55%, #050016 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* LAYOUT */

main {
  flex: 1;
}

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

.section {
  padding: 4rem 0;
}

.section-top {
  margin-top: 2.5rem;
}

.section-muted {
  background: radial-gradient(circle at top left, #050016 0, #050016 50%, #050016 100%);
}

.section-accent {
  background: linear-gradient(120deg, #a855f7, #6366f1);
  color: #f9fafb;
}

/* HEADER & NAV */

.site-header {
  background: radial-gradient(circle at top left, rgba(13, 10, 32, 0.97), rgba(10, 7, 28, 0.97));
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  position: relative;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ede9fe, #a855f7 45%, #6366f1 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #050016;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Nav – desktop defaults */

.main-nav {
  display: flex;
  align-items: center;
  position: static;
  transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #6366f1);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text);
  font-weight: 500;
}

.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */

.nav-toggle {
  display: none;            /* shown on mobile below */
  background: none;
  border: 1px solid rgba(75, 85, 99, 0.9);
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* HERO */

.hero {
  padding: 3.5rem 0 3.5rem;
}

.hero-inner {
  padding: 3.2rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: #c4b5fd;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-text strong {
  color: #e9d5ff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #1b1030 0, #050016 80%);
  border-radius: 28px;
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(88, 28, 135, 0.8);
  box-shadow: var(--shadow-soft);
  animation: float-card 8s ease-in-out infinite;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  font-size: 0.9rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
}

.hero-list li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.2rem;
}

.hero-highlight {
  border-radius: 20px;
  padding: 0.9rem 1rem;
  background: linear-gradient(to right, rgba(168, 85, 247, 0.18), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.hero-highlight p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Badge */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #e9d5ff;
  font-size: 0.75rem;
  font-weight: 500;
}

/* SECTIONS & CARDS */

.section-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 540px;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(10, 7, 28, 0.97);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-subtle);
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    border-color 160ms ease-out;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card-subtitle {
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Hover lift */
.card:hover,
.project-card:hover,
.testimonial:hover,
.local-card:hover,
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(5, 6, 24, 0.95);
  border-color: rgba(168, 85, 247, 0.7);
}

/* Checklist */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.22rem 0;
}

.checklist li::before {
  content: "✓";
  font-size: 0.8rem;
  margin-top: 3px;
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #a855f7, #6366f1);
  color: #f9fafb;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.8);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.85);
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}

.btn-light {
  background: #f9fafb;
  color: #4c1d95;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.9);
}

/* Local section */

.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.local-card {
  background: radial-gradient(circle at top right, #120826, #050016 80%);
  border-radius: 22px;
  padding: 1.4rem 1.4rem;
  border: 1px solid rgba(88, 28, 135, 0.9);
  box-shadow: var(--shadow-subtle);
}

/* Process */

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.process-list li {
  padding: 1.2rem 1.1rem;
  border-radius: 18px;
  background: rgba(10, 7, 28, 0.97);
  border: 1px dashed rgba(88, 28, 135, 0.9);
}

.process-list h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* CTA */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.section-accent .btn-light {
  background: #0b0220;
  color: #f9fafb;
}

/* Portfolio */

.portfolio-grid {
  align-items: stretch;
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    border-color 160ms ease-out;
}

.project-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.project-thumb-1 {
  background-image: linear-gradient(135deg, #22c55e, #16a34a);
}
.project-thumb-2 {
  background-image: linear-gradient(135deg, #f97316, #ea580c);
}
.project-thumb-3 {
  background-image: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.project-body {
  padding: 1.3rem 1.3rem 1.4rem;
}

.project-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 0.45rem;
}

.project-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.project-body p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.project-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-tags li {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

/* Testimonial */

.testimonial {
  border-radius: 24px;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(88, 28, 135, 0.9);
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.1), rgba(10, 7, 28, 0.97));
}

.testimonial-quote {
  margin: 0 0 0.75rem;
  font-style: italic;
  font-size: 0.98rem;
}

.testimonial-name {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Pricing */

.pricing-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  position: relative;
}

.pricing-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c4b5fd;
  margin: 0 0 0.3rem;
}

.pricing-range {
  font-size: 1.4rem;
  margin: 0.2rem 0 0.4rem;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

.pricing-tagline {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-list {
  margin-top: 0.3rem;
}

.pricing-card-featured {
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-card {
  background: radial-gradient(circle at top left, #120826, #050016 70%);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form .form-row {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(10, 7, 28, 0.97);
  color: var(--text);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.3);
}

.form-error {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #f97373;
  min-height: 1em;
}

.form-success {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: #bbf7d0;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  background: rgba(3, 7, 18, 0.99);
  padding: 2.7rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: flex-start;
}

.footer-logo {
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
}

.footer-text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Links */

a {
  color: var(--accent);
}

a:hover {
  color: #c4b5fd;
}

/* Section CTA */

.section-cta {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.95rem;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 320ms ease-out,
    transform 320ms ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 160ms;
}
.reveal-delay-3 {
  transition-delay: 240ms;
}

@keyframes float-card {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-grid,
  .local-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: auto;
    padding-block: 0.5rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-inner {
    padding-top: 2rem;
  }

  .hero-grid {
    gap: 1.8rem;
  }

  /* MOBILE NAV BEHAVIOUR */
  .nav-toggle {
    display: inline-flex;
  }

  /* dropdown anchored under header */
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(5, 6, 24, 0.98);
    border-bottom: 1px solid rgba(31, 41, 55, 0.95);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 160ms ease-out, opacity 120ms ease-out;
  }

  .main-nav.open {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 1.4rem 0.9rem;
    gap: 0.6rem;
  }

  .grid-2,
  .grid-3,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .hero-card {
    animation: none !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Pricing Section */
.pricing-wrapper {
  margin-top: 1.4rem;
}

.pricing-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.pricing-sub {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.pricing-list li strong {
  font-size: 1rem;
  color: var(--accent);
}

/* optional for purple theme */
:root {
  --accent: #c084fc;           /* light purple */
  --accent-soft: rgba(192,132,252,0.18);
  --accent-muted: rgba(192,132,252,0.08);
}

/* Make the header sit above the page content */
.site-header {
  position: sticky;       /* or fixed, if you prefer */
  top: 0;
  z-index: 100;           /* new */
}

/* Make the dropdown menu sit above everything else on mobile */
@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(5, 6, 24, 0.98);
    border-bottom: 1px solid rgba(31, 41, 55, 0.95);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 160ms ease-out, opacity 120ms ease-out;
    z-index: 120;         /* add this line */
  }
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;       /* more horizontal room */
  min-width: 210px;              /* forces one-line text */
  white-space: nowrap;           /* prevents wrapping */
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 999px;
  background: #0b071d;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  transition: transform 160ms ease, box-shadow 200ms ease, filter 160ms ease;
}

.btn-light:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
}

.btn-light:active {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* "What to expect" list on contact page */
.expect-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}

.expect-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}

.expect-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-size: 0.85rem;
  color: var(--accent-strong);
}

.expect-title {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.expect-text {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* LIGHTBOX (Portfolio image zoom) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.25s ease-out forwards;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.25s ease-out forwards;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  font-weight: 300;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Make project thumbnails clickable */
.project-thumb {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.project-thumb:hover {
  transform: scale(1.02);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.2rem 1.6rem;
}

.process-grid .step strong {
  color: var(--accent);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.process-grid .step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.logo img,
.logo-img {
  display: block;
  height: 48px;    /* adjust as needed */
  width: auto;
}

.site-header .logo {
  display: flex;
  align-items: center;
}

/* Improved process card */
.process-card {
  padding: 2rem;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.process-number {
  flex-shrink: 0;
  background: var(--accent, #a855f7);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.process-step strong {
  font-size: 1.05rem;
}

.process-step p {
  margin: 0.2rem 0 0;
  color: var(--text-muted, #555);
}

/* Header layout & behaviour */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 2, 32, 0.98); /* deep background, tweak to match your theme */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

/* Logo area: image + text */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 40px; /* adjust as needed */
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Subtle hover feedback */
.logo:hover {
  transform: translateY(-1px);
  transition: transform 150ms ease, opacity 150ms ease;
  opacity: 0.95;
}

/* Keep things tidy on smaller screens */
@media (max-width: 640px) {
  .logo-subtitle {
    display: none; /* optional: hide subtitle on very small screens */
  }

  .logo-img {
    height: 32px;
  }
}

/* Agency comparison section */
.compare-grid {
  align-items: stretch;
}

.compare-card h3 {
  margin-bottom: 0.75rem;
}

.compare-card .checklist li {
  margin-bottom: 0.35rem;
}

.project-cta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted, #555);
}

.project-cta a {
  font-weight: 600;
  text-decoration: none;
}

.project-cta a:hover {
  text-decoration: underline;
}

/* Pricing comparison table */
.pricing-table-wrapper {
  margin-top: 2rem;
  overflow-x: auto;
}

.pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px; /* allows nice layout while still scrolling on small screens */
}

.pricing-compare-table th,
.pricing-compare-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.pricing-compare-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.pricing-compare-table tbody tr:nth-child(even) {
  background: rgba(148, 163, 184, 0.04);
}

.pricing-compare-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.hero-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-list--inline li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-list--inline li::before {
  content: "✓";
  font-weight: 700;
}

/* Popular builds list */
.build-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.build-item {
  display: grid;
  grid-template-columns: 10px minmax(120px, 0.9fr) 1.4fr;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  align-items: start;
}

.build-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.build-title {
  font-weight: 700;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}

.build-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

/* Improve the highlight panel */
.hero-highlight {
  margin-top: 1.1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-highlight p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

/* Badge polish */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.badge::before {
  content: "•";
  opacity: 0.7;
}

/* --- Popular builds list (polished) --- */
.build-list{
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.build-item{
  display: grid;
  grid-template-columns: 12px minmax(180px, 0.95fr) 1.45fr; /* wider title col */
  column-gap: 0.9rem;
  align-items: start;
}

.build-title{
  font-weight: 700;
  color: rgba(255,255,255,0.94);
  line-height: 1.25;
}

.build-desc{
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}

/* subtle row separation */
.build-item + .build-item{
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.build-dot{
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 0 4px rgba(140, 80, 255, 0.10); /* soft glow */
}

/* optional: nicer than a circle */
.build-dot{
  border-radius: 3px; /* makes it a rounded square */
}

.hero-card h2{
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}

.hero-card{
  padding: 1.6rem;
}

@media (max-width: 520px){
  .build-item{
    grid-template-columns: 12px 1fr; /* stack nicely */
  }
  .build-desc{
    grid-column: 2 / -1;
  }
}

.hero-highlight{
  margin-top: 1.2rem;
  padding: 1.05rem 1.05rem 1.1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-highlight p{
  margin: 0.75rem 0 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}

.badge::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.65);
  box-shadow: 0 0 0 4px rgba(140, 80, 255, 0.12);
}

/* Floating Contact Button */
.floating-contact-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  background: #1f6fff; /* match your brand colour */
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;

  font-weight: 600;
  font-size: 14px;
  text-decoration: none;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Mobile tweak */
@media (max-width: 600px) {
  .floating-contact-btn {
    bottom: 15px;
    right: 15px;
    font-size: 13px;
    padding: 10px 16px;
  }
}