html {
  scroll-behavior: smooth;
}

.tech-grid {
  position: relative;
  background: radial-gradient(
      1200px 600px at 10% 10%,
      rgba(247, 211, 111, 0.08),
      transparent 40%
    ),
    radial-gradient(
      800px 400px at 90% 20%,
      rgba(247, 211, 111, 0.06),
      transparent 50%
    ),
    linear-gradient(180deg, #0b1221 0%, #0f1a2e 25%, #0b1221 100%);
  overflow: hidden;
}

.tech-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px;
  mask-image: radial-gradient(
    circle at 50% 30%,
    rgba(0, 0, 0, 0.9),
    transparent 70%
  );
  pointer-events: none;
}

.gold-line {
  background-image: linear-gradient(
    90deg,
    rgba(247, 211, 111, 0),
    rgba(247, 211, 111, 0.85),
    rgba(247, 211, 111, 0)
  );
  height: 2px;
}

.btn-gold {
  background: linear-gradient(180deg, #f7d36f, #f0c14b);
}

.btn-gold:hover {
  filter: brightness(0.95);
}

.world-overlay svg {
  opacity: 0.18;
}

.team-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-card {
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.02);
}

/* ===== BLOG STYLES ===== */
.blog-category-btn {
  @apply px-4 py-2 rounded-full text-sm font-medium border border-slate-300 bg-white text-slate-700 hover:bg-slate-50 transition-colors;
}

.blog-category-btn.active {
  @apply bg-amber-100 text-amber-800 border-amber-200;
}

.blog-post {
  @apply transition-all duration-300;
}

.blog-post:hover {
  @apply transform -translate-y-1;
}

.featured-post {
  @apply relative overflow-hidden;
}

.featured-post::before {
  content: "";
  @apply absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-gold to-gold2;
}

/* Blog post fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-post.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive adjustments for blog */
@media (max-width: 768px) {
  .blog-category-btn {
    @apply text-xs px-3 py-1.5;
  }
  
  .featured-post {
    @apply p-6;
  }
  
  .featured-post h2 {
    @apply text-xl;
  }
}

/* ===== GENERIC REVEAL / HERO ANIMATIONS ===== */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.will-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-enter {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.hero-enter.hero-in {
  animation: fadeUpSoft 700ms ease forwards;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(15, 26, 46, 0.98), rgba(11, 18, 33, 0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(240, 193, 75, 0.2);
  padding: 1rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 280px;
}

.cookie-icon {
  width: 20px;
  height: 20px;
  color: #f0c14b;
  flex-shrink: 0;
}

.cookie-banner-text p {
  color: #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-link {
  color: #f0c14b;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: #f7d36f;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}

.cookie-btn-accept {
  background: linear-gradient(180deg, #f7d36f, #f0c14b);
  color: #0b1221;
}

.cookie-btn-accept:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(240, 193, 75, 0.3);
}

.cookie-btn-accept:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .cookie-banner-text {
    min-width: 100%;
  }
  
  .cookie-banner-actions {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
    padding: 0.625rem 1rem;
  }
}