@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Lato:wght@300;400;700&display=swap');

:root {
  --services-bg: #000000;
  --services-surface: #0b0b14;
  --services-accent: #db6b86;
  --services-text: #f7f7ff;
  --services-muted: #b8b9cf;
}

body.services-page {
  margin: 0;
  min-height: 100vh;
  background: var(--services-bg);
  color: var(--services-text);
  font-family: 'Space Grotesk', 'Geist', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.services-page .menu__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(5, 5, 12, 0.92);
  transition: opacity 0.35s ease;
}

body.services-page .menu__bg.menu__bg--active {
  opacity: 1;
}

body.services-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(219, 107, 134, 0.08), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(124, 139, 255, 0.1), transparent 45%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.services-main {
  width: min(1300px, 100% - 4rem);
  margin: 0 auto;
  padding: 8rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.services-section-title {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--services-accent);
  font-size: 0.9rem;
}

.sticky-hero {
  position: relative;
  isolation: isolate;
  --start: 32vh;
  --space: 32vh;
  --hue: 220;
  --accent: hsl(var(--hue) 90% 60%);
  --switch: #000;
}

.sticky-hero[data-theme='dark'] {
  --switch: #000;
}

.sticky-hero[data-theme='light'] {
  --switch: #fff;
}

.sticky-hero::before {
  content: '';
  position: absolute;
  inset: -10vh 0;
  background: radial-gradient(circle at 20% 20%, rgba(219, 107, 134, 0.2), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(124, 139, 255, 0.2), transparent 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 90px 90px, 90px 90px;
  opacity: 0.45;
  z-index: -2;
}

.sticky-hero .content {
  width: 100%;
}

.sticky-hero :where(.fluid) {
  font-size: clamp(1.5rem, 4vw, 3.75rem);
}

.sticky-hero__header {
  --font-size-min: 24;
  position: sticky;
  top: calc((var(--count) - 1) * -1lh);
  line-height: 1.2;
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin-bottom: var(--space);
}

.sticky-hero__header section {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(1rem, calc(var(--start) - 0.5lh), 3rem);
}

.sticky-hero__header h1,
.sticky-hero__header .sticky-hero__title {
  position: sticky;
  top: clamp(1rem, calc(var(--start) - 0.5lh), 3rem);
  font-size: inherit;
  margin: 0;
  display: inline-block;
  height: fit-content;
  font-weight: 600;
}

.sticky-hero ul {
  font-weight: 700;
  padding-inline: 0;
  margin: 0;
  list-style-type: none;
}

.sticky-hero li {
  --dimmed: color-mix(in oklch, canvasText, #0000 80%);
  background: linear-gradient(
    180deg,
    var(--dimmed) 0 calc(var(--start) - 0.5lh),
    var(--accent) calc(var(--start) - 0.55lh) calc(var(--start) + 0.55lh),
    var(--dimmed) calc(var(--start) + 0.5lh)
  );
  background-attachment: fixed;
  color: #0000;
  background-clip: text;
}

.sticky-hero__main {
  width: 100%;
  min-height: clamp(300px, 55vh, 420px);
  z-index: 2;
  position: relative;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-hero__main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
  border-radius: 1rem 1rem 0 0;
}

.sticky-hero__main section {
  --font-size-min: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sticky-hero__main p {
  margin: 0.5rem 0 0;
  font-weight: 600;
  white-space: normal;
  text-align: center;
  padding: 0 1rem;
}

.sticky-hero__main a:not(.bear-link) {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.12em;
}

.sticky-hero__main a:not(.bear-link):is(:focus-visible, :hover) {
  text-decoration: underline;
}

.sticky-hero .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@supports (animation-timeline: view()) {
  .sticky-hero[data-animate='true'] .sticky-hero__main {
    border-radius: 1rem;
    view-timeline: --sticky-section;
  }

  .sticky-hero[data-animate='true'] .sticky-hero__main::before {
    transform-origin: 50% 100%;
    scale: 0.9;
    animation: grow both ease-in-out;
    animation-timeline: --sticky-section;
    animation-range: entry 50%;
  }

  .sticky-hero[data-animate='true'] .sticky-hero__main section p {
    position: fixed;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    animation: reveal both ease-in-out;
    animation-timeline: --sticky-section;
    animation-range: entry 50%;
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
  }
}

@keyframes grow {
  100% {
    scale: 1;
    border-radius: 0;
  }
}

.services-grid {
  background: #05050c;
  padding: 2rem 0 4rem;
  border-radius: 16px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.55);
}

.services-grid .wrapper {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

.services-grid .page-title {
  margin: 2rem auto 3rem;
}

.services-grid .page-title h1 {
  text-transform: lowercase;
  letter-spacing: 10px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: #ffffff;
  margin: 0;
}

.icon-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: linear-gradient(145deg, #0f0f1c, #0a0a14);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6);
}

.card h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
}

.card svg {
  width: 100%;
  display: block;
  background: radial-gradient(circle at 30% 30%, rgba(219, 107, 134, 0.05), transparent 45%);
  border-radius: 10px;
}

.card a {
  align-self: flex-start;
  text-transform: lowercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 18px;
  color: #db6b86;
  border: 1px solid #db6b86;
  text-decoration: none;
  transition: all 0.25s ease;
  border-radius: 999px;
  background: rgba(219, 107, 134, 0.08);
}

.card a:hover {
  background-color: #db6b86;
  color: #fff;
}

.card--pay-later {
  text-decoration: none;
  color: inherit;
  border-color: rgba(76, 242, 255, 0.35);
  background: linear-gradient(145deg, rgba(12, 28, 48, 0.95), rgba(18, 22, 42, 0.95));
  position: relative;
}

.card--pay-later::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(76, 242, 255, 0.4), rgba(139, 92, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card--pay-later:hover {
  border-color: rgba(76, 242, 255, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.card--pay-later .card__tagline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--services-muted);
  flex-grow: 1;
}

.card--pay-later .card__cta {
  display: inline-block;
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4cf2ff;
  letter-spacing: 1px;
}

.card--pay-later:hover .card__cta {
  color: #8b5cf6;
}

.icon-design .anchor-part {
  animation: move 2s linear infinite;
}

.icon-design .anchor-part--2 {
  animation: move2 2s linear infinite;
}

.icon-design .pen-part {
  transform-origin: 140px 180px;
  animation: bounce2 2s ease-in-out infinite;
}

.icon-design .ruler-part {
  transform-origin: 140px 180px;
  animation: bounce 1s ease-in-out infinite;
}

.icon-design .circle-part {
  transform-origin: 139.8px 167.8px;
  animation: rotate 4s linear infinite;
}

.icon-design .cursor-part {
  animation: bounceBFt2 2s ease-in-out infinite;
}

.icon-develop .gear-b {
  animation: rotate-reverse 6s linear infinite;
}

.icon-develop .gear-s {
  animation: rotate 12s linear infinite;
}

.icon-develop .line-t,
.icon-develop .line-m,
.icon-develop .line-b {
  animation: shrink 1.8s ease-in-out infinite;
}

.icon-develop .line-m {
  animation-delay: 0.3s;
}

.icon-develop .line-b {
  animation-delay: 0.6s;
}

.icon-support .gear-s,
.icon-support .gear-m {
  animation: rotate 6s linear infinite;
}

.icon-support .gear-b {
  animation: rotate-reverse 6s linear infinite;
}

.icon-support .clock {
  transform-origin: 223.6px 132.8px;
  animation: rotate 12s linear infinite;
}

.icon-eComm .bubble-b {
  animation: bubble-b 3.4s linear infinite;
}

.icon-eComm .bubble-m {
  animation: bubble-m 3.4s linear infinite;
}

.icon-eComm .bubble-t {
  animation: bubble-t 3.4s linear infinite;
}

.icon-eComm .hand,
.icon-eComm .bag-f,
.icon-eComm .bag-b,
.icon-eComm .bag-f--tag {
  transform-origin: 320px 200px;
  animation: bounce2 1.6s ease-in-out infinite;
}

.icon-eComm .bag-bb {
  animation-delay: 0.4s;
}

.icon-eComm .bag-f--tag,
.icon-eComm .bag-bb {
  transform-origin: 200px 190px;
  animation: bounce 1.6s ease-in-out infinite;
}

.icon-eComm .bag-b {
  transform-origin: 160px 160px;
  animation: bounce 1.6s ease-in-out infinite;
}

.icon-mobApps .gear {
  animation: rotate 30s linear infinite;
}

.icon-mobApps .line-t,
.icon-mobApps .line-m,
.icon-mobApps .line-b {
  animation: shrink 2.2s ease-in-out infinite;
}

.icon-mobApps .line-m {
  animation-delay: 0.3s;
}

.icon-mobApps .line-b {
  animation-delay: 0.6s;
}

.icon-mobApps .ruler {
  transform-origin: 300px 200px;
  animation: bounceBFt2 2s ease-in-out infinite;
}

.icon-mobApps .hook {
  transform-origin: 148px 24px;
  animation: bounce3 1.6s ease-in-out infinite;
}

.icon-webApps .ruler {
  animation: bounceBF 1.8s ease-in-out infinite;
}

.icon-webApps .panel {
  animation: twinkle3 3s ease-in-out infinite;
}

.icon-webApps .panel2 {
  animation-delay: 0.5s;
}

.icon-webApps .panel3 {
  animation-delay: 1s;
}

.icon-webApps .panel4 {
  animation-delay: 1.5s;
}

.icon-webApps .panel5 {
  animation-delay: 2s;
}

.icon-webApps .line-1,
.icon-webApps .line-2,
.icon-webApps .line-3 {
  animation: shrink 2s ease-in-out infinite;
}

.icon-webApps .line-2 {
  animation-delay: -0.4s;
}

.icon-wordpress .graph {
  animation: bounce 1.4s ease-in-out infinite;
}

.icon-wordpress .mouse {
  animation: bounceBFt2 1.6s ease-in-out infinite;
}

.icon-wordpress .wp-logo {
  animation: twinkle2 4s ease-in-out infinite;
}

.icon-wordpress .keyboard [class*=key] {
  animation: typing 2.75s linear infinite;
}

.icon-wordpress .key-2 { animation-delay: calc(2.75s / 12 * 2); }
.icon-wordpress .key-3 { animation-delay: calc(2.75s / 12 * 3); }
.icon-wordpress .key-4 { animation-delay: calc(2.75s / 12 * 4); }
.icon-wordpress .key-5 { animation-delay: calc(2.75s / 12 * 5); }
.icon-wordpress .key-6 { animation-delay: calc(2.75s / 12 * 6); }
.icon-wordpress .key-7 { animation-delay: calc(2.75s / 12 * 7); }
.icon-wordpress .key-8 { animation-delay: calc(2.75s / 12 * 8); }
.icon-wordpress .key-9 { animation-delay: calc(2.75s / 12 * 9); }
.icon-wordpress .key-10 { animation-delay: calc(2.75s / 12 * 10); }
.icon-wordpress .key-11 { animation-delay: calc(2.75s / 12 * 11); }
.icon-wordpress .key-12 { animation-delay: calc(2.75s / 12 * 12); }

.icon-eComm .play-btn,
.icon-webApps .play-btn {
  opacity: 1;
}

.icon-eComm .pause-btn,
.icon-webApps .pause-btn {
  opacity: 0;
}

.icon-eComm:hover .play-btn,
.icon-webApps:hover .play-btn {
  opacity: 0;
}

.icon-eComm:hover .pause-btn,
.icon-webApps:hover .pause-btn {
  opacity: 1;
}

.star {
  animation: twinkle 4s ease-in-out infinite;
}

.star-2 {
  animation-delay: 1s;
}

@keyframes typing {
  0%, 2% {
    opacity: 0.6;
  }

  4% {
    opacity: 1;
  }
}

@keyframes twinkle {
  0%, 50%, 100% {
    transform: scale(1);
  }

  25%, 75% {
    transform: scale(1.6);
  }
}

@keyframes twinkle2 {
  0%, 50%, 100% {
    transform: scale(1);
  }

  25%, 75% {
    transform: scale(1.07);
  }
}

@keyframes twinkle3 {
  0%, 50%, 100% {
    transform: scale(1);
  }

  25%, 75% {
    transform: scale(1.14);
  }
}

@keyframes bubble-t {
  26%, 80% {
    transform: scale(0);
  }

  20%, 86% {
    transform: scale(1);
  }
}

@keyframes bubble-m {
  36%, 70% {
    transform: scale(0);
  }

  30%, 76% {
    transform: scale(1);
  }
}

@keyframes bubble-b {
  46%, 60% {
    transform: scale(0);
  }

  40%, 66% {
    transform: scale(1);
  }
}

@keyframes bounce {
  50% {
    transform: rotate(-6deg);
  }
}

@keyframes bounce2 {
  50% {
    transform: rotate(6deg);
  }
}

@keyframes bounce3 {
  50% {
    transform: rotate(3deg);
  }
}

@keyframes bounceBF {
  0%, 100% {
    transform: rotate(1.6deg);
  }

  50% {
    transform: rotate(-1.6deg);
  }
}

@keyframes bounceBFt2 {
  0%, 100% {
    transform: rotate(4.6deg);
  }

  50% {
    transform: rotate(-4.6deg);
  }
}

@keyframes shrink {
  50% {
    transform: scaleX(0.3);
  }
}

@keyframes rotate {
  to {
    transform: rotate(1turn);
  }
}

@keyframes rotate-reverse {
  to {
    transform: rotate(-1turn);
  }
}

.pay-later-section {
  padding: 2.5rem 1.5rem;
  margin: 0 auto;
  max-width: min(800px, 100% - 2rem);
}

.pay-later-inner {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(219, 107, 134, 0.12), rgba(76, 242, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.pay-later__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--services-text);
}

.pay-later__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--services-muted);
}

.pay-later__cta {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--services-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

.pay-later__cta:hover {
  opacity: 0.9;
}

.faq-section {
  padding: 2.5rem 1.5rem 3rem;
  max-width: min(800px, 100% - 2rem);
  margin: 0 auto;
}

.faq-section__title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--services-text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item__q {
  padding: 1rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: '+';
  float: right;
  font-size: 1.2rem;
}

.faq-item[open] .faq-item__q::after {
  content: '−';
}

.faq-item__a {
  margin: 0;
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--services-muted);
}
