:root {
  --primary-color: #6c63ff;
  --secondary-color: #4caf50;
  --background-color: #0f172a;
  --text-color: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --overlay-color: rgba(15, 23, 42, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Cursor */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
}

.cursor-follower {
  width: 30px;
  height: 30px;
  background: rgba(108, 99, 255, 0.2);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s ease;
}

/* Glass Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.cta-button {
  background: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  color: white !important;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 2rem;
  margin-top: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-preview {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-preview:hover .preview-image {
  transform: scale(1.1);
}

.video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: rgba(108, 99, 255, 0.8);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-preview:hover .video-placeholder {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-color);
}

/* Buttons */
.primary-btn,
.secondary-btn {
  padding: 1rem 2rem;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
}

.secondary-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* Features Section */
.features {
  padding: 5rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-image {
  transform: scale(1.1);
}

.feature-card i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover i {
  opacity: 1;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
  padding: 1rem;
  background: var(--glass-bg);
  margin: 0;
}

/* How It Works Section */
.how-it-works {
  position: relative;
  padding: 5rem 5%;
  overflow: hidden;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.step:hover .step-image {
  transform: scale(1.1);
}

.step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step h3,
.step p {
  position: relative;
  z-index: 2;
  padding: 1rem;
  background: var(--glass-bg);
  margin: 0;
}

/* Pricing Section */
.pricing {
  padding: 5rem 5%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--primary-color);
}

.price span {
  font-size: 1rem;
  color: var(--text-color);
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
}

.pricing-card li {
  margin: 0.5rem 0;
}

/* Contact Section */
.contact {
  padding: 5rem 5%;
  text-align: center;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  background: var(--glass-bg);
  color: var(--text-color);
  font-size: 1rem;
}

/* Footer */
.glass-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-text {
  animation: fadeIn 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 5rem;
  }

  .hero-content,
  .hero-image {
    width: 100%;
    max-width: 100%;
  }

  .feature-image,
  .step-image {
    height: 150px;
  }

  .video-preview {
    aspect-ratio: 16/9;
  }

  .contact-form {
    flex-direction: column;
  }

  .pricing-card.featured {
    transform: none;
  }
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Add after the body styles */
.hero-background,
.section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-image,
.section-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.hero:hover .hero-bg-image,
.section-background:hover .section-bg-image {
  transform: scale(1);
}

.hero-overlay,
.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color);
  backdrop-filter: blur(5px);
}

/* Add loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loaded .hero-content,
.loaded .feature-card,
.loaded .step,
.loaded .pricing-card {
  animation: fadeInUp 0.8s ease-out forwards;
}

.loaded .hero-content { animation-delay: 0.2s; }
.loaded .feature-card:nth-child(1) { animation-delay: 0.3s; }
.loaded .feature-card:nth-child(2) { animation-delay: 0.4s; }
.loaded .feature-card:nth-child(3) { animation-delay: 0.5s; }
.loaded .feature-card:nth-child(4) { animation-delay: 0.6s; }

/* Add smooth image loading */
img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.loaded {
  opacity: 1;
}
