/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero__particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 7s; }
.hero__particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; animation-duration: 5s; }
.hero__particle:nth-child(3) { top: 30%; left: 50%; animation-delay: 2s; animation-duration: 8s; }
.hero__particle:nth-child(4) { top: 70%; left: 70%; animation-delay: 0.5s; animation-duration: 6s; }
.hero__particle:nth-child(5) { top: 40%; left: 85%; animation-delay: 1.5s; animation-duration: 7s; }
.hero__particle:nth-child(6) { top: 80%; left: 40%; animation-delay: 3s; animation-duration: 5.5s; }

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease forwards;
}

.hero__title {
  color: var(--color-text-inverse);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero__typing {
  display: block;
  color: var(--color-primary-light);
  min-height: 1.3em;
}

.hero__description {
  font-size: 1.2rem;
  color: rgba(248, 250, 252, 0.75);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* ========== Architecture Section ========== */
.architecture {
  position: relative;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.arch-layer {
  padding: var(--space-xl) var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.arch-layer:hover {
  transform: scale(1.02);
}

.arch-layer--solutions {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
}

.arch-layer--products {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.arch-layer--tech {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.3);
}

.arch-layer h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
}

.arch-layer p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.arch-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-text-light);
  line-height: 1;
}

/* ========== Stats Section ========== */
.stats {
  background: var(--gradient-hero);
  padding: var(--space-4xl) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat__number .suffix {
  font-size: 1.5rem;
}

.stat__label {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.7);
}

/* ========== Solutions Preview ========== */
.solution-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.solution-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  padding: var(--space-2xl);
  background: white;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.solution-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
}

.solution-card h3 {
  margin-bottom: var(--space-sm);
}

.solution-card p {
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.solution-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .hero__title { font-size: 2.25rem; }
  .hero__description { font-size: 1rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
  .solution-preview { grid-template-columns: 1fr; }
  .arch-layer { padding: var(--space-lg); }
}
