* { margin: 1; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  color: #334155; /* Darker gray for better readability */
  background: #f8fafc;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
  transition: all 0.3s;
}
.navbar .logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #2563eb;
}
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: #334155; font-weight: 600; }
.nav-links a:hover { color: #2563eb; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: radial-gradient(circle, #f0f4ff 0%, #dbeafe 100%);
  color: #1e293b;
  padding: 6rem 2rem 2rem;
  display: flex;
  gap: 2rem;
}
.hero-content {
  max-width: 600px;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 700;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  color: #475569;
}
.hero-image {
  flex-shrink: 0;
}
.hero-image {
  position: relative;
  width: 450px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.animation-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gear {
  position: absolute;
  font-size: 10rem;
  color: #93c5fd;
  opacity: 0.2;
}

.gear-1 {
  top: 50px;
  left: 50px;
  animation: rotate 20s linear infinite;
}

.gear-2 {
  bottom: 80px;
  right: 60px;
  font-size: 6rem;
  animation: rotate-reverse 15s linear infinite;
}

.mouse-icon {
  position: absolute;
  font-size: 5rem;
  color: #2563eb;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: move-mouse 8s ease-in-out infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes move-mouse {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  25% { transform: translate(calc(-50% + 50px), calc(-50% - 30px)) rotate(15deg); }
  50% { transform: translate(calc(-50% - 20px), calc(-50% + 40px)) rotate(-10deg); }
  75% { transform: translate(calc(-50% + 20px), calc(-50% - 50px)) rotate(5deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}


/* Buttons */
.btn {
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #e2e8f0; color: #334155; }
.btn-secondary:hover { background: #cbd5e1; }

/* Sections */
section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}
.card, .testimonial-card, .pricing-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 1rem; color: #1e293b; }

/* How It Works */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.step {
  text-align: center;
  max-width: 300px;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 {
  margin-bottom: 0.5rem;
  color: #1e293b;
}
.step-arrow {
  font-size: 2rem;
  color: #94a3b8;
  margin-top: 3rem;
}

.license-note {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 1rem;
  background: #fff9e6;
  border-left: 4px solid #ffc107;
  font-size: 0.95rem;
  text-align: left;
  color: #664d00;
}

/* Pro Features Section */
.pro-features {
  background: #f1f5f9;
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.collapsible-header h2 {
  margin-bottom: 0;
  text-align: left;
}

.collapsible-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.collapsible-btn:hover {
  background: #1d4ed8;
}

.collapsible-content {
  display: none;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.feature-demonstration {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.feature-item h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.video-placeholder {
  text-align: center; /* Center the block-level videos */
}

.workflow-placeholder {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Testimonials */
.testimonials {
  background: #f1f5f9;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  color: #475569;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.pricing-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s;
}
.pricing-card.recommended {
  border-color: #2563eb;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(37,99,235,0.1);
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price { font-size: 3rem; font-weight: 700; color: #1e293b; margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; margin-bottom: 2rem; }
.pricing-card li { margin-bottom: 0.75rem; color: #475569; }
.pricing-card li.disabled { color: #94a3b8; text-decoration: line-through; }

/* Form fields inside pricing card */
.pricing-card form {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra todos los campos */
  gap: 1rem; /* espacio uniforme entre elementos */
  margin-top: 1rem;
}

.pricing-field {
  display: block;
  width: 100%;
  max-width: 280px;
  padding: 0.75rem 1rem;
  border-radius: 12px; /* bordes más redondeados */
  border: 1px solid #cbd5e1;
  text-align: center; /* texto centrado */
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease-in-out;
}

.pricing-field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

/* Submit button centrado y acorde */
.pricing-card form input[type="submit"] {
  margin-top: 0.8rem;
  width: 100%;
  max-width: 280px;
  border-radius: 12px; /* mismo estilo que inputs */
  text-align: center;
}




/* Contact Section */
.contact {
  text-align: center;
}
.contact p {
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #475569;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-btn {
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  color: #1e293b;
  min-width: 280px; /* Increased width */
  box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* Softer shadow */
  border-radius: 8px; /* Slightly larger radius */
  overflow: hidden;
  z-index: 10;
  border: 1px solid #e2e8f0; /* Subtle border */
}
.dropdown-content a {
  display: flex; /* Use flexbox for alignment */
  align-items: center;
  gap: 0.75rem; /* Space between icon and text */
  padding: 0.9rem 1.2rem; /* Increased padding */
  text-decoration: none;
  color: #334155; /* Slightly softer text color */
  font-weight: 500;
  transition: background-color 0.2s; /* Smooth hover effect */
}
.dropdown-content a i {
  width: 20px; /* Fixed width for icons */
  text-align: center;
  color: #64748b; /* Icon color */
}
.dropdown-content a:hover {
  background: #f1f5f9;
}
.dropdown.show .dropdown-content {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  background: #1e293b;
  color: #cbd5e1;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.footer-logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.footer-links a, .social-icons a {
  color: #93c5fd;
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer-links a:hover, .social-icons a:hover {
  text-decoration: underline;
}
.social-icons a {
  font-size: 1.2rem;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}
.overlay-content {
  background: #fff;
  padding: 3rem;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.overlay.show .overlay-content {
  transform: scale(1);
}
.overlay-content h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.overlay-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #334155;
}

/* Responsive */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-image { margin-top: 3rem; }
  .steps-container { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .testimonial-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.recommended { transform: scale(1); }
  .footer-content { flex-direction: column; gap: 1rem; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .nav-links { display: none; } /* Basic mobile nav hiding, would need JS for a hamburger menu */
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}
.overlay.show {
  opacity: 1; visibility: visible;
}
.overlay-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}
.close-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 2rem;
  text-decoration: none;
  color: #334155;
}

.video-placeholder video {
  width: 80%; /* Make videos larger */
  max-width: 600px; /* Add a max-width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem; /* Add space between stacked videos */
}

.workflow-placeholder img {
  flex: 1 1 45%;
  width: 45%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.workflow-placeholder img:hover {
  transform: scale(1.05);
}

.image-overlay .overlay-content {
  max-width: 90vw;
  max-height: 90vh;
  padding: 1rem;
  background: transparent;
  box-shadow: none;
}

.image-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

