/* css/custom.css - Estilos personalizados para FlowPro */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6f42c1;
  --accent-color: #20c997;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #333;
  overflow-x: hidden;
  background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Navbar */
.navbar {
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
}

.navbar-brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white;
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: white;
}

.navbar-nav .nav-link.active:after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 180px 0 120px;
  background: var(--gradient-dark);
  color: white;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons .btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  margin-right: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--dark-color);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* About Section */
.about-section {
  background-color: white;
}

.about-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-bottom: 25px;
}

.about-icon i {
  font-size: 2rem;
  color: white;
}

.about-feature {
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  background-color: #f8fafc;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products-section {
  background-color: #f8fafc;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-header {
  padding: 40px 30px 30px;
  position: relative;
  overflow: hidden;
}

.product-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.product-card:nth-child(1) .product-header:before {
  background: linear-gradient(90deg, #0d6efd, #20c997);
}

.product-card:nth-child(2) .product-header:before {
  background: linear-gradient(90deg, #6f42c1, #0dcaf0);
}

.product-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: white;
}

.product-card:nth-child(1) .product-icon {
  background: linear-gradient(135deg, #0d6efd, #20c997);
}

.product-card:nth-child(2) .product-icon {
  background: linear-gradient(135deg, #6f42c1, #0dcaf0);
}

.product-body {
  padding: 0 30px 30px;
}

.product-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.product-feature i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-dark);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M500,97C126.7,96.3,0.8,19.8,0,0v100l1000,0V1C1000,19.4,873.3,97.8,500,97z" fill="%23f8fafc"/></svg>');
  background-size: 100% 100px;
  background-repeat: no-repeat;
  background-position: top;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons .btn {
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  margin: 0 10px 15px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.footer-brand span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-description {
  margin-bottom: 30px;
  max-width: 300px;
}

.footer-title {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact i {
  margin-right: 15px;
  color: var(--accent-color);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 8px;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 150px 0 100px;
    text-align: center;
  }
  
  .hero-buttons .btn {
    margin-right: 10px;
    margin-left: 10px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.9rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
}