/* NerdDigital Styles */

body {
  background-color: #F9F9F7;
  color: #111111;
  overflow-x: hidden;
  /* Subtle grid */
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23E5E5E5' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Headers - consistent weight, font controlled by Tailwind classes */
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* Primary Button */
.btn-primary {
  background-color: #111111;
  color: white;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #FF0080;
}
.btn-primary:active {
  transform: translate(0, 0);
  box-shadow: none;
}

/* Light variant button */
.btn-primary-light {
  background-color: white;
  color: #111111;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary-light:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #FF0080;
}

/* Card Styles */
.card-editorial {
  background: white;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
}

/* Day Badge */
.day-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF0080;
  font-weight: 500;
}

/* Input Styling */
.input-clean {
  background: white;
  border: 2px solid #111111;
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.input-clean:focus {
  outline: none;
  border-color: #FF0080;
}

/* Logo Dark Filter */
.logo-dark {
  filter: brightness(0) saturate(100%);
  opacity: 0.6;
}

/* Grid Texture */
.grid-texture {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.grid-texture-light {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23FFFFFF' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Cream background with grid texture */
.bg-cream-grid {
  background-color: #FBF7F4;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23000000' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}

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

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

@keyframes logo-scroll-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.animate-marquee-seamless {
  animation: marquee-seamless 60s linear infinite;
}

.animate-logo-scroll-reverse {
  animation: logo-scroll-reverse 30s linear infinite;
}

/* Expert Card Styles */
.expert-card img {
  transition: transform 0.4s ease;
}
.expert-card:hover img {
  transform: scale(1.02);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #E5E5E5;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-content {
  max-height: 500px;
}
