/*--------------------------------------------------------------
# Inventory Management Page Specific Styles
--------------------------------------------------------------*/

/* Header Height Reduction */
/* #header {
  height: 60px !important;
  padding: 10px 0 !important;
}

#header .container {
  height: 100% !important;
}

#header .logo img {
  max-height: 40px !important;
  margin-left: 0 !important;
}

#header .nav-menu ul {
  margin: 0 !important;
}

#header .nav-menu ul li a {
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
} */
#header {
  z-index: 997;
  transition: all 0.5s;
  padding: 22px 0;
}

#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  background: #fff;
}

#header .logo h1 {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #222222;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 50px;
}

@media (max-width: 768px) {
  #header {
    background: #fff;
  }

  #header .logo h1 {
    font-size: 28px;
  }
}

/* Adjust main content margin for reduced header */
.main {
  margin-top: 0px !important;
}

#hero {
  width: 100%;
  height: 70vh;
  margin-top: 84px;
}

#hero h1 {
  margin-top: 17px;
}

/* Hero Section Modern */
.hero-modern {
  min-height: 63vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.hero-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particle-float 8s linear infinite;
}

.particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 30%;
  right: 30%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 60%;
  left: 40%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  top: 80%;
  right: 20%;
  animation-delay: 6s;
}

.particle:nth-child(5) {
  top: 40%;
  left: 60%;
  animation-delay: 1s;
}

@keyframes particle-float {
  0% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.hero-content-left {
  z-index: 2;
  margin-top: -34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 25px;
  margin-bottom: 0px;
  backdrop-filter: blur(10px);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(45deg, #00ff88, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 5px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #00ff88;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: #f8f9fa;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #00ff88, #00d4ff);
  color: #1a1a1a;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 10px 25px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.dashboard-mockup {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 400px;
  width: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.mockup-title {
  color: white;
  font-weight: 600;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, #00ff88, #00d4ff);
  border-radius: 4px 4px 0 0;
  animation: chart-grow 2s ease-in-out infinite alternate;
}

.chart-bar:nth-child(2) {
  animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
  animation-delay: 0.4s;
}

.chart-bar:nth-child(4) {
  animation-delay: 0.6s;
}

.chart-bar:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes chart-grow {
  0% {
    transform: scaleY(0.8);
  }

  100% {
    transform: scaleY(1);
  }
}

.mockup-stats {
  display: flex;
  gap: 20px;
}

.mockup-stat {
  flex: 1;
  text-align: center;
}

.mockup-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff88;
}

.mockup-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features-section {
  padding: 30px 0;
  background: #f8f9fa;
}

.section-header {
  margin-bottom: 40px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  padding-bottom: 5px;
  /* margin-bottom: 0px; */
}

.section-bg {
  background-color: #f7fbfe;
  padding: 10px 0;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #718096;
  max-width: 900px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;   /* max 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px; /* adjust according to design */
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, #667eea, #764ba2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.feature-badge {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 15px;
}

.feature-card p {
  color: #718096;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4a5568;
  font-size: 0.9rem;
}

.feature-features i {
  color: #00ff88;
}

/* Dashboard Section */
.dashboard-section {
  padding: 80px 0;
  background: white;
}

.dashboard-content {
  padding-right: 40px;
}

.dashboard-features {
  margin-top: 40px;
}

.dashboard-feature {
  display: flex;
  align-items: start;
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-feature .feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dashboard-feature h4 {
  font-size: 1.1rem;
  color: #2d3748;
  margin-bottom: 8px;
}

.dashboard-feature p {
  color: #718096;
  margin: 0;
}

.dashboard-mockup-interactive {
  display: flex;
  justify-content: center;
}

.mockup-screen {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
}

.mockup-toolbar {
  background: #2d2d2d;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-dots {
  display: flex;
  gap: 5px;
}

.toolbar-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.toolbar-dots span:nth-child(2) {
  background: #ffbd2e;
}

.toolbar-dots span:nth-child(3) {
  background: #27ca3f;
}

.toolbar-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.mockup-dashboard {
  padding: 20px;
  background: #2d2d2d;
}

.dashboard-stats-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  flex: 1;
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #00ff88;
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  /* color: #718096; */
  color: #ffffff;
  margin-top: 5px;
}

.stat-change {
  font-size: 0.7rem;
  margin-top: 5px;
}

.stat-change.positive {
  color: #00ff88;
}

.dashboard-chart {
  margin-bottom: 20px;
}

.chart-title {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, #667eea, #764ba2);
  border-radius: 2px;
}

.dashboard-activity {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
}

.activity-title {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.activity-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-text {
  color: #718096;
  font-size: 0.8rem;
}

/* Process Section */
.process-section {
  padding: 35px 0;
  background: #f8f9fa;
}

.process-flow-modern {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  z-index: 1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.process-step-modern {
  text-align: center;
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.process-step-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1.5rem;
  margin: 0 auto 15px;
}

.process-step-modern h4 {
  font-size: 1.1rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.process-step-modern p {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.cta-stat {
  text-align: center;
}

.cta-stat .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #00ff88;
  display: block;
}

.cta-stat .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #00ff88, #00d4ff);
  color: #1a1a1a;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-visual {
  position: relative;
}

.floating-elements {
  position: relative;
  width: 200px;
  height: 200px;
}

.float-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  animation: float-element 6s ease-in-out infinite;
}

.element-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.element-2 {
  top: 50%;
  right: 0;
  animation-delay: 2s;
}

.element-3 {
  bottom: 0;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float-element {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .cta-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-line {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .dashboard-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .cta-stats {
    flex-direction: column;
    gap: 20px;
  }
}