:root {
  --bg: #0c0c11;
  --surface: #101016;
  --card: #17171f;
  --border: #23232f;
  --dim: #8888a4;
  --light: #a5a5bf;
  --bright: #e4e4f0;
  --lime: #b8ff3c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--light);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 999;
}

/* Scroll bar */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--lime);
  z-index: 200;
  transition: width 0.08s linear;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s, background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  padding: 14px 0;
  background: rgba(12, 12, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--bright);
}

/* Buttons */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #0a0f00;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn-lime:hover {
  background: #cbff5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(184, 255, 60, 0.22);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--light);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--bright);
  background: rgba(184, 255, 60, 0.04);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(184, 255, 60, 0.07);
  border: 1px solid rgba(184, 255, 60, 0.2);
  color: var(--lime);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

/* Worry rows hover */
.worry-row:hover {
  background: rgba(184, 255, 60, 0.08) !important;
  border-color: rgba(184, 255, 60, 0.2) !important;
}

.worry-row:hover .worry-icon {
  transform: scale(1.12);
}

.worry-row:hover .worry-title {
  color: #ffffff;
}

/* Section eyebrow */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

/* Hero glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: rgba(184, 255, 60, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

.card-featured {
  background: var(--bg);
  border-color: rgba(184, 255, 60, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-top: -14px;
  margin-bottom: -14px;
}

.card-featured:hover {
  border-color: rgba(184, 255, 60, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 60px rgba(184, 255, 60, 0.06);
}

/* Service icon */
.svc-icon {
  width: 63px;
  height: 63px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: rgba(184, 255, 60, 0.08);
}

/* Process */
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(184, 255, 60, 0.2);
  background: rgba(184, 255, 60, 0.05);
  color: var(--lime);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;
  margin: 0 auto 18px;
}

.step-line {
  position: absolute;
  top: 24px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 1px;
  border-top: 1.5px dashed var(--border);
}

@media (max-width: 768px) {
  .step-line {
    display: none;
  }
}

/* Testimonial cards */
.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.tcard:hover {
  border-color: rgba(184, 255, 60, 0.18);
  transform: translateY(-2px);
}

.stars {
  color: var(--lime);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Skill pills */
.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--light);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s;
}

.skill-pill:hover {
  border-color: rgba(184, 255, 60, 0.3);
  color: var(--bright);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bright);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.975rem;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-btn:hover {
  color: var(--lime);
}

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, border-color 0.2s, color 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--lime);
  color: var(--lime);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-body {
  max-height: 280px;
  padding-bottom: 20px;
}

/* Form */
.form-field {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--bright);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238888a4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 32px;
}

.form-field::placeholder {
  color: var(--muted);
}

.form-field:focus {
  border-color: rgba(184, 255, 60, 0.45);
  box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.07);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

.d4 {
  transition-delay: 0.32s;
}

/* Hero fade-up */
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.a0 {
  animation: up 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.a1 {
  animation: up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both;
}

.a2 {
  animation: up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}

.a3 {
  animation: up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

.a4 {
  animation: up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

/* Semantic text utilities */
.text-body {
  color: #a5a5bf;
}

.text-secondary {
  color: #7f7f93;
}

/* Portfolio */
.pf-cat-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.pf-cat-business {
  background: rgba(184, 255, 60, 0.08);
  color: var(--lime);
  border: 1px solid rgba(184, 255, 60, 0.2);
}

.pf-cat-music {
  background: rgba(96, 239, 255, 0.08);
  color: #60efff;
  border: 1px solid rgba(96, 239, 255, 0.2);
}

.pf-cat-lifestyle {
  background: rgba(255, 159, 107, 0.08);
  color: #ff9f6b;
  border: 1px solid rgba(255, 159, 107, 0.2);
}

.pf-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .pf-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pf-row {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }

  .pf-row::-webkit-scrollbar {
    height: 3px;
  }

  .pf-row::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
  }
}

.pf-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 260px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

@media (min-width: 601px) {
  .pf-card {
    flex: unset;
  }
}

.pf-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.pf-link {
  display: block;
  text-decoration: none;
}

.pf-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--surface);
}

.pf-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.pf-card:hover .pf-img {
  transform: scale(1.04);
}

.pf-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 17, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}

.pf-card:hover .pf-overlay {
  opacity: 1;
}

.pf-view-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: #0a0f00;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  padding: 8px 16px;
  border-radius: 5px;
  transform: translateY(4px);
  transition: transform .2s;
}

.pf-card:hover .pf-view-btn {
  transform: translateY(0);
}

.pf-body {
  padding: 14px 16px;
}

.pf-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--bright);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pf-desc {
  font-size: .75rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.pf-domain {
  font-size: .68rem;
  color: #747487;
  letter-spacing: .01em;
}

/* Accent line */
.lime-rule {
  width: 30px;
  height: 2px;
  background: var(--lime);
  border-radius: 99px;
  margin-bottom: 14px;
}

/* Tooltip */
.tip-wrap {
  position: relative;
  cursor: default;
}

.tip-wrap .tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--light);
  font-size: 0.72rem;
  line-height: 1.4;
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 50;
}

.tip-wrap .tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--border);
}

.tip-wrap:hover .tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile menu */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: flex;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}