/* VendorSoluce Demo Styles */

:root {
  /* Primary Colors - Matching main site */
  --vendorsoluce-green: #33691E;
  --vendorsoluce-light-green: #66BB6A;
  --vendorsoluce-dark-green: #2A5618;
  --vendorsoluce-pale-green: #E8F5E8;
  
  /* Neutral Colors */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Typography - Matching main site */
  --font-sans: 'Inter var', 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xs) 0;
  min-height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--vendorsoluce-green);
  line-height: 1.2;
}

.brand-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  background: var(--vendorsoluce-pale-green);
  color: var(--vendorsoluce-green);
  border-radius: 0.25rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: var(--vendorsoluce-green);
}

.nav-icon {
  flex-shrink: 0;
  stroke-width: 2;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--vendorsoluce-dark-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(51, 105, 30, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--vendorsoluce-green);
  border: 2px solid var(--vendorsoluce-green);
}

.btn-secondary:hover {
  background: var(--vendorsoluce-pale-green);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('../images/background_hero_section.png');
  background-size: auto 65%;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #1a2e1a;
  opacity: 0.85;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out;
}

.text-gradient {
  background: linear-gradient(90deg, #fff 0%, #E8F5E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 600;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: var(--spacing-md);
  transition: all 0.3s;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--spacing-sm);
  color: #FCD34D;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.benefit-list {
  list-style: none;
  text-align: left;
}

.benefit-list {
  text-align: left;
}

.benefit-list li {
  padding: 0.375rem 0;
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.benefit-list li::before {
  content: '✓';
  color: #86efac;
  font-weight: bold;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.features-section,
.screenshots-section,
.how-it-works-section {
  padding: var(--spacing-xl) 0;
}

.features-section {
  background: var(--gray-50);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background: white;
  border-radius: 1rem;
  padding: var(--spacing-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-sm);
  color: var(--vendorsoluce-green);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--gray-900);
}

.feature-description {
  color: var(--gray-600);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.feature-link {
  color: var(--vendorsoluce-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.feature-link:hover {
  color: var(--vendorsoluce-dark-green);
}

/* Screenshots Carousel */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 1rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: var(--spacing-md);
  outline: none;
}

.carousel-track:focus {
  outline: 2px solid var(--vendorsoluce-green);
  outline-offset: 4px;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.screenshot-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.carousel-btn {
  background: var(--vendorsoluce-green);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: var(--vendorsoluce-dark-green);
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--gray-400);
}

.carousel-dot.active {
  background: var(--vendorsoluce-green);
  width: 32px;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .carousel-slide {
    min-width: calc(50% - var(--spacing-md) / 2);
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    min-width: calc(33.333% - var(--spacing-md) * 2 / 3);
  }
}

.screenshot-placeholder {
  background: var(--gray-100);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  padding: var(--spacing-md);
}

.screenshot-placeholder svg {
  margin-bottom: var(--spacing-xs);
}

.screenshot-content {
  padding: var(--spacing-md);
}

.screenshot-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--gray-900);
}

.screenshot-description {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* How It Works */
.how-it-works-section {
  background: white;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  align-items: flex-start;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--vendorsoluce-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--gray-900);
}

.step-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--vendorsoluce-green) 0%, var(--vendorsoluce-light-green) 100%);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
}

.footer-logo {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
  color: var(--vendorsoluce-light-green);
  line-height: 1.2;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin: 0;
  line-height: 1.2;
}

.footer-description {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--spacing-sm);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus indicators for better accessibility */
*:focus {
  outline: 2px solid var(--vendorsoluce-green);
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid var(--vendorsoluce-green);
  outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .benefits-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-slide {
    min-width: 100%;
  }
}

