/* 
=================================
  Global Styles
=================================
*/
:root {
  --primary-color: #F97316;
  --primary-light: #FFEDD5;
  --primary-dark: #C2410C;
  --white: #FFFFFF;
  --black: #262626;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 5px 15px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-800);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header h2 span {
  color: var(--primary-color);
}

.section-header .separator {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto 1.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* 
=================================
  Header / Navigation
=================================
*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
  padding: 0;
}

#header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
  margin-top: 0;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-img {
  max-width: 100px;
  height: auto;
  vertical-align: middle;
  transition: var(--transition);
  padding: 0;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.nav-links ul {
  display: flex;
  align-items: center;
  margin: 0;
  height: 100%;
}

.nav-links li {
  margin-left: 2rem;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-800);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

#openMenu, #closeMenu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gray-800);
  z-index: 1001;
  padding: 0.5rem;
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    padding: 4rem 2rem;
    transition: all 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links.active {
    right: 0;
    transform: translateX(0);
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem;
  }

  #openMenu {
    display: block;
    z-index: 999;
  }

  #closeMenu {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
  }
}

/* 
=================================
  Hero Section
=================================
*/
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background: linear-gradient(to right, #f8f9fa, #f1f3f5);
  position: relative;
  overflow: hidden;
}

.orange-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.hero-image {
  position: relative;
  padding-top: 3rem;
  margin-top: 2rem;
}

.device-placeholder {
  height: 350px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.device-inner {
  width: 80%;
  height: 75%;
  background-color: var(--white);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.device-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.device-inner span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.circle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.circle-1 {
  width: 150px;
  height: 150px;
  background-color: var(--primary-light);
  bottom: -30px;
  left: -30px;
  animation: pulse 5s ease-in-out infinite;
}

.circle-2 {
  width: 100px;
  height: 100px;
  background-color: rgba(249, 115, 22, 0.2);
  top: -20px;
  right: -20px;
  animation: pulse 4s ease-in-out infinite;
}

/* 
=================================
  Stock Guard Intro Section
=================================
*/
#stock-guard-intro {
  position: relative;
  padding: 5rem 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--gray-100);
}

.stock-guard-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.stock-guard-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  z-index: 10;
  position: relative;
}

.btn-learn-more {
  margin-bottom: 1.5rem;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.btn-learn-more:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

.stock-guard-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.stock-guard-content h2 span {
  color: var(--primary-color);
}

.stock-guard-content .separator {
  margin-bottom: 1.5rem;
}

.stock-guard-tagline {
  font-size: 1.5rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  font-weight: 500;
}

.stock-guard-image-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stock-guard-image {
  max-width: 100%;
  height: auto;
  box-shadow: var(--shadow);
  border-radius: 0.5rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: floating 8s ease-in-out infinite;
}

.stock-guard-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1rem;
    overflow-x: hidden;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .stock-guard-content h2 {
    font-size: 2rem;
  }
  
  .stock-guard-tagline {
    font-size: 1.2rem;
  }
  
  .device-placeholder {
    height: 250px;
  }
  
  .pricing-card, 
  .feature-card {
    padding: 1.5rem;
  }
  
  .pricing-header {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .about-image-content {
    height: 300px;
  }
  
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* 
=================================
  About Section
=================================
*/
#about {
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat-item {
  background-color: var(--gray-100);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.about-stat-item h4 {
  font-size: 1rem;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.about-stat-item p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0;
}

.about-image {
  position: relative;
}

.about-image-content {
  height: 350px;
  background: linear-gradient(to top right, var(--gray-200), var(--gray-100));
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.about-icon i {
  font-size: 2rem;
  color: var(--white);
}

.about-image-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-image-content p {
  margin-bottom: 0;
}

.dots-container {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: -1;
}

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

.dots::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  grid-column: span 1;
}

.dots::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  grid-column: span 1;
}

/* 
=================================
  Team Section
=================================
*/
#team {
  background-color: var(--white);
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-dark);
}

.member-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.member-info h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.member-info p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--gray-100);
  border-radius: 50%;
  color: var(--gray-700);
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

@media screen and (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* 
=================================
  Features Section
=================================
*/
#features {
  background-color: var(--gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-dark);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.feature-cta {
  margin-top: 3rem;
  text-align: center;
}

.feature-cta .btn {
  padding: 0.75rem 2rem;
}

/* 
=================================
  Pricing Section
=================================
*/
#pricing {
  background-color: var(--white);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.pricing-toggle span {
  font-size: 1.1rem;
}

.monthly {
  color: var(--gray-500);
}

.annually {
  color: var(--gray-800);
  font-weight: 600;
}

.save-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-left: 0.25rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin: 0 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: var(--transition);
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: var(--transition);
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-dark);
}

