/* public/css/index.css - COMPLETE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #FFF9F0;
  color: #333333;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #CF9FFF 0%, #E5CCFF 100%);
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: -50px;
  animation-delay: 3s;
}

.circle-3 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: 30%;
  animation-delay: 1.5s;
}

.circle-4 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 20%;
  animation-delay: 4s;
}

.circle-5 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  33% {
    transform: translateY(-30px) translateX(20px) scale(1.1);
  }
  66% {
    transform: translateY(20px) translateX(-20px) scale(0.9);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: bold;
  color: #CF9FFF;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(207, 159, 255, 0.2);
}

.tagline {
  font-size: 20px;
  color: #666666;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Screenshot Carousel */
.screenshots-carousel {
  margin: 60px 0;
  text-align: center;
}

.screenshots-carousel h2 {
  font-size: 42px;
  color: #CF9FFF;
  margin-bottom: 40px;
  font-weight: bold;
}

.carousel-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 0 60px;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 300px;
}

.carousel-slide {
  display: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 300px;
}

.carousel-slide.active {
  display: block;
  animation: fadeIn 0.5s;
}

.carousel-slide:hover {
  transform: scale(1.02);
}

.carousel-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(207, 159, 255, 0.3);
}

.carousel-slide p {
  margin-top: 16px;
  font-size: 18px;
  color: #666666;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #CF9FFF;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: #B380E6;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E5CCFF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #CF9FFF;
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  background: #B380E6;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Two Column Layout for Desktop */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature {
  background: #FFFBF5;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid #E5CCFF;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(207, 159, 255, 0.2);
}

.feature .icon {
  font-size: 32px;
  flex-shrink: 0;
}

.feature p {
  font-size: 16px;
  color: #333333;
}

/* Mobile Install */
.mobile-install {
  background: #E5CCFF;
  padding: 24px;
  border-radius: 12px;
}

.mobile-install h2 {
  font-size: 20px;
  color: #333333;
  margin-bottom: 20px;
  text-align: center;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  background: #FFFBF5;
  padding: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-number {
  background: #CF9FFF;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step p {
  font-size: 14px;
  color: #333333;
}

/* Security Section */
.security {
  background: #FFFBF5;
  padding: 32px 24px;
  border-radius: 12px;
  border: 2px solid #E5CCFF;
  height: fit-content;
}

.security h2 {
  font-size: 24px;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
}

.security-points {
  display: grid;
  gap: 20px;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFF9F0;
  padding: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.security-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(207, 159, 255, 0.15);
}

.security-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.security-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.security-item p {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 160px;
}

.btn-primary {
  background: #CF9FFF;
  color: white;
  border: 2px solid #CF9FFF;
}

.btn-primary:hover {
  background: #B380E6;
  border-color: #B380E6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(207, 159, 255, 0.3);
}

.btn-secondary {
  background: #FFFBF5;
  color: #CF9FFF;
  border: 2px solid #CF9FFF;
}

.btn-secondary:hover {
  background: #E5CCFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(207, 159, 255, 0.2);
}

/* Modal for full image */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 0.7;
}

#modalCaption {
  color: white;
  font-size: 20px;
  margin-top: 20px;
}

/* Developer Info */
.developer-info {
  text-align: center;
  padding: 32px 20px;
  margin-top: 40px;
  border-top: 1px solid #E5CCFF;
}

.built-by {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
}

.built-by a,
.services a {
  color: #CF9FFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.built-by a:hover,
.services a:hover {
  color: #B380E6;
}

.services {
  font-size: 14px;
  color: #666666;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  color: #666666;
  font-size: 14px;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .container {
    padding: 40px;
  }

  .hero-content h1 {
    font-size: 72px;
  }

  .tagline {
    font-size: 24px;
  }

  .two-column-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-content h1 {
    font-size: 64px;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 18px;
  }

  .screenshots-carousel h2 {
    font-size: 32px;
  }

  .carousel-container {
    padding: 0 50px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .carousel-track {
    height: 250px;
  }

  .carousel-slide {
    height: 250px;
  }

  .carousel-slide img {
    height: 250px;
  }
}