/* ===========================
   solutions.css — Dark Theme (8px Grid)
   Brand: #6A0DAD → #FF7F00
   =========================== */

/* ---------- Hero ---------- */
.solutions-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 20px 80px;
}
.solutions-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #121218;
  background: linear-gradient(135deg, rgba(106,13,173,0.12), rgba(255,127,0,0.08));
  z-index: 0;
}
.solutions-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106,13,173,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106,13,173,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}
.solutions-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.p1 { width: 4px; height: 4px; background: #D4145A; top: 20%; left: 15%; opacity: 0.5; animation-delay: 0s; }
.p2 { width: 3px; height: 3px; background: #FF7F00; top: 65%; left: 25%; opacity: 0.4; animation-delay: 1.5s; }
.p3 { width: 5px; height: 5px; background: #6A0DAD; top: 30%; right: 20%; opacity: 0.5; animation-delay: 0.8s; }
.p4 { width: 3px; height: 3px; background: #D4145A; top: 70%; right: 30%; opacity: 0.4; animation-delay: 2.2s; }
.p5 { width: 4px; height: 4px; background: #FF7F00; top: 45%; left: 50%; opacity: 0.3; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-20px); opacity: 0.7; }
}

.solutions-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.solutions-hero h1 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 24px;
  line-height: 1.2;
}
.solutions-hero p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #CCCCCC;
  margin: 0 0 32px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 8px;
  letter-spacing: 0.2px;
}

/* ---------- Industry Nav (Tab Filter) ---------- */
.industry-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 48px auto 48px;
  padding: 6px;
  background: var(--gray-light);
  border-radius: 12px;
  width: fit-content;
  max-width: calc(100% - 40px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid rgba(255,255,255,0.06);
}
.industry-nav::-webkit-scrollbar { display: none; }
.industry-nav a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.industry-nav a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}
.industry-nav a.active {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  box-shadow: 0 4px 12px rgba(106,13,173,0.3);
}

/* ---------- Cards Grid ---------- */
.solutions-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 0;
}
.industry-card {
  position: relative;
  background: #1A1A22;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.06);
}
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(106,13,173,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.industry-card:hover .card-glow { opacity: 1; }
.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(106,13,173,0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.industry-card-img {
  height: 140px;
  position: relative;
}
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.55));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.industry-card-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.3px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.industry-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.industry-card-description {
  color: #EEEEEE;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  margin: 0 0 16px;
  flex: 1;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  background: rgba(106,13,173,0.15);
  color: #c084fc;
}
.industry-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FF7F00;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  margin-top: auto;
}
.industry-card-link span { transition: transform 0.3s ease; }
.industry-card-link:hover span { transform: translateX(4px); }
.industry-card-link:hover { color: #ffa64d; }

/* ---------- Contact Section ---------- */
.contact-section {
  position: relative;
  text-align: center;
  padding: 48px 40px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-light);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 48px;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(106,13,173,0.08), transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(255,127,0,0.04), transparent 60%);
  z-index: 0;
}
.contact-content {
  position: relative;
  z-index: 1;
}
.contact-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.4px;
  color: #ffffff;
  margin: 0 0 16px;
}
.contact-description {
  color: #EEEEEE;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  margin: 0 auto 24px;
  max-width: 500px;
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  color: #ffffff;
}
.contact-btn-primary {
  background: linear-gradient(135deg, #6A0DAD, #FF7F00);
  box-shadow: 0 4px 14px rgba(106,13,173,0.3);
}
.contact-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(106,13,173,0.4);
}
.contact-btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15,15,19,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
  padding: 8px 0;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gray);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2px;
  gap: 4px;
  padding: 4px 12px;
  min-width: 56px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.mobile-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}
.mobile-nav-item.active {
  color: #FF7F00;
}
.mobile-nav-item.active svg {
  stroke: #FF7F00;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-hero h1 { font-size: 32px; }
  .industry-nav { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .solutions-hero { min-height: 360px; padding: 80px 16px 48px; }
  .solutions-hero h1 { font-size: 28px; margin-bottom: 16px; }
  .solutions-hero p { font-size: 14px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 1.5rem; }
  .hero-stat-label { font-size: 12px; }
  .solutions-container { padding: 0 16px 48px; }
  .industry-nav { margin: 32px auto 32px; max-width: calc(100% - 32px); gap: 8px; }
  .industry-nav a { padding: 6px 12px; font-size: 13px; }
  .industry-card-title { font-size: 18px; }
  .industry-card-description { font-size: 14px; }
  .contact-section { padding: 32px 24px; margin-top: 32px; }
  .contact-title { font-size: 24px; }
  .contact-description { font-size: 14px; }
  .mobile-nav { display: flex !important; }
  body { padding-bottom: 56px !important; }
}
@media (max-width: 576px) {
  .industry-grid { grid-template-columns: 1fr; }
  .solutions-hero h1 { font-size: 28px; }
  .hero-stat-value { font-size: 1.3rem; }
  .industry-nav { width: 100%; border-radius: 10px; }
  .industry-nav a { padding: 6px 12px; font-size: 13px; }
}