.pricing-card.popular {
  box-shadow: 0 0 0 2px var(--primary-color), var(--shadow);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.price h4 {
  font-size: 2.5rem;
  color: var(--gray-800);
}

.monthly-price {
  display: none;
}

.annual-price {
  display: block;
}

.price span {
  color: var(--gray-500);
  margin-left: 0.25rem;
}

.billing-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  margin-bottom: 0;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.pricing-cta {
  padding: 0 2rem 2rem;
}

.pricing-cta .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 3rem;
}

.pricing-note a {
  color: var(--primary-color);
  font-weight: 500;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* 
=================================
  Contact Section
=================================
*/
#contact {
  background-color: var(--gray-100);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 2rem;
  border-radius: 1rem;
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-info h4 {
  color: var(--white);
}

.contact-info p {
  color: var(--white);
}

.info-item {
  text-align: left;
  display: flex;
  align-items: flex-start;
}

.info-item i {
  margin-right: 15px;
  margin-top: 5px;
}

.info-item h4, .info-item p {
  text-align: left;
  margin: 0;
}

.contact-info h3, .social-media h4 {
  text-align: left;
}

.social-icons {
  justify-content: flex-start;
}

.social-media {
  margin-top: 2rem;
}

.social-media h4 {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-icons i {
  font-size: 1rem;
  color: var(--white);
}

/* 
=================================
  Footer
=================================
*/
#footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column {
  margin-bottom: 1rem;
}

.footer-column:first-child {
  padding-right: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-column h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-contact li {
  text-align: left;
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  margin-right: 15px;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-800);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.social-icons i {
  font-size: 1rem;
  color: var(--white);
}

/* 
=================================
  Back to Top Button
=================================
*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
}

/* 
=================================
  Animations
=================================
*/
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* 
=================================
  Media Queries
=================================
*/
@media screen and (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .about-text {
    order: 1;
  }
  
  .about-image {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .about-stats {
    justify-content: center;
  }
  
  .contact-info {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .contact-form {
    order: 1;
  }
  
  .info-item {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .dots-container {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: var(--white);
    padding: 4rem 2rem;
    transition: 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links ul {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .nav-links li {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
    height: auto;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem;
  }

  #home {
    padding-top: 80px;
  }

  .stock-guard-content {
    padding: 0 1rem;
  }

  .device-placeholder {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 1rem;
    overflow-x: hidden;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .stock-guard-content h2 {
    font-size: 2rem;
  }
  
  .stock-guard-tagline {
    font-size: 1.2rem;
  }
  
  .device-placeholder {
    height: 250px;
  }
  
  .pricing-card, 
  .feature-card {
    padding: 1.5rem;
  }
  
  .pricing-header {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .about-image-content {
    height: 300px;
  }
  
  .stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .stock-guard-content h2 {
    font-size: 1.8rem;
  }
  
  .device-placeholder {
    height: 200px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    gap: 2rem;
  }
  
  body {
    font-size: 0.95rem;
  }
}

/* Alternative Contact Message */
.alternative-message {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.alternative-message h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.alternative-message ul {
  list-style: none;
  padding: 0;
}

.alternative-message li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.alternative-message i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.alternative-message a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.alternative-message a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* 
=================================
  Supply Chain Section
=================================
*/
#supply-chain {
  background-color: var(--white);
  padding: 5rem 0;
  position: relative;
}

.supply-chain-container {
  margin-bottom: 5rem;
  position: relative;
}

.supply-chain-container:last-child {
  margin-bottom: 0;
}

/* Supply Chain Divider */
.supply-chain-divider {
  margin: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.divider-line {
  width: 100%;
  max-width: 1000px;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--gray-300) 15%,
    var(--primary-color) 50%,
    var(--gray-300) 85%,
    transparent 100%
  );
  position: relative;
}

.divider-line::before,
.divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.6);
}

.divider-line::before {
  left: 0;
}

.divider-line::after {
  right: 0;
}

.supply-chain-title {
  font-size: 2rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  text-align: center;
}

.supply-chain-title span {
  color: var(--primary-color);
}

.supply-chain-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.supply-chain-flow {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 0;
}

.road-container {
  position: absolute;
  left: 50%;
  top: 30px; /* Start at center of first stage icon (60px / 2 = 30px) */
  bottom: 30px; /* End at center of last stage icon */
  width: 8px;
  transform: translateX(-50%);
  z-index: 1;
}

.road-path {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--gray-300) 0%,
    var(--gray-400) 50%,
    var(--gray-300) 100%
  );
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 
    inset 0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(0, 0, 0, 0.05);
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.road-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    to bottom,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 4px;
  transition: height 0.3s ease;
  box-shadow: 
    0 0 15px rgba(249, 115, 22, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.stages-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem 0;
}

.stage {
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.stage.active {
  opacity: 1;
  transform: scale(1.05);
}

.stage-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: var(--white);
  border: 4px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.stage.active .stage-icon {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 
    0 0 20px rgba(249, 115, 22, 0.6),
    0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) scale(1.1);
}

.stage-icon i {
  font-size: 1.5rem;
  color: var(--gray-600);
  transition: all 0.4s ease;
}

.stage.active .stage-icon i {
  color: var(--white);
}

.stage-content {
  background-color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  width: calc(50% - 40px);
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid var(--gray-200);
}

.stage:nth-child(odd) .stage-content {
  margin-left: 0;
  margin-right: auto;
}

.stage:nth-child(even) .stage-content {
  margin-left: auto;
  margin-right: 0;
}

.stage.active .stage-content {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  box-shadow: 
    0 5px 20px rgba(249, 115, 22, 0.3),
    0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: scale(1.02);
}

.stage-content h4 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.stage.active .stage-content h4 {
  color: var(--primary-color);
  font-weight: 700;
}

.stage-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
  margin: 0;
}

.stage.active .stage-note {
  color: var(--primary-dark);
}

.distribu-chain {
  opacity: 1;
}

.distribu-chain .supply-chain-subtitle {
  font-style: normal;
}

/* Distribu Hub Styles */
.distribu-hub-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  gap: 2rem;
}

.distribu-hub {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hub-logo-wrapper {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 10px 40px rgba(249, 115, 22, 0.4),
    0 0 60px rgba(249, 115, 22, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  animation: hubPulse 3s ease-in-out infinite;
}

.hub-logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 
    0 15px 50px rgba(249, 115, 22, 0.5),
    0 0 80px rgba(249, 115, 22, 0.4),
    inset 0 0 25px rgba(255, 255, 255, 0.15);
}

.hub-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  z-index: 3;
}

.hub-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.3) 0%, transparent 70%);
  border-radius: 1.5rem;
  z-index: 1;
  animation: glowPulse 2s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hub-label {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  z-index: 2;
  position: relative;
}

