

nav{
     background-color: #f3f1f1;
      box-shadow: none;
}

/* Navigation links default styles */
nav ul li a {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 0 20px;
    color: #28282b;
    position: relative;
}

/* Active navigation item styles */
nav ul li.active a {
    color: #28282b;
    font-weight: 600;
    position: relative;
}

nav ul li.active a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #1976d2;
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 30px;
        opacity: 1;
    }
}

/* Hover effect for nav links */
nav ul li a:hover:not(.btn) {
    color: #1976d2;
    background-color: transparent!important;
}

section{
    min-height: calc(100vh - 64px);
      background-color: #f3f1f1;
}

.modal-trigger{
    background-color: #1976d2;
    border-radius: 30px;
}

.header{
    color: #1976d2;
    font-weight: bold;
}

.name1{
color: #1976d2;
font-weight: bold;
font-size: 40px;
}

.name2{
    color: #28282b ;
    font-weight: bold;
    font-size: 40px;
}

/* Estilos para títulos de sección */
h2 .name1{
    color: #1976d2;
    font-weight: bold;
    font-size: 2.5rem;
}

h2 .name2{
    color: #28282b;
    font-weight: bold;
    font-size: 2.5rem;
}

h1 .name1{
    color: #1976d2;
    font-weight: bold;
    font-size: 3rem;
}

h1 .name2{
    color: #28282b;
    font-weight: bold;
    font-size: 3rem;
}

/* Hero title specific styling */
#hero h1.header {
    line-height: 0.9;
    margin-bottom: 25px;
    letter-spacing: -1px;
    font-size: 4.2rem;
    font-weight: 950;
    transform: perspective(500px) rotateX(5deg);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

#hero h1.header .name1 {
    background: linear-gradient(135deg, #1976d2, #42a5f5, #1976d2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(25,118,210,0.3));
}

#hero h1.header .name2 {
    background: linear-gradient(135deg, #28282b, #424242, #28282b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(40,40,43,0.3));
}


#hero .flow-text{
    color: #555;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 30px;
}

.flow-text{
    color: #28282b;
}

.modal-trigger:hover{
    background-color: #28282b;
    color: #f3f1f1;

}

/* Services Section Styling */
#servicios {
    padding: 80px 0;
    background-color: #f3f1f1;
}

#servicios .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Services Section Row */
#servicios .row {
    margin-top: 50px;
}

/* Services Section Title */
#servicios h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

#servicios .flow-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Promotional Banner Styles */
#banner-promocional {
    padding: 80px 0;
    background-color: #f3f1f1;
    overflow: hidden;
}

