/* ============================================
   IA PAGE STYLES
   ============================================ */

/* Hero */
.ia-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.ia-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ia-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ia-hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.15);
  top: -10%;
  right: -5%;
  animation: float 8s ease-in-out infinite;
}

.ia-hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.12);
  bottom: -10%;
  left: -5%;
  animation: float 10s ease-in-out infinite reverse;
}

body {
  background-color: var(--primary);
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-attachment: fixed;
}

.ia-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ia-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ia-hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero card */
.ia-hero-card {
  background: rgba(15, 22, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}



@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ia-hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ia-hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ia-hero-card-header span {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
}

.ia-hero-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.ia-hero-metric-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(59, 130, 246, 0.12);
  position: relative;
  overflow: hidden;
}

.ia-hero-metric-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
  border-radius: 10px;
  pointer-events: none;
  animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
  0% { width: 0%; }
  100% { width: var(--w); }
}

.ia-hero-metric-bar span:first-child {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.ia-hero-metric-bar span:last-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.ia-hero-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ia-hero-tag {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-soft);
}

/* Solutions Grid */
.ia-solutions {
  padding: 120px 0;
  position: relative;
}

.ia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ia-card {
  background: rgba(15, 22, 41, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}

.ia-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 0;
  pointer-events: none;
}

.ia-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.ia-card:hover::before {
  opacity: 1;
}

.ia-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ia-card-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.ia-card-icon-1 { background: linear-gradient(135deg, #f97316, #ea580c); }
.ia-card-icon-2 { background: linear-gradient(135deg, #10b981, #059669); }
.ia-card-icon-3 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.ia-card-icon-4 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.ia-card-icon-5 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.ia-card-icon-6 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.ia-card-icon-7 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.ia-card-icon-8 { background: linear-gradient(135deg, #a855f7, #9333ea); }
.ia-card-icon-9 { background: linear-gradient(135deg, #f59e0b, #d97706); }

.ia-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.ia-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ia-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.ia-card-tags span {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-soft);
}

/* Tech Stack */
.ia-tech {
  padding: 100px 0;
  background: rgba(0, 0, 0, 0.2);
}

.ia-tech-grid-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ia-tech-grid-wrapper::before,
.ia-tech-grid-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ia-tech-grid-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--primary), transparent);
}
.ia-tech-grid-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--primary), transparent);
}

.ia-tech-grid {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 20s linear infinite;
}


@keyframes marquee {
  to { transform: translateX(calc(-50% - 12px)); }
}

.ia-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: rgba(15, 22, 41, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 250ms ease;
}

.ia-tech-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.ia-tech-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ia-tech-logo svg {
  width: 32px;
  height: 32px;
}

.ia-tech-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* CTA */
.ia-cta {
  padding: 100px 0;
}

.ia-cta-inner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ia-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  filter: blur(80px);
  pointer-events: none;
}

.ia-cta-text {
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
}

.ia-cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.ia-cta-text p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.ia-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .ia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ia-hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .ia-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .ia-grid {
    grid-template-columns: 1fr;
  }



  .ia-cta-inner {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {


  .ia-card {
    padding: 28px 20px;
  }

  .ia-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .ia-cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}