@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

:root {
  --charcoal: #171e19;
  --dark-gray: #272727;
  --sage: #b7c6c2;
  --white: #ffffff;
  --yellow: #ffe17c;
}

/* Custom font styles matching spec */
.font-anton {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: normal;
  line-height: 0.9;
}

.font-satoshi {
  font-family: 'Satoshi', sans-serif;
}

/* Grid Background */
.grid-bg-light {
  background-image: 
    linear-gradient(to right, rgba(183, 198, 194, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(183, 198, 194, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #ffffff;
}

.grid-bg-dark {
  background-image: 
    linear-gradient(to right, rgba(183, 198, 194, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(183, 198, 194, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #171e19;
}

/* 15-degree Rotated Overlay behind key words in headlines */
.highlight-rotated {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-rotated::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -4%;
  right: -4%;
  bottom: 8%;
  background-color: #ffe17c;
  border: 2px solid #171e19;
  transform: rotate(-15deg);
  z-index: -1;
  pointer-events: none;
}

/* Brutalist Custom Shadows & Borders */
.border-light-brutalist {
  border: 1px solid rgba(23, 30, 25, 0.1);
}

.border-dark-brutalist {
  border: 1px solid rgba(183, 198, 194, 0.1);
}

/* Premium Card Transitions */
.brutalist-card-light {
  background-color: #ffffff;
  border: 3px solid #171e19;
  box-shadow: 6px 6px 0px 0px #171e19;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brutalist-card-light:hover {
  transform: translate(-6px, -6px);
  box-shadow: 12px 12px 0px 0px #ffe17c;
}

.brutalist-card-dark {
  background-color: #272727;
  border: 3px solid #b7c6c2;
  box-shadow: 6px 6px 0px 0px #b7c6c2;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brutalist-card-dark:hover {
  transform: translate(-6px, -6px);
  box-shadow: 12px 12px 0px 0px #ffe17c;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #171e19;
}
::-webkit-scrollbar-thumb {
  background: #ffe17c;
  border: 3px solid #171e19;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Utilities */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: countUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Marquee decoration for brutalist SaaS design */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