@keyframes hubPulse {
  0%, 100% {
    box-shadow: 
      0 10px 40px rgba(249, 115, 22, 0.4),
      0 0 60px rgba(249, 115, 22, 0.3),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 15px 50px rgba(249, 115, 22, 0.5),
      0 0 80px rgba(249, 115, 22, 0.4),
      inset 0 0 25px rgba(255, 255, 255, 0.15);
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* FMCG to Kirana Store Connection */
.fmcg-kirana-connection {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.fmcg-kirana-line {
  position: absolute;
  left: calc(50% - 440px); /* Start from FMCG center (50% - 500px + 60px) */
  bottom: 190px; /* Middle of node boxes - nodes are 120px tall, so center is at 60px from bottom, plus label space */
  width: 440px; /* Distance from FMCG center to Kirana Store center */
  height: 4px;
  transform: translateY(50%);
}

.fmcg-kirana-line-base {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fmcg-kirana-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
  animation: progressHorizontalRight 3s ease-in-out infinite;
}

/* FMCG to Kirana Store Icons Container */
.fmcg-kirana-icons-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 3;
}

.fmcg-kirana-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
  left: calc(50% - 440px); /* Start at FMCG center */
  bottom: 190px; /* Same vertical position as the line */
  transform: translate(-50%, 50%);
  opacity: 0;
  z-index: 3;
  animation: moveBoxFromFMCGToKirana 3s ease-in-out infinite;
}

.fmcg-kirana-icon.active {
  opacity: 1;
}

@keyframes moveBoxFromFMCGToKirana {
  0% {
    left: calc(50% - 440px); /* FMCG center */
    bottom: 190px; /* Line position */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 50%; /* Kirana Store center */
    bottom: 190px; /* Line position */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
}

/* Kirana Store to ONDC Connection */
.kirana-ondc-connection {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.kirana-ondc-line {
  position: absolute;
  left: 50%; /* Start from Kirana Store center */
  bottom: 190px; /* Middle of node boxes - same as FMCG-Kirana line */
  width: 440px; /* Distance from Kirana Store center to ONDC center */
  height: 4px;
  transform: translateY(50%);
}

.kirana-ondc-line-base {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.kirana-ondc-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
  animation: progressHorizontalRight 3s ease-in-out infinite;
}

/* Kirana Store to ONDC Icons Container */
.kirana-ondc-icons-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 3;
}

.kirana-ondc-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
  left: 50%; /* Start at Kirana Store center */
  bottom: 190px; /* Same vertical position as the line */
  transform: translate(-50%, 50%);
  opacity: 0;
  z-index: 3;
  animation: moveRiderFromKiranaToONDC 3s ease-in-out infinite;
}

.kirana-ondc-icon.active {
  opacity: 1;
}

@keyframes moveRiderFromKiranaToONDC {
  0% {
    left: 50%; /* Kirana Store center */
    bottom: 190px; /* Line position */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(50% + 440px); /* ONDC center */
    bottom: 190px; /* Line position */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
}

/* Bottom Nodes Container */
.bottom-nodes-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  z-index: 2;
}

/* Kirana Store Node - Stays in original centered position */
.kirana-store-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
  position: relative;
  margin: 0 auto;
}