.promotional-banner {
    position: relative;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 50%, #0d47a1 100%);
    border-radius: 25px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(25, 118, 210, 0.3);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.icon-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.icon-4 {
    top: 30%;
    right: 25%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

.promo-badge i {
    font-size: 1.3rem;
    color: #ffd700;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.animated-text {
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.percentage-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    animation: bounceIn 1.2s ease-out 0.5s both;
}

.big-number {
    font-size: 5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.commission-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.banner-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-container {
    animation: fadeInUp 1s ease-out 1s both;
}

.btn-cta {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1976d2;
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    background: linear-gradient(45deg, #ffed4e, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
    color: #0d47a1;
}

.btn-cta i {
    font-size: 1.3rem;
}

.urgency-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    animation: blink 2s infinite;
}

.urgency-text i {
    color: #ffd700;
    font-size: 1.1rem;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Banner */
@media (max-width: 768px) {
    .promotional-banner {
        padding: 40px 20px;
        min-height: 350px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .big-number {
        font-size: 3.5rem;
    }
    
    .commission-text {
        font-size: 1.4rem;
    }
    
    .btn-cta {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
}

/* Service Cards Design */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 280px;
    margin-bottom: 20px;
}

/* Mindmapper Flow Design */
.mindmapper-container {
    position: relative;
    padding: 80px 20px;
    min-height: 600px;
    overflow: hidden;
    background-color: #f3f1f1;
}

.flow-path {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
}

.step-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    animation: fadeInUpScale 1s ease forwards;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-node.step-1 { animation-delay: 0.2s; }
.step-node.step-2 { animation-delay: 0.4s; }
.step-node.step-3 { animation-delay: 0.6s; }
.step-node.step-4 { animation-delay: 0.8s; }
.step-node.step-5 { animation-delay: 1s; }

.node-circle {
    position: relative;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 25px;
    overflow: hidden;
    border: 4px solid white;
}

.node-circle.main-node {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    border: 5px solid white;
}

.node-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.5);
}

.node-circle.main-node:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.node-circle i {
    font-size: 2rem;
    color: white;
    z-index: 2;
}

.node-circle.main-node i {
    font-size: 2.5rem;
    color: #28282b;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: #28282b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 3px solid white;
}

.node-content {
    text-align: center;
    max-width: 180px;
    padding: 0 10px;
}

.node-content h6 {
    color: #28282b;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.node-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Connectors */
.connector {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, #1976d2, #1565c0, #1976d2);
    top: 45px;
    z-index: 1;
    opacity: 0;
    animation: drawLine 1.2s ease forwards;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.connector-1 {
    right: -80px;
    width: 160px;
    animation-delay: 1.5s;
}

.connector-2 {
    right: -80px;
    width: 160px;
    animation-delay: 1.7s;
}

.connector-3 {
    right: -80px;
    width: 160px;
    animation-delay: 1.9s;
}

.connector-4 {
    right: -80px;
    width: 160px;
    animation-delay: 2.1s;
}

/* Animated Particles */
.flow-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #1976d2;
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 4s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle-3 {
    top: 80%;
    left: 30%;
    animation-delay: 2s;
}

.particle-4 {
    top: 40%;
    left: 70%;
    animation-delay: 3s;
}

/* Animations */
@keyframes fadeInUpScale {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes drawLine {
    0% {
        width: 0;
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive Design for Mindmapper */
@media (max-width: 992px) {
    .mindmapper-container {
        padding: 60px 15px;
        min-height: 500px;
    }
    
    .flow-path {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        padding: 20px 0;
    }
    
    .connector {
        display: none;
    }
    
    .step-node {
        margin-bottom: 0;
        max-width: 250px;
    }
    
    .node-circle {
        width: 85px;
        height: 85px;
        margin-bottom: 20px;
    }
    
    .node-circle.main-node {
        width: 100px;
        height: 100px;
    }
    
    .node-circle i {
        font-size: 2rem;
    }
    
    .node-circle.main-node i {
        font-size: 2.3rem;
    }
    
    .node-content h6 {
        font-size: 1.05rem;
    }
    
    .node-content p {
        font-size: 0.88rem;
    }
}

@media (max-width: 576px) {
    .mindmapper-container {
        padding: 40px 10px;
    }
    
    .step-node {
        max-width: 200px;
    }
    
    .node-circle {
        width: 75px;
        height: 75px;
        border: 3px solid white;
    }
    
    .node-circle.main-node {
        width: 90px;
        height: 90px;
        border: 4px solid white;
    }
    
    .node-circle i {
        font-size: 1.8rem;
    }
    
    .node-circle.main-node i {
        font-size: 2.1rem;
    }
    
    .node-content {
        max-width: 160px;
    }
    
    .node-content h6 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .node-content p {
        font-size: 0.85rem;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(25, 118, 210, 0.2);
    border-color: #1976d2;
}

.service-card .card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

/* Service Icons Styling */
.service-icon {
    font-size: 4rem !important;
    color: #1976d2;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    display: block;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.3);
}

/* Service Cards Text Styling */
.service-card h6 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #28282b;
    margin: 0 0 15px 0;
    transition: all 0.3s ease;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.service-card:hover h6 {
    color: #1976d2;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.service-card:hover p {
    color: #28282b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    #servicios .col {
        width: calc(25% - 20px);
    }
}

@media (max-width: 992px) {
    #servicios .col {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    #servicios .col {
        width: calc(50% - 20px);
        min-width: 200px;
    }
    
    .service-card {
        height: 250px;
    }
    
    .service-icon {
        font-size: 2.8rem !important;
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    #servicios .col {
        width: 100%;
        min-width: auto;
    }
    
    #servicios .row {
        gap: 15px;
    }
    
    .service-card {
        height: 220px;
        margin: 0 10px;
    }
}

/* Boxicons General Styling */
.bx {
    font-size: 2.5rem;
    color: #1976d2;
    transition: all 0.3s ease;
}

.bx:hover {
    transform: scale(1.1);
    color: #28282b;
}

.service-card:hover p {
    color: #28282b;
}

/* Fade in animation for service cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

/* Icon pulse animation */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Contact icons animation */
#contacto .bx {
    font-size: 2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

#contacto .bx:hover {
    transform: scale(1.2) rotate(10deg);
    color: #1976d2;
}

/* Steps icons animation */
#como-funciona .bx {
    font-size: 2.5rem;
    margin: 15px 0;
    transition: all 0.3s ease;
}

#como-funciona .card:hover .bx {
    transform: scale(1.15);
    color: #1976d2;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f3f1f1;
  z-index: 9999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #28282b;
  transition: opacity 0.5s ease;
  margin: 0;
  padding: 0;
}

/* Prevenir scroll del body durante loading */
body.loading {
  overflow: hidden;
  height: 100vh;
}

#loading-screen h4 {
  margin: 0 0 40px 0;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: 1px;
}

#loading-screen h4 .name1 {
  color: #1976d2;
  font-weight: bold;
}

#loading-screen h4 .name2 {
  color: #28282b;
  font-weight: bold;
}

