/* Global Styles & Custom Utilities */

:root {
  --dark-bg: #FFFFFF;
  --dark-border: #E0E0E0;
  --dark-text: #0F0F0F;
  --dark-secondary: #666666;
  --purple-primary: #6A0DAD;
  --purple-light: #9D4EDD;
}

.dark {
  --dark-bg: #0F0F0F;
  --dark-border: #2A2A2A;
  --dark-text: #FFFFFF;
  --dark-secondary: #B0B0B0;
  --purple-primary: #6A0DAD;
  --purple-light: #9D4EDD;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

/* Utility Classes */

.dark-bg {
  background-color: var(--dark-bg);
}

.dark-border {
  border-color: var(--dark-border);
}

.dark-text {
  color: var(--dark-text);
}

.dark-secondary {
  color: var(--dark-secondary);
}

.purple-primary {
  color: var(--purple-primary);
}

.purple-light {
  color: var(--purple-light);
}

/* Animations */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(106, 13, 173, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(106, 13, 173, 0.6);
  }
}

@keyframes cardHover {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

.slide-in-up {
  animation: slideInUp 0.8s ease-out;
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Card Styles */

.card {
  background-color: rgba(42, 42, 42, 0.5);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  border-color: var(--purple-primary);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(106, 13, 173, 0.2);
}

.card-hover-glow:hover {
  box-shadow: 0 0 25px rgba(106, 13, 173, 0.4);
}

/* Button Styles */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--purple-light);
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--purple-primary);
  border-color: var(--purple-primary);
}

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

/* Badge Styles */

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-mvp {
  background-color: rgba(176, 176, 176, 0.2);
  color: var(--dark-secondary);
}

.badge-beta {
  background-color: rgba(255, 193, 7, 0.2);
  color: #FFC107;
}

.badge-live {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.badge-coming-soon {
  background-color: rgba(106, 13, 173, 0.2);
  color: var(--purple-primary);
}

/* Tag Styles for Company Status */

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4;
}

.tag.revenue {
  background: #22c55e;
  color: #000;
}

.tag.live {
  background: #3b82f6;
  color: #fff;
}

.tag.mvp {
  background: #f59e0b;
  color: #000;
}

.tag.incubating {
  background: #6b7280;
  color: #fff;
}

/* Section Spacing */

.section-padding {
  padding: 60px 0;
}

.section-padding-lg {
  padding: 80px 0;
}

/* Responsive Utilities */

@media (max-width: 640px) {
  .section-padding {
    padding: 40px 0;
  }

  .section-padding-lg {
    padding: 50px 0;
  }
}

/* Hero Section */

.hero-section {
  background: linear-gradient(135deg, rgba(106, 13, 173, 0.1) 0%, rgba(15, 15, 15, 1) 100%);
  border-bottom: 1px solid var(--dark-border);
}

/* Gradient Text */

.text-gradient {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Underline Text */

.text-underline {
  position: relative;
  display: inline-block;
}

.text-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--purple-primary);
  transition: width 0.3s ease;
}

.text-underline:hover::after {
  width: 100%;
}

/* Container */

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

/* Scrollbar Styling */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--purple-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--purple-light);
}

/* Vertical Accent Colors */

.card-vertical {
  position: relative;
  overflow: hidden;
}

.card-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px 0 0 3px;
}

.card-vertical-fintech::before {
  background: #10b981;
}

.card-vertical-consumer::before {
  background: #f97316;
}

.card-vertical-software::before {
  background: #3b82f6;
}

.card-vertical-labs::before {
  background: #6b7280;
}

/* Card Hover Enhancement */

.card-vertical:hover {
  transform: translateY(-4px);
}

/* PRG Badge (for child project sites) */

.prg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(106, 13, 173, 0.1);
  border: 1px solid rgba(106, 13, 173, 0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
}

.prg-badge:hover {
  background: rgba(106, 13, 173, 0.2);
  border-color: var(--purple-primary);
}

.prg-badge-logo {
  border-radius: 50%;
  height: 16px;
  width: 16px;
}

.prg-badge-text {
  color: var(--purple-light);
  font-weight: 500;
}

/* Navbar Active Link */

.nav-link[aria-current="page"] {
  color: var(--purple-primary);
}

.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* Product Slideshow */

.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 300px;
  background: var(--dark-border);
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slideshow img.active {
  opacity: 1;
}

.slideshow-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slideshow-dot.active {
  background: var(--purple-primary);
  width: 24px;
  border-radius: 4px;
}
