/* Slimbusmin Marketplace - Light Theme
   Font: Plus Jakarta Sans
*/

:root {
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --violet-500: #8b5cf6;
  --green-500: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-cta {
  background: var(--indigo-600);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--indigo-500);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--gray-800);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background: var(--gray-100);
}

.mobile-cta {
  margin-top: 16px;
  background: var(--indigo-600) !important;
  color: white !important;
  text-align: center;
}

/* Hero */
.hero {
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-600);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--indigo-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--gray-300);
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
}

.hero-visual {
  position: relative;
  height: 400px;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: float 5s ease-in-out infinite;
}

.hero-card-icon {
  font-size: 1.5rem;
}

.hero-card-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.hero-card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-card-2 {
  top: 45%;
  right: 5%;
  animation-delay: -1.5s;
}

.hero-card-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Stats */
.stats {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--indigo-600);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 100px 0;
}

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

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  color: var(--indigo-600);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(16px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  border-color: var(--indigo-500);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
  transform: translateY(-4px);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(16px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

/* Enterprise Grid */
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.enterprise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
  opacity: 0;
  transform: translateY(10px);
}

.enterprise-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.enterprise-item:hover {
  background: var(--white);
  border-color: var(--indigo-500);
}

.check {
  width: 18px;
  height: 18px;
  background: var(--green-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check::before {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

/* Security Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(16px);
}

.security-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.security-card:hover {
  border-color: var(--indigo-500);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.1);
}

.security-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--indigo-600);
}

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

.security-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.security-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-500));
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

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

.cta .btn-primary:hover {
  background: var(--gray-100);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    height: 280px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section {
    padding: 70px 0;
  }

  .products-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Animation Delays */
.product-card:nth-child(1) { transition-delay: 0ms; }
.product-card:nth-child(2) { transition-delay: 50ms; }
.product-card:nth-child(3) { transition-delay: 100ms; }
.product-card:nth-child(4) { transition-delay: 150ms; }
.product-card:nth-child(5) { transition-delay: 200ms; }
.product-card:nth-child(6) { transition-delay: 250ms; }
.product-card:nth-child(7) { transition-delay: 300ms; }
.product-card:nth-child(8) { transition-delay: 350ms; }

.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 50ms; }
.feature-card:nth-child(3) { transition-delay: 100ms; }
.feature-card:nth-child(4) { transition-delay: 150ms; }
.feature-card:nth-child(5) { transition-delay: 200ms; }
.feature-card:nth-child(6) { transition-delay: 250ms; }
.feature-card:nth-child(7) { transition-delay: 300ms; }
.feature-card:nth-child(8) { transition-delay: 350ms; }

.security-card:nth-child(1) { transition-delay: 0ms; }
.security-card:nth-child(2) { transition-delay: 75ms; }
.security-card:nth-child(3) { transition-delay: 150ms; }

.enterprise-item:nth-child(1) { transition-delay: 0ms; }
.enterprise-item:nth-child(2) { transition-delay: 25ms; }
.enterprise-item:nth-child(3) { transition-delay: 50ms; }
.enterprise-item:nth-child(4) { transition-delay: 75ms; }
.enterprise-item:nth-child(5) { transition-delay: 100ms; }
.enterprise-item:nth-child(6) { transition-delay: 125ms; }
.enterprise-item:nth-child(7) { transition-delay: 150ms; }
.enterprise-item:nth-child(8) { transition-delay: 175ms; }
.enterprise-item:nth-child(9) { transition-delay: 200ms; }
.enterprise-item:nth-child(10) { transition-delay: 225ms; }
.enterprise-item:nth-child(11) { transition-delay: 250ms; }
.enterprise-item:nth-child(12) { transition-delay: 275ms; }
.enterprise-item:nth-child(13) { transition-delay: 300ms; }
.enterprise-item:nth-child(14) { transition-delay: 325ms; }
.enterprise-item:nth-child(15) { transition-delay: 350ms; }
.enterprise-item:nth-child(16) { transition-delay: 375ms; }