#loading-screen .progress {
  width: 350px;
  height: 12px;
  background-color: rgba(40,40,43,0.2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border: 2px solid rgba(40,40,43,0.3);
}

#loading-screen .determinate {
  background: linear-gradient(90deg, #1976d2, #28282b, #1976d2);
  height: 100%;
  border-radius: 8px;
  width: 0%;
  animation: loading-progress 3s ease-in-out forwards;
  box-shadow: 0 0 15px rgba(25,118,210,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: width 0.1s ease;
}

@keyframes loading-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Activar animación cuando loading screen está visible */
#loading-screen.active .determinate {
  animation: loading-progress 3s ease-in-out forwards;
}

/* Responsive para loading screen */
@media only screen and (max-width: 600px) {
  #loading-screen h4 {
    font-size: 2rem;
  }
  
  #loading-screen .progress {
    width: 280px;
  }
}

/* ===== CALCULADORA DE GANANCIAS STYLES ===== */
.calculator-section {
    position: relative;
    background-color: #f3f1f1;
    padding: 60px 0;
    overflow: hidden;
    min-height: auto;
}

.calculator-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-money {
    position: absolute;
    width: 100%;
    height: 100%;
}

.money-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(25, 118, 210, 0.1);
    animation: floatMoney 8s ease-in-out infinite;
}

.money-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.money-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.money-3 {
    top: 60%;
    left: 15%;
    animation-delay: 3s;
}

.money-4 {
    bottom: 30%;
    right: 20%;
    animation-delay: 4.5s;
}

.money-5 {
    bottom: 10%;
    left: 25%;
    animation-delay: 6s;
}

.money-6 {
    top: 40%;
    right: 5%;
    animation-delay: 7.5s;
}

@keyframes floatMoney {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-60px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.2;
    }
}

.calculator-header {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.3);
    animation: bounce 2s infinite;
}

.header-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.calculator-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.calculator-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 25px;
    font-weight: 400;
}

.earnings-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1976d2;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

.earnings-badge i {
    font-size: 1.3rem;
}

.calculator-content {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.calculator-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
    border: 2px solid transparent;
    position: relative;
}

.calculator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(25, 118, 210, 0.2);
    border-color: rgba(25, 118, 210, 0.3);
}

.config-card {
    animation-delay: 0.2s;
}

.results-card {
    animation-delay: 0.4s;
}