/* FMCG Store Node - Positioned to the left of Kirana Store with distance */
.fmcg-store-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
  position: absolute;
  left: calc(50% - 500px);
}

/* ONDC Store Node - Positioned to the right of Kirana Store with same distance */
.ondc-store-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
  position: absolute;
  right: calc(50% - 500px);
}

.node-icon {
  width: 120px;
  height: 120px;
  background-color: var(--white);
  border: 3px solid var(--gray-300);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}

.kirana-icon {
  background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.fmcg-icon {
  background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.ondc-icon {
  background: linear-gradient(135deg, var(--gray-100), var(--white));
}

.node-icon i {
  font-size: 3rem;
  color: var(--gray-700);
}

.node-label {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: center;
}

/* FMCG Connection Path */
.fmcg-connection-path {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.fmcg-path-vertical {
  position: absolute;
  left: calc(50% - 440px); /* Center of FMCG node: 50% - 500px + 60px (half of 120px node width) */
  bottom: 150px; /* Start from top of FMCG node area */
  width: 4px;
  height: 450px;
  transform: translateX(-50%);
}

.fmcg-path-vertical-base {
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(to top, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 1px 0 3px rgba(0, 0, 0, 0.1);
}

.fmcg-path-vertical-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(to top, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: height 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
  animation: progressVerticalUp 3s ease-in-out infinite;
}

.fmcg-path-horizontal {
  position: absolute;
  left: calc(50% - 440px);
  bottom: 600px; /* Top of vertical line (150px + 450px) */
  width: 340px; /* Distance from FMCG center (50% - 440px) to hub left edge (50% - 100px) = 340px */
  height: 4px;
  transform: translateY(50%);
}

.fmcg-path-horizontal-base {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(to left, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fmcg-path-horizontal-progress {
  position: absolute;
  right: 0;
  top: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to left, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
  animation: progressHorizontalLeft 3s ease-in-out infinite;
}

/* FMCG Data Icons Container */
.fmcg-data-icons-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 3;
}

.fmcg-data-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
  left: calc(50% - 100px); /* Start at hub left edge */
  bottom: 600px; /* Start at horizontal line position */
  transform: translate(-50%, 50%);
  opacity: 0;
  z-index: 3;
  animation: moveDataToFMCG 3s ease-in-out infinite;
}

.fmcg-data-icon.active {
  opacity: 1;
}

@keyframes moveDataToFMCG {
  0% {
    left: calc(50% - 100px); /* Hub left edge */
    bottom: 600px; /* Horizontal line position */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: calc(50% - 440px); /* End of horizontal line (vertical line position) */
    bottom: 600px; /* Still on horizontal line */
    transform: translate(-50%, 50%) scale(1);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(50% - 440px); /* Vertical line position */
    bottom: 150px; /* End of vertical line (FMCG node position) */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
}

/* ONDC Connection Path */
.ondc-connection-path {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ondc-path-vertical {
  position: absolute;
  left: calc(50% + 440px); /* Center of ONDC node: 50% + 500px - 60px (half of 120px node width) */
  bottom: 150px; /* Start from top of ONDC node area */
  width: 4px;
  height: 450px;
  transform: translateX(-50%);
}

.ondc-path-vertical-base {
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(to top, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 1px 0 3px rgba(0, 0, 0, 0.1);
}

.ondc-path-vertical-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(to top, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: height 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
  animation: progressVerticalUp 3s ease-in-out infinite;
}

.ondc-path-horizontal {
  position: absolute;
  left: calc(50% + 100px); /* Hub right edge (50% + 100px) */
  bottom: 600px; /* Top of vertical line (150px + 450px) */
  width: 340px; /* Distance from hub right edge (50% + 100px) to ONDC center (50% + 440px) = 340px */
  height: 4px;
  transform: translateY(50%);
}

.ondc-path-horizontal-base {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ondc-path-horizontal-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
  animation: progressHorizontalRight 3s ease-in-out infinite;
}

/* ONDC Data Icons Container */
.ondc-data-icons-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 3;
}

.ondc-data-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
  left: calc(50% + 440px); /* Start at ONDC node position */
  bottom: 150px; /* Start at ONDC node position */
  transform: translate(-50%, 50%);
  opacity: 0;
  z-index: 3;
  animation: moveDataFromONDC 3s ease-in-out infinite;
}

.ondc-data-icon.active {
  opacity: 1;
}

@keyframes moveDataFromONDC {
  0% {
    left: calc(50% + 440px); /* ONDC node position */
    bottom: 150px; /* Start at ONDC node */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: calc(50% + 440px); /* Still on vertical line */
    bottom: 600px; /* Top of vertical line */
    transform: translate(-50%, 50%) scale(1);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(50% + 100px); /* Hub right edge */
    bottom: 600px; /* Horizontal line position */
    transform: translate(-50%, 50%) scale(1);
    opacity: 0;
  }
}

/* Transaction Path */
.transaction-path {
  position: relative;
  width: 60px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: -50px 0;
}

.path-line {
  position: absolute;
  width: 4px;
  height: calc(100% + 100px);
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
}

.path-line-base {
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gray-300), var(--gray-400), var(--gray-300));
  border-radius: 2px;
  box-shadow: inset 1px 0 3px rgba(0, 0, 0, 0.1);
}

.path-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
  transition: height 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  z-index: 1;
}

/* Data Icons (Kirana to Distribu) */
.data-icons-container {
  position: absolute;
  width: 60px;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.data-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3B82F6, #1E40AF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 3;
  animation: moveDataToHub 3s ease-in-out infinite;
}

.data-icon.active {
  opacity: 1;
}

.notification-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 3;
  animation: moveNotificationFromHub 3s ease-in-out infinite;
}

.notification-icon.active {
  opacity: 1;
}

@keyframes moveDataToHub {
  0% {
    top: 100%;
    transform: translateX(-50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 0;
    transform: translateX(-50%) scale(1);
    opacity: 0;
  }
}

@keyframes moveNotificationFromHub {
  0% {
    top: 0;
    transform: translateX(-50%) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    transform: translateX(-50%) scale(1);
    opacity: 0;
  }
}

/* Progress Bar Animations */
@keyframes progressVerticalUp {
  0% {
    height: 0%;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}

@keyframes progressHorizontalRight {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

@keyframes progressHorizontalLeft {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

/* Responsive Design for Supply Chain */
@media screen and (max-width: 768px) {
  .supply-chain-flow {
    max-width: 100%;
    padding: 1.5rem 0;
  }

  .road-container {
    width: 6px;
  }

  .stage-icon {
    width: 50px;
    height: 50px;
  }

  .stage-icon i {
    font-size: 1.25rem;
  }

  .stage-content {
    width: calc(50% - 30px);
    padding: 1rem 1.5rem;
  }

  .stage:nth-child(odd) .stage-content {
    margin-left: 0;
    margin-right: auto;
  }

  .stage:nth-child(even) .stage-content {
    margin-left: auto;
    margin-right: 0;
  }

  .stages-container {
    gap: 2rem;
  }

  .stage-content h4 {
    font-size: 1.1rem;
  }

  .bottom-nodes-container {
    min-height: 180px;
  }

  .fmcg-store-node {
    left: calc(50% - 180px);
  }

  .ondc-store-node {
    left: calc(50% + 180px);
  }

  .node-icon {
    width: 100px;
    height: 100px;
  }

  .node-icon i {
    font-size: 2.5rem;
  }

  .node-label {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  #supply-chain {
    overflow-x: visible;
    overflow-y: visible;
  }

  .supply-chain-container {
    overflow: visible;
  }

  .supply-chain-title {
    font-size: 1.5rem;
  }

  .stage-content {
    width: calc(50% - 25px);
    padding: 0.875rem 1rem;
  }

  .stage:nth-child(odd) .stage-content {
    margin-left: 0;
    margin-right: auto;
  }

  .stage:nth-child(even) .stage-content {
    margin-left: auto;
    margin-right: 0;
  }

  .stage-icon {
    width: 45px;
    height: 45px;
  }

  .stage-icon i {
    font-size: 1.1rem;
  }

  .stage-content h4 {
    font-size: 1rem;
  }

  .stages-container {
    gap: 1.5rem;
  }

  /* Supply Chain Divider Mobile */
  .supply-chain-divider {
    margin: 3rem 0;
  }

  .divider-line {
    max-width: 90%;
  }

  .divider-line::before,
  .divider-line::after {
    width: 10px;
    height: 10px;
  }

  /* Distribu Supply Chain Mobile - Scaled Down Version */
  .distribu-chain {
    overflow: visible;
  }

  .distribu-hub-container {
    gap: 1rem;
    padding: 2rem 0;
    transform: scale(0.35);
    transform-origin: center top;
    width: 285.7%;
    margin-left: -92.85%;
    min-height: 650px;
    overflow: visible;
    position: relative;
  }

  .distribu-hub {
    width: 200px;
    height: 200px;
  }

  .hub-glow {
    width: 250px;
    height: 250px;
  }

  .hub-label {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }

  .transaction-path {
    min-height: 300px;
    width: 60px;
    margin: -50px 0;
  }

  .path-line {
    height: calc(100% + 100px);
  }

  .data-icon,
  .notification-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Bottom Nodes - Scaled */
  .bottom-nodes-container {
    min-height: 200px;
    width: 100%;
  }

  .fmcg-store-node {
    left: calc(50% - 500px);
  }

  .ondc-store-node {
    right: calc(50% - 500px);
    left: auto;
  }

  .kirana-store-node {
    position: relative;
    margin: 0 auto;
  }

  .node-icon {
    width: 120px;
    height: 120px;
  }

  .node-icon i {
    font-size: 3rem;
  }

  .node-label {
    margin-top: 1rem;
    font-size: 1.1rem;
  }

  /* FMCG Connection Path - Scaled */
  .fmcg-path-vertical {
    left: calc(50% - 440px);
    bottom: 150px;
    height: 450px;
  }

  .fmcg-path-horizontal {
    left: calc(50% - 440px);
    bottom: 600px;
    width: 340px;
  }

  .fmcg-data-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* ONDC Connection Path - Scaled */
  .ondc-path-vertical {
    left: calc(50% + 440px);
    bottom: 150px;
    height: 450px;
  }

  .ondc-path-horizontal {
    left: calc(50% + 100px);
    bottom: 600px;
    width: 340px;
  }

  .ondc-data-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* FMCG to Kirana Connection - Scaled */
  .fmcg-kirana-line {
    left: calc(50% - 440px);
    bottom: 190px;
    width: 440px;
  }

  .fmcg-kirana-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Kirana to ONDC Connection - Scaled */
  .kirana-ondc-line {
    left: 50%;
    bottom: 190px;
    width: 440px;
  }

  .kirana-ondc-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Very small screens (360px and below) */
@media screen and (max-width: 360px) {
  .distribu-hub-container {
    transform: scale(0.3);
    width: 333.33%;
    margin-left: -116.67%;
    min-height: 700px;
  }
}

/* Backed By Logos */
.backed-logos {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 20px; 
}

.backed-logo {
  max-width: 400px; 
  height: auto; 
  opacity: 0; 
  animation: fadeIn 0.5s forwards;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  .backed-logo {
    max-width: 280px;
    margin: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .backed-logo {
    max-width: 220px;
    margin: 0.5rem;
  }
}

/* Animation keyframes */
@keyframes fadeIn {
  to {
    opacity: 1; /* Fully visible */
  }
}

/* Optional: Add a hover effect */
.backed-logo:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
  transition: transform 0.3s; /* Smooth transition */
}