/* ============================================
   HINDRAT TECHNOLOGIES - Home Page Styles
   ============================================ */

/* Hero specific refinements */
.hero {
  min-height: 100vh;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}

.stat-item .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

/* ERP dashboard on home */
.erp-section {
  background: linear-gradient(180deg, var(--dark-950) 0%, var(--dark-900) 50%, var(--dark-950) 100%);
  position: relative;
  overflow: hidden;
}

.erp-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.erp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.erp-features {
  display: grid;
  gap: 1.25rem;
}

.erp-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(18, 24, 58, 0.6);
  border: 1px solid rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.erp-feature-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(18, 24, 58, 0.9);
  transform: translateX(8px);
}

.erp-feature-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 1.2rem;
}

.erp-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.erp-feature-item p {
  font-size: 0.9rem;
}

.erp-visual {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.erp-dashboard {
  width: 100%;
  max-width: 480px;
  background: var(--gradient-card);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-3d);
  transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
  transition: var(--transition-slow);
  animation: floatCard 7s ease-in-out infinite;
}

.erp-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-header .dots {
  display: flex;
  gap: 6px;
}

.dashboard-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-header .dots span:nth-child(1) { background: #ff5f56; }
.dashboard-header .dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-header .dots span:nth-child(3) { background: #27c93f; }

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-stat {
  background: rgba(0, 102, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.dash-stat .val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan-400);
}

.dash-stat .lbl {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.dashboard-chart {
  height: 120px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 1rem 0.5rem;
  gap: 6px;
}

.chart-bar {
  width: 20px;
  background: var(--gradient-primary);
  border-radius: 4px 4px 0 0;
  animation: growBar 1.5s ease-out both;
}

/* Home CTA section */
.home-cta {
  background: linear-gradient(135deg, rgba(0,102,255,0.1) 0%, rgba(0,212,255,0.05) 100%);
}

@media (max-width: 1024px) {
  .erp-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    justify-content: center;
  }
}