.card-header {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.results-icon {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.results-icon i {
    color: #1976d2;
}

.card-header h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.card-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.card-content {
    padding: 20px;
}

/* Input Groups */
.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.input-icon i {
    font-size: 1.3rem;
    color: #1976d2;
}

.input-group:hover .input-icon {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    transform: scale(1.1);
}

.input-group:hover .input-icon i {
    color: white;
}

.input-field {
    flex: 1;
    position: relative;
}

.input-field input {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-field input:focus {
    border-color: #1976d2;
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #666;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.input-field input:focus + label,
.input-field input:valid + label {
    top: 0;
    font-size: 0.85rem;
    color: #1976d2;
    font-weight: 600;
}

/* Commission Section */
.commission-section {
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
}

.commission-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #28282b;
}

.commission-header i {
    font-size: 1.3rem;
    color: #1976d2;
}

.range-field {
    position: relative;
    margin: 0;
}

.range-field input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.range-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.range-field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

/* Earnings Grid */
.earnings-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.earning-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.earning-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 118, 210, 0.1), transparent);
    transition: all 0.5s ease;
}

.earning-item:hover::before {
    left: 100%;
}

.earning-item:hover {
    transform: translateX(10px);
    border-color: #1976d2;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
}

.earning-item.featured {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-color: #ffd700;
    position: relative;
}

.earning-item.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.earning-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.daily .earning-icon {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.weekly .earning-icon {
    background: linear-gradient(135deg, #4caf50, #81c784);
}

.monthly .earning-icon {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
}

.earning-icon i {
    font-size: 1.2rem;
    color: white;
}

.earning-info {
    flex: 1;
}

.earning-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.earning-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #28282b;
    font-family: 'Inter', sans-serif;
}

.featured .earning-value {
    color: #1976d2;
    font-size: 1.7rem;
}

.featured-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: #1976d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 3s linear infinite;
}

.featured-badge i {
    font-size: 1rem;
    color: #ffd700;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Breakdown Section */
.breakdown-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 18px;
    margin-top: 15px;
}

.breakdown-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #28282b;
    margin-bottom: 20px;
}

.breakdown-title i {
    font-size: 1.3rem;
    color: #1976d2;
}

.breakdown-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.breakdown-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.breakdown-item.gross {
    border-left-color: #4caf50;
}

.breakdown-item.commission {
    border-left-color: #ff9800;
}

.breakdown-item.net {
    border-left-color: #1976d2;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.breakdown-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.breakdown-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #28282b;
    font-family: 'Inter', sans-serif;
}

.breakdown-item.net .breakdown-value {
    color: #1976d2;
    font-size: 1.4rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Navbar Styles */
@media (max-width: 768px) {
    .navbar-fixed nav .nav-wrapper {
        padding: 0;
    }
    
    .navbar-fixed nav .nav-wrapper .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navbar-fixed nav .brand-logo {
        font-size: 1.8rem;
        left: 0;
        transform: none;
        position: relative;
    }
    
    .navbar-fixed nav .brand-logo .name1 {
        font-size: 1.8rem;
    }
    
    .navbar-fixed nav .brand-logo .name2 {
        font-size: 1.8rem;
    }
    
    .navbar-fixed nav .sidenav-trigger {
        position: relative;
        right: 0;
        margin-left: auto;
    }
    
    .navbar-fixed nav .sidenav-trigger i {
        font-size: 1.8rem;
        color: #28282b;
    }
}

@media (max-width: 768px) {
    .calculator-section {
        padding: 40px 0;
    }
    
    .calculator-title {
        font-size: 2rem;
    }
    
    .calculator-subtitle {
        font-size: 1.1rem;
    }
    
    .earnings-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .input-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .input-icon {
        align-self: flex-start;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .earning-value {
        font-size: 1.5rem;
    }
    
    .featured .earning-value {
        font-size: 1.7rem;
    }
    
    .breakdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .breakdown-value {
        font-size: 1.2rem;
    }
    
    .money-icon {
        font-size: 1.5rem;
    }
    
    /* Contact responsive */
    #contacto {
        padding: 60px 0;
    }
    
    #contacto h2 {
        font-size: 2.2rem;
    }
    
    .contact-card {
        margin-bottom: 20px;
        padding: 30px 20px;
    }
    
    .contact-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
        line-height: 30px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .calculator-section {
        padding: 60px 0;
    }
    
    .calculator-title {
        font-size: 2.5rem;
    }
    
    .calculator-content {
        margin-top: 30px;
    }
    
    .calculator-card {
        margin-bottom: 30px;
    }
}

