@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/fonts/inter-latin.woff2') format('woff2');
}

/* Custom properties matching .pen design tokens */
:root {
  --bg-black: #000000;
  --bg-dark: #111111;
  --border-color: #2A2A2A;
  --primary-purple: #744FC3;
  --purple-10: rgba(116, 79, 195, 0.1);
  --purple-20: rgba(116, 79, 195, 0.2);
  --light-purple: #9b7fd4;
  --dark-purple-bg: #1a0f2e;
  --neon-green: #00FF41;
  --green-glow: rgba(0, 255, 65, 0.4);
  --gold: #FFD700;
  --red: #DC2626;
  --text-gray: #CCCCCC;
  --text-muted: #999999;
  --text-white: #FFFFFF;
}

/* Hero gradients */
.gradient-hero {
  background: linear-gradient(180deg, #000000 0%, #1a0f2e 50%, #000000 100%);
}

.gradient-hero-sym {
  background: linear-gradient(180deg, #000000 0%, #1a0f2e 40%, #1a0f2e 60%, #000000 100%);
}

/* Gradient text */
.gradient-text-hero {
  background: linear-gradient(90deg, #FFFFFF 0%, #744FC3 50%, #E879A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-404 {
  background: linear-gradient(180deg, #744FC3 0%, #E879A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Neon green glow button */
.btn-neon {
  background-color: var(--neon-green);
  color: #000000;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-neon:hover {
  box-shadow: 0 0 20px var(--green-glow);
  transform: translateY(-1px);
}

/* Purple outline button */
.btn-purple-outline {
  border: 1px solid var(--primary-purple);
  color: var(--text-white);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-purple-outline:hover {
  background-color: var(--purple-10);
}

/* Ensure all interactive elements have pointer cursor */
button,
a[href],
[type="submit"],
[type="button"],
select,
label:has(input),
[role="button"],
[x-on\:click],
[\@click],
.btn-neon,
.btn-purple-outline,
.card-hover {
  cursor: pointer;
}

/* Card hover */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(116, 79, 195, 0.15);
  border-color: var(--primary-purple);
}

/* Home category cards */
.category-card {
  position: relative;
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(116, 79, 195, 0.22), transparent 45%),
    linear-gradient(180deg, rgba(116, 79, 195, 0.12), rgba(17, 17, 17, 0.98) 62%);
}

.category-card__eyebrow {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-card__title {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-white);
}

.category-card__meta {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--light-purple);
}

.category-card:hover .category-card__meta {
  color: var(--text-white);
}

.category-card--service {
  min-height: 10rem;
  background:
    radial-gradient(circle at top right, rgba(0, 255, 65, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(116, 79, 195, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(10, 10, 10, 0.98));
}

.category-card--service .category-card__eyebrow {
  color: var(--light-purple);
}

.category-card--service .category-card__content {
  margin-top: auto;
}

.category-card--service .category-card__title {
  font-size: 1.125rem;
  line-height: 1.35;
}

/* MAX share badge */
.share-icon-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 0.45rem;
  background: #a8a8a8;
  color: #000000;
  font-family: "Arial Black", "Segoe UI", "Inter", sans-serif;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

a:hover .share-icon-max,
button:hover .share-icon-max {
  background: #b6b6b6;
  transform: scale(1.04);
}

/* Preloader */
.preloader-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.08em;
}

/* Footer layout */
.footer-grid {
  align-items: start;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  min-width: 1.85rem;
  margin-right: 0.125rem;
  border-radius: 0.625rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.22);
}

.footer-social-icon,
.footer-social-badge {
  color: var(--primary-purple);
}

.footer-social-icon {
  font-size: 0.9rem;
}

.footer-social-badge {
  font-family: "Arial Black", "Segoe UI", "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  }
}

.anchor-section {
  scroll-margin-top: 8rem;
}

.anchor-section--footer-gap {
  padding-bottom: 12rem;
}

@media (max-width: 48rem) {
  .anchor-section {
    scroll-margin-top: 6rem;
  }

  .anchor-section--footer-gap {
    padding-bottom: 9rem;
  }
}

/* Scroll fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Star ratings */
.star-gold { color: var(--gold); }
.star-empty { color: #555555; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-purple); border-radius: 4px; }
