:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --dark: #1f2937;
  --darker: #111827;
  --light: #f9fafb;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --white: #ffffff;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
}

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

.back-link:hover {
  color: var(--primary);
  gap: 0.75rem;
}

.back-link i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.back-link:hover i {
  transform: translateX(-3px);
}

/* Hero */
.features-hero {
  padding: 5rem 0 3rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.05) 0%,
    rgba(124, 58, 237, 0.05) 100%
  );
}

.features-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.feature-item.reverse {
  direction: rtl;
}

.feature-item.reverse > * {
  direction: ltr;
}

.feature-content {
  padding: 2rem 0;
}

.feature-number {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.feature-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-description {
  font-size: 1.125rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.feature-details h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

.feature-details ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-details li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--gray);
  line-height: 1.6;
}

.feature-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.feature-tip {
  background: rgba(79, 70, 229, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
}

.feature-tip strong {
  color: var(--primary);
}

/* Feature Image */
.feature-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.feature-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn i {
  font-size: 1.2rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  background: var(--darker);
  color: var(--gray-light);
}

.footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
  .feature-item,
  .feature-item.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .features-hero h1 {
    font-size: 2.25rem;
  }

  .feature-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .features-hero {
    padding: 3rem 0 2rem;
  }

  .features-hero h1 {
    font-size: 1.875rem;
  }

  .features-hero p {
    font-size: 1.1rem;
  }

  .feature-item {
    margin-bottom: 5rem;
  }

  .feature-content {
    padding: 1rem 0;
  }

  .feature-content h2 {
    font-size: 1.5rem;
  }

  .feature-description {
    font-size: 1rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  .navbar .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