/* Contact Section Styles */
#contacto {
    padding: 80px 0;
    background-color: #f3f1f1;
}

#contacto h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 20px;
}

#contacto .flow-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #1976d2;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon-wrapper {
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 3rem;
    color: #1976d2;
    background: rgba(25, 118, 210, 0.1);
    padding: 20px;
    border-radius: 50%;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 40px;
    text-align: center;
}

.contact-card h5 {
    color: #28282b;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-info {
    color: #1976d2;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.contact-btn {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
    transition: all 0.3s ease;
    color: #ffffff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
    gap: 8px;
}

.contact-btn i {
    color: #ffffff !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.contact-btn:hover i {
    color: #ffffff !important;
}

/* Footer Styles */
.page-footer {
    background-color: #f3f1f1;
    padding: 60px 0 0 0;
    margin-top: 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #1976d2;
}

.page-footer h5 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #1976d2, #28282b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-footer p {
    color: #28282b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.page-footer ul {
    margin: 0;
    padding: 0;
}

.page-footer ul li {
    margin-bottom: 12px;
    list-style: none;
}

.page-footer ul li a {
    color: #28282b;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    opacity: 0.8;
    border-radius: 5px;
}

.page-footer ul li a:hover {
    color: #1976d2;
    transform: translateX(5px);
    text-decoration: none;
    opacity: 1;
    background-color: rgba(25, 118, 210, 0.1);
    padding-left: 10px;
}

.page-footer ul li a::before {
    content: '▶';
    margin-right: 8px;
    font-size: 0.8rem;
    color: #1976d2;
    transition: all 0.3s ease;
}

.page-footer ul li a:hover::before {
    color: #28282b;
    transform: scale(1.2);
}

.footer-copyright {
    background-color: #1976d2;
    padding: 20px 0;
    color: white;
}

.footer-copyright .container {
    color: white;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
    opacity: 0.8;
}

/* Modal Content Structure */
.modal-fixed-footer .modal-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 56px);
    padding: 0;
}

/* Modal Header Fixed */
.modal-header-fixed {
    flex-shrink: 0;
    background: white;
    padding: 25px 35px 15px;
    border-bottom: 1px solid #e0e0e0;
    z-index: 10;
}

.modal-header-fixed h4 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
}

/* Modal Scrollable Content */
.modal-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 20px 35px;
}

/* Remove white background from input labels and focus */
.input-field label {
    background-color: transparent !important;
}

.input-field label.active {
    background-color: transparent !important;
}

.input-field input:focus {
    background-color: transparent !important;
    box-shadow: 0 1px 0 0 #1976d2 !important;
}

.input-field input:focus + label {
    background-color: transparent !important;
}

/* Custom Button Styles */
.btn-cancel {
    background-color: #9e9e9e !important;
    color: white !important;
}

.btn-cancel:hover {
    background-color: #757575 !important;
}

.btn-register {
    background-color: #1976d2 !important;
    color: white !important;
}

.btn-register:hover {
    background-color: #1565c0 !important;
}

/* Modal Styles for Large Screens */
@media (min-width: 769px) {
    .modal {
        width: 500px;
        max-width: 90vw;
        max-height: 80vh;
    }
    
    .modal-fixed-footer {
        max-height: 80vh;
    }
    
    .modal-content .row {
        margin-bottom: 15px;
    }
    
    .modal-content .input-field {
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .modal-footer {
        padding: 20px 35px;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
        border-radius: 20px;
    }
    
    .modal-fixed-footer {
        max-height: 95vh;
    }
    
    .modal-header-fixed {
        padding: 20px 25px 15px;
    }
    
    .modal-header-fixed h4 {
        font-size: 1.6rem;
    }
    
    .modal-scrollable {
        padding: 15px 25px;
    }
    
    .modal-footer {
        padding: 15px 25px;
    }
}
