.seo-hero {
  position: relative;
  overflow: hidden;
  background-color: #0b1120;
  color: #ffffff;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  --flow-color: #0b1120;
}

html {
  scroll-behavior: smooth;
}

.seo-hero .mesh-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      at 0% 0%,
      rgba(0, 87, 193, 0.2) 0px,
      transparent 50%
    ),
    radial-gradient(
      at 100% 100%,
      rgba(51, 133, 255, 0.15) 0px,
      transparent 50%
    );
  z-index: 0;
  pointer-events: none;
}

.seo-hero .flow-blend {
  display: none;
}

.seo-hero h1,
.seo-hero h2,
.seo-hero h3 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.seo-hero p {
  color: #94a3b8;
}

@media (max-width: 720px) {
  .seo-hero__lede {
    margin-top: 0.75rem !important;
  }
}

.seo-hero .service-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem;
  border-radius: 1rem;
  min-height: 0;
  display: block;
  box-shadow: none;
}

.seo-hero .service-card:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(30, 41, 59, 0.7);
  border-color: #0057c1;
  box-shadow: 0 10px 40px -10px rgba(0, 87, 193, 0.3);
}

.seo-hero .service-card h3 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.seo-hero .service-card p {
  color: #94a3b8;
  font-size: 0.75rem;
}

.seo-hero .btn-shimmer {
  background: linear-gradient(90deg, #0057c1 0%, #4d9aff 50%, #0057c1 100%);
  background-size: 200% auto;
  color: #ffffff;
  transition: 0.3s;
  text-decoration: none;
}

.seo-hero .btn-shimmer:hover {
  background-position: right center;
  text-decoration: none;
}

.seo-deliverables {
  background-color: #020408;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

.seo-deliverables .font-sans {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

.seo-deliverables .font-mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
}

.seo-deliverables .system-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .seo-deliverables .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .seo-deliverables .system-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.seo-deliverables .system-cell {
  position: relative;
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  background: transparent;
}

@media (min-width: 1024px) {
  .seo-deliverables .system-cell:nth-child(3n) {
    border-right: none;
  }
  .seo-deliverables .system-cell:nth-last-child(-n + 3) {
    border-bottom: none;
  }
}

.seo-deliverables .system-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--x, 50%) var(--y, 50%),
    rgba(0, 87, 193, 0.15),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}

.seo-deliverables .system-cell:hover::before {
  opacity: 1;
}

.seo-deliverables .system-cell:hover {
  background: rgba(255, 255, 255, 0.03);
}

.seo-deliverables .cell-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #94a3b8;
}

.seo-deliverables .system-cell:hover .cell-icon {
  transform: scale(1.1) rotate(-5deg);
  color: #0057c1;
}

.seo-deliverables .cell-corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.seo-deliverables .system-cell:hover .cell-corner {
  opacity: 1;
}

.seo-essentials {
  position: relative;
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;
}

.seo-essentials .bg-dynamic {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, #1461ca 0%, #000000 70%);
  z-index: 0;
  pointer-events: none;
}

.seo-essentials .cards-container {
  position: relative;
  z-index: 1;
}

.seo-essentials .spotlight-card {
  background-color: rgba(20, 20, 20, 0.6);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

.seo-essentials .spotlight-card:hover {
  transform: translateY(-4px);
}

.seo-essentials .spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 1;
}

.seo-essentials .spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(20, 97, 202, 0.3),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 2;
}

.seo-essentials .spotlight-card:hover::before,
.seo-essentials .spotlight-card:hover::after {
  opacity: 1;
}

.seo-essentials .card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.seo-essentials .accent-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: auto;
  transition: width 0.3s ease;
}

.seo-essentials .spotlight-card:hover .accent-bar {
  width: 60px;
}

.seo-essentials .stat-fill {
  width: 0%;
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.seo-essentials .animate-float {
  animation: seo-float 6s ease-in-out infinite;
}

@keyframes seo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.seo-case-studies {
  position: relative;
  background-color: #000e1a;
  background-image: radial-gradient(circle at 50% 0%, #016fc5 0%, #000e1a 80%);
  color: #ffffff;
  overflow: hidden;
}

.seo-case-studies #seo-case-dynamic-text {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.seo-case-studies .case-file {
  background: rgba(11, 17, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 500px;
  backdrop-filter: blur(12px);
}

.seo-case-studies .case-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  transition: transform 0.7s ease, opacity 0.5s ease;
  z-index: 0;
  filter: grayscale(100%);
}

.seo-case-studies .case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #000e1a 10%,
    rgba(0, 14, 26, 0.8) 50%,
    rgba(0, 14, 26, 0.4) 100%
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}

.seo-case-studies .case-file:hover {
  transform: translateY(-8px);
  border-color: rgba(1, 111, 197, 0.6);
  box-shadow: 0 20px 50px -10px rgba(1, 111, 197, 0.25);
}

.seo-case-studies .case-file:hover .case-bg-image {
  transform: scale(1.1);
  opacity: 0.6;
  filter: grayscale(0%);
}

.seo-case-studies .case-file:hover .case-overlay {
  opacity: 0.9;
  background: linear-gradient(to top, #001529 0%, rgba(0, 14, 26, 0.6) 100%);
}

.seo-case-studies .scanner-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0057c1;
  box-shadow: 0 0 15px #0057c1, 0 0 30px #0057c1;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.seo-case-studies .case-file:hover .scanner-beam {
  animation: seo-case-scan 1.5s ease-in-out forwards;
}

.seo-case-studies .card-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  pointer-events: none;
}

.seo-case-studies .case-file:hover .card-grid {
  opacity: 0.3;
}

.seo-case-studies .tech-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(4px);
}

.seo-case-studies .case-file:hover .tech-badge {
  background: rgba(1, 111, 197, 0.2);
  border-color: rgba(1, 111, 197, 0.5);
  color: #ffffff;
}

@keyframes seo-case-scan {
  0% {
    top: -10%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}
